/* =================================================================
   Repizen (placeholder brand) — marketing site styles
   All brand colors live in :root below. Re-theme in one place.
   ================================================================= */

:root {
  /* --- Brand palette (change these to rebrand) --- */
  --violet:  #7c3aed;
  --magenta: #e0218a;
  --coral:   #fb6a5b;
  --cyan:    #19d3e0;            /* electric accent */
  --grad:      linear-gradient(120deg, #7c3aed 0%, #e0218a 52%, #fb6a5b 100%);
  --grad-text: linear-gradient(100deg, #8b5cf6 0%, #e0218a 55%, #fb6a5b 100%);

  /* --- Neutrals --- */
  --ink:    #0b0712;            /* near-black plum (dark sections) */
  --ink-2:  #160d24;
  --bg:     #ffffff;
  --tint:   #faf7ff;            /* faint violet wash */
  --text:   #19121f;
  --muted:  #6c6478;
  --line:   #ece6f3;
  --line-d: rgba(255,255,255,.12);

  /* --- Shape & depth --- */
  --radius:    14px;
  --radius-lg: 24px;
  --shadow:    0 10px 30px rgba(20, 8, 40, .10);
  --shadow-lg: 0 36px 80px rgba(20, 8, 40, .26);
  --ring:      0 0 0 4px rgba(124, 58, 237, .22);

  --container: 1140px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Fira Code", Menlo, Consolas, monospace;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; }
code { font-family: var(--mono); font-size: .92em; }

/* ----------------------------- Layout ---------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 800px; }

.section { padding: 104px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #efe9f5; }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.lead { margin-top: 16px; font-size: 1.12rem; color: var(--muted); }
.lead--light { color: #b6acc6; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 14px;
}
.eyebrow--light { color: var(--coral); }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 30px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(224, 33, 138, .34); background-size: 140% 140%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(224, 33, 138, .44); }

.btn--ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.section--dark .btn--ghost, .hero .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ----------------------------- Nav ------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; }
.brand__mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); box-shadow: 0 4px 12px rgba(224,33,138,.4); flex: none; }
.nav.scrolled .brand, .nav:not(.scrolled) .brand { color: #fff; }
.nav.scrolled .brand { color: var(--text); }

.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: .96rem; }
.nav__links a { color: rgba(255,255,255,.86); transition: color .15s; }
.nav.scrolled .nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--magenta); }

.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav:not(.scrolled) .nav__cta .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; }
.nav__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.nav.scrolled .nav__burger span { background: var(--text); }
.nav__mobile { display: none; }

/* ----------------------------- Hero ------------------------------ */
.hero { position: relative; background: var(--ink); color: #fff; padding: 150px 0 80px; overflow: hidden; }
.hero__aurora, .cta__aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.blob--1 { width: 460px; height: 460px; background: var(--violet);  top: -120px; left: -80px; }
.blob--2 { width: 420px; height: 420px; background: var(--magenta); top: 40px; right: -100px; animation-delay: -4s; }
.blob--3 { width: 360px; height: 360px; background: var(--coral);   bottom: -160px; left: 38%; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-30px) scale(1.08); } }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.hero__lead { margin-top: 22px; font-size: 1.17rem; color: #c9c0d8; max-width: 520px; }
.hero__lead strong { color: #fff; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 22px; font-size: .9rem; color: #8d83a3; }

/* Hero windows */
.hero__visual { position: relative; }
.window { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.window--code { background: #160e24; border: 1px solid rgba(255,255,255,.1); }
.window__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; flex: none; }
.window__bar i:nth-child(2) { background: #febc2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: 8px; font-family: var(--mono); font-size: .8rem; color: #837596; }
.window__code { padding: 22px; font-family: var(--mono); font-size: .9rem; line-height: 1.75; color: #d6cce8; overflow-x: auto; }
.t-tag { color: #ff8fb3; } .t-attr { color: #8be9fd; } .t-str { color: #b9f18d; }

.window--widget { position: absolute; right: -8px; bottom: -54px; width: 250px; background: #fff; color: var(--text); padding: 18px; border: 1px solid var(--line); }
.mock__head { display: flex; align-items: center; gap: 9px; font-size: 1rem; margin-bottom: 14px; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.mock__field { display: block; margin-bottom: 11px; }
.mock__field span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.mock__field i { display: block; height: 30px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); }
.mock__field--lg i { height: 52px; }
.mock__btn { margin-top: 4px; text-align: center; padding: 10px; border-radius: 8px; background: var(--grad); color: #fff; font-weight: 600; font-size: .9rem; }
.mock__bubble { position: absolute; right: -18px; bottom: -22px; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 12px 26px rgba(224,33,138,.5); }

/* Trust strip */
.trust { position: relative; z-index: 2; margin-top: 96px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
.trust__label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8d83a3; margin-bottom: 18px; }
.trust__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.trust__list li { color: #c9c0d8; font-weight: 600; font-size: .96rem; opacity: .85; }

/* ----------------------------- Cards / grids --------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .98rem; }
.card p strong, .card p code { color: var(--text); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px; background: var(--grad); position: relative; box-shadow: 0 8px 18px rgba(124,58,237,.32); }
.card__icon::after { content: ""; position: absolute; inset: 0; background: center/24px no-repeat; }
.i-mail::after  { -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); background: #fff; }
.i-cal::after   { -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M3 9h18M8 2v4M16 2v4'/%3E%3C/svg%3E"); background: #fff; }
.i-bolt::after  { -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6z'/%3E%3C/svg%3E"); background: #fff; }
.i-globe::after { -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18a14 14 0 0 1 0-18'/%3E%3C/svg%3E"); background: #fff; }
.i-shield::after{ -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 3l8 3v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M12 3l8 3v5c0 5-3.5 8.5-8 10-4.5-1.5-8-5-8-10V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); background: #fff; }
.i-lock::after  { -webkit-mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); mask: center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); background: #fff; }

/* Security tiles */
.sec-grid { margin-top: 8px; }
.sec { padding: 24px; border: 1px solid var(--line-d); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: border-color .2s, background .2s; }
.sec:hover { border-color: var(--coral); background: rgba(255,255,255,.06); }
.sec h4 { font-size: 1rem; margin-bottom: 8px; color: #fff; }
.sec p { font-size: .9rem; color: #b6acc6; }

/* ----------------------------- Tabs ------------------------------ */
.tabs { max-width: 820px; margin: 0 auto; }
.tabs__bar { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 22px; }
.tabs__btn { padding: 9px 22px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--muted); transition: .18s; }
.tabs__btn.is-active { background: var(--grad); color: #fff; box-shadow: 0 6px 16px rgba(224,33,138,.32); }
.tabs__bar { display: flex; justify-content: center; }
.tabs { text-align: center; }

.code { position: relative; text-align: left; background: #160e24; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.code pre { padding: 26px 24px; overflow-x: auto; }
.code code { font-family: var(--mono); font-size: .92rem; line-height: 1.7; color: #d6cce8; white-space: pre; }
.code__copy { position: absolute; top: 14px; right: 14px; padding: 6px 14px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: #d6cce8; background: rgba(255,255,255,.1); transition: .15s; }
.code__copy:hover { background: rgba(255,255,255,.2); }
.code__copy.copied { background: #28c840; color: #fff; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 44px; max-width: 900px; margin-inline: auto; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: .96rem; }

/* ----------------------------- Data model ------------------------ */
.seg { display: inline-flex; gap: 6px; padding: 6px; background: var(--tint); border: 1px solid var(--line); border-radius: 999px; margin: 0 auto 40px; }
.seg { display: flex; width: fit-content; }
#data .seg { margin-inline: auto; }
.seg__btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: .18s; }
.seg__btn.is-active { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.seg__tag { font-size: .68rem; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; }
.seg__tag--now { background: rgba(40,200,64,.16); color: #1c8b32; }
.seg__tag--soon { background: rgba(124,58,237,.14); color: var(--violet); }

.model { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 980px; margin-inline: auto; }
.model__copy h3 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 14px; }
.model__copy > p { color: var(--muted); margin-bottom: 20px; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); -webkit-mask: center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }
/* tick: gradient circle with a white check punched out */
.ticks li::after { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 800; }
.ticks li::before { -webkit-mask: none; mask: none; }

.model__diagram { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 26px; text-align: center; }
.section--dark .model__diagram { background: rgba(255,255,255,.04); border-color: var(--line-d); }
.flow { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.node { width: 100%; max-width: 260px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow); }
.node small { display: block; font-weight: 500; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.node--you { border-color: var(--cyan); }
.node--us  { background: var(--grad); color: #fff; border: none; }
.node--us small { color: rgba(255,255,255,.85); }
.node--byo { background: var(--ink); color: #fff; border: none; }
.node--byo small { color: #b6acc6; }
.arrow { width: 2px; height: 18px; background: linear-gradient(var(--violet), var(--magenta)); position: relative; }
.arrow::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--magenta); }
.model__where { margin-top: 22px; font-size: .95rem; color: var(--muted); }
.model__where strong { color: var(--text); }

/* ----------------------------- DNS ------------------------------- */
.dns { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.dns__steps { display: grid; gap: 18px; margin: 26px 0; counter-reset: s; }
.dns__steps li { position: relative; padding-left: 46px; color: var(--muted); }
.dns__steps li strong { color: var(--text); }
.dns__steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.dns__foot { font-size: .92rem; color: var(--muted); }
.dns__table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.dns__table table { width: 100%; border-collapse: collapse; }
.dns__table th, .dns__table td { padding: 14px 18px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.dns__table th { background: var(--tint); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dns__table td:nth-child(2) { font-family: var(--mono); color: var(--violet); font-weight: 600; }
.dns__table tr:last-child td { border-bottom: none; }

/* ----------------------------- MCP / AI agents ------------------- */
.mcp-pill { display: inline-flex; align-items: center; background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 10px; }
.mcp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.mcp > div { min-width: 0; } /* let the code window scroll instead of inflating the column */
.mcp__tools { display: grid; gap: 14px; margin-bottom: 26px; }
.mcp__tool { display: flex; align-items: flex-start; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line-d); border-radius: 12px; padding: 14px 16px; }
.mcp__num { font-family: var(--mono); font-weight: 700; font-size: 1.05rem; color: var(--coral); line-height: 1.3; }
.mcp__tool strong { font-family: var(--mono); font-size: .88rem; color: #fff; display: block; }
.mcp__tool span:not(.mcp__num) { font-size: .82rem; color: #b6acc6; }
.mcp__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0; }
.mcp__chips li { list-style: none; background: rgba(255,255,255,.07); color: #c9c0d8; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.ticks--dark li { color: #efe9f5; }

/* ----------------------------- Pricing --------------------------- */
.prices { align-items: stretch; }
.price { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; position: relative; }
.price--featured { border: 2px solid transparent; background:
  linear-gradient(#fff, #fff) padding-box,
  var(--grad) border-box; box-shadow: var(--shadow-lg); }
.price__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.price__name { font-size: 1.15rem; }
.price__amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.price__amt span { font-size: 1.4rem; vertical-align: super; }
.price__amt small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price__amt--text { font-size: 2.4rem; }
.price__blurb { color: var(--muted); margin-bottom: 22px; }
.price .ticks { margin-bottom: 28px; }
.price .ticks li { font-size: .94rem; }
.price .btn { margin-top: auto; }

/* ----------------------------- FAQ ------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--magenta); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; color: var(--muted); }

/* ----------------------------- CTA ------------------------------- */
.cta { position: relative; background: var(--ink); color: #fff; padding: 96px 0; overflow: hidden; text-align: center; }
.cta__inner { position: relative; z-index: 2; max-width: 640px; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.02em; font-weight: 800; }
.cta p { margin-top: 14px; color: #c9c0d8; font-size: 1.1rem; }
.cta__form { display: flex; gap: 10px; margin: 30px auto 0; max-width: 460px; }
.cta__form input { flex: 1; padding: 15px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; }
.cta__form input::placeholder { color: #9a90b0; }
.cta__form input:focus-visible { box-shadow: var(--ring); }
.cta__fine { font-size: .84rem; color: #8d83a3; margin-top: 16px; }

/* ----------------------------- Footer ---------------------------- */
.footer { background: #07040d; color: #b6acc6; padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand { color: #fff; margin-bottom: 14px; }
.footer__brand p { max-width: 280px; font-size: .94rem; }
.footer__col h5 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.footer__col a { display: block; padding: 5px 0; font-size: .94rem; transition: color .15s; }
.footer__col a:hover { color: var(--coral); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; color: #837596; }

/* ----------------------------- Floating demo --------------------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 18px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 14px 32px rgba(224,33,138,.5); transition: transform .2s; }
.fab:hover { transform: translateY(-3px); }
.fab__icon { font-size: 1.2rem; }
.fab__panel { position: fixed; right: 24px; bottom: 92px; z-index: 91; width: 340px; max-width: calc(100vw - 32px); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); animation: pop .22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.fab__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--grad); color: #fff; }
.fab__close { font-size: 1.5rem; line-height: 1; opacity: .9; }
.fab__form { padding: 18px; display: grid; gap: 12px; }
.fab__form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.fab__form input, .fab__form textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .95rem; resize: vertical; }
.fab__form input:focus-visible, .fab__form textarea:focus-visible { box-shadow: var(--ring); border-color: var(--violet); }
.fab__demo { text-align: center; font-size: .78rem; color: var(--muted); }
.fab__done { padding: 40px 24px; text-align: center; }
.fab__check { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.8rem; display: grid; place-items: center; margin: 0 auto 16px; }
.fab__done p { color: var(--muted); }

/* ----------------------------- Reveal anim ----------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --------------- Sub-pages (support, legal, connect) -------------- */
/* Compact dark page header — keeps the fixed nav legible off the home page. */
.hero--page { padding: 132px 0 66px; text-align: center; }
.hero--page .container { position: relative; z-index: 2; }
.hero--page .hero__title { font-size: clamp(2rem, 4.2vw, 3rem); }
.hero--page .hero__lead { margin-inline: auto; }
.hero--page .hero__note { margin-top: 18px; }

/* Long-form copy (legal, docs) */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -.02em; color: var(--text); margin-top: 52px; }
.prose h3 { font-size: 1.06rem; color: var(--text); margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a:not(.btn) { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):hover { color: var(--magenta); }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 22px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose code { color: var(--text); background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose td { color: var(--muted); }
.prose td strong { color: var(--text); }
.section--dark .prose p, .section--dark .prose li { color: #b6acc6; }
.section--dark .prose h2, .section--dark .prose h3, .section--dark .prose strong { color: #fff; }
.section--dark .prose code { color: #fff; background: rgba(255,255,255,.08); border-color: var(--line-d); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* Bracketed value a human still has to fill in */
.ph { font-family: var(--mono); font-size: .86em; font-weight: 600; color: var(--violet); background: rgba(124,58,237,.1); border: 1px dashed rgba(124,58,237,.45); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* Callout strip — draft warnings, status notes */
.notice { border-radius: var(--radius); border: 1px solid var(--line); background: var(--tint); padding: 20px 22px; }
.notice h2, .notice h3 { margin-top: 0; }
.notice__tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; margin-bottom: 10px; }
.notice p { color: var(--muted); font-size: .96rem; }
.notice p + p { margin-top: 10px; }
.notice--warn { border-color: rgba(251,106,91,.45); background: rgba(251,106,91,.09); }
.notice--info { border-color: rgba(25,211,224,.45); background: rgba(25,211,224,.08); }

.meta { font-size: .88rem; color: var(--muted); }
.embed-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; min-height: 120px; }

/* ----------------------------- Responsive ------------------------ */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { margin-bottom: 40px; }
  .window--widget { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .model, .dns, .mcp { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav__links, .nav__cta, .mcp-pill { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: none; flex-direction: column; gap: 6px; padding: 16px 24px 22px; background: #fff; box-shadow: 0 12px 30px rgba(20,8,40,.16); }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { padding: 10px 0; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
  .nav__mobile a:last-child { border: none; margin-top: 8px; }
  .nav:not(.scrolled) { background: rgba(11,7,18,.9); backdrop-filter: blur(12px); }
  .grid--3, .grid--4, .steps, .prices { grid-template-columns: 1fr; }
  .seg { flex-direction: column; width: 100%; }
  .seg__btn { justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta__form { flex-direction: column; }
  .cta__form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
