/* onelight.film - design system. Dark and quiet: the footage is always the brightest thing on the page. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0b0c; --bg-2: #121213; --bg-3: #19191b; --line: #2a2a2d; --line-2: #3a3a3e;
  --text: #ece9e2; --text-2: #b4afa6; --text-3: #8a857c;
  --amber: #e9a84a; --amber-2: #f3c27a; --amber-ink: #1a1206;
  --radius: 14px; --radius-s: 8px;
  --max: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 15px; letter-spacing: 0; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; display: block; }
.lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; color: var(--text-2); max-width: 46ch; }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 8px 12px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: var(--amber-2); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.arrow-link { color: var(--amber); font-weight: 600; text-decoration: none; }
.arrow-link::after { content: " →"; }
.arrow-link:hover { color: var(--amber-2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { font-weight: 650; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px 2px rgba(233,168,74,.55); }
.nav { display: flex; gap: 4px; align-items: center; margin-right: auto; }
.nav > .nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-link[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.caret { width: 10px; height: 10px; opacity: .7; transition: transform .15s; }
.nav-item.open .caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { height: 38px; padding: 0 16px; font-size: 14px; }
.login-link { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 0 8px; }
.login-link:hover { color: var(--text); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; }

/* mega menu */
.panel { position: absolute; top: calc(100% + 10px); left: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.55); padding: 22px; display: none; min-width: 300px; }
.nav-item.open > .panel { display: block; }
.panel-wide { left: -160px; width: min(980px, calc(100vw - 48px)); }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.panel-top strong { font-size: 16px; } .panel-top span { color: var(--text-3); font-size: 14px; }
.panel-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.panel h5 { margin: 0 6px 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.panel a.pl { display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; }
.panel a.pl:hover { background: var(--bg-3); }
.panel a.pl b { display: block; font-weight: 550; font-size: 15px; }
.panel a.pl small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.4; margin-top: 2px; }

