:root {
  --ink: #17181c;
  --muted: #575c68;
  --blue: #355cc9;
  --blue-dark: #172552;
  --blue-soft: #e8edfc;
  --off-white: #f8f9fc;
  --white: #fff;
  --line: #dfe3ec;
  --warning: #a34f3d;
  --shadow: 0 18px 44px rgba(23, 37, 82, 0.09);
  --gradient-to-blue: linear-gradient(180deg, var(--off-white) 0%, var(--off-white) 35%, var(--blue-soft) 100%);
  --gradient-to-white: linear-gradient(180deg, var(--blue-soft) 0%, var(--off-white) 65%, var(--off-white) 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, a, li { overflow-wrap: break-word; }

:focus-visible {
  outline: 3px solid rgba(53, 92, 201, 0.34);
  outline-offset: 3px;
}

h1,
h2,
h3,
.brand,
.footer-brand,
.button,
.eyebrow,
.tile-number {
  font-family: "Sora", sans-serif;
}

.container {
  width: min(1200px, calc(100% - 4rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem max(2rem, calc((100vw - 1180px) / 2));
  background: rgba(248, 249, 252, 0.85);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(23, 37, 82, 0.06);
}

.brand { margin-right: auto; }
.brand img { width: 110px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav > a:not(.button):not(.social-link) {
  position: relative;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button):not(.social-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] { color: var(--blue); }

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.menu-button {
  display: none;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 9px 22px rgba(53, 92, 201, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(23, 37, 82, 0.22);
}
.button-small { min-height: 38px; padding: 0.5rem 1rem; font-size: 0.8rem; }

.social-link {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: var(--gradient-to-blue);
}

.home-hero-inner {
  width: min(1240px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 3rem;
}

.hero-copy h1 {
  max-width: 640px;
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.4rem, 4.5vw, 4.1rem);
  line-height: 1.02;
}

.hero-intro {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.blue-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 1.8rem 0;
  background: var(--blue);
}

.hero-product {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-product::after {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 5%;
  width: 68%;
  height: 10%;
  border-radius: 50%;
  background: rgba(23, 37, 82, 0.2);
  filter: blur(20px);
  transform: scaleY(0.55);
}

.hero-product img {
  position: relative;
  z-index: 1;
  width: min(112%, 700px);
  max-width: none;
  margin-inline: auto;
  filter: drop-shadow(0 20px 28px rgba(23, 37, 82, 0.18));
  animation: float 6s ease-in-out infinite;
}

.destination-section {
  padding: 4.75rem 0;
  background: linear-gradient(
    180deg,
    var(--blue-soft) 0%,
    var(--off-white) 28%,
    var(--off-white) 72%,
    var(--blue-soft) 100%
  );
}

.page-section {
  padding: 4.75rem 0;
  background: var(--gradient-to-white);
}

.page-section:nth-of-type(odd) {
  background: var(--gradient-to-blue);
}

.section-heading { max-width: 700px; margin-bottom: 2.5rem; }
.section-heading h2,
.page-title {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
}
.section-heading > p:last-child,
.page-intro { color: var(--muted); max-width: 680px; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.destination-tile {
  position: relative;
  overflow: hidden;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(53, 92, 201, 0.18);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.destination-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.destination-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 92, 201, 0.5);
  box-shadow: var(--shadow);
}

.destination-tile:hover::before { transform: scaleY(1); }

.tile-number { color: var(--blue); font-size: 0.75rem; font-weight: 700; }
.destination-tile h3 { margin-bottom: 0.55rem; font-size: 1.35rem; line-height: 1.15; }
.destination-tile p { max-width: 34rem; color: var(--muted); font-size: 0.9rem; }
.tile-arrow {
  width: 38px;
  height: 38px;
  align-self: flex-end;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.destination-tile:hover .tile-arrow {
  color: var(--white);
  background: var(--blue);
  transform: translateX(3px);
}

.page-hero {
  padding: 8.5rem 0 4.25rem;
  background: var(--gradient-to-blue);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 5rem;
}

.page-hero-image {
  max-width: 560px;
  justify-self: end;
  filter: drop-shadow(0 18px 32px rgba(23, 37, 82, 0.16));
}

.split-grid,
.card-grid,
.steps,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card,
.placeholder-card,
.contact-card,
.form-wrap {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 37, 82, 0.04);
}

.info-card,
.placeholder-card,
.contact-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.form-wrap { max-width: 820px; }

.info-card h3,
.placeholder-card h3,
.contact-card h3 { margin-bottom: 0.5rem; }
.info-card p,
.placeholder-card p,
.contact-card p { color: var(--muted); font-size: 0.92rem; }

.step {
  position: relative;
  min-width: 0;
  padding: 2rem 1.4rem 0;
  border-right: 1px solid var(--line);
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: 0; }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border: 3px solid var(--off-white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--blue);
}
.step-number { color: var(--blue); font-weight: 700; font-size: 0.72rem; }
.step h3 { margin: 0.65rem 0 0.55rem; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.check-list { list-style: none; display: grid; gap: 0.8rem; }
.check-list li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 0.6rem; }

.package-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 4rem;
}

.package-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.package-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.placeholder-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-kicker {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partner-card {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.partner-card h3 { color: var(--white); font-size: 1.6rem; }
.partner-card p { color: rgba(255, 255, 255, 0.72); }
.partner-card .card-kicker { color: #b9c8f5; }
.testimonial-card { border-style: dashed; }

.research-gate {
  display: grid;
  place-items: center;
}

.password-gate-panel {
  width: min(460px, 100%);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.password-gate-panel h1,
.password-gate-panel h2 {
  margin: 0.45rem 0 0.65rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.05;
}

.password-gate-panel > p:not(.eyebrow, .password-error) {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.password-field {
  display: grid;
  gap: 0.35rem;
}

.password-field label {
  font-size: 0.82rem;
  font-weight: 600;
}

.password-field input {
  width: 100%;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.password-error {
  min-height: 1.5rem;
  margin: 0.55rem 0;
  color: var(--warning);
  font-size: 0.84rem;
}

.research-content {
  display: none;
}

.protected-research.is-unlocked .research-gate {
  display: none;
}

.protected-research.is-unlocked .research-content {
  display: block;
}

.phone {
  position: relative;
  width: min(100%, 240px);
  aspect-ratio: 9 / 17;
  margin: 0 auto;
  padding: 10px;
  background: var(--blue-dark);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  height: 100%;
  padding: 2rem 1rem 1rem;
  background: var(--off-white);
  border-radius: 20px;
}

.mock-line,
.mock-block { background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.mock-line { height: 12px; margin-bottom: 0.7rem; }
.mock-line.short { width: 62%; }
.mock-block { height: 105px; margin-top: 1rem; }
.app-view p { color: var(--muted); }

.app-carousel {
  position: relative;
}

.app-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  gap: 2rem;
  padding: 1rem 0 2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.app-track::-webkit-scrollbar { display: none; }

.app-view {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding: 2rem clamp(1rem, 4vw, 3rem);
  scroll-snap-align: start;
}

.app-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.carousel-status {
  margin-right: auto;
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.carousel-button:hover {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.phone-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 28px;
  height: 28px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(53, 92, 201, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.phone-hotspot::after {
  content: "+";
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1;
}

.phone-hotspot:hover,
.phone-hotspot.is-active {
  background: var(--blue-dark);
  box-shadow: 0 0 0 7px rgba(53, 92, 201, 0.24);
  transform: translate(-50%, -50%) scale(1.12);
}

.phone-hotspot.is-active::after { content: "•"; }

.app-detail {
  max-width: 520px;
}

.app-detail h3 {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.05;
}

.app-detail > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.75;
}

.app-detail span {
  display: block;
  margin-top: 1.5rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-principle-inner {
  max-width: 1040px;
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  border-left: 2px solid var(--blue);
}

.app-principle h2 {
  max-width: 920px;
  margin: 0.45rem 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.app-principle-inner > p:last-child {
  max-width: 960px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.app-principle.page-section {
  padding-block: 3.75rem;
}

.price-card {
  padding: 2rem;
  background: var(--blue-dark);
  border: 1px solid var(--blue-dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.price-old { color: var(--muted); text-decoration: line-through; }
.price-card .price-old { color: rgba(255, 255, 255, 0.48); }
.price-new { color: var(--white); font-family: "Sora", sans-serif; font-size: 2rem; font-weight: 700; }
.fine-print { margin-top: 1rem; color: rgba(255, 255, 255, 0.65); font-size: 0.84rem; }

.application-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 46px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid rgba(53, 92, 201, 0.14); border-color: var(--blue); }

.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 1.2rem; color: var(--muted); }

.contact-link { display: inline-block; margin-top: 0.7rem; color: var(--blue); font-weight: 600; }

.contact-band {
  padding: 5rem 0 4rem;
  color: var(--white);
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--blue-dark) 72%);
}

.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-band h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.05;
}

.contact-band .eyebrow {
  color: #b9c8f5;
}

.contact-band p:last-child {
  max-width: 620px;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  color: var(--blue-dark);
  background: var(--white);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem max(2rem, calc((100vw - 1080px) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--blue-dark);
  font-size: 0.8rem;
}
.footer-brand { color: var(--white); font-size: 1.3rem; font-weight: 700; text-decoration: none; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (min-width: 1081px) {
  .app-page .container {
    width: min(1360px, calc(100% - 5rem));
  }

  .app-page .page-hero .container {
    max-width: 1260px;
  }

  .app-page .app-view {
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(4rem, 8vw, 8rem);
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .app-page .phone {
    width: min(100%, 260px);
  }

  .app-page .app-detail {
    max-width: 620px;
  }
}

@media (max-width: 1080px) and (min-width: 821px) {
  .container { width: min(100% - 3rem, 960px); }
  .site-header {
    gap: 1rem;
    padding-inline: 1.5rem;
  }
  .brand img { width: 96px; }
  .site-nav { gap: 0.8rem; }
  .site-nav > a:not(.button):not(.social-link) { font-size: 0.78rem; }
  .button-small { padding-inline: 0.8rem; }
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 2rem;
  }
  .hero-copy h1 { font-size: clamp(2.7rem, 5.7vw, 4rem); }
  .page-hero-grid { gap: 2.5rem; }
  .page-title,
  .section-heading h2 { font-size: clamp(2.2rem, 4.8vw, 3.25rem); }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .step {
    padding: 2rem 1.25rem 1.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .step:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); }
  .step:nth-child(even) { padding-right: 0; }
  .step:nth-last-child(-n + 2) { border-bottom: 0; }
  .package-content { gap: 2.5rem; }
  .app-view {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    gap: 2.5rem;
    padding-inline: 1rem;
  }
  .phone { width: min(100%, 220px); }
  .app-detail h3 { font-size: clamp(1.8rem, 3.7vw, 2.6rem); }
}

@media (max-width: 820px) {
  .container { width: min(100% - 2.5rem, 680px); }
  .site-header { padding: 0.7rem 1rem; }
  .brand img { width: 92px; }
  .menu-button { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button):not(.social-link)::after { display: none; }
  .site-nav > a:not(.button):not(.social-link) { padding: 0.7rem; }
  .site-nav .button { width: 100%; margin-top: 0.35rem; }
  .site-nav .social-link { margin: 0.65rem 0 0.15rem 0.65rem; }
  .home-hero { min-height: auto; padding: 7rem 1.25rem 3.5rem; }
  .home-hero-inner,
  .page-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-intro { order: 3; }
  .hero-product { order: 4; margin: 0.5rem 0; }
  .hero-product img { width: min(100%, 390px); max-width: 390px; margin: auto; animation: none; }
  .hero-product::after { bottom: 3%; width: min(72%, 280px); }
  .blue-rule { order: 5; margin: 0.75rem 0; }
  .hero-copy .button { order: 6; width: 100%; }
  .tile-grid,
  .card-grid,
  .steps,
  .contact-grid,
  .split-grid { grid-template-columns: 1fr; }
  .app-track {
    grid-auto-columns: 88%;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
  }
  .steps { border-top: 0; }
  .step,
  .step:first-child,
  .step:last-child {
    padding: 1.5rem 0 1.5rem 2.25rem;
    border-top: 1px solid var(--line);
    border-right: 0;
  }
  .step::before {
    top: 1.85rem;
    left: 0.1rem;
  }
  .app-view {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem 0.5rem 2rem;
    scroll-snap-align: center;
  }
  .phone { width: min(100%, 220px); }
  .app-detail { text-align: left; }
  .destination-tile { min-height: 175px; }
  .destination-section,
  .page-section { padding: 4rem 0; }
  .page-hero { padding: 8rem 0 4rem; }
  .page-hero-image { justify-self: center; max-width: 330px; }
  .form-grid { grid-template-columns: 1fr; }
  .package-content,
  .package-list { grid-template-columns: 1fr; }
  .package-content { gap: 2rem; }
  .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
  }
  .contact-action { width: 100%; }
  .contact-band { padding: 3.5rem 0; }
  .site-footer { grid-template-columns: 1fr; gap: 0.4rem; padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 2rem); }
  .site-header { min-height: 68px; }
  .brand img { width: 82px; }
  .home-hero { padding: 6.25rem 1rem 3rem; }
  .hero-copy h1 { font-size: clamp(2.15rem, 10vw, 2.8rem); }
  .page-hero { padding: 7rem 0 3.5rem; }
  .page-title,
  .section-heading h2,
  .app-principle h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .destination-section,
  .page-section { padding: 3.5rem 0; }
  .destination-tile { min-height: 165px; padding: 1.25rem; }
  .app-track { grid-auto-columns: 94%; }
  .app-view { padding-inline: 0; }
  .phone { width: min(100%, 205px); }
  .app-detail h3 { font-size: clamp(1.65rem, 8vw, 2.2rem); }
  .app-detail span { font-size: 0.68rem; }
  .package-list { font-size: 0.92rem; }
  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .price-new { font-size: 1.75rem; }
  .form-wrap,
  .price-card,
  .password-gate-panel { padding: 1.25rem; }
  .contact-band h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
