:root {
  --bg: #0b1220;
  --bg-alt: #0e1728;
  --panel: #111c31;
  --panel-2: #16233c;
  --ink-deep: #060e1e;
  --text: #f6f9ff;
  --muted: #9db0cf;
  --soft: #6d7f9e;
  --accent: #2e8aff;
  --accent-2: #38bdf8;
  --accent-strong: #2563eb;
  --success: #22c55e;
  --warning: #f5b73d;
  --danger: #ef4444;
  --border: #1e2b45;
  --border-2: #2b3d5e;
  --radius: 16px;
  --container: 1200px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(46,138,255,0.32); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }

.container { width: min(100% - clamp(32px, 7vw, 120px), var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--accent); color: #06101f; font-weight: 700;
}
.skip-link:focus { left: 16px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: oklch(15% 0.018 265 / 0);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  background: oklch(14% 0.018 265 / 0.78);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(100% - clamp(32px, 7vw, 120px), var(--container));
  margin-inline: auto; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-link { display: flex; align-items: center; gap: 9px; }
.brand-mark { height: 32px; width: 32px; display: block; }
.brand-word { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; color: var(--text); line-height: 1; white-space: nowrap; }
.brand-tld { color: var(--accent); font-weight: 800; }
.brand-word-sm { font-size: 16px; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.desktop-nav a, .nav-signin, .footer-nav a, .footer-bottom a {
  color: var(--muted); font-size: 14.5px; transition: color .2s;
}
.desktop-nav a:hover, .nav-signin:hover, .footer-nav a:hover, .footer-bottom a:hover { color: var(--text); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 11px; padding: 13px 24px;
  color: #fff; font-weight: 600; font-size: 15px; line-height: 1; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #3795fc, var(--accent-strong)); box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(37,99,235,0.5); }
.button-small { padding: 9px 16px; border-radius: 9px; font-size: 14px; }
.button-secondary { background: oklch(100% 0 0 / 0.04); border-color: var(--border-2); color: var(--text); }
.button-secondary:hover { background: oklch(100% 0 0 / 0.08); }
.button-ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.button-ghost:hover { background: oklch(100% 0 0 / 0.05); }
.button-light { background: #fff; color: oklch(20% 0.02 265); font-weight: 700; }
.button-ghost-light { background: transparent; border-color: oklch(100% 0 0 / 0.35); color: #fff; }
.button-ghost-light:hover { background: oklch(100% 0 0 / 0.1); }

.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible,
select:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

.menu-button {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border-2);
  border-radius: 10px; background: transparent; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.menu-button span { width: 16px; height: 1.6px; background: var(--text); transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { flex-direction: column; gap: 2px; padding: 8px clamp(20px,6vw,32px) 22px; border-top: 1px solid var(--border); background: var(--bg); }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a:not(.button) { padding: 13px 4px; color: oklch(90% 0.01 265); border-bottom: 1px solid oklch(100% 0 0 / 0.06); }
.mobile-nav .button { margin-top: 14px; }
/* ---------- Section primitives ---------- */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section-alt { background: var(--bg-alt); }
.kicker { color: var(--accent); font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.kicker.centered { text-align: center; }
.section h2 { margin-top: 14px; max-width: 20ch; font-size: clamp(1.9rem, 3vw + .7rem, 3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.section-lede { margin-top: 18px; max-width: 62ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.head-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.7fr); gap: clamp(20px,5vw,56px); align-items: end; }
.head-row h2 { max-width: none; }
.page-title { margin-top: 14px; max-width: 18ch; font-size: clamp(2.25rem, 4vw + .8rem, 3.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px,7vw,96px) 0 clamp(36px,5vw,64px); overflow: hidden; }
.grid-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(oklch(100% 0 0 / .035) 1px, transparent 1px), linear-gradient(90deg, oklch(100% 0 0 / .035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 0%, #000 30%, transparent 72%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(96px); pointer-events: none; z-index: 0; }
.blob-a { top: -140px; left: -90px; width: 440px; height: 440px; background: rgba(46,138,255,0.26); animation: floatA 17s ease-in-out infinite; }
.blob-b { top: 40px; right: -120px; width: 400px; height: 400px; background: rgba(56,189,248,0.20); animation: floatB 20s ease-in-out infinite; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: clamp(28px,5vw,64px); align-items: center; }
.hero-copy, .hero-visual, .flow-card { min-width: 0; max-width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px;
  border: 1px solid var(--border-2); border-radius: 999px; background: oklch(100% 0 0 / 0.03);
  color: var(--muted); font-family: var(--mono); font-size: 12.5px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 oklch(72% 0.16 155 / .6); animation: pulse 2.4s infinite; }
.hero-copy h1 { margin-top: 20px; font-size: clamp(2.6rem, 5vw + 1rem, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; }
.hero-copy h1 span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 20px; max-width: 54ch; color: var(--muted); font-size: clamp(1.02rem, .6vw + .9rem, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; padding: 0; list-style: none; }
.hero-points li { padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: oklch(100% 0 0 / 0.03); color: var(--muted); font-family: var(--mono); font-size: 12px; }

/* Hero flow card */
.hero-visual { position: relative; z-index: 1; }
.flow-card { border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(180deg, var(--panel), oklch(18% 0.02 265)); box-shadow: 0 30px 80px oklch(6% 0.02 265 / 0.5); overflow: hidden; }
.flow-head { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: oklch(70% 0.16 25 / .7); }
.dot.y { background: oklch(80% 0.13 85 / .7); }
.dot.g { background: oklch(72% 0.16 155 / .7); }
.flow-head em { margin-left: 8px; color: var(--soft); font-family: var(--mono); font-size: 12px; font-style: normal; }
.flow-steps { list-style: none; margin: 0; padding: 14px; display: grid; gap: 8px; }
.flow-steps li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; background: oklch(100% 0 0 / 0.015); opacity: .5; transition: opacity .35s, border-color .35s, background .35s; }
.flow-steps li.is-active { opacity: 1; border-color: oklch(68% 0.16 255 / .5); background: oklch(68% 0.16 255 / 0.08); }
.flow-steps li.is-done { opacity: 1; }
.flow-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: oklch(68% 0.16 255 / 0.14); color: var(--accent); font-family: var(--mono); font-size: 13px; }
.flow-steps strong { display: block; font-size: 14.5px; }
.flow-steps small { color: var(--soft); font-family: var(--mono); font-size: 11.5px; }
.flow-state { font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--soft); padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); }
.flow-steps li.is-active .flow-state { color: var(--accent); border-color: oklch(68% 0.16 255 / .4); }
.flow-steps li.is-done .flow-state { color: var(--success); border-color: oklch(72% 0.16 155 / .35); }
.flow-terminal { border-top: 1px solid var(--border); background: var(--ink-deep); }
.term-lines { min-height: 96px; padding: 16px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.85; }
.term-lines div { color: var(--success); white-space: pre; }
.term-lines div.cmd { color: var(--text); }
.cursor { display: inline-block; width: 7px; height: 14px; margin-left: 3px; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(2) infinite; }

/* Built for */
.builtfor { position: relative; z-index: 1; margin-top: clamp(36px,5vw,64px); }
.builtfor-label { color: var(--soft); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-align: center; }
.builtfor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 18px; padding: 0; list-style: none; }
.builtfor-row li { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: oklch(100% 0 0 / 0.02); color: var(--muted); font-size: 14px; font-weight: 600; }
/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
.feature-card { grid-column: span 2; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s, background .2s; }
@media (min-width: 1001px) { .feature-card:not(.span-2) { grid-column: span 1; } }
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--panel-2); }
.feature-quiet { background: linear-gradient(135deg, rgba(46,138,255,0.12), rgba(56,189,248,0.09)); }
.feature-card h3 { margin-top: 16px; font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.feature-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.tag { font-family: var(--mono); font-size: 10.5px; font-style: normal; font-weight: 600; color: var(--warning); padding: 3px 8px; border-radius: 999px; background: oklch(80% 0.13 85 / 0.14); }
.ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: oklch(68% 0.16 255 / 0.13); position: relative; }
.ic::after { content: ""; width: 18px; height: 18px; background: var(--accent); mask-repeat: no-repeat; mask-position: center; mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; -webkit-mask-size: contain; }
.ic-ai::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.4 5.6L20 10l-5.6 2.4L12 18l-2.4-5.6L4 10l5.6-2.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.4 5.6L20 10l-5.6 2.4L12 18l-2.4-5.6L4 10l5.6-2.4z'/%3E%3C/svg%3E"); }
.ic-git::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 3a3 3 0 100 6 3 3 0 000-6zm12 6a3 3 0 100 6 3 3 0 000-6zM6 9v6m0 0a3 3 0 003 3h4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3a3 3 0 100 6 3 3 0 000-6zm12 6a3 3 0 100 6 3 3 0 000-6zM6 9v6m0 0a3 3 0 003 3h4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-build::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4zm0 5l9 4 9-4M3 17l9 4 9-4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l9-4 9 4-9 4-9-4zm0 5l9 4 9-4M3 17l9 4 9-4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-preview::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7-10-7-10-7z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7-10-7-10-7z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E"); }
.ic-ssl::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='9' rx='2' fill='%23000'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='11' width='14' height='9' rx='2' fill='%23000'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-domain::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-cdn::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3Ccircle cx='4' cy='6' r='2' fill='%23000'/%3E%3Ccircle cx='20' cy='6' r='2' fill='%23000'/%3E%3Ccircle cx='4' cy='18' r='2' fill='%23000'/%3E%3Ccircle cx='20' cy='18' r='2' fill='%23000'/%3E%3Cpath d='M6 7l4 4M18 7l-4 4M6 17l4-4M18 17l-4-4' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3Ccircle cx='4' cy='6' r='2' fill='%23000'/%3E%3Ccircle cx='20' cy='6' r='2' fill='%23000'/%3E%3Ccircle cx='4' cy='18' r='2' fill='%23000'/%3E%3Ccircle cx='20' cy='18' r='2' fill='%23000'/%3E%3Cpath d='M6 7l4 4M18 7l-4 4M6 17l4-4M18 17l-4-4' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); }
.ic-history::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M12 7v5l4 2' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M12 7v5l4 2' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-logs::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }
.ic-rollback::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 108-8H4m0 0v6m0-6l4 4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12a8 8 0 108-8H4m0 0v6m0-6l4 4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }
.ic-shield::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6c0 4-3 7-7 9-4-2-7-5-7-9V6z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M9 12l2 2 4-4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v6c0 4-3 7-7 9-4-2-7-5-7-9V6z' stroke='%23000' stroke-width='2' fill='none'/%3E%3Cpath d='M9 12l2 2 4-4' stroke='%23000' stroke-width='2' fill='none'/%3E%3C/svg%3E"); }

