/* ====================== Relai — light B&W ====================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Syne:wght@700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-2: #FAFAFA;
  --paper: #FFFFFF;
  --paper-2: #FAFAFA;
  --ink: #0A0A0A;
  --ink-2: #0A0A0A;
  --muted: #5A5A5A;
  --faint: #9A9A9A;
  --line: #E7E7E7;
  --line-2: #F2F2F2;

  --green: #0A0A0A;          /* B&W: black fills */
  --green-2: #2A2A2A;
  --green-ink: #FFFFFF;      /* text on black */
  --green-dim: #F0F0F0;      /* light gray badge */
  --red: #0A0A0A;
  --amber: #6B6B6B;

  --brand: #0A0A0A;
  --brand-2: #2A2A2A;
  --lime: #0A0A0A;
  --lime-ink: #FFFFFF;
  --pos: #0A0A0A;
  --pos-bg: #F0F0F0;

  --display: 'Inter', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1140px;

  --c-deepseek: #0A0A0A; --c-llama: #0A0A0A; --c-qwen: #0A0A0A;
  --c-mistral: #0A0A0A; --c-gpt: #0A0A0A; --c-gemini: #0A0A0A; --c-claude: #0A0A0A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
img, svg { display: block; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: 'Syne', var(--display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark { height: 28px; width: auto; display:block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link { padding: 8px 13px; border-radius: 9px; font-size: 14px; color: var(--muted); font-weight: 500; transition: color .15s, background .15s; }
.nav-links a.link:hover { color: var(--ink); background: var(--line-2); }
.nav-links a.link.active { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.btn { font-family: var(--body); font-weight: 600; font-size: 14px; padding: 10px 17px; border-radius: 11px; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .05s, box-shadow .15s, border-color .15s, background .15s; }
.btn:hover { box-shadow: 0 4px 14px -6px rgba(0,0,0,.22); border-color: #cfcfcf; }
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--ink); border-color: transparent; color: #fff; font-weight: 700; box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.btn-brand:hover { background: #000; box-shadow: 0 10px 24px -8px rgba(0,0,0,.3); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 7px 13px; border-radius: 9px; font-size: 13px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -18% -10% auto -10%; height: 700px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 16% 6%, rgba(0,0,0,0.05), transparent 62%),
    radial-gradient(520px 300px at 86% 2%, rgba(0,0,0,0.035), transparent 64%);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1);} 100% { transform: translate3d(-2%,1.5%,0) scale(1.06);} }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: 0; pointer-events: none; width: 100%; height: 220px; }
.chip-float { position: absolute; z-index: 1; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); transform: rotate(-8deg); }
.chip-float.v { background: #fff; border: 1.5px solid var(--ink); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center; padding: 84px 0 64px; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); box-shadow: 0 2px 8px -4px rgba(0,0,0,.1); }
.pill .ping { position: relative; width: 8px; height: 8px; }
.pill .ping i { position: absolute; inset: 0; border-radius: 50%; background: var(--ink); }
.pill .ping i.ring { animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.2); opacity: 0; } }

