/* OpenTakeoff landing + sign-up (one page). The OT-01 drawing-sheet look of kentucky-ai.com: warm black,
   paper-white linework, safety orange. Fonts are the SIL OFL copies shipped with the app (see
   THIRD-PARTY-NOTICES.md), served from here so the CSP stays 'self'. No inline scripts; start.js drives the page. */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(/static/fonts/inter-tight-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(/static/fonts/inter-tight-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(/static/fonts/inter-tight-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap; src: url(/static/fonts/space-mono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 700; font-display: swap; src: url(/static/fonts/space-mono-700-latin.woff2) format("woff2"); }

:root {
  --bg: #121210; --bg2: #171715; --bg3: #1d1d1a; --bg4: #24231f;
  --ln: #e8e2d3; --ln2: #3b3934; --ln3: #2a2926;
  --fg: #e8e2d3; --fg2: #a39d90; --fg3: #77716a;
  --or: #ff5b1f; --or2: #ff7a45; --or-wash: rgba(255, 91, 31, .08);
  --err: #ff6b5b; --ok: #7fd18b;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --w: 1200px; --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--or); color: var(--bg); padding: 8px 12px; font-weight: 600; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); }
.dim { color: var(--fg2); }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 2px solid var(--or2); outline-offset: 3px; }
.ico { width: 16px; height: 16px; flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 12px/1 var(--mono); letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; padding: 13px 18px; border: 1px solid transparent; cursor: pointer; background: none; color: var(--fg);
  transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-solid { background: var(--or); color: #120a06; border-color: var(--or); }
.btn-solid:hover { background: var(--or2); border-color: var(--or2); }
.btn-line { border-color: var(--ln2); }
.btn-line:hover { border-color: var(--fg); }
.btn-quiet { color: var(--fg2); padding-left: 10px; padding-right: 10px; }
.btn-quiet:hover { color: var(--fg); }
.btn-lg { padding: 17px 24px; font-size: 12.5px; }
.btn-xs { padding: 8px 10px; font-size: 10px; letter-spacing: .1em; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(18, 18, 16, .86); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--ln3); }
.navrow { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--fg); flex: none; }
.brand svg { width: 40px; height: auto; }
.brand b { font: 600 17px/1 var(--sans); letter-spacing: -.01em; }
.brand i { font: 400 10px/1 var(--mono); font-style: normal; letter-spacing: .14em; color: var(--fg3); padding-left: 11px; border-left: 1px solid var(--ln2); }
.links { display: flex; gap: 26px; }
.links a { color: var(--fg2); text-decoration: none; font-size: 14.5px; }
.links a:hover, .links a[aria-current="true"] { color: var(--fg); }
.acct { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.when-in { display: none; }
body.signed-in .when-in { display: inline-flex; }
body.signed-in .when-out { display: none; }
.who { position: relative; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg4); border: 1px solid var(--ln2);
  color: var(--fg); font: 700 12px/1 var(--mono); letter-spacing: 0; }
#acct-btn { padding: 4px; }
.menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: var(--bg2); border: 1px solid var(--ln2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); display: grid; padding: 6px; z-index: 30; }
.menu[hidden] { display: none; }
.menu a, .menu button { all: unset; cursor: pointer; padding: 10px 12px; font-size: 14px; color: var(--fg); }
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible { background: var(--bg4); }
.menu-email { padding: 10px 12px 12px; font-size: 11.5px; color: var(--fg3); border-bottom: 1px solid var(--ln3); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; }
#nav-signout { color: var(--fg2); border-top: 1px solid var(--ln3); margin-top: 4px; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span:not(.sr) { display: block; width: 20px; height: 1.5px; background: var(--fg); margin: 5px 0; transition: transform .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); overflow: hidden;
  background-image: linear-gradient(var(--ln3) 1px, transparent 1px), linear-gradient(90deg, var(--ln3) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1000px 520px at 78% 30%, rgba(255, 91, 31, .12), transparent 60%), linear-gradient(transparent 60%, var(--bg)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 400 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg2); }
.dot { width: 7px; height: 7px; background: var(--or); box-shadow: 0 0 0 4px rgba(255, 91, 31, .18); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--or); }
.lede { margin-top: 22px; font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--fg2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 14px; color: var(--fg2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .ico { color: var(--or); }

/* product picture */
.shot { margin: 0; }
.win { border: 1px solid var(--ln2); background: var(--bg2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--ln3); background: var(--bg3); }
.win-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--ln2); }
.win-bar b { margin-left: 10px; font-size: 11px; font-weight: 400; color: var(--fg3); letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 380px; }
.sheet-art { position: relative; display: flex; align-items: center; border-right: 1px solid var(--ln3); background-color: #141412;
  background-image: linear-gradient(var(--ln3) 1px, transparent 1px), linear-gradient(90deg, var(--ln3) 1px, transparent 1px); background-size: 18px 18px; }
