/* Landing page only. The app uses style.css. Colors and sizes come from the Halo design system. */
@font-face { font-family: Geist; src: url(/assets/geist.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
:root {
  --canvas: #fbfbfd; --sunk: #f4f4f8; --surface: #fff; --line: #e9e9f0; --line-strong: #d9d9e3;
  --ink: #0b0b14; --ink-2: #545468; --ink-3: #6b6b80; --accent: #4f3bf6; --accent-ink: #4330e0; --accent-soft: #eeebff;
  --card: inset 0 0 0 1px var(--line), 0 1px 2px rgba(16,12,48,.05), 0 4px 12px -4px rgba(40,24,140,.08);
  --raised: inset 0 0 0 1px var(--line), 0 1px 2px rgba(16,12,48,.04), 0 12px 32px -12px rgba(40,24,140,.16);
  --btn: 0 1px 2px rgba(11,11,20,.2), 0 4px 12px -4px rgba(11,11,20,.35), inset 0 1px 0 rgba(255,255,255,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/26px Geist, -apple-system, "Segoe UI", system-ui, sans-serif; letter-spacing: -.006em; overflow-x: hidden; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2 { font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 22px; line-height: 1.27; font-weight: 550; letter-spacing: -.02em; }
h3.small { font-size: 18px; line-height: 1.33; }
.muted { color: var(--ink-3); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.page { position: relative; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.glow.a { top: -180px; left: 8%; width: 520px; height: 520px; background: #a99bff; opacity: .38; }
.glow.b { top: -120px; right: 6%; width: 460px; height: 460px; background: #c7ecff; opacity: .6; }
.glow.c { top: 260px; left: 42%; width: 380px; height: 380px; background: #ffb3d1; opacity: .22; }
.wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font: 500 12px/16px ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }

.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 10px 12px 10px 20px; border-radius: 999px; background: rgba(255,255,255,.68); backdrop-filter: blur(16px); box-shadow: var(--raised); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 17px; letter-spacing: -.02em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 12px 14px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: background .16s; }
.nav-links a:not(.btn):hover { background: rgba(16,12,48,.05); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; box-shadow: var(--btn); transition: transform .16s, box-shadow .24s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11,11,20,.2), 0 10px 24px -6px rgba(40,24,140,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.btn:active { transform: scale(.98); }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn.plain { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 2px rgba(16,12,48,.06); }
.btn.accent { background: var(--accent); box-shadow: 0 1px 2px rgba(79,59,246,.3), 0 6px 16px -4px rgba(79,59,246,.45), inset 0 1px 0 rgba(255,255,255,.2); }
.btn.light { background: #f3f3f7; color: #0a0a12; box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 0 24px rgba(169,155,255,.35); }

.hero { max-width: 1040px; padding: 96px 16px 56px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.hero .eyebrow { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px var(--line); }
.lede { max-width: 36em; font-size: 18px; line-height: 28px; color: var(--ink-2); text-wrap: pretty; }
.row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.fine { font-size: 13px; line-height: 18px; color: var(--ink-3); }

.frame { padding: 8px; border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px var(--line), 0 2px 6px rgba(16,12,48,.04), 0 40px 100px -30px rgba(40,24,140,.32); margin-bottom: 96px; }
.frame-scroll { overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mock { display: flex; min-width: 920px; height: 520px; font-size: 14px; line-height: 22px; }
.mock-side { width: 200px; flex-shrink: 0; padding: 20px 12px; background: var(--sunk); display: flex; flex-direction: column; gap: 4px; }
.mock-side .eyebrow { padding: 0 10px 12px; color: var(--ink-3); }
.mock-side .eyebrow + div ~ .eyebrow { padding-top: 20px; }
.mock-side div:not(.eyebrow) { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); }
.mock-side .on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(16,12,48,.06); }
.mock-side .on span + span { color: var(--accent-ink); }
.mock-list { width: 320px; flex-shrink: 0; border-inline: 1px solid var(--line); }
.mock-list > div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock-list > .on { background: var(--accent-soft); }
.mock-list b { display: flex; justify-content: space-between; gap: 8px; font-weight: 550; }
.mock-list b span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.mock-list .on b span { color: var(--accent-ink); }
.mock-list p { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.mock-head b { display: block; font-weight: 550; font-size: 16px; }
.badge { padding: 4px 10px; border-radius: 6px; font-size: 12px; line-height: 16px; font-weight: 500; background: var(--accent-soft); color: var(--accent-ink); }
.badge.warn { background: #fcf0dc; color: #965400; }
.mock-msgs { flex: 1; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mock-msgs p { max-width: 70%; padding: 10px 14px; border-radius: 16px; background: var(--sunk); }
.mock-draft { margin: 0 24px 24px; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 4px 12px -4px rgba(40,24,140,.08); display: flex; flex-direction: column; gap: 12px; }
.mock-draft div { display: flex; justify-content: flex-end; gap: 8px; }
.mock-draft span { padding: 8px 14px; border-radius: 999px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mock-draft span + span { background: var(--accent); color: #fff; box-shadow: none; }

.band { padding: 96px 0; }
.band.sunk { background: var(--sunk); }
.band .wrap { display: flex; flex-direction: column; gap: 48px; }
.wrap.narrow { max-width: 992px; }
.wrap.text { max-width: 792px; }
.head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 280px; padding: 32px; border-radius: 20px; background: var(--surface); box-shadow: var(--card); display: flex; flex-direction: column; gap: 12px; transition: transform .24s, box-shadow .24s; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 2px 4px rgba(16,12,48,.04), 0 24px 56px -18px rgba(40,24,140,.24); }
.card.wide { flex: 2 1 480px; }
.card p { color: var(--ink-2); }
.card svg { color: var(--accent-ink); }
.step { font-size: 30px; line-height: 1.05; font-weight: 500; letter-spacing: -.04em; color: var(--accent-ink); }

.plan { position: relative; overflow: hidden; flex: 1 1 320px; padding: 36px; border-radius: 28px; background: var(--surface); box-shadow: var(--raised); display: flex; flex-direction: column; gap: 20px; }
.plan > * { position: relative; }
.plan .glow { top: -120px; right: -100px; width: 280px; height: 280px; background: #a99bff; opacity: .35; filter: blur(70px); position: absolute; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; color: var(--ink-3); }
.price b { font-size: 60px; line-height: 1.04; font-weight: 500; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan p { color: var(--ink-2); flex: 1; }
.included { padding: 28px 32px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; }
.included ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--ink-2); }
.included li { flex: 1 1 240px; }

.faq > div { padding: 24px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq p { color: var(--ink-2); }

.night { position: relative; overflow: hidden; margin: 0 16px 16px; padding: 80px 24px; border-radius: 28px; background: #0a0a12; color: #f3f3f7; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.night > * { position: relative; }
.night .glow { bottom: -220px; left: 50%; width: 640px; height: 360px; margin-left: -320px; background: #a99bff; opacity: .3; position: absolute; }
.night .muted, .night .fine { color: #a6a6b8; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 48px; }

@media (max-width: 640px) { .band { padding: 48px 0; } .hero { padding-top: 56px; } .nav { border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }
.ico { vertical-align: -3px; margin-right: 6px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 4px; }
.hero .eyebrow .ico { margin: 0 2px 0 10px; }
.hero .eyebrow .ico:first-child { margin-left: 0; }
.mock-side div span:first-child, .mock-list b span { display: inline-flex; align-items: center; white-space: nowrap; }
