/* ContactSentry — landing stylesheet.
   Institutional and sober: navy, indigo, gold on paper. System type, no external fonts.
   Class names used by privacy.html / terms.html are kept: .nav, .brand, .container,
   .legal, .back, .updated, .callout, .footer, .footer-links, .footer-copy, .skip-link. */

:root {
  --navy: #111A3A;
  --indigo: #28326F;
  --indigo-hover: #1C244F;
  --purple: #6962D8;
  --purple-lift: #9A94F0;      /* same hue, lightened for text on navy (contrast) */
  --gold: #C9A24D;
  --gold-soft: rgba(201, 162, 77, 0.16);
  --paper: #F7F6F2;
  --white: #FFFFFF;

  --ink: #111A3A;
  --ink-2: #4A5070;
  --ink-3: #666C88;
  --line: #E2E1DA;

  --on-navy: #EDECE6;
  --on-navy-2: #B9BCD0;
  --navy-tile: #1A2350;
  --navy-line: rgba(237, 236, 230, 0.14);

  --radius: 24px;
  --radius-sm: 16px;
  --nav-h: 62px;
  --max: 1040px;
  --max-wide: 1240px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-hover); text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.1; letter-spacing: -0.028em; font-weight: 650; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: 1.3125rem; letter-spacing: -0.022em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: var(--max-wide); }
.section { padding: clamp(56px, 6.5vw, 88px) 0; }
.section.alt { background: var(--paper); }
.section.dark {
  color: var(--on-navy);
  background:
    radial-gradient(60% 50% at 88% -8%, rgba(201, 162, 77, 0.13), transparent 62%),
    radial-gradient(48% 42% at 0% 104%, rgba(105, 98, 216, 0.18), transparent 62%),
    var(--navy);
}
.section.dark h2, .section.dark h3, .section.dark h4, .section.dark strong { color: var(--on-navy); }
.section.dark p { color: var(--on-navy-2); }
.section.dark .eyebrow { color: var(--gold); }
.section.dark a { color: var(--purple-lift); }
.section.dark a:hover { color: #B7B2F7; }

.section-head { max-width: 760px; margin: 0 0 clamp(28px, 3.5vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; }
.section.dark .section-head p { color: var(--on-navy-2); }

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
}
.rule { height: 1px; background: var(--gold); opacity: 0.55; border: 0; margin: 0; }

.more { font-weight: 600; white-space: nowrap; }
.more::after { content: " \203A"; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.section.dark :focus-visible { outline-color: var(--purple-lift); }
.skip-link {
  position: absolute; left: 16px; top: -64px;
  background: var(--white); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; z-index: 100;
  box-shadow: 0 8px 24px rgba(17, 26, 58, 0.2);
}
.skip-link:focus { top: 16px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, 0.86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 12px 32px -20px rgba(17, 26, 58, 0.4); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em; color: var(--ink);
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand-mark { display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 0.875rem; letter-spacing: -0.005em; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .nav-cta {
  background: var(--indigo); color: var(--white);
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--indigo-hover); color: var(--white); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--ink); border-radius: 10px;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block; padding: 15px 24px; border-top: 1px solid var(--line);
    font-size: 1rem; border-radius: 0; background: none; color: var(--ink);
  }
}

/* ---------- Buttons and the coming-soon badge ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1.0625rem;
  letter-spacing: -0.01em; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--indigo); color: var(--white); }
.btn-primary:hover { background: var(--indigo-hover); color: var(--white); }

/* "Coming soon on the App Store": disabled look, no Apple artwork. */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px 10px 16px; border-radius: 12px;
  background: var(--navy); color: var(--on-navy);
  opacity: 0.68; cursor: not-allowed; user-select: none;
  text-align: left; line-height: 1.15;
}
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .badge-small { display: block; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.02em; }
.store-badge .badge-big { display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; }
.section.dark .store-badge { background: var(--on-navy); color: var(--navy); opacity: 0.82; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 72px);
  overflow: clip;
  background:
    radial-gradient(ellipse 58% 46% at 68% 26%, rgba(40, 50, 111, 0.15), transparent 70%),
    var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }
.hero h1 { margin: 0 0 18px; max-width: 13ch; }
.hero .lead {
  font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45;
  color: var(--ink-2); max-width: 46ch; margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 16px; }
