/* Deplane marketing site. Self-contained: loads nothing from other origins. */
@font-face { font-family: "Geist"; src: url("/static/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/static/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #ffffff; --bg-2: #fafafa; --bg-3: #f4f4f5; --line: #ebebeb; --line-2: #dcdcdc;
  --ink: #0a0a0a; --text: #404040; --muted: #737373; --faint: #a3a3a3;
  --green: #16a34a; --green-2: #22c55e; --green-bg: #ecfdf3; --amber: #b45309; --amber-bg: #fef6e7; --red: #dc2626; --blue: #2563eb;
  --term: #0a0a0a; --term-text: #d4d4d4; --term-dim: #737373;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 8px; --r-lg: 12px; --w: 1180px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --bg-2: #111111; --bg-3: #1a1a1a; --line: #222222; --line-2: #2e2e2e;
    --ink: #fafafa; --text: #c7c7c7; --muted: #8f8f8f; --faint: #5c5c5c;
    --green: #3fcf6e; --green-2: #22c55e; --green-bg: #0d2617; --amber: #f5a524; --amber-bg: #2a1d07;
    --term: #000000; --term-text: #d4d4d4; --term-dim: #6b6b6b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 16px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.site { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
:where(.site) a { color: inherit; }
:where(.site) img, :where(.site) svg { max-width: 100%; }
.site h1, .site h2, .site h3, .site h4 { color: var(--ink); margin: 0; letter-spacing: -0.025em; line-height: 1.15; font-weight: 600; }
.site p { margin: 0; }
.site code, .mono { font-family: var(--mono); font-size: .92em; }
.site :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r); z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 500 14.5px/1 var(--sans); text-decoration: none; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: var(--faint); }
.btn-solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--ink) 82%, var(--bg)); border-color: transparent; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15.5px; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(2px); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 700 19px/1 var(--sans); letter-spacing: -0.04em; }
.nav-brand .logo { width: 26px; height: 26px; }
@media (prefers-color-scheme: dark) { .nav-brand .logo rect { fill: #fafafa; } .nav-brand .logo circle[stroke], .nav-brand .logo path { stroke: #0a0a0a; } }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; padding: 8px 10px; border-radius: 6px; }
.nav-links a:hover { color: var(--ink); background: var(--bg-3); }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-cta .btn { height: 34px; font-size: 14px; padding: 0 14px; }
.nav-signin { text-decoration: none; font-size: 14px; color: var(--text); padding: 8px 12px; }
.nav-signin:hover { color: var(--ink); }
.nav-menu { display: none; margin-left: auto; }
.nav-menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; border-radius: 8px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.nav-menu[open] summary span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-menu[open] summary span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav-sheet { position: absolute; left: 0; right: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.nav-sheet a { text-decoration: none; color: var(--ink); font-size: 16px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.nav-sheet .btn { margin-top: 12px; border-bottom: 0; color: var(--bg); }
@media (max-width: 960px) { .nav-links, .nav-cta { display: none; } .nav-menu { display: block; } }

/* Sections */
.sec { padding: 112px 0; border-top: 1px solid var(--line); position: relative; }
.sec.tight { padding: 80px 0; }
.sec.alt { background: var(--bg-2); }
@media (max-width: 700px) { .sec { padding: 72px 0; } .sec.tight { padding: 56px 0; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.kicker::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 1px; }
.h-xl { font-size: clamp(44px, 7.2vw, 84px); letter-spacing: -0.05em; line-height: 1.0; font-weight: 650; }
.h-l { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.04em; line-height: 1.05; }
.h-m { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text); max-width: 680px; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 18px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.green { color: var(--green); }

/* Hero */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.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: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%); opacity: .7; pointer-events: none; }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); background: var(--bg); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13.5px; color: var(--text); text-decoration: none; margin-bottom: 28px; }
.pill b { font: 600 11.5px/1 var(--mono); background: var(--green-bg); color: var(--green); border-radius: 999px; padding: 5px 8px; letter-spacing: .02em; }
.pill:hover { border-color: var(--faint); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .soft { color: var(--faint); }
.hero .lead { margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.install { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 14px/1 var(--mono); color: var(--ink); background: var(--bg); max-width: 100%; }
.install span.p { color: var(--faint); }
.install code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13.5px; }
.copy-btn { border: 0; background: var(--bg-3); color: var(--text); height: 32px; min-width: 32px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--sans); cursor: pointer; }
.copy-btn:hover { color: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 13.5px; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Terminal */
.term { background: var(--term); color: var(--term-text); border-radius: var(--r-lg); border: 1px solid #262626; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.02) inset; font: 13px/1.75 var(--mono); overflow: hidden; min-width: 0; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #1f1f1f; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2a; }
.term-bar span { margin-left: 10px; color: var(--term-dim); font-size: 12px; }
.term-body { padding: 18px 20px 22px; min-height: 360px; white-space: pre; overflow-x: auto; }
.term-body .l { display: block; }
.term .c-p { color: #22c55e; } .term .c-d { color: var(--term-dim); } .term .c-w { color: #fafafa; } .term .c-g { color: #4ade80; } .term .c-b { color: #93c5fd; } .term .c-y { color: #fcd34d; }
.term .cursor { display: inline-block; width: 8px; height: 15px; background: #d4d4d4; vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .term-body .l.pending { display: none; }

/* Logos / stacks strip */
.stacks { padding: 36px 0; border-top: 1px solid var(--line); }
.stacks-in { display: flex; align-items: center; gap: 18px 36px; flex-wrap: wrap; justify-content: center; }
.stacks p { font-size: 13px; color: var(--muted); }
.stack { display: inline-flex; align-items: center; gap: 8px; font: 500 15px/1 var(--sans); color: var(--muted); letter-spacing: -0.01em; }
.stack svg { width: 20px; height: 20px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow: hidden; position: relative; }
.sec.alt .tile { background: var(--bg); }
.tile h3 { font-size: 19px; }
.tile p { font-size: 15px; color: var(--text); }
.tile .tile-vis { margin-top: auto; padding-top: 22px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .span-2, .span-3, .span-4 { grid-column: span 1; } .span-6, .bento .wide-m { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4, .span-6, .bento .wide-m { grid-column: span 1; } .tile { padding: 22px; } }
.ico { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--bg-2); margin-bottom: 6px; }
.ico svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile .more { margin-top: 6px; font-size: 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
.tile .more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Product panels (coded UI, not screenshots) */
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); font-size: 13px; overflow: hidden; box-shadow: var(--shadow); }
.panel-h { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); font-size: 13px; }
.panel-h .r { margin-left: auto; color: var(--muted); font-weight: 400; font: 12px var(--mono); }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); min-width: 0; }
.row:last-child { border-bottom: 0; }
.row .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.row .m { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.st { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); flex: none; box-shadow: 0 0 0 3px var(--green-bg); }
.st.build { background: var(--amber); box-shadow: 0 0 0 3px var(--amber-bg); }
.st.idle { background: var(--faint); box-shadow: none; }
.js .st.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font: 500 11px/1 var(--mono); background: var(--bg-3); color: var(--text); white-space: nowrap; }
.tag.g { background: var(--green-bg); color: var(--green); }
.tag.a { background: var(--amber-bg); color: var(--amber); }
.chart { display: block; width: 100%; height: auto; }
.chart .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.chart .ar { fill: var(--ink); opacity: .06; }
.chart .gd { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .ln.g { stroke: var(--green); }
.chart .ar.g { fill: var(--green); opacity: .1; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stats div { padding: 10px 12px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; color: var(--ink); font: 600 17px/1.2 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats small { color: var(--muted); font-size: 11.5px; }
.code { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font: 12.5px/1.75 var(--mono); color: var(--text); white-space: pre; overflow-x: auto; }
.code .k { color: var(--ink); font-weight: 600; } .code .s { color: var(--green); } .code .c { color: var(--faint); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 32px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; background: var(--bg); }
.step:last-child { border-right: 0; }
.step .n { font: 500 12px/1 var(--mono); color: var(--muted); }
.step h3 { font-size: 20px; }
.step .code { margin-top: auto; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; font: 500 13.5px/1 var(--sans); color: var(--muted); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
.tabpanel[hidden] { display: none; }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; }
.checks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

/* Isolation diagram */
.iso { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--bg); font-size: 12.5px; }
.iso-host { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 14px; }
.iso-label { font: 500 11.5px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; }
.iso-vms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vm { border: 1px solid var(--ink); border-radius: 6px; padding: 10px; background: var(--bg-2); min-width: 0; }
.vm .vk { font: 500 10.5px/1 var(--mono); color: var(--green); margin-bottom: 8px; display: block; }
.vm .va { border: 1px solid var(--line-2); border-radius: 4px; padding: 7px 8px; background: var(--bg); color: var(--ink); font: 500 12px/1.2 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm .vo { color: var(--muted); font-size: 11px; margin-top: 6px; display: block; }
.iso-base { margin-top: 10px; border: 1px solid var(--line); border-radius: 6px; padding: 9px; text-align: center; font: 500 11.5px/1 var(--mono); color: var(--muted); background: var(--bg-2); }
@media (max-width: 520px) { .iso-vms { grid-template-columns: 1fr; } }

/* Ladder */
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.rung { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rung:nth-child(1) { min-height: 220px; } .rung:nth-child(2) { min-height: 250px; } .rung:nth-child(3) { min-height: 280px; } .rung:nth-child(4) { min-height: 310px; } .rung:nth-child(5) { min-height: 340px; background: var(--ink); border-color: var(--ink); }
.rung:nth-child(5) h3, .rung:nth-child(5) p, .rung:nth-child(5) .rn { color: var(--bg); }
.rung:nth-child(5) .tag { background: color-mix(in srgb, var(--bg) 16%, transparent); color: var(--bg); }
.rung .rn { font: 500 12px/1 var(--mono); color: var(--muted); }
.rung h3 { font-size: 18px; }
.rung p { font-size: 14px; }
.rung .tag { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .ladder { grid-template-columns: 1fr; } .rung { min-height: 0 !important; } }

/* Pricing cards */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); position: relative; min-width: 0; }
.tier.hi { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.tier .badge { position: absolute; top: -11px; left: 24px; background: var(--ink); color: var(--bg); font: 500 11.5px/1 var(--mono); padding: 6px 10px; border-radius: 999px; }
.tier h3 { font-size: 18px; }
.tier .for { color: var(--muted); font-size: 14px; min-height: 22px; }
.price { font: 650 46px/1 var(--sans); color: var(--ink); letter-spacing: -0.05em; margin: 18px 0 4px; font-variant-numeric: tabular-nums; }
.price small { font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.price.word { font-size: 34px; letter-spacing: -0.04em; padding: 6px 0 4px; }
.tier .btn { margin: 18px 0 20px; width: 100%; }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.tier li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tier .incl { font-size: 13px; color: var(--muted); margin-bottom: 4px; }

/* Tables */
.tbl-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; background: var(--bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-weight: 500; color: var(--ink); background: var(--bg-2); font-size: 14px; position: sticky; top: 0; }
.tbl tbody th { font-weight: 500; color: var(--ink); }
.tbl tr:last-child td, .tbl tr:last-child th { border-bottom: 0; }
.tbl .grp th { background: var(--bg-2); font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 18px; }
.tbl .us { background: color-mix(in srgb, var(--green-bg) 55%, transparent); }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--faint); }
.part { color: var(--amber); }

/* Big numbers */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.nums > div { padding: 28px 24px; border-right: 1px solid var(--line); background: var(--bg); }
.nums > div:last-child { border-right: 0; }
.nums b { display: block; font: 650 40px/1 var(--sans); color: var(--ink); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.nums span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .nums { grid-template-columns: 1fr 1fr; } .nums > div:nth-child(2) { border-right: 0; } .nums > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 17px; font-weight: 500; color: var(--ink); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 40px 24px 0; color: var(--text); font-size: 15.5px; display: grid; gap: 10px; }

/* Quote-free callout */
.note { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r); padding: 18px 20px; background: var(--bg-2); font-size: 15px; }
.note b { color: var(--ink); }

/* Final CTA */
.final { text-align: center; padding: 128px 0; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--line-2) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 70%); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { margin-bottom: 18px; }
.final .lead { margin: 0 auto 32px; }
.final .cta-row { justify-content: center; }

