/* falllineiq.com pre-launch site (scripts/build-prelaunch.mjs). Mirrors the app: sky and snow, navy ink, orange action.
   Static only: no scripts, every resource from this site (fonts self-hosted, Inter under the SIL OFL, fonts/OFL-LICENSE.txt). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/site/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/site/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/site/fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/site/fonts/inter-latin-800-normal.woff2) format('woff2'); }

:root {
  --ink: #0f172a; --ink-2: #334155; --muted: #64748b; --line: #e2e8f0;
  --orange: #f97316; --orange-ink: #c2410c; --sky: #e0f2fe; --sky-2: #bae6fd; --blue: #0284c7;
  --card: #ffffff; --page: #f8fbff; --green: #16a34a; --amber: #d97706;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 38ch; margin: 16px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(249,115,22,.35); }
.btn-orange:hover { background: #ea580c; }
.btn-ghost { background: rgba(255,255,255,.8); color: var(--ink); border: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(248,251,255,.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(226,232,240,.8); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
.top .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 820px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #dff1fd 0%, #eef8ff 55%, var(--page) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: url(/site/img/background.webp) center 30% / cover no-repeat; opacity: .55; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.hero .soon { margin-top: 22px; }
.hero-art { position: relative; justify-self: center; }
.hero-art .skier { position: absolute; width: 230px; left: -150px; bottom: 40px; filter: drop-shadow(0 18px 24px rgba(15,23,42,.18)); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
  .hero-art .skier { width: 150px; left: -70px; bottom: 10px; }
}

/* phone frame */
.phone { width: 280px; border-radius: 42px; padding: 10px; background: #0f172a; box-shadow: 0 30px 60px rgba(15,23,42,.28), inset 0 0 0 2px #1e293b; }
.phone img { border-radius: 33px; width: 260px; aspect-ratio: 600 / 1194; object-fit: cover; object-position: top; }
.phone.sm { width: 236px; border-radius: 36px; padding: 8px; }
.phone.sm img { width: 220px; border-radius: 29px; }

/* sections */
section { padding: 88px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; text-align: left; }
.step b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: var(--blue); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--ink-2); margin: 8px 0 0; font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .copy { order: 2; }
.feature .art { justify-self: center; }
.feature ul { padding: 0; margin: 20px 0 0; list-style: none; }
.feature li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--ink-2); }
.feature li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #ffedd5; }
.phases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.phases span { font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 12px; background: #dcfce7; color: #166534; }
.phases span.fix { background: #fef3c7; color: #92400e; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.flip .copy { order: 0; } }

.callout { margin-top: 96px; background: linear-gradient(135deg, #fff7ed, #ffffff); border: 1px solid #fed7aa; border-radius: 26px; padding: 34px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.callout svg { width: 64px; height: 64px; }
.callout p { margin: 8px 0 0; color: var(--ink-2); }
@media (max-width: 640px) { .callout { grid-template-columns: 1fr; padding: 26px; } }

/* racers (dark band) */
.dark { background: radial-gradient(120% 80% at 80% 0%, #0b4a6f 0%, #0f172a 60%, #0b1222 100%); color: #fff; }
.dark .eyebrow { color: #fdba74; }
.dark .lead { color: #cbd5e1; }
.race { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.race .phones { display: flex; gap: 18px; justify-content: center; }
.race .phones .phone:nth-child(2) { transform: translateY(36px); }
.race dl { margin: 26px 0 0; display: grid; gap: 16px; }
.race dt { font-weight: 700; }
.race dd { margin: 2px 0 0; color: #cbd5e1; }
.dark .phone { box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 2px #334155; }
@media (max-width: 900px) { .race { grid-template-columns: 1fr; } .race .phones .phone:nth-child(2) { transform: none; } .race .phones .phone.sm { width: 46%; } .race .phones .phone.sm img { width: 100%; } }

/* coaches */
.grid4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.card svg { width: 40px; height: 40px; color: var(--blue); }
.card h3 { margin-top: 14px; }
.card p { color: var(--ink-2); margin: 8px 0 0; font-size: 16px; }
@media (max-width: 720px) { .grid4 { grid-template-columns: 1fr; } }

/* privacy */
.private { background: var(--sky); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.trio div { background: rgba(255,255,255,.75); border-radius: 20px; padding: 22px; font-weight: 600; }
.trio span { display: block; font-weight: 400; color: var(--ink-2); font-size: 15px; margin-top: 6px; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; text-align: left; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--orange); box-shadow: 0 18px 40px rgba(249,115,22,.15); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); background: #ffedd5; border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.plan .price { font-size: 38px; font-weight: 800; margin: 10px 0 0; letter-spacing: -0.02em; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan p { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; }
.fine { color: var(--muted); font-size: 14px; max-width: 70ch; margin: 28px auto 0; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

/* closing + footer */
.closing { text-align: center; padding: 96px 0; background: linear-gradient(180deg, var(--page), #dff1fd); }
.closing img { width: 92px; height: 92px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 14px 30px rgba(15,23,42,.18); }
.closing .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
footer { background: #0f172a; color: #94a3b8; padding: 36px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-left: auto; }
footer a { color: #e2e8f0; text-decoration: none; }
footer a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
