:root {
  --paper: #ECEAE4;
  --paper-2: #E3E0D7;
  --card: #F4F2EC;
  --ink: #12130F;
  --muted: #66655D;
  --rule: #CCC8BD;
  --accent: #D93F0B;

  --panel: #0D0E0B;
  --panel-2: #14150F;
  --panel-rule: #2A2B25;
  --panel-ink: #E9E6DC;
  --panel-muted: #8D8B80;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1280px;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0F0C;
    --paper-2: #151612;
    --card: #12130F;
    --ink: #EDEBE3;
    --muted: #8E8C82;
    --rule: #2B2C26;
    --accent: #FF5A1F;
    --panel: #080907;
    --panel-2: #0F100C;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 14px; z-index: 200; }
.skip:focus { top: 12px; }

.mono, .eyebrow, .label, .step-n, .num, .tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- Announcement ---------- */

.announce {
  position: relative; background: var(--ink); color: var(--paper);
  font-size: 13.5px; text-align: center; padding: 11px 48px;
}
.announce a { text-decoration: none; }
.announce a span { opacity: .7; margin-left: 10px; }
.announce a:hover span { opacity: 1; }
.announce .x {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; width: 28px; height: 28px; cursor: pointer; opacity: .6; font-size: 18px; line-height: 1;
}
.announce .x:hover { opacity: 1; }
.announce[hidden] { display: none; }

/* ---------- Nav ---------- */

.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.nav-row { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: -0.01em; font-size: 18px; }
.links { display: flex; gap: 6px; margin-left: 12px; }
.links > li { position: relative; }
.links > li > a, .links > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border-radius: var(--r-sm); font-size: 15px; color: var(--muted); text-decoration: none;
  background: none; border: 0; cursor: pointer; transition: color .15s ease, background .15s ease;
}
.links > li > a:hover, .links > li > button:hover, .links > li:focus-within > button, .links > li > a[aria-current] { color: var(--ink); }
.links > li > a:hover, .links > li > button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.links .chev { width: 9px; height: 9px; opacity: .6; }
.dd {
  position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px; margin-top: 6px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.links li:hover .dd, .links li:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd a { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.dd a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.dd b { display: block; font-weight: 500; font-size: 15px; }
.dd span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-r .plain { font-size: 15px; color: var(--muted); text-decoration: none; }
.nav-r .plain:hover { color: var(--ink); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: none; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-light { background: #F3F0E7; color: #12130F; border-color: #F3F0E7; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: #F3F0E7; border-color: rgba(243,240,231,.35); }
.btn-ghost:hover { background: rgba(243,240,231,.1); border-color: rgba(243,240,231,.7); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.textlink { font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: border-color .15s ease; }
.textlink:hover { border-color: var(--ink); }
.textlink span { display: inline-block; transition: transform .2s ease; }
.textlink:hover span { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero-panel {
  position: relative; overflow: hidden; margin: 12px 12px 0;
  background: var(--panel); color: var(--panel-ink);
  border-radius: var(--r-lg);
  min-height: clamp(700px, 94vh, 960px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  isolation: isolate;
}
.hero-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(8,9,7,.96) 0%, rgba(8,9,7,.86) 34%, rgba(8,9,7,.35) 54%, rgba(8,9,7,0) 66%);
}
.hero-inner { padding: clamp(56px, 9vh, 100px) var(--gutter) 0; max-width: 1120px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px;
  border: 1px solid rgba(243,240,231,.22); border-radius: 99px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #CFCCC2;
}
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #FF5A1F; }
h1.display {
  margin-top: 28px;
  font-weight: 500; font-size: clamp(2.5rem, 5.7vw, 5.1rem);
  line-height: 0.99; letter-spacing: -0.045em; color: #F6F3EA;
}
.hero-sub { margin: 24px auto 0; max-width: 640px; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: #B9B6AA; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { position: absolute; left: 22px; bottom: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6F6E64; }
.hero-note.r { left: auto; right: 22px; }

/* ---------- Strip ---------- */

.strip { border-bottom: 1px solid var(--rule); overflow: hidden; margin-top: 12px; }
.strip ul { display: flex; gap: 0; white-space: nowrap; width: max-content; animation: slide 60s linear infinite; }
.strip li { padding: 22px 36px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--rule); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 9vw, 132px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: 24px; row-gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .eyebrow { grid-column: 1 / -1; color: var(--muted); }
.sec-head .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 12px; vertical-align: 1px; }
h2 {
  font-weight: 500; font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.04; letter-spacing: -0.038em; max-width: 18ch;
}
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head .lead { grid-column: 9 / -1; align-self: end; color: var(--muted); font-size: 17px; }
h3 { font-weight: 500; font-size: 18px; letter-spacing: -0.015em; line-height: 1.25; }
p { color: var(--muted); }

/* ---------- Viewer ---------- */

.viewer { background: var(--panel); color: var(--panel-ink); border-radius: var(--r-lg); border: 1px solid var(--panel-rule); overflow: hidden; }
.v-top, .v-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; height: 48px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--panel-muted); }
.v-top { border-bottom: 1px solid var(--panel-rule); }
.v-top .dots { display: flex; gap: 6px; }
.v-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A2B25; }
.v-bottom { height: auto; padding: 14px 20px; border-top: 1px solid var(--panel-rule); gap: 18px; }
.v-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--panel-rule); }
.v-cell { position: relative; background: var(--panel); aspect-ratio: 16 / 10; }
.v-cell canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-cell .t { position: absolute; left: 12px; top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #E9E6DC; background: rgba(8,9,7,.6); padding: 4px 7px; border-radius: 4px; }
.v-meta { padding: 16px 18px; overflow: hidden; }
.v-meta table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 11.5px; }
.v-meta th { text-align: left; font-weight: 400; color: var(--panel-muted); text-transform: uppercase; letter-spacing: .08em; padding: 0 0 8px; }
.v-meta td { padding: 7px 0; border-top: 1px solid var(--panel-rule); color: #D9D6CB; }
.v-meta td:first-child { color: #FF5A1F; }
.v-play { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--panel-rule); background: none; cursor: pointer; display: grid; place-items: center; color: #E9E6DC; flex: none; }
.v-play:hover { border-color: #8D8B80; }
.v-play svg { width: 11px; height: 11px; }
.v-range { flex: 1; -webkit-appearance: none; appearance: none; height: 2px; background: #2F302A; border-radius: 2px; outline-offset: 6px; }
.v-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #FF5A1F; border: 0; cursor: pointer; }
.v-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #FF5A1F; border: 0; cursor: pointer; }
.v-time { min-width: 120px; text-align: right; color: #CFCCC2; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 8px 8px 24px; transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--ink); }
.card .art { aspect-ratio: 16 / 10; border-radius: var(--r-md); background: var(--panel); overflow: hidden; margin-bottom: 22px; }
.card .art svg { width: 100%; height: 100%; }
.card .tag { color: var(--muted); padding: 0 16px; margin-bottom: 10px; }
.card h3 { padding: 0 16px; font-size: 22px; letter-spacing: -0.025em; }
.card p { padding: 0 16px; margin-top: 10px; font-size: 15.5px; }
.card .go { padding: 0 16px; margin-top: auto; padding-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.card .go span { display: inline-block; transition: transform .2s ease; }
.card:hover .go span { transform: translateX(3px); }

/* ---------- Rows / steps ---------- */

.rows { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr); column-gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.num { color: var(--muted); transition: color .2s ease; }
.row h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.025em; }
.row:hover .num { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 20px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 18px; padding-right: 8px; }
.step-n { display: block; color: var(--muted); margin-bottom: 40px; }
.steps h3 { font-size: 1.4rem; letter-spacing: -0.025em; margin-bottom: 12px; }
.steps p { font-size: 15px; line-height: 1.5; }

/* ---------- Split ---------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split ul li { padding: 15px 0; border-top: 1px solid var(--rule); font-size: 16.5px; }
.split ul li:last-child { border-bottom: 1px solid var(--rule); }
.split ul li b { font-weight: 500; }
.split ul li span { display: block; color: var(--muted); font-size: 15px; margin-top: 3px; }
.stack { display: grid; gap: 28px; }
.stack p { max-width: 46ch; }

/* ---------- Notes ---------- */

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.note { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; text-decoration: none; border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px; background: var(--card); transition: border-color .2s ease; }
.note:hover { border-color: var(--ink); }
.note .tag { color: var(--muted); }
.note h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; margin-top: 18px; max-width: 18ch; }
.note p { font-size: 15px; margin-top: 12px; }
.note .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 28px; }
.list-notes .note { min-height: 0; flex-direction: row; gap: 32px; align-items: baseline; justify-content: flex-start; }
.list-notes { display: grid; gap: 12px; grid-template-columns: 1fr; }
.list-notes .note h3 { margin: 0; max-width: none; flex: 1; }
.list-notes .note p { margin: 0; flex: 1.2; }
.list-notes .note .meta { margin: 0; min-width: 130px; text-align: right; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--rule); max-width: 900px; margin-left: auto; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 26px 0; max-width: 62ch; }

/* ---------- CTA ---------- */

.cta { margin: 0 12px; background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(56px, 8vw, 112px) var(--gutter); }
.cta-in { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: end; }
.cta h2 { grid-column: 1 / span 8; color: var(--paper); max-width: 16ch; font-size: clamp(2.25rem, 5.4vw, 4.75rem); }
.cta .acts { grid-column: 9 / -1; display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta .btn-ghost { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 35%, var(--ink)); }
.cta .btn-ghost:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); color: var(--paper); border-color: var(--paper); }
@media (prefers-color-scheme: dark) { .cta { background: var(--paper-2); border: 1px solid var(--rule); } }

