/* TokenLowCost — public site: landing, pricing, docs, auth. Loaded after app.css. */

body.site { background: #070708; overflow-x: hidden; }
body.site > main { overflow-x: clip; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.soft { color: transparent; background: linear-gradient(180deg, #9a9aa0 0%, #5c5c63 100%); -webkit-background-clip: text; background-clip: text; }
.ok-text { color: var(--accent); }
.nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; height: 60px; border-bottom: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.hdr.scrolled, .hdr.open { background: rgba(7, 7, 8, 0.82); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom-color: var(--line); }
.hdr .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr-links { display: flex; gap: 2px; }
.hdr-links a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 8px; font-size: 14px; color: var(--fg-2); transition: color 0.12s, background 0.12s; }
.hdr-links a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }
.hdr-links a.on { color: var(--fg); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-menu { display: none; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line-2); border-radius: 9px; background: none; color: var(--fg); cursor: pointer; }
.hdr-menu svg { width: 16px; height: 16px; }
.hdr-drop { display: none; }

/* ---------- Buttons (site sizes) ---------- */
.btn-xl { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-xl [data-icon] { width: 16px; height: 16px; }
.btn-glass { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- Common bits ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: 0.01em; color: var(--accent); }
.kicker::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: 0.7; }
.sec { padding-top: 128px; }
.sec-hd { max-width: 720px; }
.sec-hd.center { margin: 0 auto; text-align: center; }
.sec-hd.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-hd.split > div { max-width: 640px; }
.sec-hd h2 { margin-top: 16px; font-size: 44px; line-height: 1.08; letter-spacing: -0.038em; }
.sec-hd p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.panel2 { border: 1px solid var(--line); border-radius: 16px; background: #0c0c0e; overflow: hidden; }
.ctag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 11px; font-weight: 500; color: var(--fg-3); white-space: nowrap; }
.ctag.new { color: var(--accent); border-color: rgba(62, 207, 142, 0.3); background: rgba(62, 207, 142, 0.08); }
.ctag.code { color: #8ab4f8; border-color: rgba(138, 180, 248, 0.28); background: rgba(138, 180, 248, 0.07); }
.tier { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); white-space: nowrap; }
.tier::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
.tier.flagship::before { background: #f5f5f5; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1); }
.tier.balanced::before { background: #7aa2ff; }
.tier.fast::before { background: #f5b731; }
.tier.budget::before { background: var(--accent); }
.was { color: var(--fg-4); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.25); }
.save { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(62, 207, 142, 0.1); color: var(--accent); font: 500 12px var(--mono); }
.mname { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mname .nm { font-size: 14px; font-weight: 500; color: var(--fg); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mname .id { margin-top: 2px; font: 12px var(--mono); color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv.lg { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.copy-id { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--fg-4); cursor: pointer; vertical-align: middle; transition: color 0.12s, background 0.12s; }
.copy-id:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.copy-id svg { width: 13px; height: 13px; }

/* ---------- Hero ---------- */
.hero2 { position: relative; padding: 84px 0 0; }
.hero2::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 900px; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 28%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 50% at 50% 28%, #000 20%, transparent 75%);
}
.hero2::after { content: ""; position: absolute; left: 50%; top: -120px; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(62, 207, 142, 0.1), transparent 70%); }
.hero-top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 4px; max-width: 100%;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--fg-2); transition: border-color 0.15s, background 0.15s;
}
.pill:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.05); color: var(--fg); }
.pill b { height: 24px; padding: 0 9px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; flex: none; }
.pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill [data-icon] { width: 14px; height: 14px; color: var(--fg-3); }
.hero2 h1 { margin-top: 28px; font-size: 78px; line-height: 1; letter-spacing: -0.052em; font-weight: 600; }
.hero2 .lead { margin-top: 26px; max-width: 640px; font-size: 18.5px; line-height: 1.6; color: var(--fg-2); }
.hero-cta { margin-top: 34px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.url-row { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.url-chip { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 5px 0 13px; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); font: 13px var(--mono); color: var(--fg); }
.url-chip .ps { color: var(--fg-4); }
.url-chip code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-stats { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; row-gap: 16px; }
.hero-stats > div { padding: 0 30px; border-left: 1px solid var(--line); text-align: center; }
.hero-stats > div:first-child { border-left: 0; }
.hero-stats b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hero-stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--fg-3); }

