/* MyPermesso homepage. Colours match the app (lib/config/app_colors.dart). */
:root {
  --blue: #3559e0;
  --blue-dark: #2443b8;
  --blue-soft: #eef2fd;
  --apricot: #f2a93b;
  --ink: #141923;
  --text: #2a3140;
  --muted: #5d6674;
  --bg: #f7f8fa;
  --card: #ffffff;
  --border: #e6e9ef;
  --green: #13835f;
  --green-soft: #e6f4ee;
  --amber: #b66a0a;
  --amber-soft: #fcf1e2;
  --red: #c83c48;
  --red-soft: #fbe9eb;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 25, 35, .04), 0 12px 32px rgba(20, 25, 35, .08);
  --heading: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Grid and flex children may shrink below their content, so nothing pushes
   the page wider than the screen. */
.hero-grid > *, .tab-panel > *, .forms-grid > *, .faq-grid > *, .footer-grid > *, .nav > * { min-width: 0; }
body { overflow-x: clip; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--heading); color: var(--ink); letter-spacing: -.025em; line-height: 1.12; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 250, .85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(230, 233, 239, .7);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 800; font-size: 19px; color: var(--ink); }
.brand img { width: 40px; height: 40px; object-fit: cover; border-radius: 11px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav-links .nav-cta { background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--border); background: var(--card); border-radius: 12px; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 12px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }

