:root {
  --bg: #F6F3EA;
  --bg-2: #EFEBE0;
  --panel: #FBF9F3;
  --ink: #1A1610;
  --muted: #5C564C;
  --dim: #8A8378;
  --line: #D8D0C0;
  --line-2: #C4BBA8;
  --gold: #8A6A1E;
  --gold-deep: #C9A24A;
  --gold-fill: #F3E6C4;
  --gold-text: #6F5414;
  --gold-bright: #D9B554;
  --dia-text: #1F4FA8;
  --dia-fill: #E3EEFF;
  --dia-bright: #8FB5FF;
  --dia-deep: #3C74E0;
  --sil-text: #4A5866;
  --sil-fill: #E9EDF1;
  --sil-bright: #B9C4CF;
  --sil-deep: #7F8E9C;
  --gem-text: #0F6B4A;
  --gem-fill: #DAF3E8;
  --gem-bright: #57D6A3;
  --gem-deep: #1E9C6F;
  --ok: #1E9C6F;
  --acc-text: var(--gold-text);
  --acc-fill: var(--gold-fill);
  --acc-bright: var(--gold-bright);
  --acc-deep: var(--gold-deep);
  --ink-text: #FBF9F3;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --r: 3px;
  --gold-hair: linear-gradient(90deg, transparent, #C9A24A 22%, #F1D98A 50%, #C9A24A 78%, transparent);
}

[data-theme="dark"] {
  --bg: #141311;
  --bg-2: #1C1B18;
  --panel: #1A1916;
  --ink: #F4F0E6;
  --muted: #B7B0A3;
  --dim: #8E877A;
  --line: #3A372F;
  --line-2: #585348;
  --gold: #D9B554;
  --gold-deep: #E3C36A;
  --gold-fill: rgba(217, 181, 84, .14);
  --gold-text: #E8C86F;
  --gem-fill: rgba(79, 209, 160, .16);
  --gem-text: #8BE8C0;
  --gem-deep: #4FD1A0;
  --ink-text: #141311;
  --ok: #4FD1A0;
  --gold-hair: linear-gradient(90deg, transparent, #C9A24A 22%, #F6E3A6 50%, #C9A24A 78%, transparent);
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; margin: 0; font-variation-settings: "opsz" 72 }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.35rem); line-height: 1.08 }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.16 }
h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0 }
p { margin: 0 }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px }
.lede { color: var(--muted); font-size: 1.05rem; max-width: 38em }
section { padding: 88px 0; position: relative }
section + section { border-top: 1px solid var(--line) }
@media (max-width: 720px) { section { padding: 64px 0 } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px }
.mono { font-family: var(--mono); font-size: .78rem; color: var(--muted) }
.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--gold-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .04em;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-deep);
  transform: rotate(45deg);
}
.sheen {
  background: linear-gradient(100deg, #6F5414 0%, #C9A24A 42%, #F1D98A 55%, #C9A24A 70%, #6F5414 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .sheen {
  background: linear-gradient(100deg, #F1D98A, #C9A24A 50%, #F6E3A6);
  -webkit-background-clip: text;
  background-clip: text;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 50;
  background: var(--ink);
  color: var(--ink-text);
  padding: 8px 12px;
}
.skip:focus { top: 12px }

.grid-bg, .glow { display: none }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--r);
  font: 600 .9rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  background: var(--ink);
  color: var(--ink-text);
  transition: background .15s var(--ease), border-color .15s, color .15s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff }
[data-theme="dark"] .btn:hover { color: var(--ink-text) }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); color: var(--ink) }
.btn-sm { height: 30px; padding: 0 11px; font-size: .8rem }
.btn-primary .arr { display: inline-block; transition: transform .2s var(--ease) }
.btn-primary:hover .arr { transform: translateX(3px) }

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; position: relative }
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 700 .82rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand svg { width: 18px; height: 18px }
.brand svg path { stroke: var(--gold-deep) }
.nav-links { display: flex; gap: 22px; align-items: center }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .88rem }
.nav-links a:hover { color: var(--ink) }
.nav-links .btn { height: 32px; padding: 0 12px; font-size: .82rem }
.nav-tools { display: flex; align-items: center; gap: 10px }
.theme {
  height: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--r);
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 .78rem var(--sans);
  color: var(--muted);
  cursor: pointer;
}
.theme:hover { color: var(--ink); border-color: var(--line-2) }
.theme svg { width: 14px; height: 14px }
.menu { display: none; height: 32px; padding: 0 10px; font: 500 .82rem var(--sans); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); cursor: pointer }
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 52px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 16px;
    gap: 12px;
  }
  .nav-links.is-open a { display: flex }
  .menu { display: inline-flex; align-items: center }
}