h1 { font-family: var(--display); font-weight: 800; font-size: 58px; line-height: 1.02; letter-spacing: -0.03em; margin: 22px 0 0; color: var(--ink); }
h1 .grad { color: var(--ink); }
.lede { font-size: 17.5px; color: var(--muted); max-width: 30em; margin: 20px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 30px; margin-top: 34px; }
.stat .v { font-family: var(--mono); font-weight: 600; font-size: 22px; color: var(--ink); }
.stat .l { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.stat .v.pos { color: var(--ink); }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.28); }
.works { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.works .wl { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.works .chip { font-family: var(--mono); font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hero-card .hc-top .lab { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero-card .hc-legend { display: flex; gap: 16px; margin: 14px 2px 0; font-size: 12.5px; color: var(--muted); }
.hero-card .hc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.swatch { width: 11px; height: 3px; border-radius: 2px; display: inline-block; }

/* ---- marketplace ---- */
.market { padding: 26px 0 70px; }
.market-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.ey { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
h2 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.025em; margin: 0; color: var(--ink); }
.market-head p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mcard { --c: var(--ink); position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.mcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--ink); }
.mcard:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -28px rgba(0,0,0,.3); border-color: #cfcfcf; }
.mc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mc-id { display: flex; align-items: center; gap: 12px; }
.glyph { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--line-2); border: 1px solid var(--line); color: var(--ink); }
.glyph svg { stroke: var(--ink); }
.mc-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.mc-sub { font-size: 12.5px; color: var(--faint); margin-top: 1px; }
.save-badge { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 999px; padding: 4px 9px; }

.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-now { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; color: var(--ink); }
.price-now small { font-size: 14px; font-weight: 600; color: var(--muted); }
.price-mkt { font-family: var(--mono); font-size: 14px; color: var(--faint); text-decoration: line-through; }
.you-lock { font-size: 12px; color: var(--faint); margin-top: 3px; }

.spread { margin: 16px 0 4px; }
.spread .track { position: relative; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.spread .fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; background: var(--ink); transition: width 1s cubic-bezier(.22,1,.36,1); }
.spread .marks { display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); letter-spacing: .02em; }

.mc-meta { display: flex; gap: 14px; margin: 14px 0 18px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); }
.mc-meta .sep { color: var(--line); }
.mc-foot { margin-top: auto; }
.buy-btn { width: 100%; border: none; border-radius: 12px; padding: 12px; font-family: var(--body); font-weight: 700; font-size: 14px; color: #fff; background: var(--ink); cursor: pointer; transition: filter .15s, transform .05s; }
.buy-btn:hover { background: #000; }
.buy-btn:active { transform: translateY(1px); }
.buy-btn.soon { background: #fff; color: var(--muted); border: 1px solid var(--line); cursor: default; }
.buy-btn.soon:hover { background: #fff; }
.tag-soon { font-family: var(--mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }

/* ---- how it works ---- */
.how { padding: 64px 0; border-top: 1px solid var(--line); background: #FAFAFA; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .15s, box-shadow .15s; }
.step:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(0,0,0,.18); }
.step .n { display:inline-flex; align-items:center; justify-content:center; background: var(--ink); color: #fff; font-weight: 700; border-radius: 8px; padding: 3px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.step h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 14px 0 8px; color: var(--ink); }
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.code { margin-top: 28px; background: #0A0A0A; border-radius: 16px; padding: 22px 24px; font-family: var(--mono); font-size: 13.5px; color: #D8D8D8; overflow-x: auto; line-height: 1.75; }
.code .c { color: #8A8A8A; } .code .k { color: #C9C9C9; }

/* ---- footer ---- */
/* (legacy footer styles removed — site uses .site-foot) */

/* ---- buy modal ---- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.46); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; z-index: 60; padding: 20px; }
.overlay.on { display: flex; }
.modal { --c: var(--ink); width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
.modal .m-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.modal h3 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0; color: var(--ink); }
.modal .close { margin-left: auto; background: none; border: none; font-size: 22px; color: var(--faint); cursor: pointer; line-height: 1; }
.amt-row { display: flex; gap: 8px; margin: 14px 0; }
.amt-row button { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-family: var(--mono); font-size: 13px; cursor: pointer; color: var(--ink-2); }
.amt-row button.sel { border-color: var(--ink); background: var(--line-2); color: var(--ink); font-weight: 600; }
.summary { background: var(--line-2); border-radius: 12px; padding: 14px 16px; margin: 6px 0 18px; font-size: 14px; }
.summary .line { display: flex; justify-content: space-between; padding: 5px 0; color: var(--muted); }
.summary .line.total { color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; }
.summary .line .mono { font-family: var(--mono); }
.modal-note { font-size: 12.5px; color: var(--faint); margin: 12px 0 0; text-align: center; }

/* ====================== dashboard ====================== */
.app-main { padding: 44px 0 80px; min-height: 62vh; }
.gate { max-width: 460px; margin: 56px auto; text-align: center; }
.gate h1 { font-size: 36px; }
.gate p { color: var(--muted); margin: 14px 0 26px; }
.gate-err { color: var(--ink); margin-top: 18px; font-size: 14px; display: none; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 10px; }
.dash-head h2 { margin: 0; }
.who { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.who b { color: var(--ink); font-weight: 600; }
.link-btn { background: none; border: none; color: var(--ink); font-family: var(--mono); font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.panel.full { grid-column: 1 / -1; }
.panel h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 4px; color: var(--ink); }
.panel .hint { font-size: 13px; color: var(--faint); margin: 0 0 18px; }
.bal { font-family: var(--display); font-weight: 800; font-size: 42px; letter-spacing: -0.03em; color: var(--ink); }
.soon-pill { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.keyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.keyrow:first-of-type { border-top: none; }
.keyrow .kn { font-family: var(--mono); color: var(--muted); }
.keyrow .kn b { color: var(--ink); font-weight: 600; }
.revoked { opacity: .45; }
.keyreveal { background: #0A0A0A; border-radius: 12px; padding: 14px 16px; margin-top: 16px; font-family: var(--mono); font-size: 13px; color: #ECECEC; word-break: break-all; }
.keyreveal .lbl { color: #9A9A9A; display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.field { display: flex; gap: 10px; margin-top: 16px; }
.field input { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; color: var(--ink); font-family: var(--body); font-size: 14px; }
.field input:focus { outline: none; border-color: var(--ink); }
table.usage { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.usage th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.usage td { padding: 10px; border-bottom: 1px solid var(--line-2); font-family: var(--mono); color: var(--muted); }
table.usage td.model { color: var(--ink); }
.empty { color: var(--faint); font-size: 14px; padding: 16px 0; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 600; z-index: 80; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; }
  h1 { font-size: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .panels { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
  .stats { gap: 22px; flex-wrap: wrap; }
  .nav-links a.link:not(.active) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } .pill .ping i.ring { animation: none; } .spread .fill { transition: none; } .hero::before { animation: none; } }

/* ---- status page ---- */
.status-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 40px 0 28px; }
.status-hero h1 { margin: 0; }
.status-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 999px; border: 1px solid; }
.status-badge.ok { color: #0A0A0A; background: #F0F0F0; border-color: #DADADA; }
.status-badge.down { color: #fff; background: #0A0A0A; border-color: #0A0A0A; }
.status-badge .d { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.stat-card .big { font-family: var(--display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; color: var(--ink); }
.stat-card .lbl { font-size: 13px; color: var(--faint); margin-top: 4px; }
.tre { font-family: var(--mono); font-size: 13.5px; word-break: break-all; background: var(--line-2); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.tre button { flex: 0 0 auto; }
.mini-rates { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.mini-rate { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mini-rate .nm { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.mini-rate .rt { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.mini-rate .st { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.muted-line { color: var(--faint); font-size: 13px; font-family: var(--mono); margin-top: 18px; }
@media (max-width: 700px) { .stat-grid { grid-template-columns: 1fr; } .mini-rates { grid-template-columns: 1fr; } }

/* ---- CTA ---- */
.wave-div { display: none; }
.cta { position:relative; overflow:hidden; max-width:var(--maxw); margin:72px auto; border-radius:26px; background: var(--ink); padding:54px 48px; text-align:center; }
.cta::after { content:''; position:absolute; inset:auto -10% -60% -10%; height:300px; background:radial-gradient(420px 200px at 30% 20%, rgba(255,255,255,.12), transparent 60%); pointer-events:none; }
.cta-in { position:relative; z-index:1; }
.cta h2 { color:#fff; font-size:38px; margin:0 0 12px; }
.cta p { color:rgba(255,255,255,.8); font-size:16px; margin:0 auto 26px; max-width:32em; }
.cta .btn { font-size:15px; padding:13px 22px; }
.cta .btn-brand { background:#fff; color:var(--ink); }
.cta .btn-brand:hover { background:#f0f0f0; }
@media (max-width:600px){ .cta{padding:40px 24px;margin:48px auto} .cta h2{font-size:28px} }

/* ---- home ticker strip ---- */
.home-ticker { border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; white-space: nowrap; }
.home-ticker .tt-track { display: inline-flex; align-items: center; animation: ttscroll 34s linear infinite; }
.home-ticker:hover .tt-track { animation-play-state: paused; }
.home-ticker .tt { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 22px; border-right: 1px solid var(--line-2); font-family: var(--mono); font-size: 13px; }
.home-ticker .tt .nm { color: var(--ink); font-weight: 600; }
.home-ticker .tt .px { color: var(--muted); }
.home-ticker .tt .ch.up { color: #11A66B; font-weight: 600; }
.home-ticker .tt .ch.down { color: #E5484D; font-weight: 600; }
@keyframes ttscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .home-ticker .tt-track { animation: none; } }

/* ---- models catalogue ---- */
.mtable-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.mtable { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 0.8fr 0.9fr; gap: 14px; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--line-2); }
.mtable:last-child { border-bottom: none; }
.mtable.head { background: #FAFAFA; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); padding: 12px 20px; }
.mtable .num { text-align: right; font-family: var(--mono); }
.mdl { display: flex; align-items: center; gap: 12px; }
.mn { font-family: var(--display); font-weight: 700; display: block; letter-spacing: -.01em; }
.ms { font-size: 12px; color: var(--faint); display: block; }
.lk { font-size: 16px; font-weight: 700; color: var(--ink); }
.sp { color: var(--faint); text-decoration: line-through; font-size: 13px; }
.sv { display: flex; align-items: center; gap: 10px; }
.sv-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.sv-bar i { display: block; height: 100%; background: var(--ink); }
.sv b { font-family: var(--mono); font-size: 12.5px; color: var(--ink); }
.ctx { color: var(--muted); font-size: 13px; }
.live-pill { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); }
@media (max-width: 760px) {
  .mtable { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .mtable .sp, .mtable .ctx, .mtable > span:nth-child(6),
  .mtable.head > span:nth-child(3), .mtable.head > span:nth-child(5), .mtable.head > span:nth-child(6) { display: none; }
}

/* ---- tier ladder (status) ---- */
.tier-ladder { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.tier-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tier-card .tn { font-family: var(--display); font-weight: 700; }
.tier-card .td { font-family: var(--mono); font-size: 22px; font-weight: 600; margin: 6px 0 2px; }
.tier-card .tm { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
@media (max-width: 700px) { .tier-ladder { grid-template-columns: 1fr 1fr; } }

/* ====================== premium scroll polish ====================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; } .reveal.d5 { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
.scroll-prog { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--ink); z-index: 60; transition: width .08s linear; }
.hero-card { transition: transform .25s ease, box-shadow .35s ease; }
.hero-card:hover { box-shadow: 0 50px 90px -42px rgba(0,0,0,.34); }

/* features */
.features { padding: 70px 0 16px; }
.sec-head { max-width: 640px; margin: 0 0 30px; }
.sec-head h2 { margin: 6px 0 10px; }
.sec-head p { color: var(--muted); font-size: 15.5px; margin: 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: #fff; transition: transform .18s, box-shadow .18s, border-color .18s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -30px rgba(0,0,0,.28); border-color: #cfcfcf; }
.feat .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 16px; }
.feat h3 { font-family: var(--display); font-weight: 700; font-size: 16.5px; margin: 0 0 8px; letter-spacing: -.01em; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; padding: 80px 24px; }
.faq .fh { text-align: center; margin-bottom: 30px; }
.faq .fh h2 { margin: 0 0 8px; }
.faq .fh p { color: var(--muted); margin: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa > button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: none; padding: 22px 4px; cursor: pointer; text-align: left; font-family: var(--display); font-weight: 600; font-size: 16.5px; color: var(--ink); letter-spacing: -.01em; }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.qa .ans p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; padding: 0 4px 22px; }
.qa.open .ans { max-height: 260px; }
.qa .ic { font-size: 24px; color: var(--faint); transition: transform .2s; flex: 0 0 auto; line-height: 1; }
.qa.open .ic { transform: rotate(45deg); }

/* ---- real model logos ---- */
.glyph { background: #fff; }
.glyph .mlogo, .glyph svg { width: 28px; height: 28px; }
.mlogo { object-fit: contain; display: block; width: 28px; height: 28px; }
.mdl .glyph .mlogo { width: 24px; height: 24px; }

/* ---- futures terminal showcase ---- */
.futures-show { padding: 86px 0 36px; }
.fs-head { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.fs-head h2 { margin: 6px 0 12px; }
.fs-head p { color: var(--muted); font-size: 16px; margin: 0 auto 24px; max-width: 560px; line-height: 1.6; }
.fs-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #c9c9c9; }
.fs-frame { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -46px rgba(0,0,0,.32); background: #fff; }
.fs-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: #FAFAFA; }
.fs-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #E2E2E2; }
.fs-bar .url { margin-left: 14px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.fs-frame img { display: block; width: 100%; height: auto; }

/* ---- centered hero variant ---- */
.hero-in.center { display: block; text-align: center; padding: 78px 0 26px; }
.hero-in.center > div { max-width: 720px; margin: 0 auto; }
.hero-in.center .lede { max-width: 36em; margin-left: auto; margin-right: auto; }
.hero-in.center .hero-cta { justify-content: center; }
.hero-in.center .stats { justify-content: center; }
.hero-in.center .works { justify-content: center; }
.futures-show { padding-top: 8px; }

/* ---- animated derivatives section ---- */
.derivatives { padding: 70px 0 30px; }
.deriv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
@media (max-width: 820px) { .deriv-grid { grid-template-columns: 1fr; } }
.deriv { border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 8px; background: #fff; display: flex; flex-direction: column; }
.deriv h3 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 10px; }
.deriv > p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; max-width: 42em; }
.deriv-anim { margin-top: auto; height: 168px; display: flex; align-items: center; justify-content: center; }
.deriv-anim svg { max-height: 168px; }
.deriv-anim .al, .deriv-anim .al2 { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; fill: #9A9A9A; }
.deriv-anim .ah { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; fill: #fff; }
.deriv-anim .at { font-family: var(--mono); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .deriv-anim animate, .deriv-anim animateMotion { display: none; } }

/* ---- how it works page ---- */
.how-page { max-width: 820px; padding: 56px 20px 90px; }
.hw-head { text-align: center; margin-bottom: 34px; }
.hw-head h1 { font-size: 38px; letter-spacing: -.025em; margin: 0 0 10px; }
.hw-head p { color: var(--muted); font-size: 16px; margin: 0; }
.hw-callout { border: 1px solid var(--line); background: var(--line-2); border-radius: 14px; padding: 16px 20px; font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-bottom: 26px; }
.hw-callout b { color: var(--ink); }
.hw-diagram { border: 1px solid var(--line); border-radius: 18px; background: #FAFAFA; padding: 32px 22px; }
.hw-flow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hw-flow.sub { margin-top: 26px; gap: 56px; }
.hw-box { min-width: 116px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 12px 14px; text-align: center; }
.hw-box.on { border-color: var(--ink); }
.hw-box .t { font-size: 14px; font-weight: 600; }
.hw-box .s { font-family: var(--mono); font-size: 10px; color: var(--faint); margin-top: 2px; }
.hw-arr { color: #C8C8C8; font-size: 18px; }
.hw-steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .hw-steps { grid-template-columns: 1fr; } .hw-flow.sub { gap: 24px; } }
.hw-steps li { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.hw-steps .n { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hw-steps .t { font-size: 14.5px; font-weight: 600; }
.hw-steps .s { font-size: 14px; color: var(--faint); margin-top: 1px; }
.hw-note { margin-top: 30px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.hw-note b { color: var(--ink); } .hw-note a { color: var(--ink); text-decoration: underline; }
.hw-cta { margin-top: 36px; display: flex; justify-content: center; }

/* ---- models catalogue (Auton-style cards) ---- */
.models-page { max-width: 1000px; padding: 50px 20px 90px; }
.mcat-head h1 { font-size: 34px; letter-spacing: -.025em; margin: 0 0 8px; }
.mcat-head p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.mcat-tabs { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.mcat-tabs button { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: 7px; align-items: center; }
.mcat-tabs button span { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mcat-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mcat-tabs button.on span { color: rgba(255,255,255,.6); }
.mcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .mcards { grid-template-columns: 1fr; } }
.mcard2 { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: #fff; display: flex; flex-direction: column; }
.mc2-top { display: flex; align-items: center; gap: 12px; }
.mc2-top .glyph { width: 42px; height: 42px; border-radius: 11px; }
.mc2-top .glyph .mlogo { width: 26px; height: 26px; }
.mc2-id { flex: 1; min-width: 0; }
.mc2-name { font-weight: 700; font-size: 15px; }
.mc2-mono { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-relai { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px; }
.on-relai .d { width: 6px; height: 6px; border-radius: 50%; background: #11A66B; }
.mc2-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 14px 0 14px; flex: 1; }
.mc2-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mod { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); background: var(--line-2); border-radius: 6px; padding: 4px 8px; }
.mc2-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); padding-top: 14px; flex-wrap: wrap; }
.mc2-price { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.mc2-price b { color: var(--ink); } .mc2-price .sep { color: var(--faint); }
.mc2-lock { background: var(--ink); color: #fff; border-radius: 9px; padding: 9px 14px; font-family: var(--body); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.mc2-lock:hover { background: #222; }

/* ---- site footer ---- */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 56px 0 30px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand-col { max-width: 320px; }
.foot-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.foot-logo img { height: 28px; width: auto; }
.foot-logo span { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.foot-brand-col p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.fc-h { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .12s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.foot-bottom span:first-child { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.fb-note { font-size: 11.5px; color: var(--faint); max-width: 560px; line-height: 1.5; }