.sheet-art svg { width: 100%; height: auto; padding: 8px 6px 64px; }
.pins circle { fill: var(--or); stroke: #121210; stroke-width: 2; }
.qty { position: absolute; right: 12px; bottom: 12px; background: rgba(23, 23, 21, .94); border: 1px solid var(--ln2); padding: 10px 12px; display: grid; gap: 2px; }
.qty .mono { font-size: 10px; letter-spacing: .1em; }
.qty b { font: 700 22px/1.1 var(--mono); color: var(--fg); }
.qty small { font-size: 11px; color: var(--fg2); }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.45; }
.msg { padding: 10px 12px; max-width: 94%; }
.msg.you { align-self: flex-end; background: var(--bg4); color: var(--fg); }
.msg.ai { background: var(--or-wash); border-left: 2px solid var(--or); color: var(--fg); }
.msg b { color: var(--or2); font-weight: 600; }
.cite { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .06em; color: var(--fg2); }
.cite::before { content: "↳ "; color: var(--or); }
.keep { margin-top: auto; display: flex; gap: 8px; }

/* ── Strip ─────────────────────────────────────────────── */
.strip { border-top: 1px solid var(--ln3); border-bottom: 1px solid var(--ln3); background: var(--bg2); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 26px 22px; border-left: 1px solid var(--ln3); display: grid; gap: 6px; }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip b { font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.strip span { font-size: 14px; color: var(--fg2); }

/* ── Sections ─────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-alt { background: var(--bg2); border-top: 1px solid var(--ln3); border-bottom: 1px solid var(--ln3); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.sec h2 { margin-top: 14px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.sec-sub { margin-top: 18px; color: var(--fg2); font-size: 17px; }
.sec-sub a { color: var(--or2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ln3); border: 1px solid var(--ln3); counter-reset: s; }
.steps li { background: var(--bg); padding: 28px 24px 32px; display: grid; gap: 12px; align-content: start; }
.steps i { font-style: normal; font-size: 12px; color: var(--or); letter-spacing: .14em; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--fg2); font-size: 15px; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ln3); border: 1px solid var(--ln3); }
.feats article { background: var(--bg2); padding: 30px 26px; display: grid; gap: 10px; align-content: start; transition: background .2s; }
.feats article:hover { background: var(--bg3); }
.feats h3 { font-size: 19px; }
.feats h3::before { content: ""; display: block; width: 18px; height: 2px; background: var(--or); margin-bottom: 16px; }
.feats p { color: var(--fg2); font-size: 15px; }

.suites { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding: 36px; border: 1px solid var(--ln2); background: var(--bg); }
.suites h3 { margin-top: 12px; font-size: 24px; line-height: 1.2; }
.suites > div > p:last-child { margin-top: 14px; color: var(--fg2); }
.suites ul { display: grid; gap: 1px; background: var(--ln3); border: 1px solid var(--ln3); align-self: start; }
.suites li { background: var(--bg2); padding: 16px 18px; display: grid; gap: 4px; }
.suites li b { font-weight: 600; }
.suites li span { color: var(--fg2); font-size: 14.5px; }

/* ── Pricing ─────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--ln2); background: var(--bg2); }
.tier h3 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.tier .for { color: var(--fg2); font-size: 14.5px; margin-top: 4px; min-height: 2.9em; }
.price { margin: 18px 0 22px; font: 500 46px/1 var(--sans); letter-spacing: -.04em; }
.price small { font-size: 14px; letter-spacing: 0; color: var(--fg2); margin-left: 6px; font-weight: 400; }
.price-word { font-size: 38px; }
.sub-link { display: block; text-align: center; margin-top: 10px; font-size: 13px; color: var(--fg2); text-decoration: none; min-height: 1.6em; }
.sub-link:hover { color: var(--fg); }
.incl { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ln3); display: grid; gap: 11px; font-size: 14.5px; color: var(--fg2); }
.incl li { position: relative; padding-left: 24px; }
.incl li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 7px; height: 7px; background: var(--or); opacity: .55; }
.incl b { color: var(--fg); font-weight: 600; }
.tier-pick { border-color: var(--or); background: linear-gradient(180deg, rgba(255, 91, 31, .07), var(--bg2) 46%); box-shadow: 0 30px 60px -36px rgba(255, 91, 31, .45); }
.tier-pick .incl li::before { opacity: 1; }
.ribbon { position: absolute; top: -1px; right: -1px; background: var(--or); color: #120a06; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; }

.credits { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 32px 36px; border: 1px solid var(--ln2); background: var(--bg); }
.credits h3 { margin-top: 10px; font-size: 24px; }
.credits-copy p:last-child { margin-top: 12px; color: var(--fg2); font-size: 15px; }
.credit-grid { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ln3); border: 1px solid var(--ln3); }
.credit-grid div { background: var(--bg2); padding: 18px 20px; }
.credit-grid dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
.credit-grid dd { margin: 6px 0 0; color: var(--fg2); font-size: 15px; }
.credit-grid b { font: 700 24px/1 var(--mono); color: var(--fg); margin-right: 4px; }

.compare { margin-top: 72px; }
.compare-title { font-size: 26px; margin-bottom: 20px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--ln2); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 720px; }
th, td { padding: 13px 16px; border-bottom: 1px solid var(--ln3); text-align: center; }
tbody th { text-align: left; font-weight: 400; color: var(--fg); }
thead th { position: sticky; top: 0; background: var(--bg3); font: 700 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg2); padding: 16px; }
thead th.pick { color: var(--or); }
td { color: var(--fg); }
td.pick, th.pick { background: rgba(255, 91, 31, .05); }
td.no { color: var(--fg3); }
td.dim { color: var(--fg2); }
tr.grp th { text-align: left; background: var(--bg2); font: 700 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--fg3); padding: 14px 16px 10px; }
tr.total th, tr.total td { font-weight: 600; border-bottom: 0; background: var(--bg3); }
tr.total td.pick { background: rgba(255, 91, 31, .1); }

/* ── Open source ─────────────────────────────────────── */
.os-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.os-list { border: 1px solid var(--ln2); background: var(--bg); padding: 30px; }
.os-list h3 { font-size: 20px; margin-bottom: 18px; }
.os-list ul { display: grid; gap: 16px; }
.os-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--fg2); font-size: 15px; }
.os-list .ico { color: var(--or); margin-top: 4px; }
.os-list b { color: var(--fg); font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--ln2); }
.faq details { border-bottom: 1px solid var(--ln2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 22px/1 var(--mono); color: var(--or); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--fg2); }