.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite }
.ticker:hover .ticker-track { animation-play-state: paused }
.grp { display: flex; gap: 36px; padding: 8px 36px 8px 0; white-space: nowrap; flex: none }
.grp span { font-family: var(--mono); font-size: .74rem; color: color-mix(in srgb, var(--ink-text) 78%, transparent); display: inline-flex; align-items: center; gap: 8px }
.grp b { color: var(--ink-text); font-weight: 500 }
.grp i { font-style: normal; color: #C9E8D4 }
.grp .m { width: 7px; height: 7px; transform: rotate(45deg); display: inline-block }
@keyframes marquee { to { transform: translateX(-50%) } }

.hero { padding: 48px 0 32px }
.hero > .wrap { display: grid; grid-template-columns: .88fr 1.12fr; gap: 40px; align-items: start }
@media (max-width: 960px) { .hero > .wrap { grid-template-columns: 1fr } }
.hero-copy { max-width: 36em }
.line-sec .lede, .stack-sec .lede, .demo-full > .lede, #compare .lede { margin-top: 14px }
.facts { margin: 20px 0 24px; padding: 0; list-style: none; display: grid; gap: 8px }
.facts li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  color: var(--muted);
  font-size: .95rem;
}
.facts svg { width: 16px; height: 16px; color: var(--gold); margin-top: 3px }
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap }
.proofline { margin-top: 18px; color: var(--muted); font-size: .9rem; grid-column: 1 / -1 }
.proofline b { color: var(--ink); font-weight: 600 }