/* ---------- Journey ---------- */
.journey { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; counter-reset: j; }
.journey li { position: relative; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s; }
.journey li:hover { transform: translateY(-3px); border-color: var(--border-2); }
.journey li span { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.journey li h3 { margin-top: 10px; font-size: 16px; font-weight: 700; }
.journey li p { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- Workflow + documentation cards ---------- */
.workflow-map { margin-top: 40px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.workflow-step { position: relative; min-height: 128px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.workflow-step span, .doc-card span, .status-card span { color: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.workflow-step strong, .doc-card strong, .status-card strong { display: block; margin-top: 10px; color: var(--text); font-size: 16px; }
.workflow-step p, .doc-card p, .status-card p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.workflow-step::after { content: ""; position: absolute; right: -10px; top: 50%; width: 20px; height: 1px; background: var(--border-2); }
.workflow-step:nth-child(5)::after, .workflow-step:last-child::after { display: none; }
.doc-grid, .status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 40px; }
.doc-card, .status-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s, background .2s; }
a.doc-card:hover { transform: translateY(-2px); border-color: var(--border-2); background: var(--panel-2); }
.status-card.is-done { border-color: oklch(72% 0.16 155 / .28); }
.status-card.is-active { border-color: oklch(68% 0.16 255 / .36); }
.status-card.is-planned { border-style: dashed; }
.text-panel { margin-top: 34px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.text-panel p, .text-panel li { color: var(--muted); line-height: 1.7; }
.text-panel p + p { margin-top: 14px; }
.text-panel ul { margin: 16px 0 0; padding-left: 20px; }

/* ---------- Templates ---------- */
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
.template-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s, background .2s; }
.template-card:hover { transform: translateY(-3px); border-color: var(--border-2); background: var(--panel-2); }
.template-top { display: flex; align-items: center; justify-content: space-between; }
.template-glyph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; font-size: 18px; font-weight: 700; background: oklch(100% 0 0 / 0.05); }
.tg-static { color: var(--accent); } .tg-react { color: oklch(75% 0.13 210); } .tg-vite { color: var(--warning); }
.tg-next { color: var(--text); } .tg-astro { color: oklch(72% 0.17 20); } .tg-more { color: var(--soft); }
.template-top em { font-family: var(--mono); font-size: 11px; font-style: normal; color: var(--muted); padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; }
.template-card h3 { margin-top: 18px; font-size: 16.5px; font-weight: 700; }
.template-card p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.template-more { background: repeating-linear-gradient(135deg, oklch(100% 0 0 / 0.02) 0 10px, transparent 10px 20px); border-style: dashed; }

/* ---------- Runtimes ---------- */
.runtime-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.runtime-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.runtime-card.is-live { border-color: oklch(68% 0.16 255 / .28); }
.runtime-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.runtime-head h3 { font-size: 17px; font-weight: 700; }
.runtime-card > p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.runtime-card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.runtime-card li { position: relative; padding-left: 20px; color: oklch(82% 0.015 265); font-size: 13.5px; }
.runtime-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pill { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pill-ok { color: var(--success); background: oklch(72% 0.16 155 / 0.14); border: 1px solid oklch(72% 0.16 155 / .3); }
.pill-soon { color: var(--warning); background: oklch(80% 0.13 85 / 0.12); border: 1px solid oklch(80% 0.13 85 / .28); }

/* ---------- Providers ---------- */
.provider-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 42px; }
.provider-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); transition: transform .2s, border-color .2s; }
.provider-card.is-live { border-color: oklch(72% 0.16 155 / .3); }
.provider-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
.provider-name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.provider-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--muted); -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.pm-github { background: var(--text); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 00-3.16 19.49c.5.09.68-.22.68-.48v-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.16-1.11-1.47-1.11-1.47-.9-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.9 1.52 2.34 1.08 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.65 0 0 .84-.27 2.75 1.02a9.5 9.5 0 015 0c1.91-1.29 2.75-1.02 2.75-1.02.55 1.38.2 2.4.1 2.65.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.68-4.57 4.93.36.31.68.92.68 1.85v2.74c0 .27.18.58.69.48A10 10 0 0012 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 00-3.16 19.49c.5.09.68-.22.68-.48v-1.7c-2.78.6-3.37-1.34-3.37-1.34-.45-1.16-1.11-1.47-1.11-1.47-.9-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.9 1.52 2.34 1.08 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.98 1.03-2.68-.1-.25-.45-1.27.1-2.65 0 0 .84-.27 2.75 1.02a9.5 9.5 0 015 0c1.91-1.29 2.75-1.02 2.75-1.02.55 1.38.2 2.4.1 2.65.64.7 1.03 1.59 1.03 2.68 0 3.84-2.34 4.68-4.57 4.93.36.31.68.92.68 1.85v2.74c0 .27.18.58.69.48A10 10 0 0012 2z'/%3E%3C/svg%3E"); }
.pm-gitlab { background: oklch(70% 0.16 45); } .pm-bitbucket { background: oklch(70% 0.13 250); }
.pm-forgejo { background: #22b8d6; } .pm-gitea { background: oklch(72% 0.16 155); }
.provider-mark:not(.pm-github) { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.2 6.8H21l-5.5 4 2.1 6.8L12 15.6 6.4 19.6l2.1-6.8L3 8.8h6.8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2l2.2 6.8H21l-5.5 4 2.1 6.8L12 15.6 6.4 19.6l2.1-6.8L3 8.8h6.8z'/%3E%3C/svg%3E"); }
/* ---------- Deploy pipeline ---------- */
.deploy-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.deploy-tabs button { padding: 10px 18px; border: 1px solid var(--border); border-radius: 10px; background: transparent; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .18s; }
.deploy-tabs button.is-active { border-color: oklch(68% 0.16 255 / .5); background: oklch(68% 0.16 255 / 0.12); color: var(--accent); }
.deploy-terminal { max-width: 660px; margin-top: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--ink-deep); overflow: hidden; }
.deploy-output { padding: 22px; font-family: var(--mono); font-size: 14px; line-height: 1.95; }
.deploy-output div { color: var(--success); }
.deploy-output [data-deploy-command] { color: var(--text); }

/* ---------- Proof ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 42px; }
.proof-grid article { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.proof-grid strong { display: block; font-size: 16.5px; }
.proof-grid p { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0,360px)); justify-content: center; gap: 18px; margin-top: 44px; }
.price-card { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel); transition: transform .2s, border-color .2s; }
.price-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.price-card.is-featured { border-color: oklch(68% 0.16 255 / .55); background: linear-gradient(180deg, oklch(24% 0.03 265), var(--panel)); box-shadow: 0 24px 60px oklch(6% 0.02 265 / 0.4); }
.price-card.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text); }
.price-badge em { font-family: var(--mono); font-size: 10.5px; font-style: normal; color: var(--accent); padding: 3px 8px; border-radius: 999px; background: oklch(68% 0.16 255 / 0.14); }
.price { display: flex; align-items: baseline; gap: 5px; margin-top: 16px; }
.price strong { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price span { color: var(--muted); font-size: 14px; }
.price-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; min-height: 38px; }
.price-card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.price-card li { position: relative; padding-left: 22px; font-size: 13.5px; color: oklch(84% 0.015 265); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-size: 13px; }
.price-card .button { width: 100%; margin-top: 22px; margin-top: auto; }
.price-card ul + .button { margin-top: 22px; }

/* ---------- Configure ---------- */
/* Homepage CTA band (replaces the old on-page configuration form) */
.start-cta { text-align: center; max-width: 760px; margin-inline: auto; }
.start-cta .section-lede { margin-inline: auto; }
.start-cta-actions { justify-content: center; margin-top: 26px; }

/* Purchase modal */
.pmodal { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; padding: 30px; }
.pmodal[hidden] { display: none; }
.pmodal-backdrop { position: absolute; inset: 0; background: rgba(3,6,14,.76); backdrop-filter: blur(10px); opacity: 0; transition: opacity .24s ease; }
.pmodal-panel { --pmodal-soft: oklch(72% .025 255); position: relative; z-index: 1; width: min(760px, 100%); max-height: min(92vh, 920px); overflow: auto; overscroll-behavior: contain; padding: clamp(28px, 5vw, 48px); border: 1px solid oklch(76% .07 255 / .26); border-radius: 28px; background: linear-gradient(145deg, oklch(18% .025 260 / .98), oklch(10% .018 265 / .98)); box-shadow: 0 40px 120px rgba(0,0,0,.64), inset 0 1px 0 oklch(100% 0 0 / .05); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .24s ease, transform .24s cubic-bezier(.2,.8,.2,1); }
.pmodal.is-open .pmodal-backdrop, .pmodal.is-open .pmodal-panel { opacity: 1; }
.pmodal.is-open .pmodal-panel { transform: translateY(0) scale(1); }
.pmodal-close { position: absolute; top: 18px; right: 18px; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid oklch(100% 0 0 / .12); background: oklch(100% 0 0 / .045); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.pmodal-close:hover { border-color: oklch(100% 0 0 / .28); background: oklch(100% 0 0 / .1); transform: rotate(90deg) scale(1.04); }
.pmodal-close:focus-visible, .pmodal-field input:focus-visible, .pmodal-repository select:focus-visible, .pmodal-repository input:focus-visible, .pmodal-included summary:focus-visible { outline: 3px solid oklch(68% .16 255 / .5); outline-offset: 3px; }
.pmodal-panel h2 { margin-top: 12px; padding-right: 50px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -.04em; line-height: 1.04; }
.pmodal-sub { max-width: 58ch; margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.62; }
.pmodal-plans { margin-top: 28px; }
.pmodal-plan { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px 20px; padding: 22px; border: 1px solid oklch(68% .16 255 / .42); border-radius: 20px; background: linear-gradient(135deg, oklch(68% .16 255 / .16), oklch(68% .1 255 / .045)); box-shadow: inset 0 1px 0 oklch(100% 0 0 / .08), 0 18px 46px oklch(68% .16 255 / .12); color: var(--text); text-align: left; }
.pmodal-plan > div { display: grid; gap: 5px; }
.pmodal-plan strong { font-size: 18px; letter-spacing: -.02em; }
.pmodal-plan > div > small { color: var(--pmodal-soft); font-size: 13px; }
.pmodal-plan > span { align-self: start; color: var(--text); font-size: 28px; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.pmodal-plan > span small { margin-left: 4px; color: var(--pmodal-soft); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.pmodal-plan-pills { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.pmodal-plan-pills li { padding: 5px 9px; border: 1px solid oklch(100% 0 0 / .11); border-radius: 999px; background: oklch(100% 0 0 / .055); color: oklch(94% .012 255); font-size: 11.5px; font-weight: 650; line-height: 1.2; }
.pmodal-source { margin-top: 30px; }
.pmodal-source-head { display: grid; gap: 5px; margin-bottom: 15px; }
.pmodal-source-head strong { color: var(--text); font-size: 19px; letter-spacing: -.02em; }
.pmodal-source-head span { color: var(--pmodal-soft); font-size: 13px; line-height: 1.5; }
.pmodal-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.pmodal-source-card { position: relative; display: flex; min-width: 0; min-height: 358px; flex-direction: column; align-items: flex-start; gap: 7px; padding: 22px; border: 1px solid oklch(100% 0 0 / .11); border-radius: 20px; background: oklch(100% 0 0 / .025); color: var(--text); text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease; }
.pmodal-source-card:hover { transform: translateY(-3px); border-color: oklch(100% 0 0 / .26); background: oklch(100% 0 0 / .055); }
.pmodal-source-card:focus-visible { outline: 3px solid oklch(68% .16 255 / .5); outline-offset: 3px; }
.pmodal-source-card::after { content: "\2713"; position: absolute; top: 18px; right: 18px; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 999px; background: var(--accent); box-shadow: 0 5px 16px oklch(68% .16 255 / .48); color: white; font-size: 13px; font-weight: 850; opacity: 0; transform: scale(.55) rotate(-28deg); transition: opacity .18s ease, transform .18s ease; }
.pmodal-source-card.is-selected { border-color: oklch(68% .16 255 / .92); background: linear-gradient(145deg, oklch(68% .16 255 / .16), oklch(68% .08 255 / .055)); box-shadow: inset 0 0 0 1px oklch(68% .16 255 / .22), 0 16px 40px oklch(68% .16 255 / .24); transform: translateY(-3px); }
.pmodal-source-card.is-selected::after { opacity: 1; transform: scale(1) rotate(0); animation: pmodal-card-check .28s ease-out; }
.pmodal-source-logo, .pmodal-source-icon { display: inline-grid; width: 48px; height: 48px; margin-bottom: 7px; border-radius: 14px; }
.pmodal-source-logo { object-fit: contain; }
.pmodal-source-icon { place-items: center; background: oklch(100% 0 0 / .08); color: var(--text); }
.pmodal-source-icon svg { width: 28px; height: 28px; }
.pmodal-source-github { background: #f6f8fa; color: #0d1117; }
.pmodal-source-card strong { padding-right: 32px; font-size: 17px; letter-spacing: -.015em; line-height: 1.2; }
.pmodal-source-card > small { color: var(--pmodal-soft); font-size: 13px; line-height: 1.45; }
.pmodal-source-card ul { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; line-height: 1.36; }
.pmodal-source-card li { position: relative; padding-left: 18px; }
.pmodal-source-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--success); font-weight: 850; }
.pmodal-source-footer { margin-top: auto; padding-top: 14px; color: var(--pmodal-soft); font-size: 12px; font-weight: 750; }
.pmodal-source-badge { position: absolute; top: 18px; right: 52px; padding: 5px 8px; border-radius: 999px; background: oklch(72% .16 155 / .16); color: var(--success); font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.pmodal-source-info { margin-top: 14px; }
.pmodal-source-info-panel { display: none; padding: 15px 17px; border: 1px solid oklch(68% .16 255 / .24); border-radius: 15px; background: linear-gradient(100deg, oklch(68% .16 255 / .1), oklch(100% 0 0 / .025)); animation: pmodal-info-in .22s ease-out; }
.pmodal-source-info-panel strong { display: block; color: var(--text); font-size: 13px; }
.pmodal-source-info-panel p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pmodal-source:has([data-pm-source-option="managed"].is-selected) .pmodal-source-info-managed, .pmodal-source:has([data-pm-source-option="github"].is-selected) .pmodal-source-info-github { display: block; }
@supports not selector(:has(*)) { .pmodal-source-info-managed { display: block; } }
.pmodal-github { margin-top: 14px; padding: 16px 17px; border: 1px solid oklch(68% .16 255 / .3); border-radius: 15px; background: oklch(68% .16 255 / .075); }
.pmodal-github > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pmodal-repository { display: grid; gap: 11px; margin-top: 13px; }
.pmodal-repository[hidden] { display: none; }
.pmodal-repository label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.pmodal-repository select,.pmodal-repository input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--ink-deep); color: var(--text); }
.pmodal-repository-confirm { width: 100%; min-height: 46px; }
.pmodal-field { display: grid; gap: 8px; margin-top: 28px; color: var(--text); font-size: 14px; font-weight: 750; }
.pmodal-field > small { color: var(--pmodal-soft); font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.pmodal-field em { color: var(--pmodal-soft); font-style: normal; font-weight: 550; }
.pmodal-field input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid var(--border-2); border-radius: 13px; background: var(--ink-deep); color: var(--text); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.pmodal-field input::placeholder { color: var(--pmodal-soft); }
.pmodal-field input:hover { border-color: oklch(100% 0 0 / .22); }
.pmodal-field input:focus { border-color: var(--accent); background: oklch(100% 0 0 / .04); box-shadow: 0 0 0 4px oklch(68% .16 255 / .14); }
.pmodal-domain-help { margin: 10px 1px 0; color: var(--pmodal-soft); font-size: 12.5px; line-height: 1.55; }
.pmodal-domain-chip { display: inline-flex; margin-left: 5px; padding: 3px 8px; border: 1px solid oklch(68% .16 255 / .23); border-radius: 999px; background: oklch(68% .16 255 / .08); color: oklch(88% .06 255); font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.pmodal-included { margin-top: 20px; border: 1px solid oklch(100% 0 0 / .1); border-radius: 14px; background: oklch(100% 0 0 / .025); }
.pmodal-included summary { padding: 13px 15px; color: var(--text); cursor: pointer; font-size: 13px; font-weight: 750; }
.pmodal-included ul { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 0; padding: 0 15px 15px; list-style: none; color: var(--pmodal-soft); font-size: 11.5px; line-height: 1.35; }
.pmodal-included li { position: relative; padding-left: 15px; }
.pmodal-included li::before { content: "\2713"; position: absolute; left: 0; color: var(--success); font-weight: 850; }
.pmodal-status { margin-top: 20px; padding: 13px 15px; border: 1px solid oklch(80% .13 85 / .3); border-radius: 13px; background: oklch(80% .13 85 / .1); color: var(--warning); font-size: 13px; line-height: 1.5; }
.pmodal-status.is-error { border-color: oklch(70% .16 25 / .36); background: oklch(70% .16 25 / .12); color: oklch(78% .14 30); }
.pmodal-status.is-ok { border-color: oklch(72% .16 155 / .34); background: oklch(72% .16 155 / .12); color: var(--success); }
.pmodal-continue { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; margin-top: 20px; border: 0; border-radius: 14px; background: linear-gradient(135deg, oklch(68% .18 255), oklch(57% .2 268)); box-shadow: 0 16px 34px oklch(68% .16 255 / .3), inset 0 1px 0 oklch(100% 0 0 / .22); font-size: 15px; font-weight: 800; letter-spacing: -.01em; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease; }
.pmodal-continue:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 20px 42px oklch(68% .16 255 / .42), inset 0 1px 0 oklch(100% 0 0 / .25); }
.pmodal-continue:active:not(:disabled) { transform: translateY(0); }
.pmodal-continue:disabled { cursor: wait; opacity: .78; }
.pmodal:has([data-pm-source-option="github"].is-selected) .pmodal-continue:not(.is-loading) [data-pm-continue-label] { font-size: 0; }
.pmodal:has([data-pm-source-option="github"].is-selected) .pmodal-continue:not(.is-loading) [data-pm-continue-label]::after { content: "\1F419  Connect GitHub & Continue"; font-size: 15px; }
.pmodal-spinner { display: none; width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pmodal-spin .65s linear infinite; }
.pmodal-continue.is-loading .pmodal-spinner { display: block; }
.pmodal-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; margin: 15px 0 0; text-align: center; color: var(--pmodal-soft); font-size: 12px; line-height: 1.45; }
.pmodal-note span + span::before { content: "•"; margin-right: 14px; color: var(--border-2); }
@keyframes pmodal-spin { to { transform: rotate(360deg); } }
@keyframes pmodal-card-check { from { transform: scale(.35) rotate(-40deg); } to { transform: scale(1) rotate(0); } }
@keyframes pmodal-info-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) { .pmodal { align-items: end; padding: 12px; } .pmodal-panel { width: 100%; max-height: min(94dvh, 900px); padding: 28px 20px 22px; border-radius: 22px; } .pmodal-panel h2 { font-size: clamp(29px, 9vw, 36px); } .pmodal-plan { padding: 18px; } .pmodal-source-grid { grid-template-columns: 1fr; } .pmodal-source-card { min-height: 0; padding: 19px; } .pmodal-source-card ul { grid-template-columns: 1fr 1fr; } .pmodal-included ul { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 390px) { .pmodal { padding: 7px; } .pmodal-panel { padding-inline: 17px; } .pmodal-plan { grid-template-columns: 1fr; } .pmodal-plan > span { justify-self: start; } .pmodal-source-card ul { grid-template-columns: 1fr; } .pmodal-note { display: grid; gap: 4px; } .pmodal-note span + span::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .pmodal-backdrop, .pmodal-panel, .pmodal-close, .pmodal-field input, .pmodal-continue, .pmodal-source-card, .pmodal-source-card::after { transition: none; } .pmodal-source-card.is-selected::after { animation: none; } .pmodal-source-info-panel { animation: none; } .pmodal-spinner { animation-duration: 1.5s; } }

/* Reference-aligned AI Hosting purchase modal layer. Existing hooks remain unchanged. */
.pmodal-panel { --pmodal-soft: #9aaeca; --pmodal-line: rgba(124, 170, 255, .2); width: min(760px, 100%); max-height: min(94vh, 980px); padding: 42px; border-color: rgba(112, 165, 255, .28); border-radius: 24px; background: radial-gradient(circle at 78% 9%, rgba(36, 125, 255, .18), transparent 28%), linear-gradient(145deg, #101d31 0%, #091323 57%, #0a1424 100%); box-shadow: 0 42px 130px rgba(0, 0, 0, .68), inset 0 1px 0 rgba(255, 255, 255, .075); }
.pmodal-close { top: 20px; right: 20px; width: 42px; height: 42px; border-color: rgba(160, 196, 255, .45); background: rgba(18, 37, 64, .76); font-size: 28px; }
.pmodal-hero { display: grid; grid-template-columns: minmax(0, 1fr) 194px; gap: 28px; align-items: start; padding-right: 26px; }
.pmodal-hero-copy .kicker { display: inline-flex; width: fit-content; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(37, 120, 255, .14); color: #66a9ff; font-size: 11px; font-weight: 850; letter-spacing: .045em; text-transform: uppercase; }
.pmodal-panel h2 { margin: 17px 0 0; padding-right: 0; font-size: clamp(34px, 4.25vw, 48px); line-height: 1.02; letter-spacing: -.05em; }
.pmodal-sub { max-width: 48ch; margin-top: 16px; color: #a9bcda; font-size: 15px; line-height: 1.6; }
.pmodal-feature-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 0; overflow: hidden; border: 1px solid var(--pmodal-line); border-radius: 15px; background: rgba(25, 51, 88, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025); }
.pmodal-feature-strip > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 6px; align-items: center; min-height: 66px; padding: 9px 10px; }
.pmodal-feature-strip > div + div { border-left: 1px solid rgba(142, 184, 255, .1); }
.pmodal-feature-strip span { grid-row: 1 / span 2; color: #338bff; font-size: 19px; }
.pmodal-feature-strip strong { font-size: 11px; line-height: 1.2; white-space: nowrap; }
.pmodal-feature-strip small { color: #8fa5c4; font-size: 10px; line-height: 1.25; white-space: nowrap; }
.pmodal-plans { margin: 14px 0 0; }
.pmodal-plan { display: grid; grid-template-columns: 1fr; gap: 8px; min-height: 235px; padding: 20px; border-color: rgba(46, 146, 255, .56); border-radius: 17px; background: linear-gradient(145deg, rgba(26, 59, 104, .8), rgba(12, 26, 47, .94)); box-shadow: 0 0 28px rgba(20, 132, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .09); }
.pmodal-plan > strong { font-size: 16px; }
.pmodal-plan > span { font-size: 43px; line-height: .95; }
.pmodal-plan > span small { font-size: 15px; }
.pmodal-plan-pills { display: grid; gap: 8px; margin-top: 9px; }
.pmodal-plan-pills li { position: relative; padding: 0 0 0 21px; border: 0; background: transparent; color: #d4dfef; font-size: 11px; }
.pmodal-plan-pills li::before { content: "✓"; position: absolute; left: 0; color: #25d77c; font-size: 14px; font-weight: 900; }
.pmodal-plan-security { margin-top: auto; color: #9aafce; font-size: 10.5px; }
.pmodal-source { margin-top: 35px; }
.pmodal-source-head { gap: 7px; margin-bottom: 17px; }
.pmodal-source-head strong { font-size: 20px; }
.pmodal-source-head span { max-width: 66ch; color: #9aafce; font-size: 13px; }
.pmodal-source-grid { gap: 16px; }
.pmodal-source-card { min-height: 364px; gap: 7px; padding: 24px; border-color: rgba(144, 182, 243, .28); border-radius: 17px; background: linear-gradient(145deg, rgba(19, 40, 70, .78), rgba(11, 24, 43, .72)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.pmodal-source-card:hover { border-color: rgba(109, 170, 255, .7); background: linear-gradient(145deg, rgba(28, 59, 103, .84), rgba(11, 27, 49, .78)); }
.pmodal-source-card.is-selected { border-color: #2489ff; background: linear-gradient(145deg, rgba(30, 86, 158, .42), rgba(12, 34, 65, .76)); box-shadow: 0 12px 36px rgba(15, 118, 255, .22), inset 0 0 0 1px rgba(81, 155, 255, .24); transform: translateY(-3px); }
.pmodal-source-card::after { display: none; }
.pmodal-source-logo, .pmodal-source-icon { width: 48px; height: 48px; margin-bottom: 8px; border-radius: 13px; }
.pmodal-source-logo { padding: 5px; background: linear-gradient(135deg, #4c9cff, #1765e8); object-fit: contain; }
.pmodal-source-card strong { padding-right: 0; font-size: 18px; }
.pmodal-source-card > small { color: #5da4ff; font-size: 12.5px; }
.pmodal-source-card > p { margin: 10px 0 1px; color: #aec0db; font-size: 13px; line-height: 1.52; }
.pmodal-source-card ul { gap: 7px; margin-top: 6px; color: #c0cee2; font-size: 12.5px; }
.pmodal-source-card li::before { color: #25d77c; }
.pmodal-source-footer { color: #8aa6ce; }
.pmodal-source-badge { top: 18px; right: 18px; background: rgba(12, 184, 104, .16); color: #2ade83; }
.pmodal-source-info { margin-top: 18px; }
.pmodal-source-info-panel { align-items: flex-start; gap: 11px; padding: 15px 17px; border-color: rgba(111, 169, 250, .25); border-radius: 13px; background: rgba(25, 59, 103, .34); }
.pmodal-source-info-panel > span { color: #3b99ff; font-size: 20px; line-height: 1; }
.pmodal-source-info-panel p { margin: 0; color: #b7c8e1; font-size: 12.5px; }
.pmodal-source:has([data-pm-source-option="managed"].is-selected) .pmodal-source-info-managed, .pmodal-source:has([data-pm-source-option="github"].is-selected) .pmodal-source-info-github { display: flex; }
.pmodal-github { border-color: rgba(111, 169, 250, .25); background: rgba(25, 59, 103, .25); }
.pmodal-content-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(188px, .9fr); gap: 28px; align-items: start; margin-top: 28px; }
.pmodal-field { margin-top: 0; font-size: 17px; }
.pmodal-field > small { color: #9aafce; font-size: 12.5px; }
.pmodal-domain-input { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 54px; border: 1px solid rgba(148, 187, 245, .35); border-radius: 13px; background: rgba(3, 13, 27, .74); transition: border-color .18s ease, box-shadow .18s ease; }
.pmodal-domain-input:focus-within { border-color: #3e99ff; box-shadow: 0 0 0 4px rgba(62, 153, 255, .13); }
.pmodal-field input { min-width: 0; min-height: 52px; border: 0; background: transparent; box-shadow: none !important; }
.pmodal-domain-input > span { margin-right: 7px; padding: 10px 12px; border: 1px solid rgba(139, 181, 244, .25); border-radius: 11px; background: rgba(32, 60, 99, .74); color: #d3dfef; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pmodal-domain-help { margin-top: 13px; color: #9aafce; }
.pmodal-domain-chip { border-color: rgba(87, 152, 255, .28); background: rgba(46, 120, 235, .14); color: #8bc0ff; }
.pmodal-included { margin: 0; border-color: rgba(111, 169, 250, .2); border-radius: 14px; background: linear-gradient(145deg, rgba(24, 54, 94, .57), rgba(16, 35, 63, .69)); }
.pmodal-included summary { padding: 16px 17px 8px; list-style: none; font-size: 13px; }
.pmodal-included summary::-webkit-details-marker { display: none; }
.pmodal-included ul { grid-template-columns: 1fr; gap: 7px; padding: 5px 17px 17px; color: #c2d1e7; font-size: 11.5px; }
.pmodal-included li { padding-left: 17px; }
.pmodal-status { display: none; }
.pmodal-status.is-ok, .pmodal-status.is-error { display: block; margin-top: 20px; }
.pmodal-action-bar { position: sticky; bottom: -42px; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(130px, .8fr) minmax(185px, 1fr); gap: 11px; align-items: stretch; margin: 32px -42px -42px; padding: 18px 42px; border-top: 1px solid rgba(140, 182, 243, .17); background: linear-gradient(90deg, rgba(10, 24, 43, .98), rgba(13, 32, 58, .98)); box-shadow: 0 -12px 28px rgba(4, 10, 21, .22); }
.pmodal-security { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pmodal-security > span { color: #a3c8ff; font-size: 25px; }
.pmodal-security strong, .pmodal-security small { display: block; }
.pmodal-security strong { font-size: 12px; }
.pmodal-security small { margin-top: 3px; color: #9aafce; font-size: 10px; line-height: 1.35; }
.pmodal-footer-github, .pmodal-continue { min-height: 54px; margin: 0; border-radius: 11px; font-size: 13px; }
.pmodal-footer-github { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-color: rgba(135, 178, 240, .4); background: rgba(26, 52, 89, .68); color: #edf4ff; }
.pmodal-footer-github svg { width: 20px; height: 20px; }
.pmodal-footer-github.is-selected { border-color: #5da8ff; box-shadow: inset 0 0 0 1px rgba(90, 166, 255, .18); }
.pmodal-footer-github:focus-visible, .pmodal-continue:focus-visible { outline: 3px solid rgba(106, 178, 255, .58); outline-offset: 3px; }
.pmodal-continue { background: linear-gradient(135deg, #328cff, #1769ed); box-shadow: 0 13px 30px rgba(21, 117, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .22); }
.pmodal:has([data-pm-source-option="github"].is-selected) .pmodal-continue:not(.is-loading) [data-pm-continue-label] { font-size: inherit; }
.pmodal:has([data-pm-source-option="github"].is-selected) .pmodal-continue:not(.is-loading) [data-pm-continue-label]::after { content: none; }
.pmodal-note { margin: 15px 0 0; color: #91a8c9; font-size: 11px; }
.pmodal-note a { color: #57a3ff; }
.pmodal-note span + span::before { display: none; }
@media (max-width: 900px) { .pmodal-hero { grid-template-columns: 1fr; gap: 10px; padding-right: 0; } .pmodal-plans { margin-top: 8px; } .pmodal-plan { min-height: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; } .pmodal-plan > span { justify-self: end; grid-row: 1 / span 2; } .pmodal-plan-pills { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); } .pmodal-plan-security { grid-column: 1 / -1; } .pmodal-feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pmodal-feature-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(142, 184, 255, .1); } .pmodal-feature-strip > div:nth-child(4) { border-top: 1px solid rgba(142, 184, 255, .1); } }
@media (max-width: 700px) { .pmodal { padding: 14px; } .pmodal-panel { max-height: 95dvh; padding: 30px 22px; border-radius: 21px; } .pmodal-hero { grid-template-columns: 1fr; gap: 8px; padding-right: 0; } .pmodal-plans { margin-top: 8px; } .pmodal-plan { min-height: 0; grid-template-columns: auto 1fr; align-items: center; } .pmodal-plan > span { justify-self: end; grid-row: 1 / span 2; } .pmodal-plan-pills { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); } .pmodal-plan-security { grid-column: 1 / -1; } .pmodal-feature-strip { grid-template-columns: repeat(2, 1fr); } .pmodal-feature-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(142, 184, 255, .1); } .pmodal-feature-strip > div:nth-child(4) { border-top: 1px solid rgba(142, 184, 255, .1); } .pmodal-source-card { min-height: 0; } .pmodal-content-grid { grid-template-columns: 1fr; gap: 20px; } .pmodal-included ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pmodal-action-bar { position: relative; bottom: auto; grid-template-columns: 1fr; margin: 28px -22px -22px; padding: 18px 22px; } .pmodal-security { justify-content: center; text-align: center; } .pmodal-footer-github, .pmodal-continue { width: 100%; } }
@media (max-width: 420px) { .pmodal { padding: 7px; } .pmodal-panel { padding: 25px 17px; } .pmodal-panel h2 { font-size: 34px; } .pmodal-feature-strip > div { grid-template-columns: 21px 1fr; padding-inline: 7px; } .pmodal-feature-strip strong { font-size: 10px; } .pmodal-feature-strip small { font-size: 9px; } .pmodal-plan-pills { grid-template-columns: 1fr; } .pmodal-domain-input { grid-template-columns: 1fr; padding-bottom: 7px; } .pmodal-domain-input > span { margin: 0 7px; text-align: center; } .pmodal-included ul { grid-template-columns: 1fr; } .pmodal-action-bar { margin: 25px -17px -17px; padding: 16px 17px; } }

/* Optional custom-domain choice: domain intent is captured before checkout. */
.pmodal-domain{min-width:0;margin:0;padding:0;border:0;}
.pmodal-content-grid{padding-bottom:94px;}
.pmodal-domain legend{padding:0;color:#f6f9ff;font-size:17px;font-weight:800;}
.pmodal-domain-choice{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:12px;border:1px solid rgba(148,187,245,.22);border-radius:12px;background:rgba(7,20,39,.42);cursor:pointer;}
.pmodal-domain-choice:has(input:checked){border-color:#4b9eff;background:rgba(46,120,235,.13);box-shadow:0 0 0 3px rgba(62,153,255,.09);}
.pmodal-domain-choice input{margin:3px 0 0;accent-color:#4b9eff;}
.pmodal-domain-choice>span{display:block!important;min-width:0;}
.pmodal-domain-choice strong{display:block!important;font-size:13px;line-height:1.35;}
.pmodal-domain-choice small,.pmodal-domain-input small{display:block!important;margin-top:3px;color:#9aafce;font-size:11.5px;line-height:1.45;}
.pmodal-domain-input{display:grid!important;grid-template-columns:1fr!important;gap:6px;margin-top:12px;padding:12px;border-color:rgba(148,187,245,.35);}
.pmodal-domain-input[hidden]{display:none!important;}
.pmodal-domain-input>span{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#dbe8f8!important;font-size:12px!important;}
.pmodal-domain-input input{width:100%;min-height:44px!important;padding:0 12px!important;border:1px solid rgba(148,187,245,.28)!important;border-radius:10px!important;background:rgba(3,13,27,.74)!important;}
@media(max-width:700px){.pmodal-content-grid{padding-bottom:0;}.pmodal-domain-choice{padding:11px;}.pmodal-domain-chip{white-space:normal;}}

/* ---------- Portal ---------- */
.portal-layout { display: grid; grid-template-columns: minmax(300px,.8fr) minmax(0,1.2fr); gap: clamp(28px,6vw,64px); align-items: center; }
.portal-mock { border: 1px solid var(--border); border-radius: 18px; background: var(--ink-deep); overflow: hidden; box-shadow: 0 30px 70px oklch(5% 0.02 265 / 0.5); }
.pm-top { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.pm-top strong { margin-left: 8px; color: var(--muted); font-size: 13px; }
.pm-body { display: grid; grid-template-columns: 128px 1fr; min-height: 320px; }
.pm-side { padding: 20px 16px; border-right: 1px solid var(--border); background: oklch(9% 0.01 265); }
.pm-side span { display: block; height: 11px; margin-bottom: 16px; border-radius: 999px; background: oklch(100% 0 0 / 0.1); }
.pm-side span.on { width: 78%; background: oklch(68% 0.16 255 / 0.34); }
.pm-main { padding: 20px; display: grid; gap: 13px; align-content: start; }
.pm-app, .pm-metrics, .pm-log { border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.pm-app { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
.pm-app small { display: block; color: var(--soft); font-size: 12px; }
.pm-app strong { display: block; margin-top: 5px; font-size: 15px; }
.pm-app em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--success); padding: 4px 10px; border-radius: 999px; background: oklch(72% 0.16 155 / 0.14); }
.pm-metrics { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; }
.pm-metrics div { padding: 14px 16px; border-right: 1px solid var(--border); }
.pm-metrics div:last-child { border-right: 0; }
.pm-metrics small { display: block; color: var(--soft); font-size: 11.5px; }
.pm-metrics strong { display: block; margin-top: 5px; font-size: 15px; }
.pm-log { padding: 16px; font-family: var(--mono); font-size: 12.5px; }
.pm-log p { color: var(--success); line-height: 1.9; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 780px; }
.faq-container h2 { max-width: none; text-align: center; margin-inline: auto; }
.faq-list { margin-top: 38px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--soft); font-size: 22px; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; color: var(--accent); }
.faq-list p { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- CTA ---------- */
.cta { padding: clamp(40px,6vw,72px) 0; }
.cta-card { padding: clamp(44px,7vw,76px) clamp(24px,5vw,48px); border-radius: 24px; text-align: center; overflow: hidden; background: radial-gradient(120% 140% at 50% 0%, oklch(34% 0.08 250), oklch(19% 0.04 255)); border: 1px solid var(--border-2); }
.cta-card h2 { max-width: none; font-size: clamp(1.9rem, 3vw + 1rem, 3rem); font-weight: 800; letter-spacing: -.02em; }
.cta-card > p { margin-top: 14px; color: oklch(84% 0.02 265); font-size: 16.5px; }
.cta-actions { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 300px; }
.footer-logo { height: 30px; width: auto; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(120px,1fr)); gap: 32px; flex: 1; max-width: 520px; }
.footer-nav h2 { margin-bottom: 14px; color: var(--soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav a { display: block; margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--soft); font-size: 13px; }
.footer-bottom div { display: flex; gap: 20px; }

/* ---------- Legal + Docs ---------- */
.legal-page { padding: 72px 0; }
.legal-page article { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 800; letter-spacing: -.02em; }
.legal-page h2 { margin-top: 34px; font-size: 1.2rem; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.7; }
.legal-page p { margin-top: 15px; }
.legal-page ul { margin-top: 15px; padding-left: 20px; }
.legal-date { color: var(--soft); font-family: var(--mono); font-size: 13px; }
.legal-page a[href^="mailto"], .legal-page a[href^="http"] { color: var(--accent); }

/* ---------- Animations ---------- */
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(72% 0.16 155 / .55); } 70% { box-shadow: 0 0 0 7px oklch(72% 0.16 155 / 0); } 100% { box-shadow: 0 0 0 0 oklch(72% 0.16 155 / 0); } }
@keyframes floatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(28px,-22px) scale(1.08); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-24px,20px) scale(1.06); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .desktop-nav, .header-actions { display: none; }
  .menu-button { display: flex; }
  .hero-grid, .head-row, .portal-layout { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card, .feature-card.span-2 { grid-column: span 1; }
  .journey, .template-grid, .runtime-grid, .proof-grid, .workflow-map, .doc-grid, .status-grid { grid-template-columns: repeat(2,1fr); }
  .provider-grid { grid-template-columns: repeat(3,1fr); }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .portal-mock { order: -1; }
}
@media (max-width: 640px) {
  .container, .header-inner { width: min(100% - 32px, var(--container)); max-width: calc(100vw - 32px); }
  .hero { padding-top: 48px; }
  .hero-grid, .hero-copy, .hero-visual, .flow-card { width: 100%; }
  .page-title, .section-lede, .doc-card, .status-card, .text-panel { width: 100%; overflow-wrap: anywhere; }
  .doc-grid, .status-grid { width: 100%; }
  .page-title { max-width: 9ch; font-size: clamp(2rem, 10vw, 2.65rem); }
  .eyebrow { max-width: 100%; white-space: normal; }
  .hero-copy h1 { max-width: 8.5ch; font-size: clamp(2.15rem, 10vw, 2.8rem); letter-spacing: -.02em; }
  .hero-copy h1 span { display: block; }
  .lede { max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .button { width: 100%; }
  .hero-actions .button, .cta-actions .button { width: 100%; }
  .hero-points li { flex: 1 1 100%; text-align: center; }
  .feature-grid, .journey, .template-grid, .runtime-grid, .proof-grid, .provider-grid, .pricing-grid, .pm-metrics, .workflow-map, .doc-grid, .status-grid { grid-template-columns: 1fr; }
  .workflow-step::after { display: none; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px; }
  .flow-steps li { grid-template-columns: 30px 1fr; }
  .flow-steps small, .term-lines { white-space: normal; overflow-wrap: anywhere; }
  .flow-state { display: none; }
}
/* ---------- Mobile hero balance ---------- */
.hero-points-mobile { display: none; }

@media (max-width: 767px) {
  .hero { padding: 28px 0; }
  .hero-grid { gap: 16px; }
  .hero-copy .eyebrow {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy h1 {
    max-width: 11ch;
    margin: 14px auto 0;
    font-size: clamp(2.15rem, 8vw, 2.75rem);
    line-height: 1.02;
    text-align: center;
  }
  .hero-copy .lede { margin: 12px auto 0; text-align: center; }
  .hero-copy .hero-actions { margin-top: 18px; }
  .hero-copy > .hero-points { display: none; }
  .hero-points-mobile { display: flex; order: 3; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ============ Host Luma white chrome: header + footer ============ */
.site-header { background: #ffffff; border-bottom: 1px solid #e6eaf1; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 10px 28px rgba(16,24,40,.06); backdrop-filter: none; }
.site-header.is-stuck { background: #ffffff; border-bottom-color: #e6eaf1; box-shadow: 0 10px 30px rgba(16,24,40,.12); backdrop-filter: none; }
.site-header .brand-word, .site-header .brand-tld { color: #0b1220; }
.site-header .desktop-nav a, .site-header .nav-signin { color: #3a475c; }
.site-header .desktop-nav a:hover, .site-header .nav-signin:hover { color: #0b1220; }
.site-header .menu-button { border-color: #d7ddea; }
.site-header .menu-button span { background: #0b1220; }
.mobile-nav { background: #ffffff; border-top-color: #e6eaf1; }
.mobile-nav a:not(.button) { color: #3a475c; border-bottom: 1px solid #eef1f6; }

.site-footer { background: #ffffff; color: #3a475c; border-top: 1px solid #e6eaf1; }
.site-footer .footer-brand p { color: #5a6a83; }
.site-footer .footer-nav h2 { color: #0b1220; }
.site-footer .footer-nav a, .site-footer .footer-bottom a, .site-footer .footer-bottom p { color: #5a6a83; }
.site-footer .footer-nav a:hover, .site-footer .footer-bottom a:hover { color: #0b1220; }
.site-footer .footer-bottom { border-top: 1px solid #eef1f6; }

/* Product-proof gallery: source screenshots pending -> clean labelled mock panels, lightbox disabled */
.screenshot-card { pointer-events: none; }
.screenshot-card img { display: none; }
.screenshot-card .browser-bar { border-bottom: 1px solid var(--border); }
.screenshot-card strong { margin-top: 14px; }