/* Page hero (inner pages) */
.phero { padding: 96px 0 64px; position: relative; overflow: hidden; }
.phero::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: linear-gradient(#000, transparent 80%); -webkit-mask-image: linear-gradient(#000, transparent 80%); opacity: .5; pointer-events: none; }
.phero .wrap { position: relative; }
.phero h1 { margin-bottom: 20px; max-width: 900px; }
.phero .lead { margin-bottom: 32px; }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--bg); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card h3 { font-size: 17px; }
.card p { font-size: 14.5px; }
.card .tag { align-self: flex-start; }

/* Changelog */
.log { display: grid; gap: 0; max-width: 940px; }
.log-day { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.log-day time { font: 500 13px/1.6 var(--mono); color: var(--muted); position: sticky; top: 88px; align-self: start; }
.log-day h2 { font-size: 24px; margin-bottom: 14px; }
.log-day ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 15.5px; }
.log-day ul b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) { .log-day { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; } .log-day time { position: static; } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg-2); font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-top h4 { font-size: 13.5px; font-weight: 500; margin-bottom: 14px; letter-spacing: 0; }
.foot-top a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.foot-top a:hover { color: var(--ink); }
.foot-top .nav-brand { display: inline-flex; padding: 0; color: var(--ink); margin-bottom: 14px; }
.foot-brand p { color: var(--muted); max-width: 300px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Reveal on scroll (only when JS runs and motion is fine) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .rv.in { opacity: 1; transform: none; }
}