/* mobile menu */
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .mobile-menu.open { display: flex; flex-direction: column; position: fixed; inset: 64px 0 0 0; background: var(--bg); z-index: 49; overflow-y: auto; padding: 8px var(--gutter) 100px; }
  .mobile-menu details { border-bottom: 1px solid var(--line); }
  .mobile-menu summary { list-style: none; padding: 18px 0; font-size: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: "+"; color: var(--text-3); }
  .mobile-menu details[open] summary::after { content: "–"; }
  .mobile-menu details a { display: block; padding: 8px 0 8px 2px; color: var(--text-2); text-decoration: none; font-size: 17px; }
  .mobile-menu details div { padding-bottom: 14px; }
  .mobile-menu > a.mm-top { padding: 18px 0; font-size: 20px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .mm-h { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 12px 0 2px; }
  .mm-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* hero comparison */
.hero { position: relative; height: min(100svh - 64px, 56.25vw + 220px); min-height: 560px; overflow: hidden; background: #000; }
.cmp { position: absolute; inset: 0; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.cmp-layer { position: absolute; inset: 0; overflow: hidden; }
.cmp-layer canvas, .cmp-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-left { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; z-index: 3; }
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: rgba(255,255,255,.85); box-shadow: 0 0 12px rgba(0,0,0,.4); }
.cmp-knob { position: absolute; top: 50%; left: -24px; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(11,11,12,.55); border: 2px solid rgba(255,255,255,.9); backdrop-filter: blur(6px); display: grid; place-items: center; }
.cmp-knob svg { width: 22px; height: 22px; }
.cmp-label { position: absolute; bottom: 20px; z-index: 2; font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 6px 10px; border-radius: 6px; background: rgba(11,11,12,.6); backdrop-filter: blur(6px); }
.cmp-label.l { left: 20px; } .cmp-label.r { right: 20px; color: var(--amber-2); }
.cmp-hint { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(36px, -50%); z-index: 3; font-size: 13px; color: #fff; background: rgba(11,11,12,.6); padding: 6px 10px; border-radius: 6px; transition: opacity .6s; pointer-events: none; }
.cmp.used .cmp-hint { opacity: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(11,11,12,.0) 35%, rgba(11,11,12,.72) 88%, var(--bg)); }
.hero-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: 96px; pointer-events: none; }
.hero-copy .wrap > * { pointer-events: auto; }
.hero-copy h1 { max-width: 12ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-copy .lead { color: #d8d3c9; margin: 22px 0 30px; max-width: 54ch; }
.shots { position: absolute; z-index: 4; right: var(--gutter); bottom: 28px; display: flex; gap: 8px; }
.shot { width: 92px; aspect-ratio: 16/7.1; border-radius: 6px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #000; opacity: .65; transition: opacity .15s, border-color .15s; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot[aria-pressed="true"], .shot:hover { opacity: 1; border-color: var(--amber); }
.hero .cmp-label { bottom: auto; top: 20px; }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; aspect-ratio: auto; }
  .hero-media { position: relative; aspect-ratio: 16/10; }
  .hero-copy { position: relative; bottom: auto; padding: 28px 0 8px; }
  .hero-shade { display: none; }
  .shots { position: relative; right: auto; bottom: auto; padding: 0 var(--gutter) 28px; }
  .shot { width: 25%; }
  .cmp-hint { display: none; }
}
@media (min-width: 761px) { .hero-media { position: absolute; inset: 0; } }

/* framed comparison (feature pages) */
.figure { margin: 0; }
.frame { position: relative; aspect-ratio: var(--ar, 16/7.1); border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.frame .cmp-label { bottom: 14px; }
figcaption, .caption { font-size: 13px; color: var(--text-3); margin-top: 10px; font-variant-numeric: tabular-nums; }
.caption b { color: var(--text-2); font-weight: 500; }

/* tiles / grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.tile { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.tile img { width: 100%; aspect-ratio: var(--ar, 16/7.1); object-fit: cover; }
.tile .tile-b { padding: 14px 16px 16px; }
.tile .tile-b b { display: block; font-weight: 600; }
.tile .tile-b span { font-size: 14px; color: var(--text-3); }

.card { display: block; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); text-decoration: none; transition: border-color .15s, background .15s; }
a.card:hover { border-color: var(--line-2); background: var(--bg-3); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; font-size: 16px; }
.card .arrow-link { display: inline-block; margin-top: 16px; font-size: 15px; }
.card-num { font-size: 13px; color: var(--amber); font-weight: 600; letter-spacing: .08em; margin-bottom: 18px; display: block; }

/* feature list on home */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat a { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.feat a:hover { background: var(--bg-2); }
.feat h3 { font-size: 20px; margin-bottom: 10px; }
.feat p { color: var(--text-2); font-size: 16px; margin: 0; }
.feat .ico { width: 28px; height: 28px; color: var(--amber); margin-bottom: 22px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat { grid-template-columns: 1fr; } }

/* split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-wide { grid-template-columns: 5fr 7fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 18px; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 56px 0 18px; }
.prose h3 { margin: 36px 0 12px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose code { font-size: .9em; background: var(--bg-3); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
.prose pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; overflow-x: auto; font-size: 14px; }

/* page head */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(38px, 5.6vw, 72px); max-width: 16ch; }
.page-head .lead { margin-top: 22px; }
.crumbs { font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
.crumbs a { color: var(--text-3); text-decoration: none; } .crumbs a:hover { color: var(--text); }

/* feature page blocks */
.fsec { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.fsec h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 22px; }
.fsec .label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-weight: 600; display: block; margin-bottom: 14px; }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tips .card { padding: 22px; }
.tips h4 { margin-bottom: 8px; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } }
.next { display: flex; justify-content: space-between; gap: 16px; padding: 40px 0 0; }
.next a { flex: 1; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.next a:hover { border-color: var(--line-2); background: var(--bg-2); }
.next small { display: block; color: var(--text-3); font-size: 13px; margin-bottom: 4px; }
.next b { font-size: 19px; font-weight: 600; }
.next .nx { text-align: right; }
@media (max-width: 600px) { .next { flex-direction: column; } .next .nx { text-align: left; } }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); font-weight: 600; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td small { display: block; color: var(--text-3); font-size: 13px; margin-top: 4px; line-height: 1.45; }

/* tabs (stock switcher etc) */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font: 600 14px var(--font); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tabpanes > [hidden] { display: none; }

/* chain diagram */
.chain { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; counter-reset: c; }
.chain a { position: relative; padding: 22px 16px 20px; border: 1px solid var(--line); border-right: 0; text-decoration: none; background: var(--bg-2); transition: background .3s, border-color .3s; }
.chain a:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius) var(--radius) 0; }
.chain a:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain a::before { counter-increment: c; content: counter(c, decimal-leading-zero); display: block; font-size: 12px; color: var(--text-3); font-weight: 600; margin-bottom: 26px; letter-spacing: .08em; }
.chain a b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.chain a span { display: block; font-size: 13px; color: var(--text-3); margin-top: 6px; line-height: 1.4; }
.chain a.lit { background: #1d170e; border-color: #5a4220; }
.chain a.lit::before { color: var(--amber); }
@media (max-width: 960px) { .chain { grid-template-columns: 1fr; } .chain a, .chain a:first-child, .chain a:last-child { border-radius: 0; border-right: 1px solid var(--line); border-bottom: 0; } .chain a:first-child { border-radius: var(--radius) var(--radius) 0 0; } .chain a:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); } .chain a::before { margin-bottom: 8px; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps > div { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.steps > div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--amber); color: var(--amber); font-weight: 600; margin-bottom: 22px; }
.steps h3 { margin-bottom: 8px; } .steps p { color: var(--text-2); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* proof strip */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.proof > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof .big { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; color: var(--amber-2); }
.proof p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; } .proof > div { border-right: 0; border-bottom: 1px solid var(--line); } .proof > div:last-child { border-bottom: 0; } }