/* Hero */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(53, 89, 224, .16), rgba(53, 89, 224, 0) 65%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(19, 131, 95, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(19, 131, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 131, 95, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin: 22px 0 18px; }
.gradient-text { background: linear-gradient(100deg, var(--blue) 10%, #6c5ce7 60%, var(--apricot) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 560px; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.badge { display: inline-flex; border-radius: 10px; transition: transform .2s; }
.badge:hover { transform: translateY(-2px); }
.badge-apple { height: 52px; width: auto; }
/* Google's badge artwork has built-in transparent padding. */
.badge-google { height: 77px; width: auto; margin: -12.5px -9px; }
.watch-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: var(--ink); }
.play { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); position: relative; }
.play::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--blue); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.hero-stats { display: flex; gap: 36px; list-style: none; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border); max-width: 520px; }
.hero-stats strong { display: block; font-family: var(--heading); font-size: 26px; color: var(--ink); }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* Screen follows the app's 402 × 874 iPhone viewport without cropping. */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 0; }
.phone {
  width: 414px; max-width: 100%; border-radius: 54px; background: #0e1117; padding: 10px;
  box-shadow: 0 32px 64px rgba(20, 25, 35, .2), 0 0 0 1px rgba(255,255,255,.12) inset;
  position: relative; container-type: inline-size;
}
.phone-notch { position: absolute; top: 2.3%; left: 50%; transform: translateX(-50%); width: 25%; height: 3.1%; background: #0e1117; border-radius: 24px; z-index: 2; }
.phone-screen { position: relative; aspect-ratio: 402 / 874; background: #f7f8fa; border-radius: 44px; overflow: hidden; padding: 0; }
.phone-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone-status { position: absolute; top: 1.7%; left: 7%; right: 7%; display: flex; justify-content: space-between; font: 600 12px/1.5 system-ui, sans-serif; font-size: 3cqw; color: #111318; pointer-events: none; }
.phone-home { position: absolute; bottom: 1%; left: 33%; width: 34%; height: .55%; border-radius: 5px; background: #111318; pointer-events: none; }
.hero-playback { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 9px 18px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.hero-playback:hover { border-color: var(--blue); color: var(--blue); }
.hero-playback:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media (max-width: 480px) { .phone { border-radius: 44px; padding: 8px; } .phone-screen { border-radius: 36px; } }
.app-bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--heading); font-weight: 700; font-size: 15px; color: var(--ink); margin: 0 4px 12px; }
.float-card {
  position: absolute; background: var(--card); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite;
}
.float-a { left: -48px; top: 18%; }
.float-b { right: -48px; bottom: 14%; animation-delay: -3s; }
.float-card .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: var(--green); }
.float-card .icon { background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 6px; border-radius: 6px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Strip */
.strip { background: var(--ink); color: #c9cfdb; font-size: 14px; }
.strip-inner { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; padding: 14px 0; }
.strip .sep { color: #5d6674; }

/* Sections */
.section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17.5px; }

/* Tags */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-premium { background: var(--blue-soft); color: var(--blue); }
.tag-free { background: var(--green-soft); color: var(--green); }

/* Tabs */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: var(--card); border: 1px solid var(--border); padding: 8px; border-radius: 18px; margin-bottom: 28px; }
.tabs button { border: 0; background: transparent; padding: 14px 10px; border-radius: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(53, 89, 224, .3); }
.tab-icon { font-size: 16px; }
.tab-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.panel-copy h3 { font-size: 30px; font-weight: 800; margin: 14px 0 12px; }
.panel-copy > p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { border: 1px solid var(--border); background: var(--card); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo-card { background: var(--card); border: 1px solid var(--border); border-radius: 26px; padding: 18px; box-shadow: var(--shadow); }
.demo-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 26px; }

/* Demo components */
.demo { font-size: 14px; }
.d-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.d-chip { width: 44px; height: 56px; border-radius: 8px; flex: none; position: relative; overflow: hidden; display: grid; place-items: center; }
.d-chip.passport { background: #7a1f2b; color: #e8c66a; font-size: 20px; }
.d-chip.letter { background: #fff; border: 1px solid var(--border); color: var(--blue); font-size: 20px; }
.d-chip.ai { background: var(--blue-soft); color: var(--blue); font-size: 20px; height: 44px; border-radius: 12px; }
.d-chip .scan { position: absolute; left: 0; right: 0; height: 2px; background: #7fe3ff; box-shadow: 0 0 8px #7fe3ff; animation: scan 1.4s linear infinite; }
@keyframes scan { from { top: 0; } to { top: 100%; } }
.d-title { font-weight: 700; color: var(--ink); font-size: 14.5px; line-height: 1.3; }
.d-status { font-size: 13px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 5px; min-height: 20px; }
.d-status.done { color: var(--green); }
.d-viewport { position: relative; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.d-page { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform .65s cubic-bezier(.65, 0, .35, 1); }
.d-page img { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-field { opacity: 0; transition: opacity .35s; }
.d-field.on { opacity: 1; }
.d-hl { position: absolute; border: 2px solid var(--blue); background: rgba(53, 89, 224, .08); border-radius: 4px; transition: all .35s; pointer-events: none; }
.d-tick { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.d-tick.on { transform: scale(1); }
.d-tick::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.d-caption { margin-top: 10px; min-height: 22px; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.d-caption strong { color: var(--ink); }
.d-pdf { margin-top: 10px; background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; opacity: 0; transform: translateY(8px); transition: all .35s; }
.d-pdf.on { opacity: 1; transform: none; }
.d-pdf .pdf { background: var(--red); font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 5px; }
.d-mark { position: absolute; background: rgba(255, 226, 122, .35); border-radius: 3px; opacity: 0; transition: all .3s; }
.d-mark.on { opacity: 1; }
.d-mark.active { background: rgba(255, 226, 122, .6); outline: 2px solid var(--blue); }
.d-rows { margin-top: 12px; display: grid; gap: 6px; }
.d-row { display: grid; grid-template-columns: 22px auto 1fr; gap: 6px; align-items: center; font-size: 13.5px; opacity: 0; transform: translateY(6px); transition: all .35s; }
.d-row.on { opacity: 1; transform: none; }
.d-row b { color: var(--ink); }
.d-row .ic { color: var(--blue); text-align: center; }
.d-row.warn .ic { color: var(--amber); }
.d-urgent { background: var(--red-soft); color: var(--red); font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; }
.d-remind { margin-top: 12px; border-radius: 12px; padding: 10px; text-align: center; color: #fff; font-weight: 600; background: var(--blue); transition: background .3s; opacity: 0; }
.d-remind.on { opacity: 1; }
.d-remind.set { background: var(--green); }
.d-chat { display: flex; flex-direction: column; gap: 10px; min-height: 330px; justify-content: flex-end; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; font-size: 14px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble.bot { align-self: flex-start; background: var(--blue-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; opacity: 0; transition: opacity .3s; }
.sources.on { opacity: 1; }
.sources span { background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.sources span::before { content: "✓ "; color: var(--green); }
.action { align-self: flex-start; border: 1.5px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; transform: scale(0); transform-origin: left; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.action.on { transform: scale(1); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.d-notif { background: var(--ink); color: #fff; border-radius: 16px; padding: 0 14px; max-height: 0; overflow: hidden; display: flex; gap: 12px; align-items: center; margin-bottom: 0; transform: translateY(-10px); opacity: 0; transition: all .4s cubic-bezier(.34, 1.56, .64, 1); }
.d-notif.on { transform: none; opacity: 1; max-height: 90px; padding: 12px 14px; margin-bottom: 14px; }
.d-notif img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.d-notif small { display: block; color: #a7afbd; font-size: 13px; }
.d-permit { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.d-permit .d-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; color: var(--blue); font-size: 20px; }
.d-pill { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.d-pill.ready { background: var(--green-soft); color: var(--green); }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 18px; opacity: .45; transition: opacity .3s; }
.timeline li.reached { opacity: 1; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--green); }
.timeline .node { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: #fff; display: grid; place-items: center; font-size: 13px; color: #fff; transition: all .3s; }
.timeline li.current .node { border-color: var(--blue); background: var(--blue); }
.timeline li.done .node { border-color: var(--green); background: var(--green); }
.timeline b { display: block; color: var(--ink); }
.timeline small { color: var(--muted); }

/* How it works */
.how { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--bg); border-radius: var(--radius); padding: 28px; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; font-family: var(--heading); font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Forms */
.forms-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.forms-grid .section-head { margin-bottom: 0; }
.filled-list { margin-top: 26px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.small-label { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.filled-list ul { list-style: none; display: grid; gap: 10px; }
.filled-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.muted { color: var(--muted); font-size: 14.5px; margin-top: 12px; }
.category-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-grid li { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; transition: transform .2s, box-shadow .2s; }
.category-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.category-grid strong { display: block; font-family: var(--heading); font-size: 28px; color: var(--blue); line-height: 1.1; }
.category-grid span { font-size: 14.5px; color: var(--text); font-weight: 500; }

/* Pricing */
.pricing { background: linear-gradient(180deg, var(--bg), var(--blue-soft)); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; }
.price-card { background: var(--card); border: 1px solid var(--border); border-radius: 26px; padding: 32px; position: relative; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 24px 56px rgba(53, 89, 224, .18); }
.price-card h3 { font-size: 22px; }
.price { margin: 10px 0 4px; }
.price strong { font-family: var(--heading); font-size: 44px; color: var(--ink); font-weight: 800; }
.price span { color: var(--muted); margin-left: 4px; }
.price-alt { color: var(--muted); font-size: 14.5px; }
.best { position: absolute; top: -14px; left: 32px; background: var(--apricot); color: var(--ink); font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.fees-note { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-grid article { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft); color: var(--blue); font-size: 20px; margin-bottom: 16px; }
.trust-grid h3 { font-size: 20px; margin-bottom: 8px; }
.trust-grid p { color: var(--muted); }

/* FAQ */
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-top: 10px; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-inner {
  background: linear-gradient(120deg, var(--blue) 0%, #4f46e5 100%); color: #fff; border-radius: 32px; padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  box-shadow: 0 30px 70px rgba(53, 89, 224, .35);
}
.cta h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .85); margin-top: 8px; font-size: 17px; }
.cta .store-badges { margin-top: 0; }

/* Footer */
.footer { background: var(--card); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer p { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.footer h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer ul a { color: var(--text); font-size: 14.5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 20px; }
.footer-bottom p { font-size: 13px; margin: 0; }

/* Responsive */
@media (max-width: 1180px) {
  .float-card { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .tab-panel, .forms-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 40px; }
  .phone { transform: none; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--card); border-bottom: 1px solid var(--border); padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; }
  .nav-links .nav-cta { text-align: center; margin-top: 8px; }
  .section { padding: 64px 0; }
  .lead { font-size: 17px; }
  .hero-stats { gap: 22px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 24px; }
  .float-card { display: none; }
  .tabs button { font-size: 14px; padding: 12px 6px; }
  .strip .sep { display: none; }
  .strip-inner { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- demo additions ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.d-attach { align-self: flex-end; display: flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--blue-dark); border-radius: 14px; padding: 8px 12px; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .35s; }
.d-attach.on { opacity: 1; transform: none; }
.d-attach-ic { width: 26px; height: 32px; border-radius: 5px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-size: 13px; }
.d-mic { display: flex; align-items: center; gap: 8px; margin-top: 12px; border: 1.5px solid var(--red); border-radius: 999px; padding: 8px 14px; color: var(--red); font-size: 13.5px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.d-mic.on { opacity: 1; }
.d-mic-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: blink 1s infinite; }
.d-reminders { margin-top: 4px; background: var(--amber-soft); border-radius: 14px; padding: 0 14px; max-height: 0; overflow: hidden; opacity: 0; transition: all .45s ease; }
.d-reminders.on { max-height: 200px; opacity: 1; padding: 12px 14px; margin-bottom: 6px; }
.d-reminders-head { font-weight: 700; color: var(--amber); font-size: 13.5px; margin-bottom: 6px; }
.d-rem { padding: 6px 0; border-top: 1px solid rgba(182, 106, 10, .15); }
.d-rem b { display: block; color: var(--ink); font-size: 14px; }
.d-rem small { color: var(--muted); font-size: 12.5px; }
.d-progress { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin: 2px 0 16px; }
.d-progress span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .5s ease; }
.d-guide-who { font-size: 13.5px; color: var(--text); margin: 0 0 12px; }
.d-guide-need { font-weight: 700; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.d-checklist { display: grid; gap: 4px; }
.d-check-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); padding: 4px 0; }
.d-check-row .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); display: grid; place-items: center; flex: none; font-size: 12px; color: #fff; transition: all .25s; }
.d-check-row.on .box { background: var(--green); border-color: var(--green); }
.d-share { margin-top: 10px; color: var(--blue); font-weight: 600; font-size: 13.5px; opacity: 0; transition: opacity .3s; }
.d-share.on { opacity: 1; }
.form-search { width: 100%; margin: 4px 0 14px; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 15px; background: var(--bg); color: var(--ink); }
.form-search:focus { outline: 2px solid var(--blue); outline-offset: 1px; background: #fff; }
.fill-groups { max-height: 420px; overflow-y: auto; padding-right: 4px; display: grid; gap: 14px; }
.fill-cat { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.fill-cat span { color: var(--blue); }
.filled-list .fill-group ul { gap: 6px; }
.filled-list .fill-group li { font-weight: 500; font-size: 14.5px; align-items: flex-start; }
.filled-list .fill-group li::before { content: "✓"; color: var(--green); font-weight: 700; }
.filled-list .fill-group li[hidden], .fill-group[hidden] { display: none; }

/* Launch conversion refinements */
.mobile-download { display: none; }
.preview-offer { max-width: 550px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.preview-offer strong { color: var(--ink); }
.preview-offer a { text-decoration: underline; text-underline-offset: 3px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hero-stats li { min-width: 0; }
.hero-stats span { display: block; }
[id] { scroll-margin-top: 90px; }
.demo-download { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; }
.all-forms { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.all-forms summary { color: var(--blue); font-weight: 700; cursor: pointer; padding: 8px 0; }
.catalogue-body { padding-top: 14px; }
.common-forms li { align-items: flex-start; line-height: 1.5; }
.common-forms .check { margin-top: 2px; }
.launch-tour { margin: 34px auto 0; border: 1px solid var(--border); border-radius: 22px; background: var(--card); overflow: clip; }
.launch-tour summary { display: flex; align-items: center; gap: 16px; cursor: pointer; padding: 22px; color: var(--ink); font-weight: 700; list-style: none; }
.launch-tour summary::-webkit-details-marker { display: none; }
.launch-tour small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 400; }
.tour-play { display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); min-width: 44px; height: 44px; }
.tour-grid { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0,1fr); gap: 36px; align-items: center; max-width: 940px; margin: 0 auto; padding: 6px 26px 28px; }
.tour-grid video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: #F7F8FA; }
.tour-copy { min-width: 0; }
.tour-copy h3 { font-size: clamp(24px,3vw,32px); margin-bottom: 16px; }
.tour-copy p { color: var(--muted); margin-bottom: 16px; }
.tour-download { display: inline-block; padding: 13px 20px; border-radius: 999px; color: white; background: var(--blue); font-weight: 700; }
.tour-download:hover { color: white; background: var(--blue-dark); }
.tour-transcript { margin-top: 18px; font-size: 14px; }
@media (max-width: 760px) {
  .nav { gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 34px; height: 34px; flex: none; }
  .menu-toggle { flex: none; }
  .mobile-download { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: 44px; margin-left: auto; padding: 8px 13px; background: var(--blue); color: white; border-radius: 12px; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .mobile-download:hover { color: white; background: var(--blue-dark); }
  .tour-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 24px; }
  .tour-grid video { width: min(100%, 300px); justify-self: center; }
  .launch-tour summary { padding: 18px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero .badge-apple, .cta .badge-apple { height: 40px; }
  .hero .badge-google, .cta .badge-google { height: 60px; margin: -10px -7px; }
  .hero-stats span { font-size: 12.5px; }
}
@media (max-width: 360px) { .nav .brand span { display: none; } }
