* {
  box-sizing: border-box;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.5rem);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.75rem 2rem rgba(27, 7, 17, 0.18);
}

.brand img {
  display: block;
  width: clamp(12rem, 22vw, 18rem);
  height: auto;
  filter: none;
}

.brand-divider {
  width: 1px;
  height: clamp(2.4rem, 4vw, 3.5rem);
  background: rgba(85, 85, 85, 0.38);
}

.brand-partner {
  color: #b8aca8;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.modal-brand {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.85rem;
  width: 100%;
}

.brand-lockup-modal {
  width: min(100%, 20rem);
  justify-content: center;
  gap: 0.55rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-lockup-modal img {
  width: clamp(7.5rem, 38vw, 12.5rem);
  max-width: 56%;
}

.brand-lockup-modal .brand-divider {
  height: clamp(1.7rem, 4vw, 2.4rem);
}

.brand-lockup-modal .brand-partner {
  display: block;
  color: #9b918f;
  font-size: clamp(0.95rem, 5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-partner-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
}

.brand-partner-subtitle {
  color: #8c919d;
  font-size: clamp(0.52rem, 2.4vw, 0.95rem);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

:root {
  --wine: #69022d;
  --wine-dark: #69022d;
  --wine-light: #7b0036;
  --red: #f51f29;
  --green: #62ffc0;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.88);
  --black: #111111;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--wine);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--wine);
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 3rem, 1180px);
  margin: 0 auto;
  padding: 1.45rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: clamp(13rem, 22vw, 16.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.1vw, 3rem);
  flex: 1;
  font-size: 0.9rem;
  font-weight: 800;
}

.main-nav a,
.account-button {
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover,
.account-button:hover,
.floating-actions a:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.account-button {
  padding: 0.7rem 1.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.28rem;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.55rem;
  height: 0.18rem;
  margin: 0.28rem auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.46rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-0.46rem) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(24rem, 0.72fr) minmax(34rem, 1.28fr);
  align-items: end;
  gap: 0;
  width: min(100% - 3rem, 1180px);
  min-height: calc(100vh - 5.4rem);
  margin: 0 auto;
  padding: 1.8rem 0 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 35rem;
  padding-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  margin-bottom: 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

h1 {
  max-width: 36rem;
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 35rem;
  margin: 0 0 1.6rem;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.text-highlight {
  color: var(--green);
}

.lead-form {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 21rem);
}

.lead-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead-form input,
.lead-form button {
  width: 100%;
  min-height: 3.1rem;
  border: 0;
  border-radius: 0.32rem;
  font: inherit;
}

.lead-form input {
  padding: 0 1rem;
  color: #383838;
  background: #ffffff;
  box-shadow: 0 0.25rem 0.65rem rgba(48, 0, 24, 0.12);
}

.lead-form input::placeholder {
  color: #767676;
  font-weight: 500;
}

.lead-form button {
  margin-top: 0.25rem;
  color: #ffffff;
  background: #121212;
  font-weight: 800;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.lead-form button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: min(42rem, calc(100vh - 5.4rem));
  min-height: 31rem;
}

.hero-visual::before {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 46rem;
  height: 30rem;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18), transparent 66%);
  filter: blur(4px);
}

.hero-picture {
  position: relative;
  z-index: 1;
  display: block;
  width: min(112rem, 215%);
  margin-right: 0;
  transform: translate(-13rem, -7rem);
  isolation: isolate;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
}

.person {
  position: absolute;
  bottom: 0;
}

.person-left {
  left: 1rem;
  width: 18rem;
  height: 31rem;
}

.person-right {
  right: 3rem;
  width: 18rem;
  height: 25.5rem;
}

.person .head {
  position: absolute;
  left: 50%;
  border-radius: 48% 48% 44% 44%;
  transform: translateX(-50%);
  box-shadow: inset 0 -1.8rem 2.5rem rgba(113, 49, 31, 0.22);
}

.person-left .head {
  top: 0;
  width: 8.4rem;
  height: 9.6rem;
  background: linear-gradient(145deg, #9b5c42 0%, #c57b55 54%, #8c4d38 100%);
}

.person-left .head::before {
  position: absolute;
  inset: -0.55rem 1.05rem auto;
  height: 2.1rem;
  border-radius: 50% 50% 35% 35%;
  content: "";
  background: #25140f;
}

.person-left .head::after {
  position: absolute;
  left: 2.25rem;
  bottom: 2.05rem;
  width: 3.7rem;
  height: 1.1rem;
  border-bottom: 0.35rem solid #ffffff;
  border-radius: 0 0 4rem 4rem;
  content: "";
}

.shirt {
  position: absolute;
  right: 1.2rem;
  bottom: 0;
  left: 0.5rem;
  height: 23rem;
  border-radius: 7rem 7rem 0 0;
  background: linear-gradient(145deg, #8d3147 0%, #d23b4c 55%, #6f2337 100%);
  clip-path: polygon(16% 0, 78% 3%, 100% 100%, 0 100%);
}

.shirt span {
  position: absolute;
  top: 3rem;
  right: 2.2rem;
  width: 6.4rem;
  height: 0.45rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(15deg);
}

.shirt span:nth-child(2) {
  top: 4.1rem;
  right: 1.75rem;
}

.shirt span:nth-child(3) {
  top: 5.2rem;
  right: 1.35rem;
}

.person-right .hair {
  position: absolute;
  top: 1.3rem;
  left: 3.4rem;
  width: 10.4rem;
  height: 11.8rem;
  border-radius: 48% 52% 56% 44%;
  background: linear-gradient(135deg, #26120f 0%, #583021 72%, #1f0d0b 100%);
  transform: rotate(8deg);
}

.person-right .head {
  top: 3.1rem;
  width: 8.1rem;
  height: 8.7rem;
  background: linear-gradient(145deg, #d38b67 0%, #f2b28a 55%, #a55b43 100%);
}

.person-right .head::after {
  position: absolute;
  left: 2.3rem;
  bottom: 1.8rem;
  width: 3.2rem;
  height: 0.9rem;
  border-bottom: 0.28rem solid #ffffff;
  border-radius: 0 0 4rem 4rem;
  content: "";
}

.blazer {
  position: absolute;
  right: 0.2rem;
  bottom: 0;
  left: 0;
  height: 15.3rem;
  border-radius: 7rem 7rem 0 0;
  background: linear-gradient(135deg, #1d1719 0%, #4b2830 100%);
  clip-path: polygon(8% 14%, 77% 0, 100% 100%, 0 100%);
}

.benefit-card {
  position: absolute;
  right: 17rem;
  bottom: 2.6rem;
  width: 12.6rem;
  height: 19rem;
  padding: 1.45rem 1.1rem;
  border-radius: 0.38rem;
  background: linear-gradient(145deg, #ff333a 0%, #e81520 100%);
  box-shadow: 0 1.5rem 2.5rem rgba(56, 0, 18, 0.38);
  transform: rotate(-1deg);
}

.card-smile {
  position: relative;
  width: 4rem;
  height: 2.5rem;
}

.card-smile::before,
.card-smile span {
  position: absolute;
  content: "";
  background: #ffffff;
}

.card-smile::before {
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50% 50% 50% 0;
}

.card-smile span {
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
}

.card-smile span:first-child {
  left: 2.1rem;
}

.card-smile span:last-child {
  left: 3.8rem;
}

.card-chip {
  position: absolute;
  top: 3.5rem;
  right: 2.25rem;
  width: 1.2rem;
  height: 1.55rem;
  border-radius: 0.18rem;
  background: linear-gradient(135deg, #e7b87c, #a86f2a);
}

.card-signal {
  position: absolute;
  top: 3.45rem;
  right: 0.95rem;
  width: 0.9rem;
  height: 1.6rem;
  border-right: 0.16rem solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.benefit-card strong {
  position: absolute;
  left: 1.3rem;
  bottom: 1.75rem;
  font-size: 0.72rem;
  line-height: 0.95;
}

.benefit-card em {
  position: absolute;
  right: 1rem;
  bottom: 1.3rem;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.08em;
  opacity: 0.72;
}

.floating-actions {
  position: fixed;
  right: 2rem;
  bottom: 1.35rem;
  z-index: 5;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #121212;
  box-shadow: 0 1.1rem 2.2rem rgba(0, 0, 0, 0.35);
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 5.9rem;
  padding: 0 2rem;
  font-size: 1.18rem;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-actions a:first-child {
  min-width: 22rem;
}

.floating-actions a:last-child {
  min-width: 12rem;
}

.floating-actions a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.action-icon {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal {
  position: relative;
  width: min(100%, 25rem);
  padding: 2rem 1.7rem 1.35rem;
  border-radius: 0.9rem;
  color: #1f2430;
  background: #ffffff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
  transform: translateY(1rem) scale(0.98);
  transition: transform 180ms ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.login-modal::-webkit-scrollbar {
  display: none;
}

.modal-overlay.is-open .login-modal {
  transform: translateY(0) scale(1);
}

.google-first-overlay {
  position: fixed;
  inset: 0;
  z-index: 11;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.google-first-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  color: #767b86;
  background: transparent;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.modal-logo {
  display: block;
  width: 10.8rem;
  height: auto;
  margin: 0 auto 0.85rem;
  filter: brightness(0) saturate(100%) invert(15%) sepia(95%) saturate(5956%) hue-rotate(349deg) brightness(101%) contrast(94%);
}

.login-modal h2 {
  margin: 0 0 1rem;
  color: #202432;
  font-size: 1.75rem;
  line-height: 1.15;
  text-align: center;
}

.modal-helper {
  margin: 0 0 1rem;
  color: #6e7481;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.login-form {
  display: grid;
  gap: 0.75rem;
}

.login-form label {
  color: #242938;
  font-size: 0.82rem;
  font-weight: 800;
}

.login-form input,
.login-form button {
  min-height: 2.75rem;
  border-radius: 0.45rem;
  font: inherit;
}

.login-form input {
  width: 100%;
  padding: 0 1rem;
  border: 1.5px solid #d9dde6;
  color: #242938;
  background: #ffffff;
  box-shadow: 0 0.2rem 0.65rem rgba(18, 24, 38, 0.04);
}

.login-form input:focus {
  border-color: var(--red);
  outline: 3px solid rgba(245, 31, 41, 0.16);
}

.location-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  color: #555c68;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.location-consent input {
  width: 1rem;
  height: 1rem;
  min-height: 1rem;
  margin: 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.login-form button {
  margin-top: 0.3rem;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #f3162a 0%, #e90018 100%);
  box-shadow: 0 0.7rem 1.4rem rgba(233, 0, 24, 0.2);
  font-weight: 800;
  cursor: pointer;
}

.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  margin: 0.15rem 0 0;
  border: 1.5px solid rgba(233, 0, 24, 0.32);
  border-radius: 0.45rem;
  color: #242938;
  background: #ffffff;
  box-shadow: 0 0.45rem 1rem rgba(233, 0, 24, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.google-button span {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  color: #ffffff;
  background: #4285f4;
  font-size: 0.85rem;
  font-weight: 800;
}

.google-first-modal {
  position: relative;
  width: min(100%, 22rem);
  padding: 1.8rem 1.35rem 1.25rem;
  border-radius: 0.9rem;
  color: #1f2430;
  background: #ffffff;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.42);
  text-align: center;
  transform: translateY(-0.75rem) scale(0.98);
  transition: transform 180ms ease;
}

.google-first-overlay.is-open .google-first-modal {
  transform: translateY(-0.75rem) scale(1);
}

.google-first-modal h2 {
  margin: 0 0 0.55rem;
  color: #202432;
  font-size: 1.45rem;
  line-height: 1.15;
}

.google-first-modal p {
  margin: 0 0 1rem;
  color: #555c68;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}

.google-first-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.9rem;
  border: 1.5px solid rgba(233, 0, 24, 0.32);
  border-radius: 0.45rem;
  color: #242938;
  background: #ffffff;
  box-shadow: 0 0.7rem 1.4rem rgba(233, 0, 24, 0.16);
  font-size: 0.95rem;
  font-weight: 800;
}

.google-first-button span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  color: #ffffff;
  background: #4285f4;
  font-size: 0.9rem;
  font-weight: 800;
}

.google-first-secondary {
  width: 100%;
  min-height: 2.55rem;
  margin-top: 0.75rem;
  border: 0;
  color: #6e7481;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  color: #6e7481;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.security-note {
  max-width: 23rem;
  margin: 1.1rem auto 0;
  color: #8a909b;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 1.1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-content {
    max-width: 40rem;
    padding-bottom: 0;
  }

  .hero-visual {
    height: 35rem;
    min-height: 35rem;
  }

  .hero-picture {
    width: min(82rem, 190%);
    margin-right: 0;
    transform: translate(-7rem, -5.25rem);
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    gap: 1rem;
    padding-top: 1rem;
  }

  .account-button {
    padding: 0.6rem 0.75rem;
    font-size: 0.72rem;
  }

  .main-nav {
    font-size: 0.78rem;
  }

  .hero-content p {
    font-weight: 700;
  }

  .lead-form {
    width: 100%;
  }

  .hero-visual {
    height: 29rem;
    min-height: 29rem;
    justify-content: center;
  }

  .hero-picture {
    width: min(56rem, 210%);
    margin-right: 0;
    transform: translate(-5rem, -3.75rem);
  }

  .floating-actions {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .floating-actions a {
    flex: 1;
    justify-content: center;
    min-width: 0;
    min-height: 3.8rem;
    padding: 0 0.7rem;
    font-size: 0.76rem;
  }

  .action-icon {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* Responsive polish */
html,
body {
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

.page-shell {
  padding-bottom: 7rem;
}

.hero {
  grid-template-columns: minmax(20rem, 0.78fr) minmax(32rem, 1.22fr);
  min-height: calc(100svh - 5.4rem);
}

.hero-visual {
  height: clamp(30rem, calc(100svh - 5.8rem), 42rem);
  min-height: 0;
}

.hero-picture {
  width: min(92rem, 190%);
  transform: translate(-8.5rem, -5rem);
}

.login-modal {
  max-height: calc(100svh - 2rem);
  overflow: hidden;
}

@media (max-width: 1180px) {
  .site-header,
  .hero {
    width: min(100% - 2rem, 1120px);
  }

  .brand img {
    width: clamp(11rem, 20vw, 14rem);
  }

  .main-nav {
    gap: 1.6rem;
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: minmax(19rem, 0.82fr) minmax(28rem, 1.18fr);
  }

  .hero-picture {
    width: min(78rem, 180%);
    transform: translate(-6rem, -4rem);
  }

  .floating-actions a {
    min-height: 4.7rem;
    font-size: 0.95rem;
  }

  .floating-actions a:first-child {
    min-width: 18rem;
  }

  .floating-actions a:last-child {
    min-width: 9rem;
  }
}

@media (max-width: 900px) {
  .page-shell {
    min-height: 100svh;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .main-nav {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.25rem 0 0.45rem;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-content {
    max-width: 38rem;
    padding-bottom: 0;
  }

  .hero-content p {
    max-width: 34rem;
  }

  .lead-form {
    width: min(100%, 22rem);
  }

  .hero-visual {
    height: clamp(20rem, 55vw, 33rem);
    margin-top: 1rem;
  }

  .hero-picture {
    width: min(62rem, 135%);
    transform: translate(-1rem, -2rem);
  }

  .floating-actions {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-bottom: 6rem;
  }

  .site-header,
  .hero {
    width: min(100% - 1.25rem, 1180px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 0.85rem;
  }

  .brand img {
    width: clamp(9.2rem, 42vw, 11rem);
  }

  .account-button {
    padding: 0.58rem 0.72rem;
    font-size: 0.68rem;
  }

  .main-nav {
    gap: 1rem;
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 0.8rem;
  }

  .hero-badge {
    font-size: 0.72rem;
  }

  h1 {
    max-width: 22rem;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 0.98;
  }

  .hero-content p {
    max-width: 23rem;
    font-size: 0.96rem;
    line-height: 1.32;
  }

  .lead-form {
    width: 100%;
  }

  .lead-form input,
  .lead-form button {
    min-height: 3rem;
  }

  .hero-visual {
    height: auto;
    margin-top: 0.5rem;
    overflow: visible;
  }

  .hero-picture {
    width: min(100%, 34rem);
    transform: translate(0, 0);
  }

  .floating-actions {
    right: 0.6rem;
    left: 0.6rem;
    bottom: 0.6rem;
  }

  .floating-actions a {
    min-height: 3.75rem;
    gap: 0.45rem;
    padding: 0 0.45rem;
    font-size: 0.72rem;
  }

  .floating-actions a:first-child,
  .floating-actions a:last-child {
    min-width: 0;
  }

  .action-icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .login-modal {
    width: min(100%, 22rem);
    padding: 1.8rem 1.1rem 1.15rem;
    border-radius: 0.8rem;
  }

  .modal-logo {
    width: min(9.5rem, 60vw);
    margin-bottom: 0.7rem;
  }

  .login-modal h2 {
    font-size: 1.25rem;
  }

  .modal-helper {
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
  }

  .login-form input,
  .login-form button {
    min-height: 2.65rem;
  }

  .location-consent {
    display: grid;
    grid-template-columns: 1rem 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    line-height: 1.2;
  }
}

@media (max-width: 380px) {
  .account-button {
    width: 100%;
    text-align: center;
  }

  .hero-picture {
    width: min(38rem, 170%);
    transform: translate(-2.5rem, -0.5rem);
  }

  .floating-actions a {
    font-size: 0.66rem;
  }
}

@media (max-width: 700px) {
  .page-shell {
    min-height: auto;
    padding-bottom: 5.5rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.8rem;
    width: min(100% - 1.25rem, 40rem);
    padding-top: 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: clamp(8.5rem, 36vw, 10.5rem);
  }

  .account-button {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: initial;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
    padding: 0.75rem 0 0.35rem;
    font-size: 0.9rem;
    white-space: normal;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(100% - 1.25rem, 40rem);
    min-height: auto;
    padding-top: 0.4rem;
  }

  .hero-content {
    order: 1;
    width: 100%;
    max-width: 24rem;
    padding-bottom: 0;
  }

  .hero-badge {
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
  }

  h1 {
    max-width: 23rem;
    margin-bottom: 0.9rem;
    font-size: clamp(2.2rem, 8.6vw, 3rem);
    line-height: 1;
  }

  .hero-content p {
    max-width: 23rem;
    margin-bottom: 0.85rem;
    font-size: clamp(0.95rem, 3.9vw, 1.08rem);
    line-height: 1.35;
  }

  .lead-form {
    width: min(100%, 20rem);
    gap: 0.35rem;
  }

  .lead-form input,
  .lead-form button {
    min-height: 2.65rem;
    font-size: 0.88rem;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    height: clamp(19rem, 88vw, 27rem);
    margin-top: 0.35rem;
    overflow: hidden;
    align-items: stretch;
  }

  .hero-picture {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  .floating-actions {
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
  }
}
