/* CooL — public site
   Pure black, white type, one typeface. Structure comes from spacing and a
   few rules, not from boxes. Hooks used by app.js are kept: #nav, #burger,
   #drawer, [data-reveal], [data-count], [data-copy], .faq/.faq__q/.faq__a,
   #studioStage, #billing, [data-monthly]. */

:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #0b0b0b;
  --ink: #fff;
  --ink-2: #9a9a9a;
  --ink-3: #6b6b6b;
  --rule: #1c1c1c;
  --rule-2: #2c2c2c;
  --ok: #6fd49a;
  --no: #ff7a70;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
b, strong { font-weight: 500; color: var(--ink); }
code, .mono { font-family: var(--mono); font-size: .88em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ── type ── */
.eyebrow { margin: 0 0 20px; font-size: 15px; color: var(--ink-2); }
.h1 { margin: 0; font-weight: 500; font-size: clamp(48px, 7.4vw, 104px); line-height: 1; letter-spacing: -.035em; }
.h2 { margin: 0; font-weight: 500; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.03em; max-width: 18ch; }
.h3 { margin: 0; font-weight: 500; font-size: 21px; line-height: 1.3; letter-spacing: -.012em; }
.lead { margin: 28px 0 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.lead b { font-weight: 400; }
.body { margin: 0; color: var(--ink-2); max-width: 60ch; }
.body + .body { margin-top: 16px; }
.small { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: 72ch; }
.body a, .small a, .note a, .faq__a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
.body a:hover, .small a:hover, .note a:hover, .faq__a a:hover { text-decoration-color: #fff; }

/* ── actions ── */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; border-radius: 4px; background: #fff; color: #000; transition: background .2s; white-space: nowrap; }
.btn:hover { background: #d9d9d9; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn--ghost:hover { background: #111; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #fff; }
.link::after { content: "→"; transition: transform .25s var(--ease); }
.link:hover::after { transform: translateX(4px); }
.cmd { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; font: 400 14px/1 var(--mono); color: #fff; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--rule-2); transition: box-shadow .2s; max-width: 100%; }
.cmd:hover { box-shadow: inset 0 0 0 1px #555; }
.cmd > span:not(.cmd__dollar) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd__dollar { color: var(--ink-3); }
.cmd__ic { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.cmd.is-copied > span:not(.cmd__dollar) { color: var(--ok); }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.is-stuck { border-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: inline-flex; color: #fff; }
.brand__wm { display: block; width: 80px; height: 21px; background: currentColor; -webkit-mask: url(/assets/wordmark.svg) no-repeat center/contain; mask: url(/assets/wordmark.svg) no-repeat center/contain; }
.nav__links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav__right > a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.nav__right > a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i, .burger::before, .burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger::before { top: 14px; } .burger i { top: 19px; } .burger::after { top: 24px; }
.burger[aria-expanded="true"]::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] i { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 72px 0 0; z-index: 49; background: #000; padding: 8px var(--gut) 40px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.drawer .btn { margin-top: 28px; }
@media (max-width: 980px) { .nav__links, .nav__right .hide-md { display: none; } .burger { display: block; } }

/* ── hero ── */
.hero { padding: clamp(96px, 16vh, 180px) 0 clamp(72px, 10vw, 120px); }
.hero .h1 { max-width: 11ch; }
.trust { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust .wrap { display: flex; align-items: center; gap: 48px; min-height: 104px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.trust__label { font-size: 14px; color: var(--ink-3); margin-right: auto; }
.trust__logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust__logos img, .trust__logos svg { height: 26px; width: auto; }
.mono-logo { filter: grayscale(1) brightness(0) invert(1); }
.nvlogo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.nvlogo span { font-weight: 400; color: var(--ink-2); }

/* ── sections ── */
.sec { padding: clamp(96px, 12vw, 168px) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; margin-bottom: clamp(56px, 7vw, 88px); }
.intro .eyebrow { margin: 8px 0 0; }
.intro .body { margin-top: 24px; }
@media (max-width: 860px) { .intro { grid-template-columns: minmax(0, 1fr); gap: 0; } .intro .eyebrow { margin: 0 0 16px; } }

.cols { display: grid; gap: 48px 40px; }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col { border-top: 1px solid var(--rule-2); padding-top: 24px; }
.col__n { display: block; margin-bottom: 40px; font-size: 15px; color: var(--ink-3); }
.col .actions { margin-top: 24px; }
@media (max-width: 960px) { .cols--3, .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols--2, .cols--3, .cols--4 { grid-template-columns: minmax(0, 1fr); } }

/* rows: name | description lists */
.rows { border-top: 1px solid var(--rule-2); }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.rows dt, .rows .k { font-weight: 500; }
.rows dd, .rows .v { margin: 0; color: var(--ink-2); }
.rows--code .k { font-family: var(--mono); font-size: 14px; font-weight: 400; padding-top: 2px; }
@media (max-width: 720px) { .rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
dl.rows { margin: 0; }

/* ── setup guide ── */
.guide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.guide__steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.guide__steps button { width: 100%; display: grid; grid-template-columns: 32px 1fr; gap: 4px 8px; padding: 20px 0; border-bottom: 1px solid var(--rule); text-align: left; color: var(--ink-3); transition: color .2s; }
.guide__steps button:hover { color: var(--ink-2); }
.guide__steps button span { font-size: 15px; }
.guide__steps button strong { font-weight: 500; font-size: 19px; color: inherit; letter-spacing: -.01em; }
.guide__steps button em { grid-column: 2; font-style: normal; font-size: 14px; }
.guide__steps button[aria-selected="true"] { color: #fff; }
.guide__steps button[aria-selected="true"] em { color: var(--ink-2); }
.guide__panel[hidden] { display: none; }
.guide__panel .h3 { font-size: 28px; letter-spacing: -.02em; }
.guide__panel .body { margin-top: 14px; }
.guide__panel .code { margin-top: 32px; }
.guide__panel .actions { margin-top: 28px; }
@media (max-width: 860px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__steps { display: flex; overflow-x: auto; border: 0; gap: 8px; scrollbar-width: none; }
  .guide__steps li { flex: none; }
  .guide__steps button { display: block; padding: 10px 16px; border: 1px solid var(--rule-2); border-radius: 999px; }
  .guide__steps button span, .guide__steps button em { display: none; }
  .guide__steps button strong { font-size: 15px; }
  .guide__steps button[aria-selected="true"] { background: #fff; color: #000; border-color: #fff; }
}

.code { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.code__bar { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 8px 0 18px; border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.code__copy { font-size: 13px; color: var(--ink-2); padding: 6px 10px; border-radius: 4px; transition: background .2s, color .2s; }
.code__copy:hover { background: #161616; color: #fff; }
.code__copy.is-copied span { color: var(--ok); }
.code pre { margin: 0; padding: 20px 18px; overflow-x: auto; font: 400 13.5px/1.75 var(--mono); color: #d4d4d4; }
.code .c { color: #6b6b6b; }
.code .k { color: #fff; }
.code .p { color: #6b6b6b; user-select: none; }
.code .s { color: #b5b5b5; }

/* ── split ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split .h2 { margin-bottom: 24px; }
.split .note { margin-top: 28px; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } .split--flip > :first-child { order: 0; } }

.term { background: var(--panel); border: 1px solid var(--rule); border-radius: 6px; font: 400 13px/1.8 var(--mono); color: #fff; overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 18px; border-bottom: 1px solid var(--rule); font: 400 13px/1 var(--sans); color: var(--ink-3); }
.term__body { padding: 20px 18px; overflow-x: auto; }
.term__line { white-space: pre; min-height: 1.8em; }
.term .c { color: #fff; }
.term .m { color: #6b6b6b; }
.term .k { color: #9a9a9a; }
.term .ok { color: var(--ok); }
.term .no { color: var(--no); }
.seg { display: flex; gap: 4px; padding: 4px; margin-bottom: 12px; border: 1px solid var(--rule); border-radius: 6px; }
.seg .tab { flex: 1; height: 36px; font-size: 14px; color: var(--ink-2); border-radius: 3px; transition: background .2s, color .2s; }
.seg .tab:hover { color: #fff; }
.seg .tab.is-on { background: #fff; color: #000; }
.ctl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.stats > div { border-top: 1px solid var(--rule-2); padding-top: 24px; }
.stats b { display: block; font-weight: 400; font-size: clamp(56px, 6.5vw, 88px); line-height: 1; letter-spacing: -.04em; }
.stats span { display: block; margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 24ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── partners ── */
.partner__logo { height: 30px; display: flex; align-items: center; margin-bottom: 28px; }
.partner__logo img { height: 28px; width: auto; }
.partner__meta { font-size: 14px; color: var(--ink-3); margin: 0 0 10px; }
.award { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.award img { height: 48px; width: auto; filter: grayscale(1); }

/* ── people ── */
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); margin-bottom: 28px; }
.person .h3 { font-size: 24px; }
.person__role { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.person ul { list-style: none; margin: 24px 0 0; padding: 0; font-size: 15px; color: var(--ink-2); }
.person li { padding: 10px 0; border-top: 1px solid var(--rule); }
.person__links { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 14px; }
.person__links a { color: var(--ink-2); width: fit-content; overflow-wrap: anywhere; transition: color .2s; }
.person__links a:hover { color: #fff; }

/* ── faq ── */
.faqs { border-top: 1px solid var(--rule-2); }
.faq { border-bottom: 1px solid var(--rule); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.faq__q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq.is-open .faq__q i::after { transform: rotate(0); }
.faq__a { height: 0; overflow: hidden; transition: height .35s var(--ease); }
.faq__a p { margin: 0; padding: 0 0 28px; color: var(--ink-2); max-width: 70ch; }

/* ── closing ── */
.closing .h1 { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; }
.closing .lead { max-width: 52ch; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; font-size: 15px; color: var(--ink-2); }
.contacts a:hover { color: #fff; }

/* ── footer ── */
.foot { border-top: 1px solid var(--rule); padding: 72px 0 36px; }
.foot__cols { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; }
.foot h4 { margin: 0 0 18px; font-size: 14px; font-weight: 500; color: #fff; }
.foot__cols a:not(.brand) { display: block; padding: 4px 0; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.foot__cols a:not(.brand):hover { color: #fff; }
.foot .note { margin-top: 20px; max-width: 30ch; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .foot__cols { grid-template-columns: 1fr 1fr; } .foot__cols > :first-child { grid-column: 1 / -1; } }

/* ── pricing ── */
.notice { margin-top: 40px; padding: 20px 22px; max-width: 760px; border: 1px solid var(--rule-2); border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.notice b { display: block; margin-bottom: 4px; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--rule-2); border-radius: 6px; }
.toggle button { height: 36px; padding: 0 16px; font-size: 14px; color: var(--ink-2); border-radius: 3px; transition: background .2s, color .2s; }
.toggle button.is-on { background: #fff; color: #000; }
.toggle .save { opacity: .6; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.plan { display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--rule); border-radius: 8px; }
.plan--pick { border-color: #fff; }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.plan__flag { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #fff; color: #000; }
.plan__price { margin: 32px 0 0; font-size: 48px; font-weight: 500; letter-spacing: -.04em; line-height: 1; transition: opacity .15s; }
.plan__price.is-swap, .plan__per.is-swap { opacity: 0; }
.plan__per { margin: 10px 0 0; min-height: 42px; font-size: 13px; color: var(--ink-3); transition: opacity .15s; }
.plan__who { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.plan ul { flex: 1; list-style: none; margin: 24px 0 32px; padding: 0; font-size: 14px; color: var(--ink-2); }
.plan li { padding: 9px 0; border-top: 1px solid var(--rule); }
.soon { margin-left: 4px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.soon::before { content: "· "; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tbl thead th { font-size: 14px; font-weight: 500; color: var(--ink-3); border-bottom-color: var(--rule-2); }
.tbl td { color: var(--ink-2); }
.tbl td:first-child { color: #fff; }
.tbl td small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.tbl .num { text-align: right; white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.tbl .us { color: #fff; }
.tbl .off { color: var(--ink-3); }
.compare { margin-top: 48px; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule); }
.compare summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 19px; font-weight: 500; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font-size: 24px; font-weight: 300; }
.compare[open] summary::after { content: "−"; }
.compare .tbl-wrap { padding-bottom: 28px; }
.bill { border-top: 1px solid var(--rule-2); padding-top: 24px; display: flex; flex-direction: column; }
.bill dl { flex: 1; margin: 24px 0 0; }
.bill dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.bill dt { color: var(--ink-2); }
.bill dd { margin: 0; font-variant-numeric: tabular-nums; }
.bill .total { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 0; }
.bill .total span { font-size: 14px; color: var(--ink-3); }
.bill .total b { font-size: 40px; font-weight: 500; letter-spacing: -.03em; }

/* ── reveal ── */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
@media (scripting: none) { [data-reveal] { opacity: 1; transform: none; } }

/* ── standard template components ── */
.hero--center { text-align: center; padding-bottom: clamp(64px, 8vw, 104px); }
.hero--center .h1 { margin: 0 auto; max-width: 14ch; font-size: clamp(44px, 6.6vw, 88px); }
.hero--center .lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
.hero--center .actions { justify-content: center; }
.hero__install { margin-top: 20px; display: flex; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 36px; padding: 6px 14px 6px 6px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: border-color .2s; }
.pill:hover { border-color: #555; }
.pill b { padding: 3px 10px; border-radius: 999px; background: #fff; color: #000; font-size: 12px; font-weight: 500; }
.logos { padding: 0 0 clamp(72px, 9vw, 112px); text-align: center; }
.logos p { margin: 0 0 28px; font-size: 14px; color: var(--ink-3); }
.logos__row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px 64px; }
.logos__row img { height: 28px; width: auto; }
.head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.head .h2 { margin: 0 auto; max-width: 22ch; }
.head .body { margin: 20px auto 0; }
.head--left { margin-left: 0; text-align: left; }
.head--left .h2, .head--left .body { margin-left: 0; }
.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; padding: 28px; background: #070707; border: 1px solid var(--rule); border-radius: 10px; transition: border-color .25s; }
.card:hover { border-color: var(--rule-2); }
.card .h3 { font-size: 18px; }
.card .small { margin-top: 8px; }
.card__foot { margin-top: auto; padding-top: 24px; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid var(--rule-2); border-radius: 8px; }
.icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.check { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: var(--ok); }
.card__top { display: flex; align-items: center; }
.card__top .icon { margin-bottom: 0; }
.card__top + .h3 { margin-top: 24px; }
.band { background: #070707; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta { text-align: center; }
.cta .h2 { margin: 0 auto; max-width: 20ch; font-size: clamp(36px, 4.6vw, 60px); }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions, .cta .contacts { justify-content: center; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
/* Partner marks: Phala keeps its shape in greyscale; Edgeless ships on an opaque white plate, so invert it and let the plate drop out. */
img.mono-logo[src*="phala"] { filter: grayscale(1) contrast(1.2); }
img.mono-logo[src*="edgeless"] { filter: grayscale(1) invert(1); mix-blend-mode: screen; }

/* ── merged Superdesign direction: enterprise polish + interactive ── */
/* square, engineered geometry */
.btn, .cmd, .code, .term, .card, .seg, .toggle, .plan, .notice, .icon { border-radius: 2px; }
.card, .plan { border-radius: 0; }
.seg .tab, .toggle button, .code__copy { border-radius: 1px; }
.card { transition: border-color .2s, background-color .2s; }
.card:hover { border-color: #3a3a3a; background: #0a0a0a; }
.card:hover .link::after { transform: translateX(4px); }
.cmd.is-copied { box-shadow: inset 0 0 0 1px rgba(111,212,154,.5); }

/* hero product panel */
.hero__panel { max-width: 860px; margin: 64px auto 0; text-align: left; }
.term--hero { box-shadow: 0 0 0 1px #111, 0 40px 120px -40px rgba(255,255,255,.08); }
.term--hero .term__body { padding: 24px 24px 26px; font-size: 13.5px; }

/* sticky section bar */
.secbar { position: fixed; top: 72px; left: 0; right: 0; z-index: 45; background: rgba(0,0,0,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); transform: translateY(-110%); opacity: 0; transition: transform .35s var(--ease), opacity .25s; pointer-events: none; }
.secbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.secbar .wrap { display: flex; align-items: center; gap: 28px; height: 46px; overflow-x: auto; scrollbar-width: none; }
.secbar .wrap::-webkit-scrollbar { display: none; }
.secbar a { position: relative; flex: none; font-size: 14px; color: var(--ink-3); transition: color .2s; }
.secbar a:hover { color: #fff; }
.secbar a.is-active { color: #fff; }
.secbar a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 1px; background: #fff; }
.secbar__cta { margin-left: auto; color: #fff !important; font-weight: 500; }
.nav.is-stuck { border-color: transparent; }
html { scroll-padding-top: 130px; }

/* setup guide: horizontal step tabs, progress line, two-column panel */
.guide { display: block; }
.guide__rail { position: relative; margin-bottom: 48px; border-bottom: 1px solid var(--rule-2); }
.guide__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0 !important; }
.guide__steps button { display: block; padding: 0 0 20px; border: 0 !important; background: none !important; text-align: left; color: var(--ink-3); border-radius: 0 !important; }
.guide__steps button span { display: block !important; margin-bottom: 8px; font: 400 13px/1 var(--mono); color: var(--ink-3); }
.guide__steps button strong { display: block; font-size: 18px; }
.guide__steps button em { display: block !important; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.guide__steps button[aria-selected="true"] { color: #fff !important; }
.guide__steps button[aria-selected="true"] span { color: #fff; }
.guide__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; }
.guide__progress i { display: block; height: 1px; width: 20%; background: #fff; transition: width .45s var(--ease); }
.guide__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-content: start; animation: panelIn .35s var(--ease); }
.guide__panel > * { grid-column: 1; }
.guide__panel > .code { grid-column: 2; grid-row: 1 / span 8; margin-top: 0 !important; align-self: start; }
.guide__next { justify-self: start; margin-top: 28px; padding: 0; font-size: 15px; font-weight: 500; color: #fff; border-bottom: 1px solid #444; transition: border-color .2s; }
.guide__next:hover { border-color: #fff; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 860px) {
  .guide__steps { display: flex; overflow-x: auto; gap: 24px; scrollbar-width: none; }
  .guide__steps li { flex: none; }
  .guide__steps button em { display: none !important; }
  .guide__panel { grid-template-columns: minmax(0, 1fr); }
  .guide__panel > .code { grid-column: 1; grid-row: auto; margin-top: 28px !important; }
}
@media (prefers-reduced-motion: reduce) { .guide__panel { animation: none; } }

/* ledger: editorial ruled list (label | headword | description) */
.ledger { border-top: 1px solid var(--rule-2); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 32px; align-items: baseline; padding: 30px 16px; margin: 0 -16px; border-bottom: 1px solid var(--rule); transition: background-color .2s; }
.ledger__row:hover { background: #0a0a0a; }
.ledger__meta { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.ledger__meta .pass { color: var(--ok); margin-right: 6px; }
.ledger__word { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; }
.ledger__text { margin: 0; color: var(--ink-2); font-size: 16px; }
.ledger__text .link { margin-left: 6px; }
@media (max-width: 860px) { .ledger__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