.os { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative }
.os::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-hair); z-index: 2 }
.rec {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
@media (max-width: 860px) { .rec { grid-template-columns: 1fr 1fr; } }
.rec-note { grid-column: 1 / -1; text-align: left }
.rec-t { font-family: var(--serif); font-size: 1.02rem }
.rec-f {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); font-size: .8rem;
}
.rec-f .rec-k { font-family: var(--mono); font-size: .64rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase }
.rec-f b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.rec-f i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .64rem; padding: 1px 6px; border: 1px solid var(--line); color: var(--dim); opacity: 0 }
.rec-f.r { border-color: var(--gold-deep) }
.rec-f.r i { opacity: 1; color: var(--gold-text); border-color: var(--gold-deep) }
.rec-f.w i { opacity: 1; color: #fff; background: var(--gold); border-color: var(--gold) }
.rec-f.pulse { animation: recpulse .55s var(--ease) }
@keyframes recpulse { from { box-shadow: 0 0 0 0 var(--gold-fill) } to { box-shadow: 0 0 0 7px transparent } }
.rec-note { text-align: right }
.os-body { display: grid; grid-template-columns: 250px 1fr; min-height: 320px }
@media (max-width: 860px) { .os-body { grid-template-columns: 1fr } }
.os-nav { border-right: 1px solid var(--line); padding: 8px; display: grid; align-content: start; gap: 2px; background: var(--panel) }
@media (max-width: 860px) { .os-nav { border-right: 0; border-bottom: 1px solid var(--line); grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto } .lane-h { display: none } }
.lane-h { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; color: var(--muted); padding: 10px 8px 4px; text-transform: uppercase }
.lane-h:first-child { padding-top: 4px }
.mi {
  display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center;
  padding: 6px 8px; border-radius: var(--r); border: 1px solid transparent;
  background: transparent; text-align: left; font: 500 .84rem var(--sans); color: var(--muted); cursor: pointer; position: relative; overflow: hidden;
}
.mi svg { width: 16px; height: 16px }
.mi .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2) }
.mi .dot.live { background: var(--ok) }
.mi .dot.beta { background: var(--gold-deep) }
.mi:hover { color: var(--ink); background: var(--bg-2) }
.mi[aria-current="true"] { color: var(--ink); background: var(--gold-fill); border-color: var(--gold-deep) }
.mi .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold) }
.mi.run .prog { animation: prog var(--os-step, 5000ms) linear forwards }
@keyframes prog { to { width: 100% } }
.os-view { padding: 14px 16px; display: grid; grid-template-rows: auto 1fr; gap: 10px }
.ov-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap }
.ov-h h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem }
.ov-h .st { font-family: var(--mono); font-size: .66rem; color: var(--muted); margin-left: auto }
.ov-h p { width: 100%; color: var(--muted); font-size: .88rem }
.ov-mock { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); padding: 12px; min-height: 188px; font-size: .84rem }
.ov-mock .row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--muted) }
.ov-mock .row2 b { color: var(--ink); font-weight: 500 }
.ov-mock .row2 em { font-style: normal; font-family: var(--mono); font-size: .76rem; color: var(--gold-text) }
.ov-mock .row2:last-child { border: 0 }
.ov-mock .kan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px }
.ov-mock .kan > div { border: 1px solid var(--line); background: var(--panel); padding: 8px; min-height: 90px }
.ov-mock .kan h4 { margin: 0 0 6px; font-size: .68rem; font-family: var(--mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase }
.ov-mock .card { border: 1px solid var(--line); padding: 6px 8px; background: var(--bg-2); font-size: .78rem; margin-bottom: 6px }
.ov-mock .card.hot { border-color: var(--gold-deep) }
.ov-mock .prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.ov-mock .prod > div { border: 1px solid var(--line); background: var(--panel); padding: 8px }
.ov-mock .prod .img { height: 64px; background: var(--gold-fill); margin-bottom: 8px; display: grid; place-items: center }
.ov-mock .prod .img svg { width: 28px; height: 28px }
.ov-mock .prod b { display: block; font-weight: 500; font-size: .8rem }
.ov-mock .prod span { font-family: var(--mono); font-size: .74rem; color: var(--gold-text) }
.ov-mock .bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 8px }
.ov-mock .bars i { flex: 1; background: var(--gold); opacity: .75; transform-origin: bottom; animation: grow .55s var(--ease) both }
@keyframes grow { from { transform: scaleY(0) } }
.ov-mock table { width: 100%; border-collapse: collapse }
.ov-mock th { font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; color: var(--muted); text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--line); text-transform: uppercase }
.ov-mock td { padding: 6px; border-bottom: 1px dashed var(--line); font-size: .82rem }
.ov-mock td:last-child { font-family: var(--mono); font-size: .76rem; color: var(--gold-text); text-align: right }
.ov-mock .pipe { display: flex; align-items: center; gap: 6px; flex-wrap: wrap }
.ov-mock .pipe span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .78rem; background: var(--panel) }
.ov-mock .pipe span.on { border-color: var(--gold-deep); background: var(--gold-fill); color: var(--gold-text) }
.ov-mock .pipe i { color: var(--dim) }
.ov-mock .inv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: .82rem; color: var(--muted) }
.ov-mock .inv b { color: var(--ink); font-weight: 500 }
.ov-mock .inv .tot { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 4px; color: var(--ink); font-weight: 600 }
.ov-mock .msg { max-width: 100% }

.work-hd { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 24px }
.work-hd h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem) }
.work-hd .lede { font-size: 1rem }
.rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .rail { grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px }
}
.wk {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .2s;
}
.wk:hover { border-color: var(--gold-deep) }
.wk .thumb { aspect-ratio: 16 / 10; background: var(--bg-2); border-bottom: 1px solid var(--line); display: grid; place-items: center }
.wk .thumb svg { width: 100%; height: 100% }
.wk .body { padding: 16px 18px 18px }
.wk .cat { font-family: var(--mono); font-size: .72rem; color: var(--gold-text); display: flex; justify-content: space-between; margin-bottom: 8px }
.wk .cat span:last-child { color: var(--dim) }
.wk h3 { font-size: 1.02rem }
.wk p { color: var(--muted); font-size: .9rem; margin-top: 6px }
.wk .more { margin-top: 12px; font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px }
.wk .more svg { width: 14px; height: 14px }