.hero-note { font-size: 0.875rem; color: var(--ink-3); margin: 0; }
.hero-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.hero-points li { position: relative; padding-left: 28px; font-size: 0.9875rem; font-weight: 550; color: var(--ink); }
.hero-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--gold-soft); color: #8A6A16;
  font-size: 0.72rem; font-weight: 800; display: grid; place-items: center;
}
.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -16px rgba(17, 26, 58, 0.45);
  border-radius: 999px; padding: 9px 15px;
  font-size: 0.8rem; font-weight: 650; color: var(--ink); white-space: nowrap;
  animation: chip-float 7s ease-in-out infinite;
}
.hero-chip .tick {
  width: 20px; height: 20px; border-radius: 50%; background: var(--indigo); color: #fff;
  font-size: 0.7rem; font-weight: 800; display: grid; place-items: center;
}
.hero-chip .lockdot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}
.chip-a { left: -8px; top: 16%; }
.chip-b { right: -14px; bottom: 14%; animation-delay: -3.5s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 1180px) {
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}
@media (max-width: 620px) {
  .hero-chip { font-size: 0.72rem; padding: 7px 12px; }
}
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 6% 4% 2%;
  background: radial-gradient(ellipse at 50% 50%, rgba(17, 26, 58, 0.26), transparent 66%);
  filter: blur(26px); z-index: 0;
}
.hero-phone .phone-screen img,
.scr-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}

@media (max-width: 1180px) {
  .hero-grid { gap: 36px; }
}

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero h1, .hero .lead { max-width: 22em; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-points { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .hero-visual { width: fit-content; margin: 0 auto; padding: 0 56px; }
  .chip-a { left: 0; }
  .chip-b { right: 0; }
}

/* ---------- Journey (scrollytelling) ---------- */

.journey { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 84px) 0 24px; }
.journey-head { margin-bottom: 20px; }
.demo-note { display: block; max-width: 62ch; margin-top: 10px; color: var(--ink-3); font-size: 0.78rem; line-height: 1.5; }

.story { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 48px 72px; align-items: start; }
.story-visual { position: sticky; top: 80px; height: calc(100vh - 104px); display: flex; align-items: center; justify-content: center; }
.story-steps { list-style: none; margin: 0; padding: 6vh 0 10vh; }
.story-step {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 520px; padding: 28px 0;
  opacity: 0.28; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transform: translateY(6px);
  will-change: opacity, transform;
}
.story-step.is-current { opacity: 1; transform: none; }
.step-index {
  display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--gold); margin-bottom: 14px;
}
.story-step h3 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); margin-bottom: 14px; }
.story-step p { color: var(--ink-2); font-size: 1.0625rem; margin: 0; }

@media (max-width: 1180px) {
  .story { grid-template-columns: 270px 1fr; gap: 24px 36px; }
}

/* Portrait tablet: phone stays whole above the steps. No zoom, so nothing is cropped. */
@media (max-width: 1023px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-visual {
    top: var(--nav-h); height: auto; z-index: 2;
    padding: 14px 0 18px;
    background: var(--paper);
    box-shadow: 0 18px 28px -22px rgba(17, 26, 58, 0.55);
  }
  .story-steps { padding: 8px 0 12vh; }
  .story-step {
    min-height: 46svh; justify-content: center; text-align: center;
    margin: 0 auto; padding: 28px 8px; opacity: 0.36;
  }
}


/* ---------- Phone mockup (CSS only), coloured like the app ---------- */

/* Everything derives from --pw so the handset keeps iPhone Pro proportions at any size:
   a ~3px titanium rim, a thin black glass border, and a 2.17:1 display matching the screenshots. */
