/* LaneScope site. Colours from the app's Design/Palette.swift (dark appearance). */
:root {
  --bg: #0A0810;
  --surface: #17131F;
  --surface-raised: #221C2E;
  --surface-high: #1E1829;
  --stroke: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.10);
  --text: #FFFFFF;
  --text-2: #A8A1BA;
  --text-3: #8A84A0;
  --accent: #A877FF;
  --fuchsia: #E052F7;
  --violet: #7C4DFF;
  --lime: #D6F65C;
  --cyan: #5CE1FF;
  --mint: #5CFFB0;
  --brand: linear-gradient(90deg, #E04BF4 0%, #9B45F6 50%, #6C3CF2 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", "Arial Black", Roboto, sans-serif;
  color-scheme: dark;
}

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

html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 520px at 15% -80px, rgba(106, 43, 232, 0.42), transparent 70%),
    radial-gradient(ellipse 60% 420px at 95% 0, rgba(184, 46, 219, 0.20), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #C4A3FF; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--lime); color: #0A0810; padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Headings: heavy and expanded, like the app's SF Pro Expanded titles. */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 9vw, 4.6rem); text-transform: uppercase; letter-spacing: 0; }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.kicker {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 12px;
}
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 40em; }
.muted { color: var(--text-2); }
.grad-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lime { color: var(--lime); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(10, 8, 16, 0.72); border-bottom: 1px solid var(--stroke); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { color: var(--text); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-raised); }
@media (max-width: 420px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: #fff;
  background: var(--brand); border: 0;
  box-shadow: 0 10px 30px -10px rgba(155, 69, 246, 0.8);
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost { background: var(--surface-raised); box-shadow: none; border: 1px solid var(--stroke); }

/* App Store badge placeholder: shaped like Apple's badge, but says it's not out yet. */
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff;
  text-decoration: none; line-height: 1.15;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.72rem; color: #D8D3E4; letter-spacing: 0.02em; }
.store-badge strong { display: block; font-size: 1.15rem; font-weight: 700; }

/* Hero */
.hero { padding: 48px 0 32px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 .line2 { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 0.9rem; color: var(--text-3); }
.hero-shot { position: relative; justify-self: center; width: min(330px, 82vw); }
.hero-shot .phone { position: relative; z-index: 1; }
.hero-shot::before {
  content: ""; position: absolute; inset: 12% -18% 4%; z-index: 0;
  background: radial-gradient(closest-side, rgba(214, 246, 92, 0.18), rgba(124, 77, 255, 0.25) 55%, transparent);
  filter: blur(10px);
}
.hero-banner { position: absolute; z-index: 2; left: -4%; bottom: 14%; width: 62%; border-radius: 16px; box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.8); }
@media (min-width: 880px) {
  .hero { padding: 80px 0 56px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-banner { left: -12%; }
}

/* Phone screenshot frame */
.phone {
  border-radius: 36px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 6px #120F19;
  background: #0A0810;
}

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 46em; margin-bottom: 32px; }

/* Stat chips under the hero */
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none; }
.stats li { font-size: 0.85rem; font-weight: 700; color: var(--text); background: var(--surface-raised); border: 1px solid var(--stroke); border-radius: 999px; padding: 6px 12px; }

/* Cards */
.card {
  background: linear-gradient(180deg, var(--surface-high), var(--surface));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
}
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); margin-bottom: 14px; }
.card .icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Feature rows: text beside a screenshot */
.feature { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--hairline); }
.feature .shot { justify-self: center; width: min(300px, 78vw); }
.feature .shot.wide { width: 100%; max-width: 520px; }
.feature .shot.wide img { border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.14); }
.feature ul { padding-left: 1.1em; margin: 0; color: var(--text-2); }
.feature li { margin-bottom: 6px; }
.feature li strong { color: var(--text); }
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0; }
  .feature.flip .shot { order: -1; }
}

/* Small screenshot strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.strip figure { margin: 0; }
.strip .phone { border-radius: 24px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 4px #120F19; }
.strip figcaption { font-size: 0.85rem; color: var(--text-2); margin-top: 10px; text-align: center; }
@media (min-width: 880px) { .strip { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 880px) { .steps.row { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; position: relative; padding-left: 50px; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 900; font-size: 0.95rem;
}
.steps.cards > li { background: linear-gradient(180deg, var(--surface-high), var(--surface)); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px 22px 22px 70px; }
.steps.cards > li::before { left: 22px; top: 22px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-2); margin: 0; }

/* Pricing */
.plans { display: grid; gap: 16px; }
@media (min-width: 800px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan h3 { font-size: 1.5rem; }
.plan.pro { position: relative; border: 1px solid transparent; background: linear-gradient(180deg, var(--surface-high), var(--surface)) padding-box, var(--brand) border-box; }
.plan .price { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: 1.6rem; margin: 4px 0 2px; }
.plan .price small { font-size: 0.95rem; color: var(--text-2); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); }
.plan li strong { color: var(--text); }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--surface-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6F65C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(214, 246, 92, 0.14); color: var(--lime); }
.fine { font-size: 0.85rem; color: var(--text-3); margin-top: 16px; }

/* CTA band */
.cta { text-align: center; }
.cta .card { padding: 40px 22px; background: radial-gradient(ellipse at top, rgba(124, 77, 255, 0.35), transparent 70%), linear-gradient(180deg, var(--surface-high), var(--surface)); }
.cta .hero-actions { justify-content: center; }

/* Text pages (privacy, terms, support) */
.doc { padding: 40px 0 64px; }
.doc h1 { font-size: clamp(2rem, 7vw, 3.2rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; font-weight: 800; }
.doc h3 { font-size: 1.05rem; margin-top: 1.6em; }
.doc p, .doc li { color: #D9D4E6; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc .summary { margin: 24px 0; }
.doc .summary ul { margin: 0; }
.updated { color: var(--text-3); font-size: 0.95rem; }

/* FAQ */
.faq details { background: linear-gradient(180deg, var(--surface-high), var(--surface)); border: 1px solid var(--stroke); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 18px 16px; }
.faq .answer > :last-child { margin-bottom: 0; }

.contact-card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin: 24px 0 8px; }
.contact-card .email { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(1.1rem, 5vw, 1.5rem); color: var(--lime); text-decoration: none; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke); padding: 32px 0 48px; margin-top: 24px; color: var(--text-3); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer p { margin: 0; }
.doc .kicker { color: var(--lime); }
.doc .steps p { margin: 0; color: #D9D4E6; }
.doc .steps { margin-bottom: 14px; }