.factory { position: relative; margin-top: 36px; overflow-x: auto }
.stations { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; min-width: 980px; position: relative; z-index: 1 }
.belt { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); min-width: 980px }
.puck {
  position: absolute; top: 6px; left: 0; width: 34px; height: 34px;
  border-radius: var(--r); background: var(--panel); border: 1px solid var(--gold-deep);
  display: grid; place-items: center; z-index: 2; transition: left 1s var(--ease);
}
.puck svg { width: 16px; height: 16px; color: var(--gold-text) }
.puck.morph span { animation: morph .4s var(--ease) }
@keyframes morph { from { transform: scale(.7); opacity: 0 } }
.st {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  padding: 12px; min-height: 168px; display: flex; flex-direction: column; gap: 6px; position: relative;
  transition: border-color .3s, background .3s;
}
.st .n { font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .05em; display: inline-flex; align-items: center; gap: 6px }
.st .n::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2) }
.st.on .n::before { background: var(--gold-deep) }
.st.done .n::before { background: var(--ok) }
.st h3 { font-family: var(--serif); font-weight: 500; font-size: 1.02rem }
.st .viz { height: 56px; display: grid; place-items: center }
.st .viz svg { width: 56px; height: 44px }
.st .sub { font-family: var(--mono); font-size: .68rem; color: var(--dim); margin-top: auto }
.st.on { border-color: var(--gold-deep); background: var(--gold-fill) }
.st.on .sub { color: var(--gold-text) }
.st svg .g { stroke: var(--gold-deep); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round }
.st svg .f { fill: var(--gold-deep) }
.st svg .d { stroke: var(--dia-deep); fill: none; stroke-width: 1.2 }
.linelog { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 10px 14px; min-width: 980px }
.ll-h { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 6px; margin-bottom: 6px }
.ll-body { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; min-height: 2.2em }
.ll-body span { font-family: var(--mono); font-size: .68rem; color: var(--dim); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s }
.ll-body span.in { opacity: 1; transform: none; color: var(--muted) }
.ll-body span.in b { color: var(--gold-text); font-weight: 500 }
@media (min-width: 1200px) { .stations, .belt, .linelog { min-width: 0 } .factory { overflow: visible } }

.stack-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; margin-top: 40px }
@media (max-width: 900px) { .stack-wrap { grid-template-columns: 1fr } }
.stack-vis { position: relative; padding-left: 24px }
.flow { position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: var(--gold-deep); opacity: .45 }
.flow i { position: absolute; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); border: 1px solid var(--gold-deep); top: 0; transition: top .7s var(--ease) }
.slabs { display: grid; gap: 6px }
.slab {
  border: 1px solid var(--line); background: var(--panel); border-radius: var(--r);
  padding: 12px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  cursor: pointer; transition: border-color .25s, background .25s;
}
.slab .n { font-family: var(--mono); font-size: .64rem; color: var(--muted); letter-spacing: .06em }
.slab h3 { font-family: var(--serif); font-weight: 500; font-size: 1.15rem }
.slab .q { font-size: .84rem; color: var(--muted); grid-column: 2 }
.slab .ic { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; color: var(--muted); grid-row: 1 / 3 }
.slab .ic svg { width: 16px; height: 16px }
.slab.on { border-color: var(--gold-deep); background: var(--gold-fill) }
.slab.on .ic { color: var(--gold-text); border-color: var(--gold-deep) }
.slab.on .q { color: var(--ink) }
.slab.past { opacity: .72 }
.stack-txt { min-height: 220px; border: 1px solid var(--line); background: var(--panel); padding: 24px 28px; border-radius: var(--r) }
.stack-txt .n { font-family: var(--mono); font-size: .7rem; color: var(--gold-text); letter-spacing: .06em; margin-bottom: 12px; display: block }
.stack-txt q { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.22; quotes: none; margin-bottom: 12px }
.stack-txt p { color: var(--muted); font-size: .95rem }
.stack-txt .prog { margin-top: 20px; height: 2px; background: var(--line); max-width: 200px }
.stack-txt .prog i { display: block; height: 100%; width: 0; background: var(--gold) }
.stack-txt .prog i.run { animation: prog 5000ms linear forwards }