.phone {
  --pw: 300px;
  --ph: calc(var(--pw) * 2.09);
  --rim: calc(var(--pw) * 0.009);
  --bez: calc(var(--pw) * 0.026);
  --inner: calc(var(--pw) - 2 * (var(--rim) + var(--bez)));
  position: relative; z-index: 1;
  width: var(--pw); height: var(--ph);
  border-radius: calc(var(--pw) * 0.165);
  padding: var(--rim);
  background: linear-gradient(90deg, #3a4470 0%, #6e79a8 3%, #262e52 9%, #1d2444 50%, #262e52 91%, #6e79a8 97%, #3a4470 100%);
  box-shadow:
    inset 0 0 0 0.6px rgba(255, 255, 255, 0.28),
    0 2px 3px rgba(17, 26, 58, 0.18),
    0 22px 40px -18px rgba(17, 26, 58, 0.38),
    0 60px 110px -40px rgba(17, 26, 58, 0.5);
}
.phone.hero-phone { --pw: 300px; }
.phone.story-phone { --pw: min(300px, calc((100vh - 150px) / 2.09)); }

/* Side buttons: power + flush camera control on the right, action + volume on the left. */
.phone::before,
.phone::after {
  content: ""; position: absolute; width: calc(var(--pw) * 0.011);
  border-radius: 1px;
}
.phone::before {
  right: calc(var(--pw) * -0.009);
  top: calc(var(--ph) * 0.27); height: calc(var(--ph) * 0.37);
  background: linear-gradient(180deg,
    #4d578a 0%, #2a3259 30%, transparent 30%, transparent 76%,
    #11162b 76%, #2a3259 100%);
}
.phone::after {
  left: calc(var(--pw) * -0.009);
  top: calc(var(--ph) * 0.16); height: calc(var(--ph) * 0.265);
  background: linear-gradient(180deg,
    #4d578a 0%, #2a3259 17%, transparent 17%, transparent 34%,
    #4d578a 34%, #2a3259 62%, transparent 62%, transparent 72%,
    #4d578a 72%, #2a3259 100%);
}
.phone-screen {
  width: 100%; height: 100%;
  border: var(--bez) solid #05060a;
  border-radius: calc(var(--pw) * 0.165 - var(--rim));
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: flex; flex-direction: column;
  position: relative;
}
@media (max-width: 1180px) {
  .phone.hero-phone { --pw: 272px; }
  .phone.story-phone { --pw: min(252px, calc((100vh - 150px) / 2.09)); }
}
@media (max-width: 1023px) {
  .phone.hero-phone { --pw: 264px; }
  .phone.story-phone { --pw: 228px; }
}
@media (max-width: 620px) {
  .phone.hero-phone { --pw: 210px; }
  .phone.story-phone { --pw: 190px; }
}
.phone-island {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 4;
  top: calc(var(--rim) + var(--bez) + var(--inner) * 0.028);
  width: calc(var(--inner) * 0.31); height: calc(var(--inner) * 0.092);
  border-radius: 999px; background: #000;
}
.phone-island::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  right: calc(var(--inner) * 0.028);
  width: calc(var(--inner) * 0.032); height: calc(var(--inner) * 0.032); border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #34427a 0%, #0b1026 55%, #000 100%);
}
/* Glass: a soft inner shade and a faint diagonal reflection, kept under the island. */
.phone-screen::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.16);
}
.phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 22%, transparent 32%);
}
.screen-top {
  padding: 56px 20px 14px;
  background: var(--navy); color: var(--on-navy);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; font-weight: 650; letter-spacing: -0.01em;
}
.screen-top .save { color: var(--gold); }
.screen-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 6px; }

.card-guide {
  width: 84%; aspect-ratio: 1.75;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(5, 7, 15, 0.4);
  padding: 13px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start;
  transform: rotate(-3deg);
}
.card-guide .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); }
.card-guide .line { height: 6px; border-radius: 3px; background: var(--navy); margin-bottom: 7px; opacity: 0.88; }
.card-guide .line.short { width: 55%; opacity: 0.45; }
.card-guide .line.tiny { width: 70%; height: 4px; opacity: 0.3; }
.corner { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--gold); opacity: 0.95; }
.corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

.screen-fields { padding: 14px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.field {
  background: var(--white); border-radius: 14px;
  padding: 9px 13px; display: flex; flex-direction: column; gap: 2px;
}
.field .label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; }
.field .value { font-size: 0.84rem; font-weight: 500; }
.field .value.check::after { content: " \2713"; color: var(--gold); font-weight: 700; }
.screen-cta {
  margin: auto 14px 18px;
  background: var(--indigo); color: var(--white);
  text-align: center; font-weight: 650; font-size: 0.875rem;
  padding: 12px; border-radius: 14px;
}