/* Home additions */
.checks + p, .lead + .checks + p { margin-top: 28px; }
.center-link { text-align: center; margin-top: 28px; font-size: 15px; }
.center-link a { color: var(--ink); text-decoration: none; font-weight: 500; }
.center-link a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ladder + p { margin-top: 20px; }
.ladder + p a { color: var(--ink); }
.ai-answer { padding: 14px 14px 16px; display: grid; gap: 10px; font-size: 14px; line-height: 1.55; border-top: 1px solid var(--line); background: var(--bg-2); }
.ai-answer b { color: var(--ink); font-weight: 600; }
.ai-action { display: flex; align-items: center; gap: 12px; justify-content: space-between; border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 10px 10px 12px; background: var(--bg); }
.ai-action div { display: grid; gap: 2px; min-width: 0; }
.ai-action span:not(.btn) { color: var(--muted); font-size: 12.5px; }
.ai-action .btn { height: 32px; font-size: 13px; padding: 0 14px; pointer-events: none; }
.row .t.mono { font-size: 12.5px; white-space: normal; }

/* Forms (beta, enterprise contact) */
.beta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: start; }
@media (max-width: 920px) { .beta-grid { grid-template-columns: 1fr; gap: 40px; } }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); padding: 28px; box-shadow: var(--shadow); }
.form-card form { display: grid; gap: 8px; }
.form-card label { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 8px; }
.form-card input, .form-card textarea { width: 100%; font: 15px/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 11px 12px; }
.form-card textarea { resize: vertical; min-height: 96px; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent); }
.form-card button { margin-top: 14px; width: 100%; cursor: pointer; }
.form-card p.small { margin-top: 8px; }
.form-card a { color: var(--ink); }
.form-error { background: color-mix(in srgb, var(--red) 10%, var(--bg)); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 30%, transparent); border-radius: var(--r); padding: 10px 12px; font-size: 14px; }
.sent { display: grid; gap: 12px; }
.sent .ico { background: var(--green-bg); border-color: transparent; }
.sent .ico svg { stroke: var(--green); stroke-width: 2.6; }

