@charset "UTF-8";
:root {
  --bg: #f7f6f2;
  --bg-alt: #efede6;
  --surface: #ffffff;
  --ink: #0f1419;
  --muted: #5b6470;
  --line: #dcd9cf;
  --accent: #ff5b2e;
  --accent-ink: #ffffff;
  --term-bg: #0f1419;
  --term-ink: #d7dde4;
  --radius: 14px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0f14;
  --bg-alt: #10161d;
  --surface: #141b23;
  --ink: #eef1f4;
  --muted: #97a1ad;
  --line: #243040;
  --term-bg: #070a0e;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 24px; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 20px/1 var(--sans); letter-spacing: -0.02em; text-decoration: none; }
.links { display: flex; align-items: center; gap: 22px; }
.links a:not(.btn) { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.links a:not(.btn):hover { color: var(--ink); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 18px; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 26px 0 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card { background: var(--term-bg); border-radius: 18px; padding: 18px 22px 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.06); }
.term-head { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.term-head i { width: 11px; height: 11px; border-radius: 50%; background: #3a4450; }
.term-head i:first-child { background: var(--accent); }
.term-head span { margin-left: 10px; font-size: 12px; color: #7d8894; }
.term { margin: 0; color: var(--term-ink); font-size: 13.5px; line-height: 1.85; white-space: pre; overflow-x: auto; }
.term .c { color: #6b7684; }
.term .k { color: #8fb8ff; }
.term .ok { color: #6fdc9b; }
.cursor { color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-note { margin: 10px 0 0; font-size: 11px; color: #5d6875; text-align: right; }

/* Strip */
.strip { border-block: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 20px; font-size: 13px; color: var(--muted); }
.strip-inner span::before { content: "\2726\20"; color: var(--accent); }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card p { color: var(--muted); margin: 0 0 18px; }
.ico { font-size: 22px; color: var(--accent); margin-bottom: 18px; line-height: 1; }
.card ul, .plan ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.card li, .plan li { padding: 7px 0; border-top: 1px dashed var(--line); }
.card li::before, .plan li::before { content: "\2192\20"; color: var(--accent); font-family: var(--mono); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.plan > p { color: var(--muted); margin: 0 0 20px; }
.plan ul { flex: 1; }
.plan .tag { font-size: 12px; color: var(--accent); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.plan-foot { margin: 22px 0 0 !important; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink) !important; font-size: 14px; }
.plan.featured { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.plan.featured > p, .plan.featured li { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.plan.featured li { border-top-color: color-mix(in srgb, var(--bg) 20%, transparent); }
.plan.featured .plan-foot { color: var(--bg) !important; border-top-color: color-mix(in srgb, var(--bg) 20%, transparent); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.steps li { display: flex; }
.steps li > button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 22px 0; width: 100%; border-top: 3px solid transparent; margin-top: -2px; transition: border-color .2s; }
.steps li > button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.steps li.on > button, .steps li > button:hover { border-top-color: var(--accent); }
.steps h3 { margin: 0; }
.steps .more { opacity: 0; transition: opacity .2s; }
.steps li.on .more, .steps li > button:hover .more { opacity: 1; }
.steps .n { font-size: 13px; color: var(--accent); }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.principles > div { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; }
.principles h4 { margin: 0 0 6px; font-size: 16px; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 24px/1 var(--mono); color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid > div > p { color: var(--muted); font-size: 18px; margin: 20px 0; }
.mail { font-size: 18px !important; color: var(--ink) !important; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: 15px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .invalid { border-color: #e5484d; }
.form .btn { justify-content: center; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 14px; color: var(--muted); background: var(--bg-alt); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-inner a { text-decoration: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards, .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 72px 0; }
  .cards, .plans, .steps, .principles { grid-template-columns: 1fr; }
  .wrap { padding-inline: 18px; }
  .term { font-size: 12px; }
}

/* Founder */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.founder-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; text-align: center; position: sticky; top: 96px; }
.avatar { width: 112px; height: 112px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 400 44px/1 var(--serif); box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--accent); }
.founder-name { font: 400 28px/1.1 var(--serif); margin: 0 0 6px; }
.founder-role { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 4px; }
.founder-loc { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.founder-links { display: flex; justify-content: center; gap: 10px; }
.founder-links a { font-size: 14px; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.founder-links a:hover { border-color: var(--ink); }
.founder-bio { color: var(--muted); font-size: 17px; max-width: 660px; margin: 20px 0 0; }
.founder-bio a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 12.5px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.loc { font-size: 15px !important; margin-top: -8px !important; }
@media (max-width: 980px) {
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-card { position: static; max-width: 420px; }
}

/* Legal */
.legal { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.7; }
.legal p { margin: 0; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal .mono { font-size: 11.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.form-note a { color: var(--ink); }

/* ===== Interactive components ===== */
button { font: inherit; color: inherit; }
.links a.active { color: var(--ink) !important; }
.more { font-size: 12.5px; color: var(--accent); display: inline-block; margin-top: 16px; transition: transform .2s; }

/* Hero terminal tabs */
.term-tabs { display: flex; gap: 4px; margin-left: 12px; flex-wrap: wrap; }
.term-tabs button { background: transparent; border: 1px solid transparent; color: #7d8894; font-size: 12px; padding: 4px 10px; border-radius: 6px; cursor: pointer; }
.term-tabs button:hover { color: #d7dde4; }
.term-tabs button.on { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.term { min-height: calc(7 * 1.85em); }

/* Strip chips */
.strip-inner { justify-content: flex-start; gap: 8px; }
.strip-inner button, .strip-inner a { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: 12.5px var(--mono); color: var(--muted); cursor: pointer; transition: all .15s; }
.strip-inner a::before, .strip-inner button::before { content: "\2726\20"; color: var(--accent); }
.strip-inner a:hover, .strip-inner button:hover { color: var(--ink); border-color: var(--accent); }
.strip-inner span { display: none; }

/* Clickable service cards */
.card.clickable { cursor: pointer; position: relative; }
.card.clickable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card.clickable:hover .more { transform: translateX(4px); }

/* Capabilities explorer */
.explorer { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.cap-list { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.cap-list .cap-tab { display: flex; align-items: center; gap: 12px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 11px 14px; cursor: pointer; font-size: 14.5px; color: var(--muted); transition: all .15s; }
.cap-list .cap-tab:hover { color: var(--ink); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.cap-list .cap-tab.on { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 6px 18px -12px rgba(0,0,0,.25); }
.cap-list .cap-tab:focus-visible { outline: 2px solid var(--accent); }
.cap-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); flex-shrink: 0; font-size: 15px; }
.cap-list .cap-tab.on .cap-ico { background: var(--accent); color: #fff; }
.cap-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; min-height: 560px; }
.cap-panel.swap { animation: swapIn .35s ease; }
@keyframes swapIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cap-top { display: flex; gap: 18px; align-items: center; }
.cap-big { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: 26px; flex-shrink: 0; }
.cap-top h3 { font: 400 32px/1.1 var(--serif); margin: 0; }
.cap-tag { margin: 6px 0 0; color: var(--accent); font-weight: 500; }
.cap-sum { color: var(--muted); font-size: 16.5px; margin: 22px 0 28px; }
.cap-panel h4, .modal h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 12px; font-weight: 500; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: 0; padding: 16px 0; font-size: 16.5px; font-weight: 500; text-align: left; cursor: pointer; }
.acc-btn span { font: 20px/1 var(--mono); color: var(--accent); transition: transform .2s; }
.acc-item.open .acc-btn span { transform: rotate(45deg); }
.acc-body p { margin: 0 0 10px; }
.acc-item.open .acc-body p:last-child { margin-bottom: 18px; }
.acc-body b { color: var(--ink); font-weight: 600; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); font-size: 15px; }
.acc-item.open .acc-body { max-height: 400px; }
.cap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ticks { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.ticks li { padding: 5px 0 5px 24px; position: relative; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.ticks.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.cap-panel .chips { margin: 0; }
.cap-actions, .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Use-case library */
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; cursor: pointer; color: var(--muted); transition: all .15s; }
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
#cap-filters .filter { font-size: 12.5px; padding: 6px 12px; background: transparent; }
#cap-filters .filter.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.result-count { font-size: 12.5px; color: var(--muted); margin: 16px 0; }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uc { display: flex; flex-direction: column; text-align: left; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; animation: swapIn .35s ease both; }
.uc:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 30px -22px rgba(0,0,0,.35); }
.uc:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.uc-ind { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.uc-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.uc-sum { color: var(--muted); font-size: 14.5px; flex: 1; }
.uc-caps { display: flex; flex-wrap: wrap; gap: 6px; }
.uc-caps i { font-style: normal; font-size: 11.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); }
.uc .more { margin-top: 4px; }
.uc:hover .more { transform: translateX(4px); }
.empty { color: var(--muted); grid-column: 1 / -1; }

/* Modal */
.modal { width: min(720px, calc(100% - 32px)); max-height: min(86vh, 900px); border: 1px solid var(--line); border-radius: 20px; padding: 40px; background: var(--surface); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow-y: auto; }
.modal::backdrop { background: rgba(10, 14, 20, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: sticky; top: 0; float: right; margin: -20px -20px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 22px; line-height: 1; cursor: pointer; z-index: 1; }
.modal-close:hover { border-color: var(--ink); }
.modal-title { font: 400 36px/1.1 var(--serif); margin: 0; }
.modal-lead { font-size: 18px; color: var(--muted); margin: 14px 0 6px; }
.modal p { color: var(--muted); }
.modal-steps { padding-left: 22px; margin: 0; }
.modal-steps li { padding: 5px 0; }
.modal-steps li::marker { color: var(--accent); font-family: var(--mono); }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links button, .chip-links a, .linkish { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; cursor: pointer; transition: border-color .15s; }
.chip-links button:hover, .chip-links a:hover, .linkish:hover { border-color: var(--accent); }
.modal-uc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.modal-uc button { width: 100%; display: flex; justify-content: space-between; gap: 12px; text-align: left; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; cursor: pointer; }
.modal-uc button:hover { border-color: var(--accent); }
.modal-uc span { color: var(--muted); font-size: 13px; white-space: nowrap; }
body:has(.modal[open]) { overflow: hidden; }

/* Plans */
.plan-btn { margin-top: 18px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .15s; }
.plan-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan.featured .plan-btn { border-color: color-mix(in srgb, var(--bg) 30%, transparent); color: var(--bg); }
.plan.featured .plan-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan { transition: transform .2s; }
.plan:hover { transform: translateY(-3px); }

/* Quiz */
.quiz { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 36px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.quiz-head h3 { font: 400 32px/1.1 var(--serif); margin: 0; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); transition: background .3s; }
.quiz-progress .done { background: var(--accent); }
.quiz-progress .cur { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.quiz-q { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 8px; animation: swapIn .3s ease; }
.quiz-opts button { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14.5px; cursor: pointer; transition: all .15s; }
.quiz-opts button:hover { border-color: var(--accent); transform: translateY(-1px); }
.quiz-back { background: none; border: 0; color: var(--muted); font-size: 12.5px; margin-top: 14px; cursor: pointer; padding: 0; }
.quiz-result { animation: swapIn .35s ease; }
.quiz-result .tag { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.quiz-result h4 { font: 400 34px/1.1 var(--serif); margin: 0 0 10px; }
.quiz-result p { color: var(--muted); }

/* Approach detail */
.step-detail { margin-top: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; animation: swapIn .3s ease; }
.step-detail .tag { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }

/* Contact flash when prefilled */
.form { transition: box-shadow .4s, border-color .4s; }
.form.flash { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }

@media (max-width: 980px) {
  .explorer { grid-template-columns: 1fr; }
  .cap-list { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .cap-list .cap-tab { flex-shrink: 0; white-space: nowrap; scroll-snap-align: center; }
  .cap-panel { min-height: 0; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .quiz { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .cap-panel, .quiz, .modal { padding: 24px 20px; }
  .modal-close { margin: -8px -8px 0 0; }
  .cap-cols, .ticks.cols, .uc-grid { grid-template-columns: 1fr; }
  .cap-top h3, .modal-title { font-size: 28px; }
  .modal-uc button { flex-direction: column; gap: 2px; }
  .term-tabs { margin-left: 6px; }
  .term-tabs button { padding: 4px 7px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-panel.swap, .uc, .quiz-opts, .quiz-result, .step-detail, .modal[open] { animation: none; }
  .acc-body { transition: none; }
}

/* Platforms & cloud guide */
.g-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.g-tabs .g-tab { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 10px; font-size: 15px; font-weight: 500; cursor: pointer; color: var(--muted); transition: all .15s; }
.g-tabs .g-tab:hover { color: var(--ink); border-color: var(--ink); }
.g-tabs .g-tab.on { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.g-tabs .g-tab.on .cap-ico { background: var(--accent); color: #fff; }
.g-panel { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.g-panel.swap { animation: swapIn .35s ease; }
.g-panel h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; font-weight: 500; }
.g-panel h4 span { text-transform: none; letter-spacing: 0; }
.g-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.g-intro > p, .g-lead { font-size: 17px; color: var(--muted); margin: 0; }
.g-lead { margin-bottom: 22px; max-width: 760px; }
.g-situ { margin: 28px 0 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.g-clear { background: none; border: 0; color: var(--accent); font-size: 12.5px; cursor: pointer; padding: 6px; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.g-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: opacity .25s, transform .25s, border-color .25s, box-shadow .25s; }
.g-card h3 { font: 400 26px/1.15 var(--serif); margin: 0 0 6px; padding-right: 70px; }
.g-card h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 6px; font-weight: 500; }
.g-card .ticks, .g-card .warns { font-size: 14.5px; }
.g-card .warns { flex: 1; }
.g-card.top { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); transform: translateY(-2px); }
.g-card.dim { opacity: .45; }
.g-card.dim:hover { opacity: 1; }
.g-badge { position: absolute; top: 20px; right: 18px; background: var(--accent); color: #fff; font-size: 11px; padding: 4px 9px; border-radius: 999px; }
.warns { list-style: none; padding: 0; margin: 0; }
.warns li { padding: 4px 0 4px 24px; position: relative; color: var(--muted); }
.warns li::before { content: "!"; position: absolute; left: 3px; top: 5px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid currentColor; font: 600 10px/13px var(--mono); text-align: center; color: #d99a2b; }

.mig-pick { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.mig-pick label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; flex: 1; min-width: 220px; }
.mig-pick select { width: 100%; min-width: 0; font: 15px var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.mig-pick select:focus { outline: 2px solid var(--accent); }
.mig-swap { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 18px; cursor: pointer; transition: transform .25s, border-color .15s; }
.mig-swap:hover { border-color: var(--accent); transform: rotate(180deg); }
.mig-route { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; font-size: 13px; }
.mig-route span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.mig-route i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line), var(--accent)); position: relative; }
.mig-route i::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 8px solid var(--accent); }
.mig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.mig-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 15px; }

@media (max-width: 980px) {
  .g-intro, .mig-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .g-panel { padding: 20px; }
  .g-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .g-tabs .g-tab { flex-shrink: 0; }
  .mig-swap { transform: rotate(90deg); margin: 0 auto; }
  .mig-pick { flex-direction: column; align-items: stretch; }
  .mig-pick label { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) { .g-panel.swap { animation: none; } }

/* ===== Multi-page layout ===== */
.links a[aria-current="page"], .dd-btn[aria-current="page"] { color: var(--ink) !important; }
.links a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--accent); padding-block: 6px; }

/* Dropdowns / mega menu */
.dd { position: relative; }
.dd-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.dd-btn:hover, .dd:focus-within .dd-btn { color: var(--ink); }
.dd-btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.mega { position: absolute; top: calc(100% + 18px); left: -24px; display: grid; grid-template-columns: repeat(3, 190px) 220px; gap: 8px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.dd:hover .mega, .dd:focus-within .mega, .dd.open .mega { opacity: 1; visibility: visible; transform: none; }
.dd:hover .dd-btn i, .dd.open .dd-btn i { transform: rotate(225deg) translateY(-1px); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-h { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin: 0 0 8px; }
.mega a { text-decoration: none; color: var(--ink) !important; font-size: 14px !important; padding: 6px 8px !important; margin-left: -8px; border-radius: 8px; border: 0 !important; }
.mega a:hover { background: var(--bg-alt); }
.mega-feature { display: flex !important; flex-direction: column; justify-content: flex-end; gap: 8px; background: var(--ink) !important; color: var(--bg) !important; border-radius: 12px !important; padding: 18px !important; margin: 0 !important; }
.mega-feature span { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: .06em; }
.mega-feature b { font-weight: 500; font-size: 15px; line-height: 1.35; }
.mega-feature:hover { background: var(--accent) !important; color: #fff !important; }
.mega-sm { grid-template-columns: 240px; left: -16px; padding: 12px; }
.mega-sm a { display: flex; flex-direction: column; margin: 0; padding: 10px 12px !important; }
.mega-sm a span { color: var(--muted); font-size: 12.5px; }

/* Theme toggle */
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .15s, transform .3s; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--ink); transform: rotate(15deg); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* Page hero */
.page-hero { position: relative; padding: 56px 0 72px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 0%, #000 0%, transparent 70%); opacity: .6; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); max-width: 980px; }
.page-hero .lead { max-width: 720px; margin-bottom: 28px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.hero-stats > div { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats b { font: 400 30px/1.1 var(--serif); }
.hero-stats span { color: var(--muted); font-size: 14px; }

.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.footnote { color: var(--muted); font-size: 13px; margin: 20px 0 0; max-width: 820px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillars.three { grid-template-columns: repeat(3, 1fr); }
.pillar { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.pillar:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -28px rgba(0,0,0,.35); }
.pillar-n { font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.pillar h3 { font: 400 28px/1.1 var(--serif); margin: 0 0 12px; }
.pillar p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.pillar ul { list-style: none; padding: 0; margin: 0; font-size: 14px; flex: 1; }
.pillar li { padding: 6px 0; border-top: 1px dashed var(--line); }
.pillar .more { margin-top: auto; padding-top: 18px; }
.pillar:hover .more { transform: translateX(4px); }

/* Research cards */
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
#research-filters { margin-bottom: 20px; }
.r-card { display: flex; flex-direction: column; gap: 12px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; animation: swapIn .35s ease both; }
.r-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 30px -22px rgba(0,0,0,.35); }
.r-big { font: 400 46px/1 var(--serif); color: var(--accent); }
.r-big-l { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.r-title { font-size: 18px; font-weight: 600; line-height: 1.3; }
.r-sum { color: var(--muted); font-size: 14.5px; flex: 1; }
.r-metrics { display: flex; gap: 8px; flex-wrap: wrap; }
.r-metrics i { font-style: normal; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; color: var(--muted); }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 6px; }
.metric { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.metric b { display: block; font: 400 28px/1.1 var(--serif); color: var(--accent); }
.metric span { font-size: 13px; color: var(--muted); }

.pipeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: p; }
.pipeline li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.pipeline li:not(:last-child)::after { content: "\2192"; position: absolute; right: -12px; top: 22px; color: var(--accent); font-family: var(--mono); z-index: 1; }
.pipeline span { font-size: 12px; color: var(--accent); }
.pipeline b { display: block; font-size: 16px; margin: 8px 0 6px; }
.pipeline p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* GPU page */
.why-grid, .run-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why, .run { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 20px; margin-bottom: 18px; }
.why h3, .run h3 { font-size: 18px; margin: 0 0 8px; }
.why p, .run p { color: var(--muted); font-size: 14.5px; margin: 0; }
.run { border-top: 3px solid var(--accent); }
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.region-panel { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; animation: swapIn .3s ease; }
.region-panel h3 { font: 400 36px/1.1 var(--serif); margin: 0 0 8px; }
.region-panel .where { color: var(--muted); margin: 0 0 20px; }
.region-map { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; align-content: start; }
.region-map span { font-size: 11px; text-align: center; padding: 10px 4px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); }
.region-map span.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sizer { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
.sizer-list { display: flex; flex-direction: column; gap: 6px; }
.sizer-list button { display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 14.5px; transition: all .15s; }
.sizer-list button i { font-style: normal; font-size: 11px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.sizer-list button:hover { border-color: var(--ink); }
.sizer-list button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sizer-list button.on i { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.sizer-out { background: var(--term-bg); color: var(--term-ink); border-radius: 18px; padding: 32px; min-height: 100%; animation: swapIn .3s ease; }
.sizer-out .k { color: #8fb8ff; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; }
.sizer-out h3 { font: 400 34px/1.15 var(--serif); color: #fff; margin: 0 0 18px; }
.sizer-out p { color: #aab4bf; margin: 0 0 20px; }
.sizer-out .gpu { font-family: var(--mono); font-size: 18px; color: #6fdc9b; margin: 0 0 20px; }
.sizer-out .note { font-size: 12.5px; color: #6b7684; margin-top: 24px; }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sec b { display: flex; gap: 10px; align-items: center; font-size: 15.5px; margin-bottom: 8px; }
.sec b::before { content: "\2713"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 12px; flex-shrink: 0; }
.sec p { margin: 0; color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg-alt); }
.cmp thead th:last-child { color: var(--accent); }
.cmp td:first-child { font-weight: 600; width: 24%; }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp td:last-child { background: color-mix(in srgb, var(--accent) 5%, transparent); }

/* About / contact */
.principles.four { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.facts > div { padding: 24px; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts p { margin: 0 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts b { font-weight: 500; }
.contact-side { display: grid; gap: 22px; }
.c-item p { margin: 0 0 4px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.c-item b { font-weight: 500; font-size: 17px; }
.c-item .modal-steps { color: var(--muted); margin-top: 6px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--bg); padding: 80px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color: var(--bg); }
.cta-band p:not(.eyebrow) { color: color-mix(in srgb, var(--bg) 70%, transparent); max-width: 560px; margin: 16px 0 0; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.cta-band .btn-ghost:hover { border-color: var(--bg); }

/* Footer */
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:not(.logo):hover { color: var(--accent); }
.foot-brand p { margin: 6px 0 0; max-width: 320px; }
.foot-brand .logo { color: var(--ink); }
.foot-h { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 6px; }
.foot-mail { color: var(--ink); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 0; }
.legal a { text-decoration: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.post-card > p.mono { font-size: 12px; color: var(--muted); margin: 0; }
.post-card h3 { font: 400 26px/1.15 var(--serif); margin: 0; }
.post-card > p:not(.mono) { color: var(--muted); margin: 0; flex: 1; }
.blog-empty { text-align: center; max-width: 620px; margin: 0 auto; padding: 72px 32px; border: 1px dashed var(--line); border-radius: 20px; background: var(--surface); }
.blog-empty-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: var(--bg); font-size: 28px; margin-bottom: 22px; }
.blog-empty p { color: var(--muted); font-size: 17px; margin: 16px 0 28px; }
.blog-empty .cta-row { justify-content: center; }
.post-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.post-meta { font-size: 12.5px; color: var(--muted); margin: 0; }
.prose { font-size: 18px; line-height: 1.75; padding-block: 56px 24px; }
.prose h2 { font-size: 34px; margin: 48px 0 12px; }
.prose h3 { font-size: 22px; margin: 36px 0 8px; }
.prose a { color: var(--accent); }
.prose img { border-radius: 12px; }
.prose pre { background: var(--term-bg); color: var(--term-ink); padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.prose code { font-family: var(--mono); font-size: .88em; }
.prose :not(pre) > code { background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-foot { padding-bottom: 72px; }

/* ===== Responsive: multi-page ===== */
@media (max-width: 1180px) {
  .burger { display: block; }
  .links { position: fixed; inset: 68px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px 24px 32px; display: none; overflow-y: auto; }
  .links.open { display: flex; }
  .links > a:not(.btn), .dd-btn { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; width: 100%; justify-content: space-between; }
  .links a[aria-current="page"]:not(.btn) { box-shadow: none; color: var(--accent) !important; }
  .mega, .mega-sm { position: static; opacity: 1; visibility: visible; transform: none; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 8px 0 16px; background: transparent; }
  .dd:hover .mega { display: none; }
  .dd.open .mega { display: grid; }
  .mega::before { display: none; }
  .mega-feature { margin-top: 8px !important; }
  .theme-toggle { margin-top: 16px; }
  .links .btn { margin-top: 16px; justify-content: center; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 1080px) {
  .pillars, .why-grid, .run-grid, .sec-grid, .principles.four { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline li:nth-child(3)::after { display: none; }
  .r-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .sizer, .region-panel { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .pillars, .pillars.three, .why-grid, .run-grid, .sec-grid, .principles.four, .r-grid, .post-grid, .pipeline, .metric-row { grid-template-columns: 1fr; }
  .pipeline li::after { display: none; }
  .page-hero { padding: 32px 0 48px; }
  .crumbs { margin-bottom: 24px; }
  .hero-stats b { font-size: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .region-panel, .sizer-out { padding: 22px; }
  .cta-band { padding: 56px 0; }
  .prose { font-size: 17px; }
}
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
.foot-office-h { margin-top: 14px !important; }
.foot-office { font-style: normal; line-height: 1.6; }
.about-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.about-intro .founder-bio:first-child { margin-top: 0; }
.legal-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.legal-doc { padding-top: 40px; padding-bottom: 80px; font-size: 16.5px; }
.legal-doc h2 { font-size: 28px; margin-top: 40px; }
.legal-doc table { display: table; }
.legal-doc th { width: 30%; color: var(--muted); font-weight: 500; vertical-align: top; }
@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .about-intro { grid-template-columns: 1fr; gap: 16px; } .legal-doc table { display: block; } }

/* Built by AI: 3D core */
.build-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.build-grid .lead { margin-bottom: 26px; }
.build-list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; border-top: 1px solid var(--line); }
.build-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.build-list li span:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.build-list li span:last-child { text-align: right; }

.core-stage { --u: min(420px, 78vw); --rx: -14deg; --ry: 0deg; position: relative; width: var(--u); height: var(--u); margin: 0 auto; perspective: 1000px; }
.core-tilt, .core-spin, .core-spin > * { position: absolute; inset: 0; transform-style: preserve-3d; }
.core-tilt { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.core-spin { animation: core-spin 22s linear infinite; }
@keyframes core-spin { to { transform: rotateY(360deg); } }

.cube { --s: calc(var(--u) * .34); width: var(--s); height: var(--s); inset: auto; left: calc(50% - var(--s) / 2); top: calc(50% - var(--s) / 2); }
.cube i { position: absolute; inset: 0; border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); border-radius: 22%; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }

.ring { --d: calc(var(--u) * .86); width: var(--d); height: var(--d); inset: auto; left: calc(50% - var(--d) / 2); top: calc(50% - var(--d) / 2); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); }
.ring b { position: absolute; inset: 0; border-radius: 50%; animation: ring-turn 7s linear infinite; }
.ring b::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 2px color-mix(in srgb, var(--accent) 60%, transparent); }
.r1 { transform: rotateX(72deg); }
.r2 { --d: calc(var(--u) * .72); transform: rotateY(68deg) rotateX(18deg); }
.r2 b { animation-duration: 9s; animation-direction: reverse; }
.r3 { --d: calc(var(--u) * .98); transform: rotateX(58deg) rotateY(-42deg); border-style: dashed; }
.r3 b { animation-duration: 13s; }
.r3 b::after { background: var(--ink); box-shadow: none; }
@keyframes ring-turn { to { transform: rotate(360deg); } }

.nucleus, .core-glow { position: absolute; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nucleus { width: calc(var(--u) * .11); height: calc(var(--u) * .11); background: radial-gradient(circle at 35% 30%, #ffb199, var(--accent) 55%, #c9361a); box-shadow: 0 0 40px 8px color-mix(in srgb, var(--accent) 45%, transparent); animation: core-pulse 3.2s ease-in-out infinite; }
.core-glow { width: 70%; height: 70%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 65%); }
@keyframes core-pulse { 50% { transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 64px 14px color-mix(in srgb, var(--accent) 35%, transparent); } }

.core-status { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.core-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; animation: blink 1.6s steps(1) infinite; }

@media (max-width: 980px) { .build-grid { grid-template-columns: 1fr; gap: 56px; } }
@media (prefers-reduced-motion: reduce) {
  .core-spin, .ring b, .nucleus, .core-dot { animation: none; }
  .core-spin { transform: rotateY(-28deg); }
  .core-tilt { transition: none; }
}
.strip-inner a { text-decoration: none; }
.mega a.mega-feature, .mega a.mega-feature b { color: var(--bg) !important; }
.mega a.mega-feature span { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.mega a.mega-feature:hover, .mega a.mega-feature:hover b, .mega a.mega-feature:hover span { color: #fff !important; }
/* backdrop-filter makes the header a containing block for the fixed mobile menu; drop it while open */
body.menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }

/* ===== Link-based cards/tabs & detail pages ===== */
.cap-tab, .g-tab, .uc, .r-card, .chip-links a, a.linkish { text-decoration: none; color: inherit; }
.cap-list .cap-tab.on, .cap-list .cap-tab:hover { color: var(--ink); }
.g-tabs .g-tab.on { color: var(--bg); }
.chip-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.cap-inline { color: var(--accent); }
.page-detail .page-hero .metric-row { max-width: 900px; margin-top: 8px; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.detail-sum { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.h-sm { font-size: 28px; margin: 8px 0 14px; }
.h-xs { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin: 0 0 12px; }
.detail-grid .modal-steps { font-size: 16.5px; margin-bottom: 32px; }
.detail-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box p { margin: 0; }
.side-box .chips { margin: 0; }
.detail-cta { margin: 24px 0; }
.mig-static { margin-top: 20px; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; gap: 28px; } .detail-side { position: static; } }
.sizer-all-wrap { margin-top: 24px; border: 0 !important; }
.sizer-all-wrap summary { font-size: 16px; color: var(--muted); padding: 12px 40px 12px 0; }
.sizer-all-wrap .table-wrap { margin-top: 8px; }
.sizer-all-wrap td.mono { font-size: 13.5px; white-space: nowrap; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Wordmark: AIBYOS -> AI by OS -> AI by OmniSync (home section, header logo, intro) */
.wm { font-size: clamp(52px, 7.4vw, 96px); line-height: 1.15; margin: 0; }
.wm-letters, .lwm { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; }
.wm-letters > span, .lwm > span { display: block; padding-bottom: .06em; }
.wm-x { overflow: hidden; max-width: 0; transition: max-width .8s cubic-bezier(.7, 0, .2, 1); }
.wm-x > span { display: block; white-space: nowrap; }
.wm-more > span { color: var(--accent); opacity: 0; transition: opacity .5s ease .25s; }
.wm-letters > .wm-by, .lwm > .wm-by { display: grid; justify-items: start; }
.wm-by > span { grid-area: 1 / 1; transition: opacity .45s ease, transform .45s ease; }
.wm-by .lo { font-style: italic; color: var(--muted); opacity: 0; transform: translateY(.18em); }
[data-stage="1"] .wm-x:not(.wm-more), [data-stage="2"] .wm-x:not(.wm-more) { max-width: .3em; }
[data-stage="2"] .wm-more { max-width: 2.2em; }
[data-stage="2"] .wm-more > span { opacity: 1; }
[data-stage="1"] .wm-by .up, [data-stage="2"] .wm-by .up { opacity: 0; transform: translateY(-.18em); }
[data-stage="1"] .wm-by .lo, [data-stage="2"] .wm-by .lo { opacity: 1; transform: none; }
.wm + .lead { margin-top: 22px; }
.wm + .lead strong { color: var(--ink); font-weight: 500; }
.lwm { letter-spacing: -0.01em; }
.foot-brand .lwm { font-size: 18px; }

/* Intro on arrival or refresh, then flies into the header logo */
html.intro-pending::after { content: ""; position: fixed; inset: 0; background: var(--bg); z-index: 200; }
html.intro-running .nav .logo { opacity: 0; }
.nav .logo { transition: opacity .35s ease; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); transition: background-color .9s ease; }
.intro-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.intro .core-stage { --u: min(220px, 46vw); }
.intro .wm { font-family: var(--serif); letter-spacing: -0.02em; font-size: clamp(56px, 10vw, 128px); line-height: 1.1; }
.intro-fly { transform-origin: 0 0; transition: transform .95s cubic-bezier(.7, 0, .2, 1), opacity .95s ease; }
.intro-skip { position: absolute; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font: 500 13px var(--sans); color: var(--muted); cursor: pointer; transition: opacity .3s, border-color .15s, color .15s; }
.intro-skip:hover { color: var(--ink); border-color: var(--ink); }
.intro.fly { background-color: transparent; pointer-events: none; }
.intro.fly .intro-skip { opacity: 0; }

/* Keep exploring (bento) */
.explore { padding: 96px 0; }
.explore-head { margin-bottom: 36px; }
.explore-head h2 { font-size: clamp(34px, 4vw, 52px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.bento-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 48px -30px rgba(0, 0, 0, .4); }
.bento-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.bento-lead { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--bg); border-color: var(--ink); padding: 36px; }
.bento-glyph { position: absolute; right: -8px; top: -34px; z-index: -1; font-size: 168px; line-height: 1; color: var(--accent); opacity: .1; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.bento-lead .bento-glyph { font-size: 380px; right: -40px; top: -80px; opacity: .22; }
.bento-card:hover .bento-glyph { transform: rotate(-10deg) scale(1.08); opacity: .18; }
.bento-lead:hover .bento-glyph { opacity: .3; }
.bento-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.bento-title { font: 400 27px/1.12 var(--serif); letter-spacing: -0.01em; }
.bento-lead .bento-title { font-size: clamp(38px, 3.8vw, 56px); margin-top: auto; }
.bento-text { color: var(--muted); font-size: 14.5px; }
.bento-lead .bento-text { color: color-mix(in srgb, var(--bg) 72%, transparent); font-size: 16.5px; max-width: 440px; }
.bento-go { margin-top: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: background .2s, border-color .2s, color .2s, transform .25s; }
.bento-lead .bento-go { margin-top: 18px; border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.bento-card:hover .bento-go { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(4px); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lead { grid-row: span 1; min-height: 300px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-lead { grid-column: span 1; }
  .bento-card { min-height: 180px; }
  .explore { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { .bento-card, .bento-glyph, .bento-go, .wm *, .lwm * { transition: none; } }
.quiz-solo { display: block; margin-top: 0; max-width: 880px; }
.quiz-solo .quiz-q { font-size: 20px; }
.h1-slogan { font-size: clamp(42px, 5.2vw, 70px); line-height: 1.05; }

/* Contact: who would you like to talk to? (single-select toggle) */
.role-toggle { border: 0; padding: 0; margin: 0; min-width: 0; }
.role-toggle legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 6px; }
.role-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.role-opt { position: relative; display: block !important; cursor: pointer; }
.role-opt input { position: absolute; opacity: 0; pointer-events: none; }
.role-opt span { display: grid; gap: 2px; height: 100%; padding: 10px 12px; border-radius: 9px; transition: background .15s, color .15s, box-shadow .15s; }
.role-opt b { font-size: 14.5px; font-weight: 600; }
.role-opt i { font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.35; }
.role-opt:hover span { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.role-opt input:checked + span { background: var(--ink); color: var(--bg); box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
.role-opt input:checked + span i { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.role-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 420px) { .role-opts { grid-template-columns: 1fr; } }

/* Ambient orbits behind the whole site (echo of the 3D core); purely decorative */
.orbits { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; perspective: 1400px; }
.orb { position: absolute; width: var(--d); height: var(--d); border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--ink) 13%, transparent); transform-style: preserve-3d; translate: 0 calc(var(--scroll, 0px) * var(--depth)); }
.orb b { position: absolute; inset: -1px; border-radius: 50%; animation: orb-turn var(--t) linear infinite; }
.orb b::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.o1 { --d: 1750px; --t: 90s; --depth: -0.06; top: -760px; right: -640px; transform: rotateX(70deg) rotateZ(-18deg); }
.o2 { --d: 2400px; --t: 140s; --depth: -0.03; bottom: -1300px; left: -1050px; transform: rotateX(66deg) rotateZ(22deg); border-style: dashed; }
.o2 b { animation-direction: reverse; }
.o2 b::after { background: var(--ink); box-shadow: none; opacity: .5; }
.o3 { --d: 1050px; --t: 60s; --depth: -0.1; top: 38%; right: -460px; transform: rotateX(74deg) rotateZ(38deg); border-color: color-mix(in srgb, var(--accent) 20%, transparent); }
.o3 b::after { width: 8px; height: 8px; top: -4px; left: calc(50% - 4px); }
@keyframes orb-turn { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .o1 { --d: 1100px; top: -500px; right: -560px; }
  .o2 { --d: 1500px; bottom: -840px; left: -820px; }
  .o3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .orb b { animation: none; } .orb { translate: none; } }
[data-theme="dark"] .orb { border-color: color-mix(in srgb, var(--ink) 17%, transparent); }
[data-theme="dark"] .o3 { border-color: color-mix(in srgb, var(--accent) 30%, transparent); }

.outro { border-top: 1px solid var(--line); }
.quiz-result .quiz-timing { font-size: 14px; color: var(--ink); border-left: 2px solid var(--accent); padding-left: 12px; }
.other-case { margin: 22px 0 0; font-size: 14.5px; color: var(--muted); }
.other-case a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; white-space: nowrap; }
.other-case a:hover { color: var(--accent); }
.quiz .other-case { font-size: 13.5px; margin-top: 16px; }
.sizer-out .other-case { color: #8a95a1; }
.sizer-out .other-case a { color: #fff; }
.form textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