/* Screens: stacked, cross-faded, every motion transition-based so it reverses. */
.story-phone .phone-screen { background: #F2F2F7; }
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  opacity: 0; transform: none; pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}
.scr.is-active { opacity: 1; transform: none; }
.scr-shot { background: #F2F2F7; }
.story.is-driven .scr,
.story.is-driven .story-step { transition: none; }

/* 1 · scan */
.scan-stage {
  margin: 14px 14px 0; height: 396px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy), var(--indigo) 68%, #3B4795);
  display: flex; align-items: center; justify-content: center;
}
.scan-beam {
  position: absolute; left: 10%; right: 10%; height: 2px; top: 20%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0;
  box-shadow: 0 0 18px 4px rgba(201, 162, 77, 0.45);
  transition: top 1.6s var(--ease), opacity 0.4s var(--ease);
}
.scr-scan.is-active .scan-beam { top: 80%; opacity: 0.95; }
.scan-tag {
  position: absolute; background: rgba(255, 255, 255, 0.97); color: var(--ink);
  font-size: 0.66rem; font-weight: 650; padding: 5px 9px; border-radius: 8px;
  box-shadow: 0 6px 18px rgba(5, 7, 15, 0.3);
  opacity: 0; transform: translateY(8px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.scan-tag::before { content: "\2713 "; color: var(--gold); font-weight: 700; }
.scan-tag.t1 { left: 16px; bottom: 74px; }
.scan-tag.t2 { right: 16px; bottom: 46px; }
.scan-tag.t3 { left: 26px; bottom: 18px; }
.scr-scan.is-active .scan-tag { opacity: 1; transform: none; }
.scr-scan.is-active .t1 { transition-delay: 0.7s; }
.scr-scan.is-active .t2 { transition-delay: 0.95s; }
.scr-scan.is-active .t3 { transition-delay: 1.2s; }
.scan-hint { margin: auto 14px 22px; text-align: center; font-size: 0.78rem; color: var(--ink-3); font-weight: 500; }

/* 2 · review */
.review-badge {
  margin: 12px 14px 10px; background: rgba(40, 50, 111, 0.1); border-radius: 12px; padding: 8px 12px;
  font-size: 0.7rem; font-weight: 650; color: var(--indigo);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.review-badge .ai { margin-right: 4px; color: var(--gold); }
.scr-review.is-active .review-badge { opacity: 1; transform: none; transition-delay: 0.15s; }
.scr-review .screen-fields { padding-top: 0; }
.scr-review .f2 .value { font-size: 0.74rem; line-height: 1.3; }
.scr-review .field { opacity: 0; transform: translateX(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.scr-review.is-active .field { opacity: 1; transform: none; }
.scr-review.is-active .f1 { transition-delay: 0.25s; }
.scr-review.is-active .f2 { transition-delay: 0.33s; }
.scr-review.is-active .f3 { transition-delay: 0.41s; }
.scr-review.is-active .f4 { transition-delay: 0.49s; }
.scr-review.is-active .f5 { transition-delay: 0.57s; }
.scr-review.is-active .f6 { transition-delay: 0.65s; }
.field .chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.field .chips span {
  background: rgba(40, 50, 111, 0.1); color: var(--indigo);
  font-size: 0.62rem; font-weight: 650; padding: 3px 8px; border-radius: 999px;
}
.scr .screen-cta { opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.scr.is-active .screen-cta { opacity: 1; transform: none; transition-delay: 0.75s; }

/* 3 · duplicates */
.dup-card { margin: 14px 14px 0; background: var(--white); border-radius: 16px; padding: 14px; }
.dup-title { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 700; margin-bottom: 8px; }
.dup-row { display: flex; gap: 10px; align-items: center; font-size: 0.84rem; }
.dup-row small { color: var(--ink-3); font-size: 0.7rem; }
.dup-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: var(--white);
  font-size: 0.72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.dup-actions { margin: 14px 14px 0; display: grid; gap: 8px; }
.dup-btn {
  background: var(--indigo); color: var(--white); text-align: center; font-size: 0.8rem; font-weight: 650;
  padding: 11px; border-radius: 12px;
  opacity: 0; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.dup-btn.a2, .dup-btn.a3 { background: #E6E5DE; color: var(--ink); }
.dup-btn.ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.scr-contacts.is-active .dup-btn { opacity: 1; transform: none; }
.scr-contacts.is-active .a1 { transition-delay: 0.25s; }
.scr-contacts.is-active .a2 { transition-delay: 0.35s; }
.scr-contacts.is-active .a3 { transition-delay: 0.45s; }
.scr-contacts.is-active .a4 { transition-delay: 0.55s; }
.dup-note { margin: auto 14px 22px; text-align: center; font-size: 0.74rem; color: var(--ink-3); }

/* 4 · map */
.map {
  position: relative; margin: 14px 14px 0; height: 416px; border-radius: 22px; overflow: hidden;
  background: #E9E8E1;
}
.map-water { position: absolute; left: -20%; right: 55%; top: -10%; bottom: 40%; background: #D5D9E6; border-radius: 0 0 50% 40% / 0 0 60% 40%; transform: rotate(-12deg); }
.park { position: absolute; background: #DEDCCF; border-radius: 30%; }
.park.p1 { width: 70px; height: 52px; left: 62%; top: 38%; transform: rotate(8deg); }
.park.p2 { width: 46px; height: 46px; left: 8%; top: 76%; }
.road { position: absolute; background: var(--white); height: 7px; left: -10%; right: -10%; border-radius: 4px; box-shadow: 0 0 0 1px #DDDBD2; }
.road.thin { height: 3px; box-shadow: none; opacity: 0.9; }
.road.r1 { top: 30%; transform: rotate(-8deg); }
.road.r2 { top: 56%; transform: rotate(-8deg); }
.road.r3 { top: 82%; transform: rotate(-8deg); }
.road.r4 { top: 50%; transform: rotate(78deg); }
.road.r5 { top: 50%; transform: rotate(78deg) translateY(90px); }
.road.r6 { top: 43%; transform: rotate(-8deg); }
.road.r7 { top: 69%; transform: rotate(-8deg); }
.road.r8 { top: 50%; transform: rotate(78deg) translateY(-90px); }
/* The pin's anchor is its tip: drop in from above with a small bounce, label to the right. */
.pin {
  position: absolute; left: var(--x); top: var(--y); width: 0; height: 0;
  transform: translateY(-26px) scale(0.2); transform-origin: 0 0;
  opacity: 0; transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s var(--ease);
  transition-delay: calc(0.25s + var(--i) * 0.12s);
}
.pin::before {
  content: ""; position: absolute; left: -8px; top: -18px; width: 16px; height: 16px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--indigo); border: 2px solid var(--white); box-shadow: 0 6px 14px rgba(5, 7, 15, 0.3);
}
.pin.is-highlight::before { background: var(--gold); }
.pin span {
  position: absolute; left: 12px; top: -21px;
  background: var(--white); color: var(--ink); font-size: 0.6rem; font-weight: 650;
  padding: 3px 7px; border-radius: 7px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(5, 7, 15, 0.2); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); transition-delay: calc(0.55s + var(--i) * 0.12s);
}
.scr-map.is-active .pin { opacity: 1; transform: none; }
.scr-map.is-active .pin span { opacity: 1; transform: none; }
.map-sheet { margin: 10px 14px 0; display: grid; gap: 8px; }
.map-search { background: var(--white); border-radius: 12px; padding: 9px 12px; font-size: 0.74rem; color: var(--ink-3); }
.map-chip-row { display: flex; gap: 6px; }
.map-chip-row span { background: var(--white); font-size: 0.64rem; font-weight: 650; padding: 5px 10px; border-radius: 999px; color: var(--ink); }
.map-chip-row span.on { background: var(--indigo); color: var(--white); }

/* 5 · my card */
.scr-mycard { background: var(--white); }
.scr-mycard .screen-top { background: var(--navy); }
.qr-stage { position: relative; margin: 18px auto 0; width: 200px; height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px; }
.qr-img { width: 180px; height: 180px; transform: scale(0.94); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); }
.scr-mycard.is-active .qr-img { transform: none; opacity: 1; transition-delay: 0.1s; }
.qr-scanline {
  position: absolute; left: 0; right: 0; height: 3px; top: 0; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--indigo), transparent);
  box-shadow: 0 0 14px 3px rgba(40, 50, 111, 0.4);
  transition: top 1.4s var(--ease), opacity 0.3s var(--ease); transition-delay: 0.5s;
}
.scr-mycard.is-active .qr-scanline { top: 100%; opacity: 1; }
.qr-name { margin: 16px 0 2px; text-align: center; font-weight: 650; font-size: 1rem; }
.qr-role { text-align: center; font-size: 0.78rem; color: var(--ink-3); }
.qr-toast {
  margin: auto 14px 22px; background: var(--navy); color: var(--on-navy); font-size: 0.76rem; font-weight: 600;
  padding: 11px 14px; border-radius: 14px; text-align: center;
  opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: 1.8s;
}
.qr-toast .ok { color: var(--gold); margin-right: 4px; }
.scr-mycard.is-active .qr-toast { opacity: 1; transform: none; }

/* ---------- Privacy (navy) ---------- */

.privacy-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.privacy-figure img { width: 100%; height: auto; border-radius: var(--radius); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.privacy-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--navy-line); }
.privacy-list li:last-child { border-bottom: 1px solid var(--navy-line); }
.privacy-list svg { width: 24px; height: 24px; color: var(--gold); margin-top: 2px; }
.privacy-list strong { display: block; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 5px; }
.privacy-list span { color: var(--on-navy-2); font-size: 0.975rem; line-height: 1.5; }
.privacy-foot { margin: 34px 0 0; font-size: 0.9375rem; }
@media (max-width: 1023px) {
  .privacy-split { grid-template-columns: minmax(200px, 280px) 1fr; gap: 28px; align-items: start; }
  .privacy-figure img { width: 100%; height: auto; object-fit: contain; }
}
@media (max-width: 740px) {
  .privacy-split { grid-template-columns: 1fr; gap: 28px; }
  .privacy-figure { margin: 0; }
  .privacy-figure img { width: min(100%, 280px); height: auto; margin: 0 auto; object-fit: contain; }
}

/* ---------- Features ---------- */

/* Three showcase cards with app-like mocks, then a compact icon grid, then the AI band. */
.feat-show { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fcard {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 24px; display: flex; flex-direction: column; overflow: hidden;
}
.fcard-visual {
  position: relative; height: 196px; margin-bottom: 20px; padding: 18px;
  border-radius: calc(var(--radius) - 8px); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #ECEAF6 100%);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.fcard h3 { font-size: 1.25rem; margin: 0 6px 6px; }
.fcard p { color: var(--ink-2); margin: 0 6px; font-size: 0.975rem; line-height: 1.5; }
.fcard-map .fcard-visual { padding: 0; justify-content: flex-end; }
.fcard-map .fcard-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.fcard-map .map-chip { position: relative; margin: 0 12px 12px; }

.mini-search {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px 10px 36px; color: var(--ink-3); font-size: 0.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23696B7A' stroke-width='1.6'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='M10.5 10.5 14 14'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 12px 50%;
  box-shadow: inset 0 0 0 1.5px rgba(201, 162, 77, 0.55);
}
.mini-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-chips span {
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.mini-chips span.on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.mini-dup {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px;
  box-shadow: 0 8px 20px -12px rgba(17, 26, 58, 0.25);
}
.mini-dup strong { display: block; font-size: 0.8125rem; }
.mini-dup small { display: block; color: var(--ink-3); font-size: 0.72rem; }
.mini-av {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--navy); color: var(--gold); font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
}
.mini-actions { display: flex; gap: 6px; }
.mini-btn {
  font-size: 0.72rem; font-weight: 650; padding: 7px 13px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.mini-btn.primary { background: var(--indigo); border-color: var(--indigo); color: var(--white); }
.map-chip {
  background: rgba(247, 246, 242, 0.95); border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px;
  box-shadow: 0 8px 20px rgba(17, 26, 58, 0.14);
}
.map-chip strong { display: block; font-size: 0.8125rem; }
.map-chip span { display: block; font-size: 0.72rem; color: var(--ink-3); }

.feat-grid {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feat-grid li { background: var(--paper); padding: 22px 22px 24px; display: grid; gap: 4px; align-content: start; }
.feat-grid svg {
  width: 22px; height: 22px; margin-bottom: 8px;
  fill: none; stroke: var(--indigo); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.feat-grid strong { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; }
.feat-grid em {
  font-style: normal; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #7A5F14; background: var(--gold-soft); padding: 2px 7px; border-radius: 999px; margin-left: 4px;
  vertical-align: 2px;
}
.feat-grid span { color: var(--ink-3); font-size: 0.875rem; line-height: 1.45; }

.tile-kicker { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--gold); }
.ai-band {
  margin-top: 18px; padding: 30px 36px; border-radius: var(--radius);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px 44px; align-items: end;
  color: var(--on-navy);
  border: 1px solid rgba(201, 162, 77, 0.4);
  background: radial-gradient(50% 90% at 92% 8%, rgba(201, 162, 77, 0.16), transparent 60%), var(--navy);
  box-shadow: inset 0 1px 0 rgba(201, 162, 77, 0.45), 0 30px 70px -34px rgba(5, 7, 15, 0.7);
}
.ai-band .tile-kicker { grid-column: 1 / -1; }
.ai-band h3 { color: var(--on-navy); font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0; }
.ai-band p { color: var(--on-navy-2); margin: 0; font-size: 0.975rem; }

@media (hover: hover) {
  .fcard, .feat-grid li { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.3s; }
  .fcard:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -26px rgba(17, 26, 58, 0.3); }
  .feat-grid li:hover { background: var(--white); }
}
@media (max-width: 1000px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-band { grid-template-columns: 1fr; }
}
/* Phone: showcase becomes a swipe row, the grid keeps only titles, so the section stays short. */
@media (max-width: 760px) {
  .feat-show {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -18px; padding: 0 18px 4px; scroll-padding-inline: 18px;
    scrollbar-width: none;
  }
  .feat-show::-webkit-scrollbar { display: none; }
  .fcard { scroll-snap-align: start; padding: 14px 14px 20px; }
  .fcard-visual { height: 168px; margin-bottom: 16px; padding: 14px; }
  .fcard h3 { font-size: 1.125rem; }
  .fcard p { font-size: 0.9375rem; }
  .feat-grid li { padding: 14px 14px 15px; gap: 0; }
  .feat-grid svg { width: 19px; height: 19px; margin-bottom: 6px; }
  .feat-grid strong { font-size: 0.9rem; }
  .feat-grid span { display: none; }
  .ai-band { padding: 22px 20px; gap: 8px; }
  .ai-band p { font-size: 0.9375rem; }
}

/* ---------- Institutions ---------- */

.inst-figure { margin: clamp(22px, 3vw, 32px) 0 0; border-radius: var(--radius); overflow: hidden; position: relative; background: #0d1226; }
.inst-figure img { width: 100%; height: auto; aspect-ratio: 1024 / 366; object-fit: cover; }
.inst-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 32px 26px; color: var(--on-navy);
  background: linear-gradient(to top, rgba(17, 26, 58, 0.88), rgba(17, 26, 58, 0));
  font-size: 1rem; letter-spacing: -0.01em;
}
.inst-figure figcaption strong { color: var(--white); }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aud { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 26px 24px; }
.aud h3 { font-size: 1.125rem; margin-bottom: 10px; }
.aud h3::before { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.aud p { color: var(--ink-2); margin: 0; font-size: 0.9875rem; }
@media (max-width: 1000px) { .audience { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .audience { grid-template-columns: 1fr; } }

/* ---------- My Card ---------- */

.mycard-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.mycard-copy p { color: var(--ink-2); font-size: 1.0625rem; }
.mycard-caption {
  margin: 16px 0 0; text-align: center; color: var(--ink-3); font-size: 0.875rem;
}
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 11px; }
.checklist li { position: relative; padding-left: 30px; font-size: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--gold-soft);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px;
  border: solid #8A6A16; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mycard-try { font-weight: 600; color: var(--ink) !important; }
.qr-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px 26px; text-align: center;
  box-shadow: 0 26px 60px rgba(17, 26, 58, 0.12); max-width: 380px; margin: 0 auto;
}
.qr-card img { width: 100%; max-width: 290px; height: auto; margin: 0 auto 18px; }
.qr-card-name { font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.02em; }
.qr-card-role { color: var(--ink-3); font-size: 0.9375rem; }
.qr-card-brand { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 900px) {
  .mycard-grid { grid-template-columns: 1fr; gap: 36px; }
  .mycard-visual { max-width: 400px; margin: 0 auto; }
  .checklist { max-width: 460px; }
}

/* ---------- Languages band ---------- */

.lang-band { background: var(--paper); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: clamp(44px, 5vw, 64px) 0; }
.lang-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 880px; margin: 0 auto 28px; padding: 0; }
.lang-cloud li {
  list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
}
.lang-note { text-align: center; color: var(--ink-2); max-width: 66ch; margin: 0 auto; font-size: 1rem; }

/* ---------- Pricing ---------- */

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.price-card {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px 32px;
  display: flex; flex-direction: column;
}
.price-card.is-featured { background: var(--navy); color: var(--on-navy); border-color: transparent; }
.price-card.is-featured .price-name { color: var(--on-navy-2); }
.price-card.is-featured .price-desc { color: var(--on-navy-2); }
.price-card.is-featured .price-amount { color: var(--on-navy); }
.price-card.is-featured .price-amount small { color: var(--on-navy-2); }
.price-card.is-featured li { color: var(--on-navy); }
.price-card.is-featured li svg { color: var(--gold); }
.price-tag {
  position: absolute; top: 22px; right: 26px;
  background: var(--gold); color: var(--navy);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-name { font-size: 1rem; font-weight: 650; letter-spacing: 0.01em; color: var(--ink-2); margin-bottom: 10px; }
.price-amount { font-size: 2.75rem; font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; margin: 4px 0 4px; }
.price-amount small { font-size: 1rem; font-weight: 400; color: var(--ink-2); letter-spacing: -0.01em; }
.price-amount.secondary { font-size: 1.75rem; margin-top: 2px; }
.price-desc { color: var(--ink-2); font-size: 0.9375rem; margin-top: 10px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 11px; }
.price-card li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 1rem; align-items: start; }
.price-card li svg { width: 19px; height: 19px; color: var(--gold); margin-top: 4px; }
.price-card .store-badge { margin-top: auto; justify-content: center; }
.price-card.is-featured .store-badge { background: var(--on-navy); color: var(--navy); }
.price-foot { margin: 24px auto 0; text-align: center; font-size: 0.875rem; color: var(--ink-3); max-width: 70ch; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 14px 1.6px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.6px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 1rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */

.cta-final { text-align: center; }
.cta-final img.app-icon { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 26px; box-shadow: 0 20px 50px rgba(5, 7, 15, 0.45); }
.cta-final h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-final p { max-width: 54ch; margin: 0 auto 28px; font-size: 1.0625rem; }
.cta-final .store-badge { margin: 0 auto; }
.cta-note { margin-top: 20px !important; font-size: 0.875rem !important; color: var(--on-navy-2); }

/* ---------- Footer ---------- */

.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 0.8125rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer .brand img { height: 30px; }
.footer-copy { color: var(--ink-3); margin: 18px 0 0; width: 100%; line-height: 1.6; }
.footer-copy + .footer-copy { margin-top: 6px; }
.footer-motto { color: var(--ink-2) !important; font-size: 0.875rem; }

/* ---------- Legal pages (privacy.html / terms.html) ---------- */

.legal { max-width: 740px; padding: 64px 24px 92px; font-size: 1.0625rem; }
.legal h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); margin-bottom: 6px; }
.legal .updated { color: var(--ink-3); margin-bottom: 40px; font-size: 0.9375rem; }
.legal h2 { font-size: 1.4375rem; margin-top: 48px; }
.legal h3 { font-size: 1.125rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--ink-3); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.legal .callout { background: var(--paper); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }
.legal .callout p { margin: 0; color: var(--ink); }
.legal .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }

/* ---------- Motion ---------- */

/* Reveal is symmetric: `.in` is added when the element enters the viewport and removed
   when it leaves, so scrolling back up plays the same motion in reverse. `.above` flips
   the resting offset for elements that left through the top. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.above { transform: translateY(-16px); }
.reveal.in { opacity: 1; transform: none; }
.feat-show .reveal:nth-child(2), .feat-grid .reveal:nth-child(4n+2), .audience .reveal:nth-child(2), .pricing .reveal:nth-child(2) { transition-delay: 0.08s; }
.feat-show .reveal:nth-child(3), .feat-grid .reveal:nth-child(4n+3), .audience .reveal:nth-child(3) { transition-delay: 0.16s; }
.feat-grid .reveal:nth-child(4n), .audience .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after, .reveal, .scr, .scr *, .story-step, .pin, .pin span, .fcard, .feat-grid li { transition: none !important; }
  .hero-chip { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .story-step { opacity: 1; transform: none; }
  .scr .screen-cta, .scan-tag, .scr-review .field, .dup-btn, .review-badge, .qr-img, .qr-toast { opacity: 1; transform: none; }
  .scr-map .pin { opacity: 1; transform: rotate(-45deg); }
  .scr-map .pin span { opacity: 1; }
  .scan-beam, .qr-scanline { display: none; }
}

/* ---------- Mobile density ---------- */

@media (max-width: 620px) {
  :root { --radius: 20px; --radius-sm: 14px; }
  body { font-size: 16px; overflow-x: hidden; }
  .container { padding-inline: 18px; }
  .section { padding: 50px 0; }
  h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .section-head { margin-bottom: 24px; }
  .lang-band { padding: 40px 0; }
  .section-head p { font-size: 1.0625rem; }

  .nav-inner { height: 58px; }
  .nav-links { top: 58px; max-height: calc(100svh - 58px); overflow-y: auto; }
  .brand img { height: 30px; }

  .hero { padding-top: 34px; }
  .hero-actions { gap: 14px; }
  .hero-points { max-width: 340px; margin-bottom: 20px; }
  .hero-visual { padding: 0 18px; }
  .chip-a { left: -4px; top: 8%; }
  .chip-b { right: -4px; bottom: 6%; }
  .journey { padding-top: 46px; }
  .journey-head { margin-bottom: 12px; }
  .demo-note { max-width: none; }

  .story-visual {
    top: 58px;
    padding: 8px 0 10px;
  }
  .phone.story-phone { --pw: min(158px, calc((100svh - 300px) / 2.09)); }
  .story-steps { padding: 4px 0 8svh; }
  .story-step {
    min-height: 44svh;
    justify-content: flex-start;
    padding: 16px 6px 24px;
    opacity: 0.34;
  }
  .step-index { margin-bottom: 8px; }
  .story-step h3 { font-size: 1.375rem; margin-bottom: 8px; }
  .story-step p { font-size: 0.96875rem; line-height: 1.45; max-width: 38ch; margin-inline: auto; }

  .privacy-list li { padding: 17px 0; grid-template-columns: 22px 1fr; gap: 13px; }
  .privacy-list svg { width: 20px; height: 20px; }

  .inst-figure figcaption { padding: 34px 20px 18px; font-size: 0.9375rem; }
  .aud { padding: 22px 20px; }

  .qr-card { padding: 24px 20px 20px; max-width: 320px; }
  .qr-card img { max-width: 240px; margin-bottom: 14px; }

  .lang-cloud { gap: 8px; margin-bottom: 22px; }
  .lang-cloud li { padding: 8px 14px; font-size: 0.9875rem; }

  .pricing { gap: 14px; }
  .price-card { padding: 30px 22px 24px; }
  .price-amount { font-size: 2.375rem; }
  .price-tag { top: 16px; right: 18px; }

  .faq summary { padding: 19px 40px 19px 0; font-size: 1.0125rem; }
  .faq .answer { padding: 0 20px 20px 0; }

  .cta-final img.app-icon { width: 72px; height: 72px; margin-bottom: 20px; }

  .footer { padding: 26px 0 32px; }
  .footer-inner { gap: 14px; }
  .footer-links { width: 100%; gap: 8px 18px; }
  .legal { padding: 48px 18px 72px; }
}