/* Pricing and compare pages */
.phero .note { max-width: 760px; }
.tbl-wrap + .cards { margin-top: 16px; }
.center-link.rv { color: var(--muted); max-width: 720px; margin-left: auto; margin-right: auto; }
.tbl.cmp { min-width: 980px; font-size: 13.5px; }
.tbl.cmp tbody th { width: 200px; }
.tbl.cmp th.us { background: var(--ink); color: var(--bg); }
.tbl.cmp td b { color: var(--ink); }
.cmp-note { margin-top: 16px; max-width: 760px; }
.cmp-note a { color: var(--ink); }
.card .muted b { color: var(--text); font-weight: 600; }
.card .muted { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

/* Security and Enterprise pages */
.ladder + .note { margin-top: 20px; }
.tile .tag { margin-left: 4px; vertical-align: 1px; }
.lead a, .checks a { color: var(--ink); text-underline-offset: 3px; }

/* Grid children never grow past their column (long code lines scroll instead). */
.split > *, .hero-grid > *, .beta-grid > *, .steps > *, .cards > *, .tiers > *, .bento > *, .ladder > * { min-width: 0; }

/* Templates gallery: no logos, two-letter monograms on colored tiles. */
.site .tpl-cat { font-size: 20px; margin: 44px 0 16px; }
.site .tpl-cat:first-child { margin-top: 0; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tpl-grid { grid-template-columns: minmax(0, 1fr); } }
.tpl-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.tpl-link { display: flex; gap: 12px; align-items: flex-start; color: inherit; text-decoration: none; }
.tpl-link .t { display: block; font-weight: 600; }
.tpl-link .d { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.tpl-card .btn { align-self: flex-start; height: 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font: 500 12px/1 var(--mono); padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.mono-tile { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; font: 650 15px/1 var(--sans); }
.mono-tile.lg { width: 56px; height: 56px; border-radius: 14px; font-size: 21px; }
.mono-tile.c0 { background: #2563eb; } .mono-tile.c1 { background: #7c3aed; } .mono-tile.c2 { background: #059669; } .mono-tile.c3 { background: #d97706; }
.mono-tile.c4 { background: #dc2626; } .mono-tile.c5 { background: #0891b2; } .mono-tile.c6 { background: #4b5563; } .mono-tile.c7 { background: #db2777; }
.logo-tile { flex: none; box-sizing: border-box; width: 40px; height: 40px; padding: 5px; border-radius: 10px; border: 1px solid var(--line); background: #fff; object-fit: contain; }
.logo-tile.lg { width: 56px; height: 56px; padding: 7px; border-radius: 14px; }
.tpl-warn { margin: 0; color: var(--amber); font-size: 13.5px; font-weight: 600; }
.phero .tpl-warn { font-size: 15px; margin-bottom: 16px; max-width: 760px; }
.tpl-title { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.tpl-facts dl { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin: 0; }
@media (max-width: 600px) { .tpl-facts dl { grid-template-columns: 1fr; } }
.tpl-facts dt { color: var(--muted); }
.tpl-facts dd { margin: 0; }
.tpl-foot { color: var(--muted); font-size: 13.5px; margin-top: 32px; max-width: 760px; }