/* pricing */
.billing-note { color: var(--text-3); font-size: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { padding: 36px 32px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; }
.plan.featured { border-color: #5a4220; background: linear-gradient(180deg, #1b150d, var(--bg-2) 60%); }
.plan .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); margin-bottom: 18px; }
.plan h3 { font-size: 22px; }
.price { font-size: 56px; font-weight: 600; letter-spacing: -0.04em; margin: 18px 0 2px; }
.price small { font-size: 17px; color: var(--text-3); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 30px; position: relative; color: var(--text-2); border-bottom: 1px solid var(--line); font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 550; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: -6px 0 22px; max-width: 70ch; }

/* forms */
.form { display: grid; gap: 14px; }
label.fl { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); font-weight: 500; }
input, select, textarea { font: 400 16px var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 140px; resize: vertical; }
.auth { max-width: 420px; margin: 0 auto; padding: 40px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.auth h1 { font-size: 32px; margin-bottom: 8px; }
.oauth { display: grid; gap: 10px; margin: 26px 0 18px; }
.oauth .btn { background: var(--text); color: var(--bg); justify-content: center; height: 48px; }
.oauth .btn:hover { background: #fff; }
.oauth .btn svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.notice { border: 1px dashed var(--line-2); border-radius: var(--radius-s); padding: 12px 14px; font-size: 14px; color: var(--text-2); background: rgba(233,168,74,.05); }
.notice b { color: var(--amber-2); font-weight: 600; }

/* account dashboard */
.dash { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.dash nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-weight: 500; }
.dash nav a.on, .dash nav a:hover { background: var(--bg-3); color: var(--text); }
.dash .panel-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg-2); margin-bottom: 20px; }
.dash .panel-box h3 { margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; font-size: 15px; }
.kv dt { color: var(--text-3); } .kv dd { margin: 0; }
.keybox { font: 500 15px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: inline-block; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); border: 1px solid var(--line); }
.pill.ok { color: #9fd49a; border-color: #2e4a2c; background: #122012; }
.pill.amber { color: var(--amber-2); border-color: #5a4220; background: #1d170e; }
@media (max-width: 760px) { .dash { grid-template-columns: 1fr; } .dash nav { display: flex; overflow-x: auto; gap: 4px; } .kv { grid-template-columns: 1fr; } }

/* community & roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap .col { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg-2); }
.roadmap .col h4 { margin-bottom: 12px; display: flex; justify-content: space-between; }
.roadmap .item { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); margin-bottom: 10px; font-size: 15px; }
.roadmap .item small { display: block; color: var(--text-3); font-size: 13px; margin-top: 3px; }
.roadmap .votes { float: right; font-size: 12px; color: var(--text-3); }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

/* assistant mock */
.chat { border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 600; }
.chat-body { padding: 20px; display: grid; gap: 14px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg.u { justify-self: end; background: var(--bg-3); border-bottom-right-radius: 4px; }
.msg.a { background: #1b160e; border: 1px solid #3d2f19; border-bottom-left-radius: 4px; color: #e6dfd2; }
.chat-input { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); }
.chat-input input { border-radius: 999px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 0; background: var(--bg); }
.foot { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px; }
.foot h5 { margin: 0 0 14px; font-size: 13px; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 9px; }
.foot li a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.foot li a:hover { color: var(--text); }
.foot .news p { color: var(--text-2); font-size: 15px; margin: 14px 0; max-width: 30ch; }
.news-form { display: flex; gap: 8px; max-width: 340px; }
.news-form input { height: 42px; padding: 0 14px; border-radius: 999px; font-size: 15px; }
.news-form .btn { height: 42px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.foot-bottom a { color: var(--text-3); text-decoration: none; } .foot-bottom a:hover { color: var(--text); }
@media (max-width: 960px) { .foot { grid-template-columns: repeat(3, 1fr); } .foot .news { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr 1fr; } }

/* weave demo */
.weave { position: relative; }
.weave .frame img { animation: weave 4.2s ease-in-out infinite; }
.weave.off .frame img { animation: none; }
@keyframes weave { 0% { transform: translate(0,0) scale(1.02); } 23% { transform: translate(3px,-2px) scale(1.02); } 51% { transform: translate(-2px,2.5px) scale(1.02); } 77% { transform: translate(1.5px,3.5px) scale(1.02); } 100% { transform: translate(0,0) scale(1.02); } }
.cross { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: var(--amber); }
.cross::before { left: 19px; top: 0; bottom: 0; width: 2px; } .cross::after { top: 19px; left: 0; right: 0; height: 2px; }

/* cta band */
.cta-band { text-align: center; padding: clamp(80px, 11vw, 150px) 0; background: radial-gradient(60% 80% at 50% 100%, rgba(233,168,74,.13), transparent 70%); border-top: 1px solid var(--line); }
.cta-band h2 { max-width: 16ch; margin: 0 auto 18px; }
.cta-band .lead { margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }

.draft { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-2); border: 1px solid #5a4220; border-radius: 999px; padding: 3px 10px; margin-bottom: 14px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.split > *, .grid > * { min-width: 0; }
.learn-grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.learn-grid aside { position: sticky; top: 96px; }
@media (max-width: 860px) { .learn-grid { grid-template-columns: 1fr; } .learn-grid aside { position: static; display: flex; flex-wrap: wrap; gap: 4px 16px; } }
.learn-grid > * { min-width: 0; }