.mats { display: flex; gap: 4px; margin: 28px 0 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px; width: max-content; max-width: 100%; overflow: auto }
.mat { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid transparent; background: transparent; color: var(--muted); font: 500 .9rem var(--sans); cursor: pointer; border-radius: 2px }
.mat svg { width: 16px; height: 16px }
.mat[aria-selected="true"] { background: var(--gold-fill); border-color: var(--gold-deep); color: var(--gold-text); box-shadow: inset 0 -2px 0 var(--gold) }
.engine { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px }
@media (max-width: 900px) { .engine { grid-template-columns: 1fr } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px }
.panel-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px }
.panel-hd h3 { font-size: .95rem }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; color: var(--muted) }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok) }
.piece { display: flex; gap: 14px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 12px }
.piece .art { width: 56px; height: 56px; display: grid; place-items: center; background: var(--acc-fill); border: 1px solid var(--line) }
.piece .art svg { width: 40px; height: 40px }
.piece strong { display: block; font-weight: 600; font-size: .98rem }
.piece span { color: var(--muted); font-size: .86rem }
.rate-row { margin: 16px 0 6px; display: flex; justify-content: space-between; align-items: baseline }
.rate-row label { font-size: .9rem; color: var(--muted) }
.rate-row output { font-family: var(--serif); font-size: 1.6rem; color: var(--acc-text); font-variant-numeric: tabular-nums }
input[type="range"] {
  width: 100%; margin: 0 0 14px; appearance: none; height: 3px;
  background: linear-gradient(90deg, var(--acc-deep) var(--pct, 42%), var(--line-2) var(--pct, 42%));
}
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--panel); border: 2px solid var(--acc-deep); cursor: pointer }
.breakup { font-size: .9rem }
.breakup div { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums }
.breakup .total { border: 0; color: var(--ink); margin-top: 6px; padding-top: 12px }
.breakup .total b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink) }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap }
.chip { font-size: .76rem; border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 9px; color: var(--muted) }
.chip.on { border-color: var(--acc-deep); color: var(--acc-text); background: var(--acc-fill) }
.side { display: grid; gap: 14px }
.repriced { font-family: var(--mono); font-size: .78rem; color: var(--muted); line-height: 1.75 }
.repriced b { color: var(--ink); font-weight: 500 }
.spark { height: 56px; margin-top: 6px }
.spark path { stroke: var(--acc-deep) }
.orders { display: grid; gap: 8px }
.order { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: .88rem }
.order span { color: var(--muted); font-size: .8rem; display: block }
.order em { font-style: normal; font-family: var(--mono); font-size: .78rem; color: var(--acc-text); align-self: center }

.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 96px }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 28px } .demo.flip .box { order: 0 } }
.demo.flip .box { order: -1 }
.demo h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem) }
.demo .lede { margin-top: 14px; font-size: 1rem }
.demo ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px }
.demo li { display: flex; gap: 12px; font-size: .95rem }
.demo li svg { width: 16px; height: 16px; flex: none; margin-top: 3px }
.chk { stroke: var(--gold) }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: relative }
.box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-hair) }
.chat { display: grid; gap: 8px; min-height: 190px; align-content: start }
.msg { border-radius: var(--r); padding: 9px 12px; font-size: .88rem; line-height: 1.45; max-width: 90%; animation: msgin .32s var(--ease) both }
.msg.in { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink) }
.msg.out { background: var(--gem-fill); border: 1px solid var(--gem-deep); margin-left: auto; color: var(--gem-text) }
.msg.draft { background: var(--gold-fill); border: 1px dashed var(--gold-deep); margin-left: auto; color: var(--gold-text) }
.msg small { display: block; color: var(--muted); margin-top: 6px; font-size: .74rem }
[data-theme="dark"] .msg.in { background: color-mix(in srgb, var(--ink) 8%, var(--panel)); border-color: var(--line-2) }
[data-theme="dark"] .msg.out small,
[data-theme="dark"] .msg.draft small { color: color-mix(in srgb, currentColor 72%, var(--muted)) }
.msg .row-btn { display: flex; gap: 8px; margin-top: 10px }
@keyframes msgin { from { opacity: 0; transform: translateY(5px) } }
.composer { display: flex; gap: 8px; margin-top: 14px }
.composer input { flex: 1; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 0 10px; height: 34px; color: var(--ink); font: .9rem var(--sans) }
.people { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px }
.person { border: 1px solid var(--line-2); background: var(--panel); border-radius: 2px; padding: 6px 11px; font: 500 .84rem var(--sans); color: var(--muted); cursor: pointer }
.person[aria-selected="true"] { background: var(--gold-fill); border-color: var(--gold-deep); color: var(--gold-text) }
.brief { display: grid }
.brief > div { display: grid; grid-template-columns: 16px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line) }
.brief > div:last-child { border: 0 }
.brief i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-deep); margin-top: 7px }
.brief b { display: block; font-weight: 600; font-size: .9rem }
.brief span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px }
.cert { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center }
.cert-lines { display: grid; gap: 8px; font-size: .88rem }
.cert-lines div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 7px 0; color: var(--muted) }
.cert-lines div b { color: var(--ink); font-weight: 500; font-family: var(--mono); font-size: .8rem }
.qr { width: 112px; height: 112px; background: #fff; border: 1px solid var(--line); padding: 8px }
.scan { position: absolute; inset: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--panel) 94%, transparent); text-align: center; padding: 24px; z-index: 2; transition: opacity .35s }
.scan[hidden], .scan.away { opacity: 0; pointer-events: none }
.scan p { color: var(--muted); margin: 14px 0 20px; max-width: 26em }