/* Sample-session card */
.live { position: relative; z-index: 1; max-width: 900px; margin: 72px auto 0; }
.live::before { content: ""; position: absolute; inset: -40px -80px -60px; background: radial-gradient(closest-side, rgba(62, 207, 142, 0.08), transparent 72%); pointer-events: none; }
.live-card {
  position: relative; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #121215, #0c0c0e 40%); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.live-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.live-hd h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.live-hd p { margin-top: 2px; font-size: 12px; color: var(--fg-3); }
/* Marks made-up numbers on the landing page, so no one takes them for a real account. */
.eg { flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; background: #0a0a0c; font: 500 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.live-cols, .live-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 120px 120px; gap: 16px; align-items: center; padding: 0 20px; }
.live-cols { height: 38px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--fg-3); }
.live-cols span:not(:first-child), .live-row > div:not(:first-child) { text-align: right; }
.live-rows { height: 372px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.live-row { height: 62px; border-bottom: 1px solid var(--line); }
.live-row .l { font: 12.5px var(--mono); color: var(--fg-4); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.22); }
.live-row.in { animation: rowIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px); background: rgba(62, 207, 142, 0.07); } to { opacity: 1; transform: none; background: transparent; } }
.live-row .m { display: flex; align-items: center; gap: 11px; min-width: 0; }
.live-row .m b { display: block; font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-row .m small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-row .tk { font: 12px var(--mono); color: var(--fg-2); line-height: 1.45; }
.live-row .tk small { display: block; color: var(--fg-4); font-size: 11px; }
.live-row .c { font: 500 13.5px var(--mono); font-variant-numeric: tabular-nums; }
.live-ft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.live-ft > div { padding: 14px 18px 16px; border-left: 1px solid var(--line); min-width: 0; }
.live-ft > div:first-child { border-left: 0; }
.live-ft span { font-size: 11.5px; color: var(--fg-3); }
.live-ft b { display: block; margin-top: 5px; font-size: 19px; font-weight: 600; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-ft b.ok { color: var(--accent); }
.float-tip {
  position: absolute; right: -214px; top: 104px; z-index: 2; width: 228px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(20, 20, 24, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95);
}
.float-tip .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-dim); color: var(--accent); }
.float-tip .ic [data-icon] { width: 16px; height: 16px; }
.float-tip b { display: block; font-size: 13px; font-weight: 500; }
.float-tip small { display: block; margin-top: 1px; font-size: 12px; color: var(--fg-3); }

/* ---------- Works-with strip ---------- */
.works { margin-top: 104px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.01); }
.works .container { display: flex; align-items: center; gap: 40px; min-height: 76px; }
.works .lbl { flex: none; font-size: 13px; color: var(--fg-3); }
.works ul { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 0; padding: 0; list-style: none; }
.works li { display: inline-flex; align-items: center; gap: 9px; font: 500 14px var(--mono); color: var(--fg-2); letter-spacing: -0.01em; }
.works li i { width: 7px; height: 7px; border-radius: 2px; background: var(--fg-4); }

/* ---------- Ranked models ---------- */
.rank-card { margin-top: 44px; }
.rank-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.rank-tools .hint { font-size: 12.5px; color: var(--fg-3); }
table.rank { width: 100%; border-collapse: collapse; font-size: 14px; }
.rank th { height: 40px; padding: 0 16px; text-align: left; font-size: 12px; font-weight: 500; color: var(--fg-3); border-bottom: 1px solid var(--line); white-space: nowrap; }
.rank td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.rank tbody tr:last-child td { border-bottom: 0; }
.rank tbody tr { transition: background 0.12s; }
.rank tbody tr:hover { background: rgba(255, 255, 255, 0.022); }
.rank .r { text-align: right; }
.rank .n { width: 52px; font: 500 12.5px var(--mono); color: var(--fg-4); }
.rank .n.top, .ptable .n.top { color: var(--fg); }
.rank .num { font: 500 13.5px var(--mono); font-variant-numeric: tabular-nums; }
.rank .num .was { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; }
.rank .dim { color: var(--fg-3); }
.rank-ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }

/* ---------- Labs grid ---------- */
.labs { margin-top: 44px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.lab { display: flex; flex-direction: column; gap: 16px; min-height: 164px; padding: 18px 18px 16px; background: #09090b; transition: background 0.15s; }
.lab:hover { background: #111114; }
.lab .top { display: flex; align-items: center; justify-content: space-between; }
.lab .cnt { font: 12px var(--mono); color: var(--fg-3); }
.lab h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lab p { margin-top: 4px; font-size: 12.5px; color: var(--fg-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab .from { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font: 12px var(--mono); color: var(--fg-2); }
.lab .from [data-icon] { width: 14px; height: 14px; color: var(--fg-4); transition: transform 0.15s, color 0.15s; }
.lab:hover .from [data-icon] { transform: translateX(2px); color: var(--fg); }
.lab.more { display: none; }

/* ---------- Feature cards ---------- */
.bento2 { margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.fcard { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.008)); }
.fcard.w2 { grid-column: span 2; } .fcard.w3 { grid-column: span 3; } .fcard.w4 { grid-column: span 4; }
.fcard h3 { font-size: 18px; letter-spacing: -0.018em; }
.fcard p { margin-top: 8px; max-width: 48ch; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.fcard .viz { margin-top: auto; }
.vbox { position: relative; border: 1px solid var(--line); border-radius: 12px; background: #0a0a0c; }
.vbox > .eg { position: absolute; top: -11px; right: 12px; z-index: 1; }
.routes2 { font: 12.5px var(--mono); }
.routes2 .rt { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--fg); }
.routes2 .rt:first-child { border-top: 0; }
.routes2 .rt b { font-weight: 500; color: var(--accent); }
.routes2 .rt em { font-style: normal; font-size: 11.5px; color: var(--fg-3); }
.keyviz { padding: 14px 16px; }
.keyviz .row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; }
.keyviz .row1 code { font-size: 11.5px; color: var(--fg-3); font-weight: 400; }
.keyviz .track { margin-top: 12px; height: 6px; }
.keyviz .row2 { margin-top: 9px; display: flex; justify-content: space-between; font: 11.5px var(--mono); color: var(--fg-3); }
.keyviz + .keyviz { border-top: 1px solid var(--line); }
.receipt2 { font: 12.5px var(--mono); }
.receipt2 div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line); color: var(--fg-3); }
.receipt2 div:first-child { border-top: 0; }
.receipt2 div span:last-child { color: var(--fg); }
.receipt2 .tot span:last-child { color: var(--accent); font-weight: 500; }
.cachebars { display: flex; flex-direction: column; gap: 14px; padding: 16px; font: 12px var(--mono); color: var(--fg-3); }
.cachebars .ln { display: grid; grid-template-columns: 92px minmax(0, 1fr) 58px; gap: 12px; align-items: center; }
.cachebars .bar { height: 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.cachebars .bar i { display: block; height: 100%; border-radius: inherit; background: var(--fg-3); }
.cachebars .bar i.ok { background: var(--accent); }
.cachebars .ln span:last-child { text-align: right; color: var(--fg); }
.cachebars .cap { padding-left: 104px; font-size: 11.5px; color: var(--fg-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.matchviz { font: 12.5px var(--mono); }
.matchviz div { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); color: var(--fg-3); }
.matchviz div:first-child { border-top: 0; }
.matchviz div span:nth-child(2) { color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matchviz .ok { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }
.matchviz .ok [data-icon] { width: 13px; height: 13px; }
.chartviz { position: relative; height: 150px; padding: 14px 14px 26px; }
.chartviz .bars2 { position: absolute; left: 14px; right: 14px; bottom: 26px; top: 14px; display: flex; align-items: flex-end; gap: 5px; }
.chartviz .bars2 i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #e8865f 0 38%, #3ecf8e 38% 72%, #8ab4f8 72%); opacity: 0.35; }
.chartviz .bars2 i.on { opacity: 1; }
.chartviz .axis { position: absolute; left: 14px; right: 14px; bottom: 8px; display: flex; justify-content: space-between; font: 10.5px var(--mono); color: var(--fg-4); }
.balviz { padding: 16px; }
.balviz .bv span { font-size: 12px; color: var(--fg-3); }
.balviz .bv b { display: block; margin-top: 4px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.balviz .bv-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 12.5px var(--mono); color: var(--fg-3); }
.balviz .bv-row span:last-child:not(.was) { color: var(--fg); }
.chartviz .tt2 { position: absolute; left: calc(64% + 6px); top: 12px; min-width: 150px; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(22, 22, 26, 0.97); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.9); }
.chartviz .tt2 .d { font-size: 11px; color: var(--fg-3); }
.chartviz .tt2 .t { margin-top: 2px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.chartviz .tt2 .r { margin-top: 6px; display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 7px; align-items: center; font-size: 11px; color: var(--fg-2); }
.chartviz .tt2 .r i { width: 7px; height: 7px; border-radius: 2px; }
.chartviz .tt2 .r b { font: 500 11px var(--mono); color: var(--fg); }

/* ---------- Calculator ---------- */
.calc { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #0c0c0e; }
.calc-in { display: flex; flex-direction: column; gap: 26px; padding: 30px; }
.calc-in .field > label { display: flex; justify-content: space-between; align-items: baseline; }
.calc-in .field > label b { font: 500 13px var(--mono); color: var(--fg); }
.calc-out { display: flex; flex-direction: column; gap: 26px; padding: 30px; border-left: 1px solid var(--line); background: radial-gradient(110% 90% at 100% 0%, rgba(62, 207, 142, 0.09), transparent 60%); }
.calc-out .k { font-size: 13px; color: var(--fg-3); }
.calc-out .big { margin-top: 8px; font-size: 54px; font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.calc-out .big small { font-size: 18px; font-weight: 500; color: var(--fg-3); letter-spacing: -0.01em; }
.calc-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, 0.25); }
.calc-cmp > div { padding: 14px 16px; }
.calc-cmp > div + div { border-left: 1px solid var(--line); }
.calc-cmp span { font-size: 12px; color: var(--fg-3); }
.calc-cmp b { display: block; margin-top: 6px; font: 600 20px var(--font); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-cmp b.was { font-weight: 500; }
.calc-note { font-size: 12.5px; color: var(--fg-3); line-height: 1.55; }
.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; margin: 6px 0; border-radius: 3px; outline: none; cursor: pointer; background: linear-gradient(90deg, var(--fg) var(--p, 50%), rgba(255, 255, 255, 0.1) var(--p, 50%)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.6); }
.range::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.6); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(62, 207, 142, 0.45); }
.range-scale { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--fg-4); }

/* ---------- Setup ---------- */
.setup2 { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 48px; align-items: start; }
.stepper { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.stepper li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; padding-bottom: 30px; }
.stepper li::before { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: 4px; width: 1px; background: linear-gradient(180deg, var(--line-2), transparent); }
.stepper li:last-child { padding-bottom: 0; }
.stepper li:last-child::before { display: none; }
.stepper .no { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: #0c0c0e; font: 500 13px var(--mono); color: var(--fg); }
.stepper h4 { margin-top: 7px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.stepper p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.stepper code { font-size: 12.5px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.editor { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: #0b0b0d; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.editor-bar { display: flex; align-items: center; gap: 16px; height: 46px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.018); overflow-x: auto; scrollbar-width: none; }
.editor-bar::-webkit-scrollbar { display: none; }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #2b2b30; }
.etabs { display: flex; gap: 2px; }
.etab { height: 30px; padding: 0 11px; border: 0; border-radius: 7px; background: none; font-size: 13px; font-weight: 500; color: var(--fg-3); cursor: pointer; white-space: nowrap; transition: color 0.12s, background 0.12s; }
.etab:hover { color: var(--fg); }
.etab.on { color: var(--fg); background: rgba(255, 255, 255, 0.075); }
.editor-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 38px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--fg-3); }
.editor pre { margin: 0; min-height: 250px; padding: 18px 20px 22px; overflow: auto; font: 13px/1.75 var(--mono); color: var(--fg-2); }
.editor-file #efile { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.editor-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.editor-acts .seg { font-family: var(--font); }

/* Syntax tokens */
.t-c { color: #56565d; }
.t-s { color: #9fe3b8; }
.t-k { color: #f0f0f0; font-weight: 500; }
.t-p { color: #8ab4f8; }
.t-n { color: #f5b97a; }
.t-u { color: #e6e6e6; }

/* ---------- FAQ ---------- */
.faq2 { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq2 .sec-hd { position: sticky; top: 100px; }
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--fg-3); transition: transform 0.2s, color 0.2s, border-color 0.2s; }
.qa summary .pm [data-icon] { width: 13px; height: 13px; }
.qa summary:hover .pm { color: var(--fg); border-color: var(--line-3); }
.qa[open] summary .pm { transform: rotate(45deg); color: var(--fg); }
.qa .a { padding: 0 44px 24px 0; font-size: 15px; line-height: 1.7; color: var(--fg-2); }

/* ---------- CTA + footer ---------- */
.cta2 { position: relative; margin-top: 136px; padding: 72px 40px; border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(62, 207, 142, 0.16), transparent 62%), #0c0c0e; }
.cta2::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%); }
.cta2 > * { position: relative; }
.cta2 h2 { font-size: 50px; line-height: 1.05; letter-spacing: -0.042em; }
.cta2 p { margin: 16px auto 0; max-width: 520px; font-size: 17px; color: var(--fg-2); }
.cta2 .row { margin-top: 32px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ftr { margin-top: 120px; padding: 56px 0 36px; border-top: 1px solid var(--line); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.ftr-grid p { margin-top: 14px; max-width: 32ch; font-size: 13.5px; line-height: 1.6; color: var(--fg-3); }
.ftr h5 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--fg); }
.ftr-grid a:not(.brand) { display: block; padding: 5px 0; font-size: 14px; color: var(--fg-3); transition: color 0.12s; }
.ftr-grid a:not(.brand):hover { color: var(--fg); }
.ftr-grid .mono { font-size: 12.5px; }
.ftr-bot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.ftr-bot .status { display: inline-flex; align-items: center; gap: 8px; }
.ftr-bot .status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }

/* ---------- Pricing page ---------- */
.phero { position: relative; padding: 76px 0 0; }
.phero::before { content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 520px; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 55% 60% at 50% 20%, #000 20%, transparent 75%); }
.phero > .container { position: relative; }
.phero h1 { margin-top: 18px; font-size: 60px; line-height: 1.03; letter-spacing: -0.046em; }
.phero .lead { margin-top: 20px; max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--fg-2); }
.pstats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: #0c0c0e; }
.pstats > div { padding: 18px 20px; min-width: 0; }
.pstats > div + div { border-left: 1px solid var(--line); }
.pstats span { font-size: 12.5px; color: var(--fg-3); }
.pstats b { display: block; margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ptools { position: sticky; top: 60px; z-index: 30; margin-top: 44px; padding: 12px 0; background: rgba(7, 7, 8, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.ptools .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search2 { position: relative; flex: 1 1 240px; max-width: 320px; }
.search2 .input { height: 36px; padding-left: 36px; padding-right: 36px; }
.search2 > [data-icon] { position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--fg-3); pointer-events: none; }
.search2 kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 20px; min-width: 20px; padding: 0 5px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 5px; font-size: 11px; color: var(--fg-3); }
.ptools select.input { width: auto; height: 36px; font-size: 13.5px; }
.ptools .grow { flex: 1; }
.tchip { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 500; color: var(--fg-2); cursor: pointer; transition: all 0.12s; }
.tchip:hover { color: var(--fg); border-color: var(--line-3); }
.tchip.on { color: #0a0a0a; background: var(--fg); border-color: var(--fg); }
.tchip [data-icon] { width: 13px; height: 13px; }
.ptable-card { margin-top: 20px; }
table.ptable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptable th { height: 42px; padding: 0 14px; text-align: left; font-size: 12px; font-weight: 500; color: var(--fg-3); border-bottom: 1px solid var(--line); white-space: nowrap; background: rgba(255, 255, 255, 0.012); }
.ptable th.sortable { cursor: pointer; user-select: none; }
.ptable th.sortable:hover { color: var(--fg); }
.ptable th .ar { display: inline-block; width: 10px; margin-left: 3px; color: var(--fg); }
.ptable td { padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
.ptable th:first-child, .ptable td:first-child { padding-left: 18px; }
.ptable th:last-child, .ptable td:last-child { padding-right: 18px; }
.ptable tbody tr { transition: background 0.12s; }
.ptable tbody tr:hover { background: rgba(255, 255, 255, 0.022); }
.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable .r { text-align: right; }
.ptable .n { width: 44px; font: 500 12.5px var(--mono); color: var(--fg-4); }
.ptable .num { font: 500 13.5px var(--mono); font-variant-numeric: tabular-nums; }
.ptable .num .was { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; }
.ptable .num .lc { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 400; color: var(--warn); cursor: help; }
.ptable .dim { color: var(--fg-3); }
.ptable tr.grp td { padding: 10px 18px; background: rgba(255, 255, 255, 0.02); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; color: var(--fg-2); }
.ptable tr.grp td em { margin-left: 10px; font-style: normal; font-weight: 400; color: var(--fg-4); }
.ptable tr.grp:hover { background: transparent; }
.pempty { padding: 56px 20px; text-align: center; color: var(--fg-3); font-size: 14px; }
.pempty b { display: block; margin-bottom: 4px; font-size: 15px; color: var(--fg); font-weight: 500; }
.pnotes { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pnote { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.012); }
.pnote .ic { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--fg-2); }
.pnote .ic [data-icon] { width: 16px; height: 16px; }
.pnote h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.pnote p { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--fg-3); }

/* ---------- Docs ---------- */
.docs2 { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 56px; padding-top: 44px; }
.dnav { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: none; padding-bottom: 24px; }
.dnav::-webkit-scrollbar { display: none; }
.dnav .grp { padding: 18px 10px 7px; font-size: 11.5px; font-weight: 500; color: var(--fg-4); }
.dnav .grp:first-child { padding-top: 0; }
.dnav a { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 13.5px; color: var(--fg-2); transition: color 0.12s, background 0.12s; }
.dnav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.035); }
.dnav a.on { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.dnav a .gl { width: 20px; height: 20px; font-size: 10px; border-radius: 6px; }
.dbody { min-width: 0; max-width: 800px; }
.dhero h1 { margin-top: 14px; font-size: 46px; line-height: 1.05; letter-spacing: -0.042em; }
.dhero .lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--fg-2); max-width: 62ch; }
.conn { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.conn > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 14px 10px 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #0c0c0e; }
.conn span { display: block; font-size: 12px; color: var(--fg-3); }
.conn code { display: block; margin-top: 4px; font-size: 13px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: linear-gradient(180deg, #1a1a1e, #111114); font: 600 13px var(--mono); color: var(--fg); letter-spacing: -0.02em; }
.gl.lg { width: 44px; height: 44px; border-radius: 12px; font-size: 15px; }
.tools2 { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tool2 { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.014); transition: border-color 0.15s, background 0.15s; }
.tool2:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.03); }
.tool2 h4 { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; }
.tool2 p { margin-top: 3px; font-size: 12.5px; line-height: 1.5; color: var(--fg-3); }
.dsec { padding: 64px 0 0; scroll-margin-top: 72px; }
.dsec + .dsec { margin-top: 64px; border-top: 1px solid var(--line); }
.dsec-hd { display: flex; align-items: center; gap: 16px; }
.dsec-hd h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.032em; }
.dsec-hd .meta { margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--fg-3); }
.dsec-hd .meta span { display: inline-flex; align-items: center; gap: 6px; }
.dsec-hd .meta [data-icon] { width: 13px; height: 13px; }
.dsec > p, .dsec .p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: var(--fg-2); }
.dsec p code, .dsec li code, .callout code, .dtable code { font-size: 12.5px; padding: 1.5px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--fg); }
.dsec p a, .callout a, .dtable a, .rules a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-4); }
.dsec p a:hover, .dtable a:hover, .rules a:hover { text-decoration-color: var(--fg); }
.dsec h3 { margin-top: 34px; font-size: 17px; letter-spacing: -0.015em; }
.dsteps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: ds; }
.dsteps > li { position: relative; padding: 0 0 30px 50px; counter-increment: ds; }
.dsteps > li::before { content: counter(ds); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: #0c0c0e; font: 500 12.5px var(--mono); color: var(--fg); }
.dsteps > li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 6px; width: 1px; background: var(--line); }
.dsteps > li:last-child { padding-bottom: 0; }
.dsteps > li:last-child::after { display: none; }
.dsteps h4 { padding-top: 5px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dsteps p { margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: var(--fg-2); }
.dsteps .cblock, .dsteps .callout { margin-top: 14px; }
.dsteps b, .dsec > p b { color: var(--fg); font-weight: 500; }
.cblock { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0b0b0d; }
.cblock-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 40px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.cblock-hd .fn { display: inline-flex; align-items: center; gap: 8px; font: 12px var(--mono); color: var(--fg-3); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cblock-hd .fn [data-icon] { width: 13px; height: 13px; }
.cblock-tabs { display: flex; gap: 2px; }
.cblock-tabs button { height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: none; font-size: 12.5px; font-weight: 500; color: var(--fg-3); cursor: pointer; }
.cblock-tabs button.on { color: var(--fg); background: rgba(255, 255, 255, 0.07); }
.cblock pre { margin: 0; padding: 16px 18px; overflow: auto; font: 13px/1.72 var(--mono); color: var(--fg-2); }
.cblock pre.wrap, .editor pre.wrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.cblock .copy { height: 28px; padding: 0 9px; gap: 6px; font-size: 12.5px; color: var(--fg-3); }
.cblock .copy:hover { color: var(--fg); }
.callout { margin-top: 18px; display: flex; gap: 12px; padding: 14px 16px; border: 1px solid rgba(62, 207, 142, 0.24); border-radius: 12px; background: rgba(62, 207, 142, 0.05); font-size: 14px; line-height: 1.65; color: var(--fg-2); }
.callout > [data-icon] { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.callout.warn { border-color: rgba(245, 183, 49, 0.26); background: rgba(245, 183, 49, 0.05); }
.callout.warn > [data-icon] { color: var(--warn); }
.callout.info { border-color: rgba(138, 180, 248, 0.24); background: rgba(138, 180, 248, 0.05); }
.callout.info > [data-icon] { color: #8ab4f8; }
.callout b { color: var(--fg); font-weight: 500; }
.dtable { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.dtable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { height: 38px; padding: 0 14px; text-align: left; font-size: 12px; font-weight: 500; color: var(--fg-3); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.dtable td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--fg-2); vertical-align: top; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td:first-child { white-space: nowrap; color: var(--fg); }
.st-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font: 500 12px var(--mono); background: rgba(242, 109, 109, 0.1); color: #f59a9a; }
.st-pill.warn { background: rgba(245, 183, 49, 0.1); color: #f7c85a; }
.st-pill.plain { background: rgba(255, 255, 255, 0.06); color: var(--fg-2); }
.mini-models { margin-top: 18px; }
.mini-models .row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); }
.mini-models .row:first-child { border-top: 0; }
.mini-models .row .p { margin: 0; font: 12.5px var(--mono); color: var(--fg-2); text-align: right; white-space: nowrap; }
.docs-foot { margin-top: 72px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 16px; background: radial-gradient(90% 140% at 100% 0%, rgba(62, 207, 142, 0.1), transparent 60%), #0c0c0e; }
.docs-foot h3 { font-size: 20px; letter-spacing: -0.02em; }
.docs-foot p { margin-top: 6px; font-size: 14px; color: var(--fg-2); }

/* ---------- Terms ---------- */
.dhero .fine { margin-top: 12px; font-size: 13px; color: var(--fg-3); }
.dhero .callout { margin-top: 26px; }
.rules { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rules li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.7; color: var(--fg-2); }
.rules li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rules.no li::before { left: 2px; top: 12px; width: 10px; height: 2px; border-radius: 1px; background: var(--danger); }
.rules b { color: var(--fg); font-weight: 500; }

/* ---------- Auth ---------- */
body.auth-body { background: #070708; }
.auth2 { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.auth2-main { display: flex; flex-direction: column; min-height: 100vh; padding: 26px 40px 30px; }
.auth2-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth2-top .back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--fg-3); }
.auth2-top .back:hover { color: var(--fg); }
.auth2-top .back [data-icon] { width: 14px; height: 14px; transform: rotate(180deg); }
.auth2-mid { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.auth2-card { width: 100%; max-width: 380px; }
.auth2-card h1 { font-size: 32px; line-height: 1.12; letter-spacing: -0.035em; }
.auth2-card .sub { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.auth2-card form { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.auth2-card .input { height: 42px; font-size: 14.5px; border-radius: 9px; }
.auth2-card .btn-primary { height: 42px; border-radius: 9px; font-size: 14.5px; }
.auth2-card form .msg:empty { display: none; }
.auth2-card .alt { margin-top: 26px; font-size: 14px; color: var(--fg-3); }
.auth2-card .alt a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-4); }
.auth2-card .alt a:hover { text-decoration-color: var(--fg); }
.pw { position: relative; }
.pw .input { padding-right: 44px; }
.pw button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 7px; background: none; color: var(--fg-3); cursor: pointer; }
.pw button:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.pw button svg { width: 16px; height: 16px; }
.pw-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.pw-meter i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); transition: background 0.2s; }
.pw-meter[data-s="1"] i:nth-child(-n + 1) { background: var(--danger); }
.pw-meter[data-s="2"] i:nth-child(-n + 2) { background: var(--warn); }
.pw-meter[data-s="3"] i:nth-child(-n + 3) { background: #9be15d; }
.pw-meter[data-s="4"] i { background: var(--accent); }
.auth2-legal { font-size: 12.5px; color: var(--fg-3); line-height: 1.6; }
.auth2-legal a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-4); }
.bonus-note { margin-top: 20px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(62, 207, 142, 0.28); border-radius: 10px; background: rgba(62, 207, 142, 0.06); font-size: 13.5px; line-height: 1.55; color: var(--fg-2); }
.bonus-note > [data-icon] { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--accent); }
.bonus-note b { color: var(--fg); font-weight: 600; }
.auth2-card .bonus-note + form { margin-top: 22px; }
.auth2-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--fg-4); }
.auth2-side { position: relative; margin: 10px 10px 10px 0; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: 56px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: radial-gradient(90% 80% at 100% 0%, rgba(62, 207, 142, 0.12), transparent 60%), #0c0c0e; }
.auth2-side::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000, transparent 75%); }
.auth2-side > * { position: relative; }
.auth2-side h2 { max-width: 15ch; font-size: 40px; line-height: 1.08; letter-spacing: -0.04em; }
.auth2-side .lead { margin-top: 14px; max-width: 44ch; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }
.side-models { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(10, 10, 12, 0.85); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95); }
.side-models .hd { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.side-models .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); }
.side-models .row:first-of-type { border-top: 0; }
.side-models .row .p { text-align: right; font: 500 13px var(--mono); }
.side-models .row .p s { display: block; font-size: 11px; font-weight: 400; color: var(--fg-4); }
.side-checks { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.side-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--fg-2); }
.side-checks li [data-icon] { flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--accent-dim); color: var(--accent); }
.side-checks b { color: var(--fg); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
  .float-tip { display: none; }
}
@media (max-width: 1120px) {
  .hero2 h1 { font-size: 64px; }
  .labs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* The "see everything" tile is only shown where it completes the last row (20 labs). */
  .lab.more { display: flex; }
  .fcard.w2, .fcard.w3, .fcard.w4 { grid-column: span 3; }
  .setup2 { grid-template-columns: 1fr; }
  .docs2 { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .auth2 { grid-template-columns: 1fr; }
  .auth2-side { display: none; }
}
@media (max-width: 900px) {
  .hdr-links, .hdr-cta .btn-ghost { display: none; }
  .hdr-menu { display: grid; }
  .hdr-cta { gap: 8px; }
  .hdr.open .hdr-drop { display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: 60px; padding: 10px 16px 16px; background: rgba(7, 7, 8, 0.97); border-bottom: 1px solid var(--line); }
  .hdr-drop a { display: flex; align-items: center; height: 42px; padding: 0 12px; border-radius: 9px; font-size: 15px; color: var(--fg-2); }
  .hdr-drop a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }
  .fcard.w2, .fcard.w3, .fcard.w4 { grid-column: span 6; }
  .calc { grid-template-columns: 1fr; }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .faq2 { grid-template-columns: 1fr; gap: 28px; }
  .faq2 .sec-hd { position: static; }
  .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .pstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pstats > div:nth-child(3) { border-left: 0; }
  .pstats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pnotes { grid-template-columns: 1fr; }
  .docs2 { grid-template-columns: 1fr; gap: 0; padding-top: 20px; }
  .dnav { position: sticky; top: 60px; z-index: 20; display: flex; gap: 4px; max-height: none; margin: 0 -28px; padding: 10px 28px; overflow-x: auto; background: rgba(7, 7, 8, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .dnav .grp { display: none; }
  .dnav a { flex: none; white-space: nowrap; }
  .dbody { padding-top: 32px; }
  .tools2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank .c-ctx { display: none; }
  .ptable .c-tier, .ptable .c-save { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero2 { padding-top: 48px; }
  .hero2 h1 { font-size: 42px; letter-spacing: -0.045em; }
  .hero2 .lead { font-size: 16.5px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; row-gap: 18px; }
  .hero-stats > div { padding: 0 12px; }
  .hero-stats > div:nth-child(3) { border-left: 0; }
  .hero-stats b { font-size: 21px; }
  .live { margin-top: 52px; }
  .live-cols, .live-row { grid-template-columns: minmax(0, 1fr) 92px; padding: 0 16px; }
  .live-cols span:nth-child(2), .live-cols span:nth-child(3), .live-row .tk, .live-row .l { display: none; }
  .live-rows { height: 310px; }
  .live-ft > div { padding: 12px 14px 14px; }
  .live-ft b { font-size: 16px; }
  .works { margin-top: 80px; }
  .works .container { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .works ul { gap: 10px 22px; }
  .sec { padding-top: 96px; }
  .sec-hd h2 { font-size: 32px; }
  .sec-hd p { font-size: 16px; }
  .labs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab { min-height: 140px; padding: 16px 14px 14px; }
  .lab.more { display: none; }
  .chartviz .tt2 { left: auto; right: 10px; }
  .rank .c-in, .rank .c-tier, .rank .c-save { display: none; }
  .rank-tools .hint { display: none; }
  .rank td, .rank th { padding-left: 12px; padding-right: 12px; }
  .fcard { padding: 22px; }
  .calc-in, .calc-out { padding: 22px; }
  .calc-out .big { font-size: 44px; }
  .cta2 { margin-top: 104px; padding: 52px 22px; }
  .cta2 h2 { font-size: 34px; }
  .phero { padding-top: 44px; }
  .phero h1 { font-size: 40px; }
  .ptools { position: static; }
  .ptools .container { gap: 8px; }
  .search2 { max-width: none; flex-basis: 100%; }
  .search2 kbd { display: none; }
  .ptools select.input { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .ptools select#sort { flex-basis: 100%; }
  .ptools .tchip { flex: none; }
  .ptools .grow { display: none; }
  .pstats b { font-size: 22px; }
  .ptable, .ptable tbody { display: block; }
  .ptable thead { display: none; }
  .ptable tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .ptable tbody tr:last-child { border-bottom: 0; }
  .ptable td { padding: 0 !important; border: 0; }
  .ptable td.c-n, .ptable td.c-tier, .ptable td.c-cache, .ptable td.c-save { display: none; }
  .ptable td.c-model { grid-column: 1 / -1; }
  .ptable td.c-ctx, .ptable td.c-in, .ptable td.c-out { text-align: left; }
  .ptable td.c-ctx::before, .ptable td.c-in::before, .ptable td.c-out::before { content: attr(data-l); display: block; margin-bottom: 2px; font: 11px var(--font); color: var(--fg-3); }
  .ptable tr.grp { display: block; padding: 10px 16px; }
  .ptable tr.grp td { display: block; padding: 0; background: none; border: 0; }
  .tools2 { grid-template-columns: 1fr; }
  .conn { grid-template-columns: 1fr; }
  .dhero h1 { font-size: 36px; }
  .dsec-hd h2 { font-size: 25px; }
  .dnav { margin: 0 -18px; padding: 10px 18px; }
  .auth2-main { padding: 20px 20px 24px; }
}
@media (max-width: 900px) and (min-width: 641px) {
  .live-cols, .live-row { grid-template-columns: minmax(0, 1fr) 130px 100px 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .live-row.in { animation: none; }
}