/* ── Closer + footer ─────────────────────────────────── */
.closer { padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--ln3);
  background: radial-gradient(800px 300px at 50% 120%, rgba(255, 91, 31, .16), transparent 70%), var(--bg); }
.closer-in { text-align: center; }
.closer h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.032em; line-height: 1.06; max-width: 18em; margin: 0 auto; }
.closer .cta-row { justify-content: center; }
.foot { border-top: 1px solid var(--ln3); background: var(--bg2); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; font-size: 14px; max-width: 26em; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg3); font-weight: 400; margin-bottom: 4px; }
.foot nav a { color: var(--fg2); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--fg); }
.foot-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--ln3); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--fg3); }

/* ── Start view (sign in, sign up, trial set-up) ─────── */
#start-view { padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); min-height: calc(100vh - 64px);
  background-image: linear-gradient(var(--ln3) 1px, transparent 1px), linear-gradient(90deg, var(--ln3) 1px, transparent 1px); background-size: 56px 56px; }
body.view-start #site { display: none; }
.start-one { max-width: 520px; }
.back { display: block; width: fit-content; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg2); text-decoration: none; margin-bottom: 18px; }
.back:hover { color: var(--fg); }
.fine { margin-top: 18px; font-size: 13px; line-height: 1.55; color: var(--fg3); }