.qa-bar { height: 2px; background: var(--line); margin: 2px 0 12px }
.qa-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .35s var(--ease) }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.qa-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px; font-size: .86rem; color: var(--dim) }
.qa-item .ic { width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center }
.qa-item .ic svg { width: 12px; height: 12px }
.qa-item .ic svg path { stroke: #fff; stroke-width: 2.4; fill: none; stroke-dasharray: 16; stroke-dashoffset: 16 }
.qa-item .ev { font-family: var(--mono); font-size: .68rem; color: var(--dim); opacity: 0 }
.qa-item.run { color: var(--ink); background: var(--bg-2) }
.qa-item.ok { color: var(--ink) }
.qa-item.ok .ic { background: var(--ok); border-color: var(--ok) }
.qa-item.ok .ic svg path { stroke-dashoffset: 0 }
.qa-item.ok .ev { opacity: 1; color: var(--muted) }
.qa-item.hold { background: var(--gold-fill); color: var(--ink) }
.qa-item.hold .ic { background: var(--gold); border-color: var(--gold) }
.qa-item.hold .ic svg { display: none }
.qa-item.hold .ic::after { content: "!"; color: #fff; font-size: .7rem; font-weight: 700 }
.qa-item.hold .ev { opacity: 1; color: var(--gold-text) }
.qa-stamp { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; opacity: 0 }
.qa-stamp.show { opacity: 1 }
.qa-stamp > div { display: flex; align-items: center; gap: 10px; color: var(--ok); font-size: .9rem; flex-wrap: wrap }
.qa-stamp svg { width: 22px; height: 22px }
.qa-stamp b { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); font-weight: 500 }
.qa-stamp span { color: var(--muted); font-size: .84rem }

.precision { margin-top: 96px }
.tol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px }
@media (max-width: 900px) { .tol { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .tol { grid-template-columns: 1fr } }
.tc { border: 1px solid var(--line); background: var(--panel); padding: 16px; display: grid; grid-template-columns: 1fr 84px; gap: 10px; position: relative }
.tc::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-hair) }
.tc .k { font-family: var(--mono); font-size: .66rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase }
.tc h3 { font-size: .95rem; margin: 2px 0 4px }
.tc .v { font-family: var(--serif); font-size: 1.4rem; font-weight: 500 }
.tc .t { font-family: var(--mono); font-size: .7rem; color: var(--gold-text); margin-top: 4px }
.tc .i { font-size: .74rem; color: var(--dim); margin-top: 6px }
.gauge { width: 84px; height: 84px }
.gauge .arc { fill: none; stroke: var(--line); stroke-width: 6; stroke-linecap: round }
.gauge .band { fill: none; stroke: var(--gold-fill); stroke-width: 6 }
.gauge .needle { stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; transform-origin: 42px 46px; transform: rotate(-90deg); transition: transform 1s var(--ease) }
.gauge .hub { fill: var(--gold-deep) }
.gauge .ok { fill: var(--ok); opacity: 0 }
.tc.in .needle { transform: rotate(var(--deg, 0deg)) }
.tc.in .ok { opacity: 1 }
.trace { margin-top: 14px; border: 1px solid var(--line); background: var(--panel); padding: 12px 16px }
.trace-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin-bottom: 12px }
.chain { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr 1fr 1fr } }
.cn { border: 1px solid var(--line); background: var(--bg-2); padding: 10px; font-size: .8rem }
.cn .k { font-family: var(--mono); font-size: .64rem; color: var(--muted); display: flex; justify-content: space-between; letter-spacing: .05em; text-transform: uppercase }
.cn b { display: block; margin: 4px 0 2px; font-size: .86rem }
.cn span { font-family: var(--mono); font-size: .7rem; color: var(--gold-text); display: block }
.cn .sig { font-size: .72rem; color: var(--muted); margin-top: 4px }
.cn.on { border-color: var(--gold-deep); background: var(--gold-fill) }
.cn .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block }
.cn.on .k i { background: var(--ok) }

