/* The page is an edit suite at night: dark grey with the app's own blue, cream
   from the ghost logo, and timecodes in mono. The hero is a timeline. */
@font-face { font-family: "Big Shoulders Display"; font-weight: 800 900; font-display: swap; src: url("fonts/BigShouldersDisplay.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-Variable.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/IBMPlexMono-500.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ink: #0d0e14;
  --panel: #171821;
  --panel-2: #20212d;
  --line: #2d2e3c;
  --cream: #fff8ec;
  --body: #c4c5d2;
  --muted: #9394a6;
  --blue: #3b82ff;
  --blue-deep: #005cfb;
  --dead: #4a4b5c;
  --voice: #4ade80;
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--body); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cream); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13, 14, 20, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font: 900 27px/1 var(--display); letter-spacing: .03em; color: var(--cream); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-deep); }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--body); text-decoration: none; font-size: 15px; font-weight: 500; }
.top nav a:hover { color: var(--cream); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border-radius: 10px; background: var(--blue-deep); color: #fff; font: 700 17px/1.2 var(--text); text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: #1b6dff; transform: translateY(-1px); }
.btn.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--cream); }
.btn.ghost:hover { background: var(--panel-2); }
.btn.off { background: var(--panel-2); color: var(--muted); cursor: default; transform: none; }
@media (max-width: 720px) { .top nav { display: none; } .top .btn { margin-left: auto; } }

/* hero */
.hero { padding-block: clamp(36px, 6vw, 72px) 0; }
.hero h1 { margin: 0; font: 900 clamp(72px, 15.2vw, 212px)/.86 var(--display); letter-spacing: -.005em; color: var(--cream); text-transform: uppercase; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: end; margin-top: clamp(20px, 3vw, 34px); }
.hero-row p { margin: 0; max-width: 640px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--body); }
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta .note { font-size: 14px; color: var(--muted); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 820px) { .hero-row { grid-template-columns: minmax(0, 1fr); } }

/* the timeline: dead air collapsing */
.timeline { margin-top: clamp(32px, 4vw, 52px); }
.tl-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; font: 500 14px/1.3 var(--mono); color: var(--muted); }
.tl-clock { color: var(--cream); font-size: clamp(22px, 3vw, 34px); font-variant-numeric: tabular-nums; }
.tl-canvas { display: block; width: 100%; height: clamp(88px, 11vw, 136px); margin-top: 10px; border-radius: 10px; background: var(--panel); }
.tl-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.key { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.key i { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.tl-again { padding: 0; border: 0; background: none; color: var(--cream); font: 500 14px var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* big shot */
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.hero-shot { margin-top: clamp(36px, 5vw, 64px); margin-bottom: clamp(-8px, 0vw, 0px); }
.caption { margin-top: 12px; font-size: 14px; color: var(--muted); }

section { padding-block: clamp(64px, 9vw, 120px); }
h2 { margin: 0 0 18px; font: 900 clamp(46px, 6.4vw, 84px)/.95 var(--display); color: var(--cream); text-transform: uppercase; text-wrap: balance; }
h3 { margin: 0 0 8px; font: 700 21px/1.3 var(--text); color: var(--cream); }
.lede { max-width: 640px; margin: 0; font-size: 20px; line-height: 1.5; }

/* steps: this is an order, so it's numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 46px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 18px; min-width: 0; }
.steps li::before { content: counter(s); display: block; margin-bottom: 8px; font: 900 62px/1 var(--display); color: var(--blue); }
.steps p { margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* features */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 104px); }
.feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.feature.flip .ftext { order: 2; }
.feature h3 { font: 900 clamp(36px, 4.4vw, 56px)/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.feature p { margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature li { padding-left: 22px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--blue); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); } .feature.flip .ftext { order: 0; } }

/* yours */
.local { background: var(--panel); border-block: 1px solid var(--line); }
.versus { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 16px; }
.table-scroll { overflow-x: auto; }
.versus th, .versus td { padding: 15px 18px 15px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 150px; }
.versus thead th { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.versus thead th:last-child { color: var(--cream); }
.versus tbody th { font-weight: 500; color: var(--muted); }
.versus td:last-child { color: var(--cream); font-weight: 600; }
.foot { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { min-width: 0; padding: clamp(22px, 2.6vw, 32px); border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.plan.top { border: 2px solid var(--blue-deep); }
.plan h3 { font: 900 34px/1 var(--display); text-transform: uppercase; }
.plan p { margin: 0; }
.price { font: 900 clamp(72px, 7vw, 96px)/.95 var(--display); color: var(--cream); }
.price small { font: 500 17px var(--text); color: var(--muted); margin-left: 4px; }
.price.small-price { font-size: clamp(50px, 5vw, 66px); padding-block: 12px 6px; }
.price-sub { margin: 6px 0 20px !important; font: 500 14px var(--mono); color: var(--muted); }
.plan ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--voice); border-bottom: 2px solid var(--voice); transform: rotate(-45deg); }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; }
.get .note { flex: 1 1 320px; font-size: 14px; color: var(--muted); }
.reqs { width: 100%; margin-top: 44px; border-collapse: collapse; font-size: 15px; }
.reqs th, .reqs td { padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 110px; }
.reqs thead th { font: 500 13px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.reqs tbody th { font-weight: 500; color: var(--muted); }

/* questions */
.faq { max-width: 820px; margin-top: 30px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 18px 28px 18px 0; color: var(--cream); font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 13px; font: 500 24px var(--mono); color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; max-width: 700px; }

/* footer */
footer { padding-block: 44px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { color: var(--body); }
footer p { margin: 0; max-width: 620px; }

/* legal pages */
.legal { max-width: 760px; padding-block: clamp(40px, 6vw, 72px); }
.legal h1 { margin: 0 0 8px; font: 900 clamp(48px, 7vw, 76px)/1 var(--display); color: var(--cream); text-transform: uppercase; }
.legal h2 { margin: 36px 0 10px; font: 700 22px/1.3 var(--text); text-transform: none; }
.legal .updated { font: 500 14px var(--mono); color: var(--muted); }
.legal li { margin-bottom: 6px; }
pre.licenses { padding: 18px; overflow-x: auto; background: var(--panel); border-radius: 10px; font: 500 13px/1.6 var(--mono); }
