/* MegaMCP. Apple's restraint, Liquid Death's mouth.
   Black and white, one acid accent, huge type, a chrome skull-robot, and zero chill. */

@font-face {
  font-family: "Inter Tight";
  src: url("/fonts/inter-tight.woff2") format("woff2-variations"), url("/fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Grenze Gotisch";
  src: url("/fonts/grenze-gotisch.woff2") format("woff2-variations"), url("/fonts/grenze-gotisch.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-2: #86868b;
  --line: #d2d2d7;
  --light: #f5f5f7;
  --white: #fff;
  --acid: #c6ff1a;
  --acid-2: #d8ff5c;
  --d-text: #f5f5f7;
  --d-gray: #a1a1a6;
  --d-line: #2c2c2e;
  --d-surface: #111113;
  --d-surface-2: #1c1c1e;
  --red: #ff6b5e;
  --sky: #7fd3ff;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --goth: "Grenze Gotisch", "UnifrakturCook", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -.011em; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.tone-dark { background: var(--black); }
.tone-dark main { background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(54px, 9.6vw, 132px); letter-spacing: -.055em; line-height: .94; }
h2 { font-size: clamp(38px, 5.4vw, 72px); }
h3 { font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
p { text-wrap: pretty; }
code { font-family: var(--mono); }
::selection { background: var(--acid); color: var(--black); }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 44px); margin-inline: auto; }
.narrow { width: min(900px, 100% - 44px); }
.dim { color: var(--gray-2); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { left: -9999px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--acid); color: var(--black); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Primitives ---------- */
.kicker { font-family: var(--goth); font-weight: 600; font-size: 26px; letter-spacing: 0; line-height: 1; margin-bottom: 16px; color: var(--ink); }
.dark .kicker, .final .kicker { color: var(--acid); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border: 0; border-radius: 980px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease), color .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--acid); color: var(--black); }
.btn-primary:hover { background: var(--acid-2); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn + .btn { margin-left: 10px; }

.link-arrow { color: var(--ink); font-weight: 600; font-size: 19px; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.dark .link-arrow { color: var(--acid); }
.center { text-align: center; margin-top: 48px; }

.chip { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 980px; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
a.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23c6ff1a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

.card { background: var(--light); border-radius: 28px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 10px; vertical-align: 2px; }
.dot-volt { background: var(--acid); box-shadow: 0 0 0 1px var(--black); } .dot-orange { background: var(--black); } .dot-blue { background: var(--gray-2); }

/* ---------- Nav (always dark, Apple-thin) ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); color: var(--d-text); }
.nav { display: flex; align-items: center; gap: 28px; height: 56px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: #d2d2d7; padding: 6px 12px; border-radius: 980px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--white); }
.logo .mark { width: 30px; height: 30px; }
.wordmark { font-family: var(--goth); font-weight: 700; font-size: 27px; letter-spacing: .005em; line-height: 1; transform: translateY(-1px); }
.logo:hover .mark { animation: rattle .5s var(--ease); }

/* ---------- Hero ---------- */
.dark { background: var(--black); color: var(--d-text); }
.dark .lead, .dark .section-head p { color: var(--d-gray); }
.hero { padding: 96px 0 0; text-align: center; overflow: hidden; position: relative; }
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 6px 0 28px; background: linear-gradient(180deg, #fff 30%, #9a9aa2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; letter-spacing: -.02em; color: var(--gray); max-width: 34em; }
.hero .lead { margin: 0 auto 34px; max-width: 30em; }
.hero-proof { margin-top: 14px; font-size: 14px; color: var(--gray-2); }
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .3s; }

.stage { position: relative; margin-top: 72px; display: flex; flex-direction: column; align-items: center; }
.stage-glow { position: absolute; top: -40px; left: 50%; width: 760px; height: 560px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198, 255, 26, .22), rgba(198, 255, 26, 0)); pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.stage-bot { width: 290px; position: relative; z-index: 0; animation: float 6s ease-in-out infinite, rise 1.1s var(--ease-out) .25s both; }
.stage-bot .robot { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .8)); }
.stage-seal { position: absolute; top: 40px; right: max(0px, calc(50% - 470px)); width: 132px; z-index: 2; animation: rise 1s var(--ease-out) .5s both; }
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 30px; padding: 56px 0 64px; }
.clients-label { width: 100%; font-size: 13px; color: var(--gray-2); margin-bottom: 6px; }
.client { font-weight: 700; font-size: 22px; letter-spacing: -.04em; color: #6e6e73; transition: color .2s; }
.client:hover { color: var(--white); }

/* ---------- Cockpit demo ---------- */
.cockpit { position: relative; z-index: 1; width: min(700px, 100%); margin-top: -96px; text-align: left; background: rgba(22, 22, 24, .86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid #333336; border-radius: 22px; box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset; overflow: hidden; animation: rise 1.1s var(--ease-out) .4s both; }
.cockpit-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--d-line); font-size: 13px; color: var(--d-gray); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.cockpit-title { font-weight: 600; color: var(--d-text); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 10px var(--acid); animation: pulse 2s infinite; }
.cockpit-body { padding: 22px; display: grid; gap: 14px; min-height: 372px; align-content: start; color: var(--d-text); }
.bubble { border-radius: 18px; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
.bubble-you { background: #2c2c2e; justify-self: end; max-width: 88%; border-bottom-right-radius: 6px; }
.bubble-mega { background: #0b0b0c; border: 1px solid var(--d-line); border-bottom-left-radius: 6px; transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.bubble-mega.is-hidden { opacity: 0; transform: translateY(12px); }
.who { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--d-gray); margin-bottom: 6px; }
.who-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--acid); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.bubble-mega p { font-weight: 600; margin-bottom: 10px; }
.diff { list-style: none; padding: 0; font: 400 13px/1.45 var(--mono); border-radius: 12px; overflow: hidden; border: 1px solid var(--d-line); }
.diff li { padding: 8px 12px; border-top: 1px solid #1f1f22; }
.diff li:first-child { border-top: 0; }
.diff b { display: inline-block; width: 16px; font-weight: 700; }
.d-add { background: rgba(198, 255, 26, .07); color: #dcff85; }
.d-del { background: rgba(255, 107, 94, .09); color: #ffa39a; }
.d-chg { background: rgba(127, 211, 255, .08); color: #a9e2ff; }
.d-ok { color: var(--acid); }
.plan-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.fake-btn { font-size: 14px; font-weight: 600; padding: 7px 16px; border-radius: 980px; background: #2c2c2e; color: var(--d-text); transition: background .2s, transform .15s; }
.fake-approve { background: var(--acid); color: var(--black); }
.fake-approve.is-pressed { transform: scale(.95); background: #8fd400; }
.fake-note { font-size: 12px; color: var(--d-gray); margin-left: 4px; }

/* ---------- Seal ---------- */
.seal { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 10px 30px rgba(198, 255, 26, .25)); }
.seal text { font-family: var(--sans); font-weight: 800; font-size: 13.5px; letter-spacing: .06em; fill: var(--black); }
.seal-ring { transform-origin: 70px 70px; animation: spin 18s linear infinite; }


/* ---------- Marquee ---------- */
.marquee { background: var(--black); border-top: 1px solid var(--d-line); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-dup { display: contents; }
.mq-item { font-weight: 700; font-size: 28px; letter-spacing: -.04em; color: #f5f5f7; white-space: nowrap; }
.mq-sep { color: var(--acid); font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding: 140px 0; }
.section-tight { padding: 40px 0 120px; }
.section-gray { background: var(--light); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 64px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 21px; line-height: 1.4; color: var(--gray); }
.section-head-left { text-align: left; margin-left: 0; margin-bottom: 40px; }

.statement { padding: 160px 0; }
.statement-text { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; color: var(--ink); }
.statement-text span { color: var(--gray-2); }

.bentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento { position: relative; background: var(--white); border-radius: 30px; padding: 36px; display: flex; flex-direction: column; min-height: 320px; overflow: hidden; }
.bento h3 { margin: 8px 0 10px; }
.bento p:last-child { color: var(--gray); }
.bento-icon { width: 30px; height: 30px; color: var(--gray-2); margin-bottom: auto; }
.bento-big { font-size: 88px; font-weight: 800; letter-spacing: -.065em; line-height: .9; margin-top: 36px; }
.bento-big span { font-size: 22px; letter-spacing: -.02em; font-weight: 700; margin-left: 8px; }
.bento-hero { grid-column: span 2; grid-row: span 2; background: var(--black); color: var(--white); }
.bento-hero .bento-big { font-size: clamp(120px, 16vw, 210px); color: var(--acid); }
.bento-hero .bento-big span { color: var(--white); font-size: 30px; }
.bento-hero h3 { font-size: 36px; }
.bento-hero p:last-child { color: var(--d-gray); max-width: 28em; }
.bento-hero .bento-icon { color: #48484a; }
.bento-acid { background: var(--acid); }
.bento-acid p:last-child { color: #1d1d1f; }
.bento-acid .bento-icon { color: var(--black); }

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mode { background: var(--light); border-radius: 30px; padding: 40px 34px; display: flex; flex-direction: column; gap: 10px; }
.mode-kicker { font-size: 14px; font-weight: 600; color: var(--gray); }
.mode h3 { font-size: 44px; letter-spacing: -.05em; margin-bottom: 4px; }
.mode p:not(.mode-kicker) { color: var(--gray); }
.mode-sample { margin-top: auto; padding-top: 26px; font-size: 13px; color: var(--ink); }
.mode-sample::before { content: "\2192  "; color: var(--gray-2); }

.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ptile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-decoration: none; background: var(--white); border-radius: 20px; font-weight: 600; transition: transform .3s var(--ease-out), box-shadow .3s; }
.ptile:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .18); }
.ptile-short { display: grid; place-items: center; min-width: 56px; height: 40px; padding: 0 8px; border-radius: 11px; background: var(--black); color: var(--acid); font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.ptile-name { line-height: 1.2; }
.ptile-arrow { margin-left: auto; font-size: 22px; color: var(--gray-2); transition: transform .2s; }
.ptile:hover .ptile-arrow { transform: translateX(3px); color: var(--ink); }

/* ---------- Workflow cards ---------- */
.carts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cart { display: flex; flex-direction: column; gap: 10px; padding: 32px; text-decoration: none; background: var(--light); border-radius: 28px; transition: transform .35s var(--ease-out), background .3s; }
.section-gray .cart { background: var(--white); }
a.cart:hover { transform: translateY(-4px); }
a.cart:hover .cart-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cart-tag { font-size: 13px; font-weight: 600; color: var(--gray); }
.cart-name { font-weight: 700; font-size: 26px; letter-spacing: -.035em; line-height: 1.1; }
.cart-sum { color: var(--gray); font-size: 16px; flex: 1; }
.cart-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.cart-time { font-weight: 700; color: var(--black); background: var(--acid); padding: 3px 10px; border-radius: 980px; white-space: nowrap; }
.cart[hidden] { display: none; }

/* ---------- Compare ---------- */
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 20px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dark .compare th, .dark .compare td { border-color: var(--d-line); }
.compare thead th { font-size: 14px; font-weight: 600; color: var(--gray); }
.compare thead .col-mega { color: var(--ink); font-family: var(--goth); font-size: 26px; font-weight: 700; }
.dark .compare thead .col-mega { color: var(--acid); }
.compare tbody th { font-weight: 600; width: 36%; }
.compare td { color: var(--gray); }
.compare td:nth-child(2) { color: var(--ink); font-weight: 600; }
.dark .compare td { color: var(--d-gray); }
.dark .compare td:nth-child(2) { color: var(--white); }
.compare td.win::before { content: "\2713  "; color: #3a8f00; font-weight: 800; }
.dark .compare td.win::before { color: var(--acid); }
.source-note { font-size: 13px; color: var(--gray-2); margin-top: 20px; }
.source-note a { color: inherit; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; margin: 0 auto 44px; width: max-content; padding: 4px; border-radius: 980px; background: #e8e8ed; }
.billing-toggle button { border: 0; background: transparent; padding: 9px 20px; border-radius: 980px; font-weight: 600; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .2s; }
.billing-toggle button.is-on { background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.save { font-size: 12px; font-weight: 700; background: var(--acid); padding: 2px 8px; border-radius: 980px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--white); border-radius: 30px; padding: 40px 34px; display: flex; flex-direction: column; gap: 12px; }
.plan h3 { font-size: 32px; }
.plan-blurb { color: var(--gray); min-height: 3em; }
.plan-featured { background: var(--black); color: var(--white); }
.plan-featured .plan-blurb, .plan-featured .price-per { color: var(--d-gray); }
.plan-flag { position: absolute; top: 24px; right: 24px; font-family: var(--goth); font-weight: 700; font-size: 20px; color: var(--acid); }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 8px; }
.price-num { font-size: 64px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.price-per { font-weight: 600; color: var(--gray); }
.plan-seats { font-size: 14px; font-weight: 600; color: var(--gray); margin-bottom: 12px; }
.plan-featured .plan-seats { color: var(--d-gray); }
.plan .checks { margin-top: 18px; font-size: 16px; }
.plan-featured .checks li::before { background-color: var(--acid); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-featured .btn-primary { background: var(--acid); }
.plans-note { text-align: center; margin-top: 36px; color: var(--gray); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-weight: 600; font-size: 21px; letter-spacing: -.02em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 14px no-repeat; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--gray); font-size: 18px; max-width: 46em; }

/* ---------- Final CTA ---------- */
.final { background: var(--black); color: var(--d-text); padding: 140px 0 150px; text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(198, 255, 26, .16), transparent); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-bot { width: 170px; margin-bottom: 36px; animation: float 6s ease-in-out infinite; }
.final-bot .robot { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .8)); }
.final h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 40px; }
.final h2 .dim { color: #6e6e73; display: block; font-size: .56em; letter-spacing: -.035em; margin-top: 10px; }
.final .fine { font-size: 13px; color: var(--gray-2); margin-top: 6px; max-width: 40em; }
.final-seal { position: absolute; width: 120px; right: 0; top: 10px; }

/* ---------- Join form ---------- */
.join { width: min(640px, 100%); }
.join-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.join input[type="email"], .join select { height: 50px; border: 0; border-radius: 980px; background: var(--light); padding: 0 22px; font-size: 17px; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.join input[type="email"] { flex: 1 1 220px; }
.join select { flex: 0 1 150px; appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2386868b' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 11px; }
.join input:focus, .join select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--acid); }
.join input::placeholder { color: var(--gray-2); }
.join .btn { flex: 0 0 auto; }
.join-dark input[type="email"], .join-dark select { background-color: var(--d-surface-2); color: var(--d-text); box-shadow: inset 0 0 0 1px #3a3a3c; }
.join-dark select option { color: var(--ink); }
.join-msg { min-height: 24px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.join-msg.ok { color: #3a8f00; }
.join-msg.err { color: #d93b2b; }
.join-dark .join-msg.ok { color: var(--acid); }
.join-dark .join-msg.err { color: var(--red); }
.join.is-busy .btn { opacity: .6; pointer-events: none; }
.join.is-done .join-row { display: none; }
.join.is-done .join-msg { font-family: var(--goth); font-size: 32px; font-weight: 600; line-height: 1.15; }

/* ---------- Footer ---------- */
.footer { background: var(--light); color: var(--gray); padding: 72px 0 28px; font-size: 13px; }
.footer-shout { font-family: var(--goth); font-weight: 700; font-size: clamp(56px, 10vw, 140px); line-height: .9; color: var(--ink); margin-bottom: 64px; letter-spacing: -.01em; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer .logo { color: var(--ink); }
.footer h3 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin-top: 14px; max-width: 30em; font-size: 14px; }
.footer-fine { padding-top: 22px; display: grid; gap: 8px; color: var(--gray-2); font-size: 12px; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 88px 0 56px; }
.page-hero h1 { font-size: clamp(46px, 7vw, 96px); margin-bottom: 26px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero-center { text-align: center; }
.page-hero-center .lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--gray-2); margin-bottom: 30px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); text-decoration: underline; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }

.plug-art, .wf-art { position: relative; background: var(--black); border-radius: 36px; padding: 48px 40px 56px; display: flex; flex-direction: column; align-items: center; gap: 0; overflow: hidden; min-height: 460px; justify-content: center; }
.plug-art::before, .wf-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 62%, rgba(198, 255, 26, .2), transparent); pointer-events: none; }
.plug-block { position: relative; display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 980px; background: var(--acid); color: var(--black); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.plug-cable { position: relative; width: 2px; height: 56px; background: repeating-linear-gradient(to bottom, var(--acid) 0 6px, transparent 6px 12px); animation: flow 1s linear infinite; }
.plug-bot { position: relative; width: 230px; animation: float 6s ease-in-out infinite; }
.wf-art { gap: 28px; }
.wf-art-card { position: relative; z-index: 1; width: min(360px, 100%); background: rgba(28, 28, 30, .9); border: 1px solid #333336; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; color: var(--d-text); }
.wf-art-card .cart-tag { color: var(--acid); }
.wf-art-card .cart-foot { border-color: var(--d-line); color: var(--d-gray); margin-top: 8px; padding-top: 12px; }
.wf-art-bot { position: relative; width: 150px; animation: float 6s ease-in-out infinite; }

.prompts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.prompt { display: flex; gap: 18px; align-items: flex-start; padding: 30px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.prompt-n { font-size: 13px; font-weight: 700; color: var(--acid); background: var(--black); padding: 5px 9px; border-radius: 980px; flex: none; }
.rw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rw-col { background: var(--white); padding: 36px 32px; }
.rw-col h3 { margin-bottom: 20px; font-size: 22px; }
.rw-guard { background: var(--black); color: var(--d-text); }
.rw-guard p { color: var(--d-text); font-size: 18px; }
.rw-guard p + p { margin-top: 14px; font-size: 15px; color: var(--d-gray); }
.other-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.other-chips .dim { margin-right: 4px; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 34px; text-decoration: none; transition: transform .35s var(--ease-out); }
.pcard:hover { transform: translateY(-4px); }
.pcard-badge { align-self: flex-start; }
.pcard-cat { font-size: 13px; font-weight: 600; color: var(--gray); margin-top: 14px; }
.pcard h3 { font-size: 28px; }
.pcard p { color: var(--gray); flex: 1; }
.pcard .link-arrow { font-size: 16px; margin-top: 12px; }
.more-tools { margin-top: 56px; padding: 44px; background: var(--black); color: var(--d-text); }
.more-tools h2 { font-size: 40px; margin-bottom: 10px; }
.more-tools p { color: var(--d-gray); margin-bottom: 24px; }
.more-tools .chip { background: transparent; color: var(--d-text); box-shadow: inset 0 0 0 1px #3a3a3c; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filter button { height: 38px; padding: 0 18px; border: 0; border-radius: 980px; background: var(--light); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s; }
.filter button:hover { background: #e8e8ed; }
.filter button.is-on { background: var(--black); color: var(--white); }

.wf-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; margin: 0 0 32px; }
.wf-meta dt { font-size: 13px; font-weight: 600; color: var(--gray-2); margin-bottom: 4px; }
.wf-meta dd { margin: 0; font-weight: 600; }
.steps { list-style: none; padding: 8px 32px; }
.steps li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.steps li:last-child { border-bottom: 0; }
.step-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--acid); font-size: 14px; font-weight: 700; }
.output { margin-top: 20px; padding: 32px; background: var(--black); color: var(--d-text); }
.output .kicker { color: var(--acid); display: block; margin-bottom: 8px; }
.output p { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }

.versus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vs-card { background: var(--white); padding: 38px 34px; }
.vs-card h2 { font-size: 32px; margin-bottom: 16px; }
.vs-card p { color: var(--gray); }
.vs-card p + p { margin-top: 14px; font-weight: 600; color: var(--ink); }

.notfound .nf-bot { width: 190px; margin: 0 auto 26px; transform: rotate(-12deg); animation: tilt 4s ease-in-out infinite; }

/* ---------- Robot ---------- */
.robot { overflow: visible; }
.robot .r-eyes { transform-box: view-box; transform-origin: 120px 121px; animation: blinky 5s infinite; }
.robot .r-bulb { animation: bulb 2.6s ease-in-out infinite; }
.robot .r-glow { animation: glow 2.6s ease-in-out infinite; }
.mark .mark-eye { transform-box: fill-box; transform-origin: center; animation: blinky 6s infinite 1s; }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes breathe { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes blinky { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.08); } }
@keyframes bulb { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: .15; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rattle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
@keyframes tilt { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg) translateY(-8px); } }
@keyframes flow { to { background-position: 0 12px; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .split { grid-template-columns: 1fr; }
  .ptiles { grid-template-columns: repeat(2, 1fr); }
  .bentos, .modes, .carts, .plans, .rw, .pcards, .versus { grid-template-columns: 1fr 1fr; }
  .bento-hero { grid-column: span 2; grid-row: auto; }
  .bento:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stage-seal { right: 0; width: 110px; }
  .final-seal { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .nav { height: 52px; gap: 12px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 64px; }
  .stage { margin-top: 48px; }
  .stage-bot { width: 200px; }
  .stage-seal { width: 88px; top: 0; }
  .cockpit { margin-top: -64px; }
  .cockpit-body { min-height: 410px; padding: 16px; }
  .bentos, .modes, .carts, .plans, .rw, .pcards, .versus, .prompts, .ptiles { grid-template-columns: 1fr; }
  .bento-hero, .bento:last-child { grid-column: auto; }
  .section { padding: 96px 0; }
  .statement { padding: 110px 0; }
  .section-head { margin-bottom: 44px; }
  .join select, .join .btn { flex: 1 1 100%; }
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  .page-hero .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .wf-meta { grid-template-columns: 1fr; }
  .plug-art, .wf-art { min-height: 380px; padding: 36px 24px 44px; }
  .plug-bot { width: 170px; }
  .final { padding: 96px 0 110px; }
  .prompt { font-size: 18px; padding: 24px; }
  .mq-item { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}

/* ==========================================================================
   Launch additions: status pills, trial CTAs, launch-updates strip, docs,
   tool reference, legal pages, security, changelog.
   ========================================================================== */

/* ---------- Nav ---------- */
.nav-signin { font-size: 14px; color: #d2d2d7; text-decoration: none; padding: 6px 4px; white-space: nowrap; }
.nav-signin:hover { color: var(--white); }
.nav-links + .nav-signin { margin-left: 4px; }

/* ---------- CTAs ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row .btn + .btn { margin-left: 0; }
.hero .cta-row, .final .cta-row, .page-hero-center .cta-row, .cta-center { justify-content: center; }
.page-hero-center .cta-row { margin-top: 8px; }
.btn-ghost-dark { color: var(--d-text); box-shadow: inset 0 0 0 1.5px #48484a; }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--d-text); background: transparent; }
.hero .cta-row { margin-bottom: 4px; }
.final .cta-row { margin-bottom: 18px; }

/* ---------- Status pills ---------- */
.status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 980px; font-size: 12px; font-weight: 700; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { background: var(--acid); color: var(--black); }
.status-live::before { background: var(--black); }
.status-beta { background: var(--black); color: var(--acid); }
.status-soon { background: transparent; color: var(--gray); box-shadow: inset 0 0 0 1px var(--line); }
.status-sm { height: 20px; padding: 0 8px; font-size: 11px; }
.dark .status-soon, .rw-guard .status-soon { color: var(--d-gray); box-shadow: inset 0 0 0 1px #48484a; }
.dark .status-beta { background: var(--d-surface-2); }
.status-note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--gray); max-width: 40em; margin: -8px 0 28px; }
.status-note .status { flex: none; margin-top: 1px; }

.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; font-size: 14px; color: var(--gray); }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend dd { margin: 0; }

.ptile-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ptile-sandbox { box-shadow: inset 0 0 0 2px var(--acid); }
.rollout-note { max-width: 60em; margin: 28px auto 0; font-size: 15px; color: var(--gray); text-align: center; }
.rollout-note b { color: var(--ink); }
.planned { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.planned .dim { font-size: 14px; margin-right: 4px; }
.planned .chip { height: 32px; font-size: 14px; color: var(--gray); }

a.client { text-decoration: none; }

.pcard-top, .cart-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-soon { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.pcard-soon h3, .pcard-soon .ptile-short { opacity: .75; }
.pcard-sandbox { background: var(--black); color: var(--d-text); }
.pcard-sandbox p, .pcard-sandbox .pcard-cat { color: var(--d-gray); }
.pcard-sandbox .link-arrow { color: var(--acid); }
.cart-soon { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.section-gray .cart-soon { background: transparent; }
.cart-soon .cart-time { background: var(--light); color: var(--gray); }
.section-head-gap { margin-top: 80px; }
.rw-more { margin-top: 28px; }
.rw-more .link-arrow { font-size: 17px; }
.more-tools a { color: var(--acid); }

/* ---------- Launch-updates strip (every page, above the footer) ---------- */
.updates { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0; }
.updates-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; }
.updates h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 10px; }
.updates-copy p { color: var(--gray); font-size: 16px; max-width: 32em; }
.updates .join { width: 100%; }
.updates .join-row { justify-content: flex-start; }
.updates .join-msg { min-height: 20px; }

/* ---------- Docs frame ---------- */
.doc-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 20px; }
.doc-hero .lead { margin-bottom: 0; }
.updated { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--gray); }
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 64px; padding: 48px 0 110px; align-items: start; }
.docs-nav { position: sticky; top: 80px; display: grid; gap: 26px; font-size: 15px; max-height: calc(100vh - 100px); overflow-y: auto; }
.docs-group-h { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 8px; }
.docs-nav ul, .docs-nav ol { list-style: none; padding: 0; display: grid; gap: 2px; }
.docs-nav a { display: block; padding: 6px 12px; margin-left: -12px; border-radius: 10px; text-decoration: none; color: var(--gray); }
.docs-nav a:hover { color: var(--ink); background: var(--light); }
.docs-nav a[aria-current="page"] { color: var(--black); background: var(--acid); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose section + section { margin-top: 48px; }
.prose h2 { font-size: 32px; letter-spacing: -.035em; line-height: 1.15; margin-top: 52px; margin-bottom: 4px; scroll-margin-top: 80px; }
.prose > h2:first-child, .prose section:first-child h2, .prose .tldr + section h2 { margin-top: 0; }
.prose section > * + * { margin-top: 16px; }
.prose h3 { font-size: 21px; margin-top: 30px; }
.prose p, .prose li { text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose a.btn { text-decoration: none; }
.prose code { font-size: .88em; background: var(--light); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.prose b { font-weight: 650; }
.muted-note { font-size: 14px; color: var(--gray-2); }
mark.placeholder { background: #fff3b0; color: var(--ink); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

.doc-steps { list-style: none; counter-reset: step; padding: 0 !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 !important; }
.doc-steps > li { counter-increment: step; position: relative; padding: 16px 0 16px 50px; border-bottom: 1px solid var(--line); }
.doc-steps > li:last-child { border-bottom: 0; }
.doc-steps > li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--black); color: var(--acid); font-size: 14px; font-weight: 700; }

.doc-code-wrap { position: relative; margin: 12px 0 4px; }
.doc-code { margin: 0; padding: 18px 20px; padding-right: 84px; background: var(--black); color: #e8ffd0; border-radius: 16px; font: 14px/1.55 var(--mono); overflow-x: auto; white-space: pre; }
.prose .doc-code code { background: none; padding: 0; font-size: inherit; color: inherit; overflow-wrap: normal; }
.copy-btn { position: absolute; top: 10px; right: 10px; height: 30px; padding: 0 12px; border: 0; border-radius: 980px; background: #2c2c2e; color: var(--d-text); font-size: 13px; font-weight: 600; cursor: pointer; }
.copy-btn:hover { background: #3a3a3c; }
.copy-btn.is-copied { background: var(--acid); color: var(--black); }

.doc-callout { padding: 16px 20px; border-radius: 16px; background: var(--light); border-left: 4px solid var(--black); font-size: 16px; }
.doc-callout-warn { background: #fff5f3; border-left-color: var(--red); }
.doc-callout-tip { background: #f6ffe0; border-left-color: var(--acid); }

.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 18px; background: var(--light); text-decoration: none !important; transition: transform .25s var(--ease-out), box-shadow .25s; }
.doc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .25); }
.doc-card-g { font-size: 12px; font-weight: 700; color: var(--gray-2); text-transform: uppercase; letter-spacing: .04em; }
.doc-card-t { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.doc-card-b { font-size: 15px; color: var(--gray); line-height: 1.45; }

.doc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 56px !important; padding: 22px 24px; border-radius: 20px; background: var(--black); color: var(--d-text); }
.doc-cta p { font-size: 16px; }
.doc-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px !important; padding-top: 24px; border-top: 1px solid var(--line); }
.doc-pager a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 700; min-width: 0; }
.doc-pager a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.doc-pager a span { font-size: 12px; font-weight: 600; color: var(--gray-2); }
.doc-next { margin-left: auto; text-align: right; }

.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc-table thead th { font-size: 13px; font-weight: 600; color: var(--gray); }
.doc-table tbody th { font-weight: 600; white-space: nowrap; }
.prose .table-wrap { border: 1px solid var(--line); border-radius: 16px; }
.prose .table-wrap .doc-table tr:last-child th, .prose .table-wrap .doc-table tr:last-child td { border-bottom: 0; }

.faq-compact summary { font-size: 18px; padding: 18px 44px 18px 0; }
.faq-compact details p { font-size: 16px; padding-bottom: 20px; }

.diff-demo { padding: 18px; border-radius: 18px; background: var(--light); }
.diff-demo-h { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.diff-light { border-color: var(--line); background: var(--white); }
.diff-light li { border-color: var(--line); }
.diff-light .d-add { background: #f3ffd6; color: #2d5a00; }
.diff-light .d-del { background: #fff0ee; color: #a3261a; }
.diff-light .d-chg { background: #eef8ff; color: #0b5c87; }
.diff-demo-blocked { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: #fff0ee; color: #a3261a; font-size: 14px; font-weight: 600; }

/* ---------- Tool reference ---------- */
.tool-jump ul { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.tool-jump a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 980px; background: var(--light); text-decoration: none !important; font-size: 14px; font-weight: 600; }
.tool-jump a span { font-size: 12px; color: var(--gray); }
.tool-jump a:hover { background: var(--acid); }
.tool-group { margin-top: 56px !important; }
.tool-group h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tool-group-meta { color: var(--gray); font-size: 15px; margin-top: 6px !important; }
.tool { margin-top: 18px; padding: 22px 24px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 80px; }
.tool:target { box-shadow: inset 0 0 0 2px var(--acid); }
.tool-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tool-head h3 { margin: 0; font-size: 17px; }
.tool-head h3 a { text-decoration: none; }
.tool-head h3 code { background: none; padding: 0; font-size: 16px; font-weight: 700; }
.tool-title { margin-top: 6px !important; font-weight: 650; }
.tool-desc { margin-top: 6px !important; color: var(--gray); font-size: 15px; line-height: 1.55; }
.tool .table-wrap { margin-top: 14px; }
.tool-noparams { margin-top: 10px !important; font-size: 14px; color: var(--gray-2); }
.kind { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 980px; white-space: nowrap; }
.kind-read { background: var(--light); color: var(--gray); }
.kind-write { background: var(--black); color: var(--acid); }
.params code { font-size: 13px; }
.params .type { color: var(--gray); background: none; padding: 0; }
.params .opt { font-size: 11px; font-weight: 600; color: var(--gray-2); }

/* ---------- Legal ---------- */
.toc { counter-reset: none; }
.tldr { padding: 22px 24px; border-radius: 20px; background: var(--black); color: var(--d-text); }
.tldr-h { font-family: var(--goth); font-size: 24px; color: var(--acid); margin-bottom: 8px; }
.tldr ul { padding-left: 20px; display: grid; gap: 6px; }
.tldr a { color: var(--acid); text-decoration-color: var(--acid); }
.limited-use { padding: 16px 20px; border-radius: 16px; background: #f6ffe0; border-left: 4px solid var(--acid); }

/* ---------- Security ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar { padding: 28px; border-radius: 24px; background: var(--light); }
.pillar h3 { font-size: 22px; margin: 16px 0 8px; }
.pillar p { color: var(--gray); font-size: 16px; }
.pillar-icon { display: block; width: 28px; height: 28px; color: var(--ink); }

/* ---------- Changelog ---------- */
.releases { display: grid; gap: 48px; }
.release { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; }
.release-date { font-weight: 700; color: var(--gray); padding-top: 6px; }
.release h2 { font-size: 32px; letter-spacing: -.035em; line-height: 1.12; margin-bottom: 12px; }
.release h2 a { text-decoration: none; }
.release-sum { color: var(--gray); font-size: 18px; margin-bottom: 20px; }
.release-items { list-style: none; padding: 0; display: grid; gap: 12px; }
.release-items li { display: flex; gap: 12px; align-items: baseline; }
.tag { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--light); color: var(--gray); }
.tag-new { background: var(--acid); color: var(--black); }
.tag-security { background: var(--black); color: var(--acid); }

/* ---------- Footer: five columns now ---------- */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; }
.footer-brand .btn { margin-top: 4px; }

@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .docs-nav { position: static; max-height: none; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; padding: 18px 20px; border-radius: 20px; background: var(--light); }
  .docs-nav a:hover { background: var(--white); }
  .pillars { grid-template-columns: 1fr 1fr; }
  .updates-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  .nav-signin { margin-left: auto; font-size: 13px; }
  .nav .btn { margin-left: 0; }
  .cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 420px; }
  .hero .cta-row, .final .cta-row, .cta-center { margin-inline: auto; }
  .cta-row .btn + .btn { margin-top: 0; }
  .doc-cards, .pillars { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 6px; }
  .prose h2 { font-size: 27px; }
  .doc-code { font-size: 13px; }
  .doc-cta { flex-direction: column; align-items: flex-start; }
  .doc-table tbody th { white-space: normal; }
  .footer-brand { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .legend { flex-direction: column; gap: 8px; }
  .updates { padding: 44px 0; }
}
@media (max-width: 400px) {
  .nav { gap: 10px; }
  .nav .btn-sm { padding: 0 12px; font-size: 13px; }
  .logo .wordmark { font-size: 24px; }
}