.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr } }
.pf { border: 1px solid var(--line); background: var(--panel); padding: 22px; display: flex; flex-direction: column }
.pf .shot { height: 96px; border: 1px dashed var(--line-2); margin-bottom: 16px; display: grid; place-items: center; color: var(--dim); font-family: var(--mono); font-size: .74rem; background: var(--bg-2) }
.pf p { color: var(--muted); font-size: .92rem; margin-top: 6px; flex: 1 }
.pf .tag { font-family: var(--mono); font-size: .72rem; color: var(--gold-text); margin-top: 14px }

.cmp { margin-top: 36px; border: 1px solid var(--line); background: var(--panel); overflow: hidden }
.row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line) }
.row:last-child { border-bottom: 0 }
.row > div { padding: 13px 16px; font-size: .9rem }
.row.head > div { font-family: var(--mono); font-size: .74rem; color: var(--muted); background: var(--bg-2) }
.row > div:nth-child(2), .row > div:nth-child(3) { color: var(--muted) }
.row > div:nth-child(4) { color: var(--gold-text); background: var(--gold-fill); font-weight: 600; display: flex; align-items: center; gap: 8px }
.row > div:nth-child(4) svg { width: 16px; height: 16px }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr }
  .row.head { display: none }
  .row > div:nth-child(2)::before { content: "Shopify + apps: "; color: var(--dim) }
  .row > div:nth-child(3)::before { content: "Jewelry ERP: "; color: var(--dim) }
}

.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px }
@media (max-width: 900px) { .nums { grid-template-columns: 1fr 1fr } }
.num { border: 1px solid var(--line); background: var(--panel); padding: 22px }
.num b { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; display: block; margin-bottom: 8px; color: var(--gold-text) }
.num p { color: var(--muted); font-size: .92rem }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 36px }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr } }
.plan { border: 1px solid var(--line); background: var(--panel); padding: 26px; display: flex; flex-direction: column; position: relative }
.plan.hot { border-color: var(--gold-deep); background: var(--gold-fill) }
.plan.hot::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-hair) }
.plan h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem }
.plan .who { color: var(--muted); font-size: .92rem; margin: 6px 0 20px }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1 }
.plan li { display: flex; gap: 10px; font-size: .9rem }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px }
.plan .btn { justify-content: center }

.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr } }
details { border-top: 1px solid var(--line); padding: 16px 0 }
details:last-of-type { border-bottom: 1px solid var(--line) }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1rem }
summary::-webkit-details-marker { display: none }
summary::after { content: "+"; font-family: var(--mono); color: var(--muted) }
details[open] summary::after { content: "–" }
details .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease) }
details[open] .ans { grid-template-rows: 1fr }
details .ans > p { overflow: hidden; margin: 0; color: var(--muted); font-size: .95rem }
details[open] .ans > p { margin-top: 12px }

.cta { text-align: center }
.cta-box { position: relative; border: 1px solid var(--line); background: var(--panel); padding: 64px 28px }
.cta-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-hair) }
.cta h2 { max-width: 16em; margin: 0 auto }
.cta .lede { margin: 16px auto 28px }
.cta-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap }

footer { padding: 28px 0 40px; color: var(--muted); font-size: .86rem; border-top: 1px solid var(--line) }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap }
.foot a { text-decoration: none; margin-right: 16px }

@media (min-width: 1200px) {
  .wrap { max-width: none; padding: 0 56px }
  .hero > .wrap { gap: 56px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .ticker-track { transform: none }
  .ll-body span { opacity: 1; transform: none }
  .qa-stamp { opacity: 1 }
  .scan.away { display: none }
}