/* ---------- Footer ---------- */

.foot { padding: clamp(64px, 8vw, 112px) 0 28px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 18px; }
.foot-grid li a { display: inline-block; padding: 5px 0; font-size: 15px; text-decoration: none; }
.foot-grid li a:hover { color: var(--accent); }
.foot-about p { max-width: 30ch; font-size: 15px; margin-top: 16px; }
.foot-big { margin-top: clamp(48px, 7vw, 96px); font-weight: 500; letter-spacing: -0.06em; line-height: .8; font-size: clamp(5rem, 22vw, 20rem); color: color-mix(in srgb, var(--ink) 7%, var(--paper)); white-space: nowrap; user-select: none; }
.foot-base { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--ink); }

/* ---------- Sub pages ---------- */

.page-hero { padding: clamp(64px, 9vw, 128px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--rule); }
.page-hero .eyebrow { color: var(--muted); margin-bottom: 26px; }
.page-hero .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 12px; vertical-align: 1px; }
.page-hero h1 { font-weight: 500; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.045em; max-width: 16ch; }
.page-hero .lead { margin-top: 28px; max-width: 54ch; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); }
.page-hero .acts { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 16px 14px 0; }
.table td { padding: 18px 16px 18px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.table td:first-child { font-weight: 500; white-space: nowrap; }
.table td:not(:first-child) { color: var(--muted); }
.table-wrap { overflow-x: auto; }

.spec { background: var(--panel); color: var(--panel-ink); border-radius: var(--r-lg); border: 1px solid var(--panel-rule); overflow: hidden; }
.spec-top { display: flex; justify-content: space-between; gap: 16px; padding: 0 22px; height: 48px; align-items: center; border-bottom: 1px solid var(--panel-rule); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--panel-muted); }
.spec dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.spec dt, .spec dd { padding: 16px 22px; border-bottom: 1px solid var(--panel-rule); font-size: 15px; }
.spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--panel-muted); padding-top: 19px; }
.spec dd { color: #D9D6CB; }
.spec dt:nth-last-of-type(1), .spec dd:last-child { border-bottom: 0; }

.tracks { background: var(--panel); border-radius: var(--r-lg); border: 1px solid var(--panel-rule); padding: 22px; color: var(--panel-ink); overflow-x: auto; }
.tracks svg { min-width: 760px; width: 100%; height: auto; }

.prose { max-width: 680px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 128px); }
.prose .meta { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.prose h1 { font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 36px; }
.prose p, .prose li { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.15; margin: 2.2em 0 .6em; max-width: none; }
.prose ul { margin: 1em 0; padding-left: 1.2em; list-style: disc; }
.prose li { margin: .35em 0; }
.prose .back { display: inline-block; margin-bottom: 40px; font-size: 14px; color: var(--muted); text-decoration: none; }
.prose .back:hover { color: var(--ink); }
.prose .callout { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; margin: 1.6em 0; }
.prose .callout p { font-style: italic; }

.form { display: grid; gap: 20px; max-width: 640px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 13px 14px; width: 100%;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form small { color: var(--muted); font-size: 13px; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .strip ul { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .step-n { margin-bottom: 20px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; margin-left: auto; }
  .nav-r { display: none; }
  .nav-row { height: 60px; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; margin: 0; padding: 12px var(--gutter) 20px; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .nav.open .links { display: flex; }
  .links > li > a, .links > li > button { height: 46px; width: 100%; font-size: 17px; color: var(--ink); }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin: 0; padding: 0 0 8px 12px; background: none; }
  .dd span { display: none; }
  .links .chev { display: none; }
  .nav.open .nav-r { display: flex; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 330px); }

  .sec-head h2, .sec-head .lead { grid-column: 1 / -1; }
  .cards, .notes { grid-template-columns: minmax(0, 1fr); }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .cta h2, .cta .acts { grid-column: 1 / -1; justify-content: flex-start; }
  .list-notes .note { flex-direction: column; gap: 10px; }
  .list-notes .note .meta { text-align: left; }
  .row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .row p { grid-column: 2; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dt { border-bottom: 0; padding-bottom: 0; }
  .faq { margin-left: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .v-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-note { display: none; }
  .form .two { grid-template-columns: 1fr; }
  .announce { padding: 10px 40px; font-size: 12.5px; }
  .announce a span { display: none; }
}

/* market */
.mfig { margin: 48px 0 0; padding: 32px; border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--card); }
.mchart { width: 100%; height: auto; display: block; color: var(--ink); }
.mchart .b-lo { fill: var(--rule); }
.mchart .b-hi { fill: var(--accent); }
.mchart .v { font: 500 21px var(--sans); fill: currentColor; }
.mchart .l { font: 400 15px var(--mono); fill: var(--muted); }
.mchart .n { font: 500 23px var(--sans); fill: currentColor; }
.mchart .ax { stroke: currentColor; stroke-width: 1.5; }
.mfig figcaption { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 70ch; }
.mstats { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mstats > div { border-top: 1px solid var(--ink); padding-top: 22px; }
.mstats b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.04em; color: var(--accent); }
.mstats span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.mnote { margin-top: 28px; font-size: 14px; color: var(--muted); }
.mnote a { color: var(--ink); }
@media (max-width: 900px) {
  .mstats { grid-template-columns: 1fr; }
  .mfig { padding: 16px; }
}
