/* Start From Done public sites. Ported from Jay's brand mockup: obsidian, crown violet, vector cyan, liquid quartz, 3D buttons. No gold or yellow. */
:root {
  --void: #07090C; --deep: #0D1117; --card: #151B23; --elevated: #1F2633;
  --stroke: rgba(255,255,255,0.08); --text: #F1F5F9; --body: #CBD5E1; --muted: #94A3B8; --faint: #7F8CA3;
  --v300: #E0AAFF; --v400: #C77DFF; --v500: #9D4EDD; --v600: #7B2CBF; --amethyst: #3C096C;
  --c300: #5DF5C6; --c400: #00E5A3; --c500: #00C48C;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --r: 18px; --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: radial-gradient(120% 70% at 50% -10%, #1a0f2e 0%, var(--void) 55%) no-repeat, var(--void); color: var(--body); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--c300); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--text); line-height: 1.15; letter-spacing: 0; word-spacing: 0.04em; margin: 0 0 12px; }
h1 { font-size: clamp(36px, 8.5vw, 64px); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(26px, 5.5vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.eyebrow { font: 600 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--v400); margin: 0 0 12px; }
.eyebrow.cyan { color: var(--c400); }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--faint); }
.grad { padding-right: 0.06em; background: linear-gradient(90deg, var(--v300), var(--v400) 40%, var(--c400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--c400); color: #04161B; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--c400); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(7,9,12,0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--stroke); padding-top: env(safe-area-inset-top, 0px); }
.nav .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: 800 16px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.nav-links { display: none; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 820px) { .nav-links { display: flex; } }

/* 3D buttons from the mockup */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 14px; font: 800 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s cubic-bezier(.4,0,.2,1), box-shadow .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-cyan { background: linear-gradient(180deg, #5DF5C6 0%, #00C48C 100%); border-color: #00A877; color: #04161B; text-shadow: 0 1px 1px rgba(255,255,255,.4); box-shadow: inset 0 2px 2px rgba(255,255,255,.6), inset 0 -4px 4px rgba(0,120,80,.4), 0 6px 15px rgba(0,229,163,.3); }
.btn-cyan:hover { background: linear-gradient(180deg, #74F7D0 0%, #00D699 100%); box-shadow: inset 0 2px 2px rgba(255,255,255,.7), inset 0 -4px 4px rgba(0,120,80,.5), 0 8px 20px rgba(0,229,163,.5); }
.btn-violet { background: linear-gradient(180deg, #C77DFF 0%, #9D4EDD 100%); border-color: #7B2CBF; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); box-shadow: inset 0 2px 2px rgba(255,255,255,.4), inset 0 -4px 4px rgba(60,9,108,.6), 0 6px 15px rgba(157,78,221,.3); font-weight: 700; }
.btn-violet:hover { background: linear-gradient(180deg, #D49DFF 0%, #B062E6 100%); }
.btn-obsidian { background: linear-gradient(180deg, #2A3342 0%, #151B23 100%); border-color: #0D1117; color: #CBD5E1; box-shadow: inset 0 2px 1px rgba(255,255,255,.15), inset 0 -3px 3px rgba(0,0,0,.8), 0 4px 10px rgba(0,0,0,.4); font-weight: 600; }
.btn-obsidian:hover { color: #fff; background: linear-gradient(180deg, #334155 0%, #1F2633 100%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Liquid quartz surfaces */
.quartz { background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)); border: 1px solid var(--stroke); border-radius: var(--r); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.quartz-violet { background: linear-gradient(135deg, rgba(157,78,221,.18), rgba(13,17,23,.85)); border: 1px solid rgba(199,125,255,.4); border-radius: var(--r); box-shadow: 0 10px 30px -10px rgba(157,78,221,.3); }
.quartz-cyan { background: linear-gradient(135deg, rgba(0,229,163,.1), rgba(13,17,23,.8)); border: 1px solid rgba(0,229,163,.3); border-radius: var(--r); }
.pad { padding: 22px; }

/* Sections */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Hero */
.hero { position: relative; padding: 28px 0 40px; }
.hero .wrap { display: grid; gap: 8px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 72px; } .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 32px; } }
.hero-copy .lede { font-size: clamp(18px, 4.4vw, 21px); color: var(--body); max-width: 560px; margin-bottom: 24px; }
.hero-stage { position: relative; aspect-ratio: 4 / 3; max-height: 290px; width: 100%; margin: 0 auto; order: -1; overflow: hidden; }
.hero-stage .poster { object-fit: cover; }
.hero-stage .poster, .hero-stage canvas { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
@media (min-width: 900px) { .hero-stage { order: 0; aspect-ratio: 1 / 1; max-height: 540px; } }
.hero-stage .poster, .hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-stage canvas { opacity: 0; transition: opacity .8s ease; touch-action: pan-y; }
.hero-stage.live canvas { opacity: 1; }
.hero-stage.live .poster { opacity: 0; transition: opacity .8s ease; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.trust span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c400); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 8px rgba(0,229,163,.7); }

/* Phone mock (from Jay's mobile mockup) */
.phone { width: min(340px, 100%); margin: 0 auto; border-radius: 40px; padding: 12px; background: linear-gradient(160deg, #2a3342, #0d1117); box-shadow: 0 30px 80px -20px rgba(157,78,221,.45), inset 0 1px 0 rgba(255,255,255,.12); }
.phone-screen { border-radius: 30px; background: #0A0C10; padding: 34px 16px 22px; min-height: 520px; border: 1px solid rgba(255,255,255,.06); }
.phone-title { font: 800 13px/1 var(--mono); color: var(--v400); letter-spacing: .12em; margin-bottom: 4px; }
.phone-sub { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.mcard { border-radius: 14px; padding: 14px; margin-bottom: 10px; background: #131820; border: 1px solid rgba(199,125,255,.45); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mcard b { color: var(--text); font: 700 14px/1.3 var(--sans); }
.mcard .tag { white-space: nowrap; font: 700 11px/1 var(--mono); color: var(--v400); letter-spacing: .06em; }
.mcard.done-state { display: block; background: linear-gradient(135deg, rgba(157,78,221,.25), rgba(13,17,23,.9)); padding: 18px; margin-bottom: 16px; }
.mcard.done-state b { font: 800 17px/1.3 var(--display); display: block; margin-bottom: 8px; }
.mcard.done-state i { color: var(--body); font-size: 13px; }
.mcard.action { border-color: rgba(0,229,163,.6); }
.mcard.action .tag { color: var(--c400); }
.mcard.obstacle { border-color: rgba(255,255,255,.14); }
.mcard.obstacle .tag { color: var(--muted); }

/* Steps */
.step { position: relative; }
.step .num { font: 800 13px/1 var(--mono); color: var(--c400); letter-spacing: .1em; margin-bottom: 10px; display: block; }
.step p { margin: 0; color: var(--body); }
.compare3 .quartz h3 { margin-bottom: 6px; }
.compare3 .quartz .dir { font: 600 12px/1 var(--mono); color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.compare3 .us { border-color: rgba(0,229,163,.45); background: linear-gradient(135deg, rgba(0,229,163,.1), rgba(13,17,23,.8)); }
.compare3 .us .dir { color: var(--c400); }

/* Lists and FAQ */
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 28px; margin: 9px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--c400); border-bottom: 2px solid var(--c400); transform: rotate(-45deg); }
.ticks.soon li::before { border-color: var(--v400); }
.faq { background: var(--card); border: 1px solid var(--stroke); border-radius: 14px; margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 16px; font-weight: 600; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 13px; font: 400 22px/1 var(--sans); color: var(--v400); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 16px 16px; margin: 0; }

/* Forms */
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.input { flex: 1 1 220px; min-height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(7,9,12,.9); color: var(--text); padding: 0 16px; font: 16px var(--sans); box-shadow: inset 0 2px 10px rgba(0,0,0,.5); }
.input:focus { outline: none; border-color: rgba(0,229,163,.6); }
.form-msg { min-height: 22px; font-size: 14px; margin-top: 8px; }
.form-msg.ok { color: var(--c300); }
.form-msg.err { color: #FCA5A5; }

/* Sheet (iPhone install steps) */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop[hidden] { display: none; }
.sheet { width: 100%; max-width: 480px; background: var(--deep); border: 1px solid rgba(199,125,255,.35); border-bottom: 0; border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 560px) { .sheet-backdrop { align-items: center; } .sheet { border-radius: 24px; border-bottom: 1px solid rgba(199,125,255,.35); } }
.sheet ol { padding-left: 22px; margin: 0 0 18px; }
.sheet li { margin: 10px 0; }
.sheet .kbd { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; background: var(--elevated); color: var(--text); font-weight: 600; font-size: 14px; }

/* Article (category pages) */
.article { padding: 32px 0 24px; }
.article .crumbs { font: 12px/1.4 var(--mono); color: var(--faint); margin-bottom: 14px; }
.article .crumbs a { color: var(--v300); text-decoration: none; }
.article h1 { font-size: clamp(32px, 7.5vw, 50px); }
.article .lede { font-size: 19px; color: var(--text); }
.article h2 { font-size: clamp(22px, 5vw, 28px); margin-top: 38px; }
.article h3 { margin-top: 24px; }
.article li { margin: 6px 0; }
.article ol.steps { padding-left: 22px; }
.article .compare { width: 100%; border-collapse: collapse; font-size: 14px; margin: 14px 0 20px; display: block; overflow-x: auto; }
.article .compare th, .article .compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--stroke); vertical-align: top; min-width: 110px; }
.article .compare th { color: var(--v300); font-weight: 600; }
.article .callout { border-left: 3px solid var(--c400); background: rgba(0,229,163,.06); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 20px 0; }
.article .callout p:last-child { margin: 0; }
.article-cta { margin: 36px 0 12px; padding: 24px; }
.article-cta h2 { margin-top: 0; font-size: 24px; }
.related { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
.related a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--stroke); color: var(--text); text-decoration: none; font-weight: 600; }
.related a:hover { border-color: rgba(199,125,255,.5); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7,9,12,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--stroke); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* Footer */
.footer { border-top: 1px solid var(--stroke); padding: 36px 0 calc(90px + env(safe-area-inset-bottom, 0px)); margin-top: 24px; font-size: 14px; color: var(--muted); }
@media (min-width: 820px) { .footer { padding-bottom: 40px; } }
.footer .cols { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: flex-start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }
