:root {
  color-scheme: dark;
  --bg: #0b0e13;
  --bg2: #11161e;
  --card: #141a23;
  --line: #232c39;
  --ink: #eef2f7;
  --dim: #9aa6b6;
  --faint: #6b7688;
  --gold: #c8a24a;
  --gold2: #e0bd63;
  --ok: #4ec9a0;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

h1, h2, h3, h4 { letter-spacing: -0.022em; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.85rem); font-weight: 760; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 720; }
h3 { font-size: 1.05rem; font-weight: 660; }
p { margin: 0 0 16px; }

a { color: inherit; }

.vh {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: #14120b; padding: 12px 18px; font-weight: 650;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 3px; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; font-weight: 700; color: var(--gold);
  margin: 0 0 14px;
}

.sub { color: var(--dim); font-size: 1.04rem; max-width: 56ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.stuck { border-bottom-color: var(--line); }
.navin { display: flex; align-items: center; gap: 20px; height: 66px; }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 730; letter-spacing: -0.02em; text-decoration: none; font-size: 1.04rem;
}
.logo .dot { color: var(--faint); font-weight: 500; }

.links { display: flex; gap: 26px; margin-left: auto; }
.links a {
  color: var(--dim); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.links a:hover { color: var(--ink); border-bottom-color: var(--gold); }

.navcta { display: flex; gap: 10px; }
@media (max-width: 880px) {
  .links { display: none; }
  .navcta { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: #14120b;
  padding: 13px 24px; border: 0; border-radius: 2px;
  font: inherit; font-weight: 680; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold2); }
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 9px 16px; font-size: 0.9rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.heroin { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .heroin { grid-template-columns: 1.02fr 0.98fr; } }

.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--dim); max-width: 46ch; }

.prompt {
  display: flex; gap: 8px; max-width: 560px; margin: 26px 0 10px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: 7px;
  transition: border-color 0.15s ease;
}
.prompt:focus-within { border-color: var(--gold); }
.prompt input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink);
  font: inherit; padding: 11px 12px;
}
.prompt input::placeholder { color: var(--faint); }
.prompt input:focus { outline: none; }
.promptnote { color: var(--faint); font-size: 0.86rem; margin: 0 0 4px; }

@media (max-width: 560px) {
  .prompt { flex-direction: column; align-items: stretch; }
  .prompt .btn { width: 100%; }
  .cta .btn { flex: 1 1 100%; }
}

.trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding: 0; margin: 30px 0 0; color: var(--faint); font-size: 0.88rem;
}
.trust li { position: relative; padding-left: 19px; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; background: var(--ok); border-radius: 50%;
}