.panel { position: relative; }
.card { border: 1px solid var(--ln2); background: var(--bg2); padding: clamp(22px, 3vw, 32px); }
.card h2 { font-size: 24px; margin-bottom: 8px; }
.card .dim { font-size: 14.5px; }
/* Clerk gives its mount node width: fit-content, which left the form shrunk to the card's left edge; the id rule wins. */
#clerk { display: flex; justify-content: center; width: 100%; }
.switch { margin-top: 16px; text-align: center; font-size: 14px; }
/* p.signed-in is the "Signed in as" line; body.signed-in is the page state and must not restyle every link. */
.switch a, p.signed-in a, .check a, #contact-link { color: var(--or2); }
p.signed-in { font-size: 12px; margin-bottom: 18px; }
/* Scoped to our own form: Clerk renders its forms (and its 6-box code input) inside this page too. */
#company-form { display: grid; gap: 10px; margin-top: 18px; }
#company-form label { font-size: 13px; color: var(--fg2); }
#company-name { background: var(--bg); border: 1px solid var(--ln2); color: var(--fg); padding: 13px 14px; font: 16px var(--sans); width: 100%; }
#company-name:focus { border-color: var(--or); outline: none; }
.plans { border: 0; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.plans legend { font-size: 13px; color: var(--fg2); margin-bottom: 8px; }
.plan { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--ln2); background: var(--bg); color: var(--fg); cursor: pointer; font-size: 14.5px; }
.plan:has(input:checked) { border-color: var(--or); }
.plan input, .check input { accent-color: var(--or); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 6px 0 8px; }
.check input { margin-top: 3px; }
#company-form .fine { margin-top: 4px; }
#company-form button[type="submit"] { margin-top: 6px; padding: 16px; }
#company-form button[disabled] { opacity: .6; cursor: progress; }
.error { margin-top: 14px; color: var(--err); font-size: 14px; }
.calm { margin-top: 14px; color: var(--fg2); font-size: 14px; }
#steps { margin-top: 20px; display: grid; gap: 10px; counter-reset: st; }
#steps li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; color: var(--fg3); }
#steps li::before { content: counter(st, decimal-leading-zero); font: 700 11px/1.9 var(--mono); color: var(--fg3); }
#steps li.ok, #steps li.done { color: var(--fg); }
#steps li.ok::before, #steps li.done::before { content: "✓"; color: var(--ok); }
#steps li.running, #steps li.active, #steps li.retry { color: var(--fg); }
#steps li.running::before, #steps li.active::before, #steps li.retry::before { color: var(--or); }
#steps li.fail { color: var(--err); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .links { gap: 18px; }
}
@media (max-width: 920px) {
  .hero-grid, .os-grid, .faq-grid, .suites, .credits { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-grid > div { padding-left: 0; border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--ln2); padding: 8px var(--gut) 16px; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--ln3); }
  .burger { display: block; }
  .acct { margin-left: auto; }
  .navrow { gap: 12px; }
}
@media (max-width: 620px) {
  .tiers, .steps, .feats, .credit-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .win-body { grid-template-columns: 1fr; }
  .sheet-art { border-right: 0; border-bottom: 1px solid var(--ln3); }
  .acct .when-out:first-child { display: none; }
  .brand i { display: none; }
  .btn-lg { width: 100%; }
  .suites, .credits, .os-list { padding: 24px 20px; }
  .foot-legal { flex-direction: column; }
}
@media (max-width: 480px) {
  .acct .btn-solid { padding: 11px 12px; font-size: 10.5px; letter-spacing: .08em; }
  .brand svg { width: 34px; }
  .brand b { font-size: 16px; }
  .burger { padding: 8px 4px; }
}

/* ── Start view: one column, sign-up then the build animation ── */
.card-auth { padding: clamp(10px, 2vw, 18px) clamp(10px, 2vw, 18px) 22px; }
.plan-line { margin-top: 6px; font-size: 14px; color: var(--fg); }
.plan-line a { color: var(--or2); }
.small { font-size: 13.5px; margin-top: 18px; }
.card-build h2 { margin-top: 12px; }
.build { margin: -4px 0 22px; border: 1px solid var(--ln3); background-color: #141412;
  background-image: linear-gradient(var(--ln3) 1px, transparent 1px), linear-gradient(90deg, var(--ln3) 1px, transparent 1px); background-size: 14px 14px; }
.build svg { width: 100%; height: auto; }
.build .walls { fill: none; stroke: var(--fg); stroke-opacity: .5; stroke-width: 1.6; }
.build .room { fill: rgba(255, 91, 31, .14); stroke: var(--or); stroke-width: 1.6; stroke-dasharray: 520; stroke-dashoffset: 520; fill-opacity: 0;
  animation: trace 7.2s ease-in-out infinite; }
.build .r2 { animation-delay: .9s; } .build .r3 { animation-delay: 1.8s; } .build .r4 { animation-delay: 2.7s; }
.build .pin-set circle { fill: var(--or); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pin 7.2s ease-out infinite; }
.build .pin-set circle:nth-child(2) { animation-delay: .15s; } .build .pin-set circle:nth-child(3) { animation-delay: .3s; }
.build .pin-set circle:nth-child(4) { animation-delay: .45s; } .build .pin-set circle:nth-child(5) { animation-delay: .6s; }
.build .scan { fill: var(--or2); opacity: .7; animation: scan 3.6s linear infinite; }
@keyframes trace { 0% { stroke-dashoffset: 520; fill-opacity: 0; } 30% { stroke-dashoffset: 0; fill-opacity: 0; } 42%, 86% { stroke-dashoffset: 0; fill-opacity: 1; } 100% { stroke-dashoffset: 0; fill-opacity: 0; opacity: 0; } }
@keyframes pin { 0%, 50% { opacity: 0; transform: scale(0); } 56% { opacity: 1; transform: scale(1.4); } 60%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: .7; } 92% { opacity: .7; } 100% { transform: translateY(178px); opacity: 0; } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 91, 31, 0); } }
.bar { margin-top: 18px; height: 4px; background: var(--ln3); overflow: hidden; }
.bar span { display: block; height: 100%; width: 4%; background: var(--or); transition: width .6s ease; }
@media (prefers-reduced-motion: reduce) { .build .room { stroke-dashoffset: 0; fill-opacity: 1; } .build .pin-set circle { opacity: 1; } .build .scan { display: none; } }