/* ---------- hero mock ---------- */
.mock {
  background: #0d1219; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.95);
}
.mockbar {
  display: flex; align-items: center; gap: 7px; padding: 10px 13px;
  background: #141b24; border-bottom: 1px solid var(--line);
}
.mockbar i { width: 9px; height: 9px; border-radius: 50%; background: #2c3644; }
.mockbar span { margin-left: 9px; color: var(--faint); font-size: 0.78rem; }
.mockbody { padding: 15px; display: grid; gap: 10px; }

.mockframe { background: #10161e; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.wf { display: flex; height: 5px; }
.wf span:nth-child(1) { background: var(--gold); }
.wf span:nth-child(2) { background: #2f3b4a; }
.wf span:nth-child(3) { background: #33465c; }
.wf span:nth-child(4) { background: #2f3b4a; }
.mtrans { padding: 16px 15px; display: grid; gap: 7px; }
.mtrans b { font-size: 0.86rem; font-weight: 500; color: #5f6a7a; }
.mtrans b.on { color: var(--ink); background: rgba(200, 162, 74, 0.14); border-left: 2px solid var(--gold); padding: 3px 8px; margin-left: -10px; }

.mockcmd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem; color: var(--ink); background: #111925;
  border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 10px 12px;
}
.mockcmd span { color: var(--gold); font-weight: 700; margin-right: 6px; }

.mocktrack { display: flex; gap: 5px; flex-wrap: wrap; }
.mclip {
  font-size: 0.74rem; color: var(--dim); background: #161e28; border: 1px solid var(--line);
  border-left: 2px solid var(--ok); padding: 6px 9px;
}
.mclip.cut { border-left-color: #c0503f; color: #6a7484; text-decoration: line-through; }

.mockfoot {
  display: flex; justify-content: space-between; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: 0.78rem;
}
.mockfoot .ok { color: var(--ok); }

/* ---------- bands ---------- */
.band { padding: clamp(52px, 7vw, 86px) 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--bg2); }
.band h2 { margin-bottom: 12px; }

.grid {
  display: grid; gap: 16px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(256px, 1fr));
}

.card {
  display: block; background: var(--card); border: 1px solid var(--line);
  padding: 24px; text-decoration: none; border-radius: 3px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); background: #171e28; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--dim); font-size: 0.93rem; margin: 0 0 14px; }
.card .try { color: var(--gold); font-size: 0.87rem; font-weight: 620; }
.card:hover .try { color: var(--gold2); }

.ico {
  width: 24px; height: 24px; display: block; margin-bottom: 15px;
  fill: none; stroke: var(--gold); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .ico { stroke: var(--gold2); }

/* ---------- two column ---------- */
.two { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }

.ticks { list-style: none; padding: 0; margin: 22px 0 28px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--dim); }
.ticks li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 8px; height: 4px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---------- demo ---------- */
.demo {
  background: #0d1219; border: 1px solid var(--line); border-radius: 5px;
  overflow: hidden; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}
.demobar {
  display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: #141b24; border-bottom: 1px solid var(--line);
}
.dotr { width: 10px; height: 10px; border-radius: 50%; background: #2c3644; }
.demotitle { margin-left: 10px; color: var(--faint); font-size: 0.8rem; }
.demobody { padding: 16px; display: grid; gap: 8px; }

.cmdline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem; color: var(--ink);
  background: #111925; border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 11px 13px; margin-bottom: 6px;
}
.cmdline .caret { color: var(--gold); font-weight: 700; margin-right: 6px; }

.clip {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center;
  background: #151d27; border: 1px solid var(--line); border-left: 3px solid var(--ok);
  padding: 10px 13px; font-size: 0.86rem;
  animation: rise 0.45s ease both;
}
.clip .t { color: var(--faint); font-family: ui-monospace, Menlo, Consolas, monospace; }
.clip .nm { color: var(--ink); }
.clip .dur { color: var(--faint); }
.clip.out { border-left-color: #c0503f; opacity: 0.45; }
.clip.out .nm { text-decoration: line-through; }

.clip:nth-of-type(2) { animation-delay: 0.10s; }
.clip:nth-of-type(3) { animation-delay: 0.22s; }
.clip:nth-of-type(4) { animation-delay: 0.34s; }
.clip:nth-of-type(5) { animation-delay: 0.46s; }

@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.stat {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; padding-top: 12px;
  border-top: 1px solid var(--line); color: var(--faint); font-size: 0.82rem;
}
.stat .ok { color: var(--ok); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 26px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.step { border-top: 2px solid var(--gold); padding-top: 18px; }
.step .n {
  display: inline-block; font-weight: 760; color: var(--gold);
  font-size: 0.74rem; letter-spacing: 0.12em; margin-bottom: 10px;
}
.step p { color: var(--dim); font-size: 0.95rem; margin: 0; }

/* ---------- pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.pills a {
  border: 1px solid var(--line); background: var(--card); color: var(--dim);
  padding: 10px 18px; border-radius: 999px; text-decoration: none; font-size: 0.93rem;
  transition: color 0.15s, border-color 0.15s;
}
.pills a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- faq ---------- */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 34px 20px 0; font-weight: 620; font-size: 1.02rem;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 18px;
  color: var(--gold); font-size: 1.3rem; font-weight: 500; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--gold2); }
.faq details p { color: var(--dim); margin: 0 0 22px; max-width: 68ch; }

/* ---------- closer + foot ---------- */
.closer { padding: clamp(60px, 8vw, 96px) 0; border-top: 1px solid var(--line); text-align: center; }
.closer .sub { margin: 0 auto; }
.closer .cta { justify-content: center; }

.foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 30px; }
.fcols {
  display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.fcols h4 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin: 0 0 14px;
}
.fcols a { display: block; color: var(--dim); text-decoration: none; font-size: 0.9rem; margin-bottom: 9px; }
.fcols a:hover { color: var(--ink); }
.fcols p { color: var(--faint); font-size: 0.9rem; max-width: 34ch; }
.fine { color: var(--faint); font-size: 0.84rem; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- pipeline ---------- */
.pipe {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
}
.pipe li {
  background: var(--bg2); padding: 20px 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.16s ease;
}
.pipe li:hover { background: #161d27; }
.pipe .pnum {
  font-size: 0.7rem; letter-spacing: 0.12em; color: var(--gold); font-weight: 760;
}
.pipe b { font-size: 0.99rem; font-weight: 660; letter-spacing: -0.01em; }
.pipe i { font-style: normal; color: var(--dim); font-size: 0.86rem; line-height: 1.5; }

/* ---------- deliverables ---------- */
.deliv {
  display: grid; gap: 16px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}
.dcard { background: var(--card); border: 1px solid var(--line); padding: 22px; border-radius: 3px; }
.dcard h3 { margin: 0 0 8px; font-size: 1rem; }
.dcard p { color: var(--dim); font-size: 0.92rem; margin: 0; }

/* ---------- publishing roadmap ---------- */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.roadmap li {
  background: var(--bg2); padding: 16px 18px 16px 42px; position: relative;
  color: var(--dim); font-size: 0.91rem; line-height: 1.55;
}
.roadmap li b { color: var(--ink); display: block; font-weight: 640; margin-bottom: 3px; font-size: 0.97rem; }
.roadmap li::before {
  content: "✓"; position: absolute; left: 18px; top: 17px;
  color: var(--ok); font-weight: 700; font-size: 0.9rem;
}
.roadmap li.next::before { content: "→"; color: var(--gold); }
.roadmap li.next { color: var(--faint); }
.roadmap li.next b { color: var(--dim); }

/* ---------- guardrail ticks ---------- */
.ticks.big { margin-top: 30px; }
.ticks.big li { margin-bottom: 17px; color: var(--dim); font-size: 0.98rem; }
.ticks.big li b { color: var(--ink); font-weight: 640; }

/* ================= aipricedesk.com — market components ================= */

.pill.soon {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--gold); color: var(--gold);
  padding: 6px 13px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 640; white-space: nowrap;
}
.pill.soon::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .pill.soon::before { animation: none; } }

.sechead {
  display: flex; gap: 24px; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap;
}
.sechead h2 { margin-bottom: 12px; }
.feedstamp {
  color: var(--faint); font-size: 0.8rem; text-align: right;
  border: 1px solid var(--line); padding: 8px 13px; border-radius: 3px;
  background: var(--bg2); max-width: 380px;
}
.feedstamp b { color: var(--gold); font-weight: 640; }

/* ---------- the board ---------- */
.tablewrap {
  margin-top: 30px; overflow-x: auto;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg2);
}
.board { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.board th, .board td { padding: 13px 15px; text-align: left; white-space: nowrap; }
.board thead th {
  color: var(--faint); font-weight: 640; font-size: 0.73rem;
  text-transform: uppercase; letter-spacing: 0.09em;
  border-bottom: 1px solid var(--line); background: #141b24;
  position: sticky; top: 0;
}
.board td { border-bottom: 1px solid rgba(35,44,57,0.6); }
.board tbody tr:last-child td { border-bottom: 0; }
.board tbody tr:hover { background: #161d27; }
.board .num { text-align: right; font-variant-numeric: tabular-nums; }
.board .rank { color: var(--faint); font-variant-numeric: tabular-nums; }
.board .mname { font-weight: 620; color: var(--ink); }
.board .vendor { color: var(--dim); }
.board .blend { color: var(--gold); font-weight: 620; }
.board .ctx { color: var(--faint); font-variant-numeric: tabular-nums; }
.board .tier {
  color: var(--dim); font-size: 0.75rem; border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 999px;
}
.board td.loading { text-align: center; color: var(--faint); padding: 30px; }
.barcell { position: relative; min-width: 132px; }
.barcell .bar {
  position: absolute; inset: 0 auto 0 0; background: rgba(200,162,74,0.16);
  z-index: 0; border-radius: 2px;
}
.barcell span { position: relative; z-index: 1; }

.foot-note { color: var(--faint); font-size: 0.8rem; margin: 16px 0 0; max-width: 92ch; line-height: 1.6; }

/* ---------- calculator ---------- */
.calc {
  background: #0d1219; border: 1px solid var(--line); border-radius: 5px;
  padding: 22px; display: grid; gap: 18px;
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);
}
.crow { display: grid; gap: 7px; }
.crow.two-up { grid-template-columns: 1fr 1fr; }
.calc label {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--faint); font-weight: 640;
  display: flex; justify-content: space-between; gap: 10px;
}
.calc label .val { color: var(--gold); }
.calc select, .calc input[type="text"] {
  width: 100%; background: #151d27; border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-size: 0.94rem; padding: 10px 12px; border-radius: 3px;
}
.calc select:focus, .calc input:focus { outline: none; border-color: var(--gold); }
.calc input[type="range"] {
  width: 100%; accent-color: var(--gold); background: transparent; cursor: pointer;
}
.calc .hint { color: var(--faint); font-size: 0.79rem; margin: 0; }
.calc .hint span { color: var(--dim); font-weight: 640; }

.cout { background: #10161e; border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
.cout-main { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.cout-label { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--faint); }
.cout-val {
  font-size: clamp(1.7rem, 4.2vw, 2.3rem); font-weight: 720; color: var(--gold);
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.cout-grid { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr)); }
.cout-grid > div { display: flex; flex-direction: column; gap: 3px; }
.cout-grid span { font-size: 0.73rem; color: var(--faint); }
.cout-grid b { font-size: 0.97rem; font-weight: 640; font-variant-numeric: tabular-nums; }

.note-block {
  border-left: 3px solid var(--line); padding: 4px 0 4px 16px;
  color: var(--dim); font-size: 0.92rem; margin-top: 22px;
}

.center { text-align: center; }
.center .sub { margin: 0 auto 16px; }
.center .cta { justify-content: center; }

/* ---------- ticker mock ---------- */
.mock.tape .mockbody { gap: 0; padding: 0; }
.tickerow {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px;
  padding: 11px 15px; border-bottom: 1px solid rgba(35,44,57,0.7);
  font-size: 0.85rem; align-items: baseline;
}
.tk-sym { color: var(--ink); font-weight: 620; letter-spacing: 0.01em; }
.tk-n { color: var(--gold); font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
.tk-n.dim { color: var(--faint); }

/* ---------- 1-year cost-decline strip (above the desk panel) ---------- */
.chartstrip {
  border-bottom: 1px solid var(--line);
  padding: 12px 15px 11px;
  background: linear-gradient(180deg, #121924 0%, #0e131b 100%);
}
.cs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cs-title {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--faint); font-weight: 640;
}
.cs-delta {
  font-size: 0.82rem; font-weight: 700; color: var(--ok);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cs-svg { display: block; width: 100%; height: 74px; overflow: visible; }
.cs-foot {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 7px; color: var(--faint); font-size: 0.7rem;
}
.cs-grid { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.cs-area { fill: rgba(200,162,74,0.13); }
.cs-line { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cs-dot { fill: var(--gold); }
.cs-dot-last { fill: var(--gold); stroke: #0b0e13; stroke-width: 2; }
.cs-lab { fill: var(--faint); font-size: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; }
