/* Oinec — main stylesheet. No inline styles anywhere (strict CSP). */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2-variations"),
       url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070d;
  --bg-2: #080b14;
  --surface: #0c1120;
  --surface-2: #111830;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --text: #e8edf7;
  --text-strong: #ffffff;
  --muted: #9aa7bd;
  --dim: #6b7891;
  --blue: #5b8cff;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --green: #34d399;
  --danger: #f87171;
  --grad: linear-gradient(120deg, #5b8cff 0%, #7c5cff 50%, #22d3ee 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .link { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34, 211, 238, .35); text-underline-offset: 3px; }
p a:hover, .prose a:hover, .link:hover { text-decoration-color: var(--cyan); }
h1, h2, h3, h4 { color: var(--text-strong); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.04em; font-weight: 750; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 72px 0; }
@media (max-width: 768px) { .section { padding: 80px 0; } }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: .98rem; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; white-space: nowrap; font-family: inherit; }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(124, 92, 255, .95), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(148,163,184,.45); }
.btn-sm { padding: 10px 16px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 7, 13, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(5, 7, 13, .88); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.4rem; letter-spacing: -0.04em; color: var(--text-strong); }
.brand img { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s ease, background .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text-strong); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: 100%; left: -12px; width: min(560px, calc(100vw - 48px)); margin-top: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); }
.dropdown a:hover { background: rgba(255,255,255,.05); }
.dropdown .dd-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(91,140,255,.12); color: var(--cyan); }
.dropdown .dd-icon svg { width: 18px; height: 18px; }
.dropdown strong { display: block; font-size: .92rem; color: var(--text-strong); font-weight: 600; }
.dropdown span.dd-sub { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu { position: fixed; inset: 72px 0 0 0; background: var(--bg); padding: 16px 16px 32px; display: none; flex-direction: column; overflow-y: auto; border-top: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .dropdown { position: static; transform: none; width: auto; margin-top: 0; opacity: 1; visibility: visible; grid-template-columns: 1fr; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 8px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .nav-cta { margin-top: 20px; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; padding: 16px; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 961px) { .nav-menu { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: space-between; margin-left: 32px; } }

/* Hero */
.hero { position: relative; padding: 120px 0 104px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -2; background: radial-gradient(600px 380px at 20% 20%, rgba(91,140,255,.22), transparent 70%), radial-gradient(520px 360px at 80% 10%, rgba(124,92,255,.22), transparent 70%), radial-gradient(500px 300px at 60% 70%, rgba(34,211,238,.12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(12,17,32,.7); font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.badge b { background: var(--grad); color: #fff; font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin: 0 auto 36px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-trust { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--dim); font-size: .86rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green); }
@media (max-width: 600px) { .hero { padding: 80px 0 72px; } .hero-actions .btn { width: 100%; } }

/* Page hero (inner pages) */
.page-hero { padding: 96px 0 72px; position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 600px; z-index: -1; background: radial-gradient(520px 300px at 15% 30%, rgba(91,140,255,.2), transparent 70%), radial-gradient(480px 300px at 85% 10%, rgba(124,92,255,.18), transparent 70%); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 900px; }
.page-hero .lead { margin-bottom: 32px; }
.breadcrumb { font-size: .86rem; color: var(--dim); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--text); }

/* Cards & grids */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { position: relative; background: linear-gradient(180deg, rgba(17,24,48,.65), rgba(12,17,32,.65)); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.card:hover { border-color: var(--border-strong); }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, rgba(91,140,255,.18), rgba(34,211,238,.10)); border: 1px solid rgba(91,140,255,.25); color: var(--cyan); }
.icon svg { width: 24px; height: 24px; }
.icon-danger { background: rgba(248,113,113,.10); border-color: rgba(248,113,113,.25); color: var(--danger); }

.service-card { display: flex; flex-direction: column; padding: 32px; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.service-card:hover { transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-size: 1.4rem; }
.service-card .tag { font-family: var(--mono); font-size: .75rem; color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.service-card .more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-strong); font-size: .95rem; }
.service-card .more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

.checklist { list-style: none; display: grid; gap: 10px; margin: 8px 0 0; }
.checklist li { position: relative; padding-left: 28px; color: var(--text); font-size: .96rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52,211,153,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2334d399' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9'/%3E%3C/svg%3E") center/14px no-repeat; }
.checklist.two-col { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
@media (max-width: 680px) { .checklist.two-col { grid-template-columns: 1fr; } }

/* Lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: var(--surface); }
.lifecycle .stage { padding: 32px 28px; border-right: 1px solid var(--border); position: relative; }
.lifecycle .stage:last-child { border-right: 0; }
.lifecycle .num { font-family: var(--mono); font-size: .8rem; color: var(--dim); }
.lifecycle h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.lifecycle p { color: var(--muted); font-size: .95rem; margin: 0; }
.lifecycle .bar { height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 20px; width: 48px; }
@media (max-width: 900px) { .lifecycle { grid-template-columns: 1fr 1fr; } .lifecycle .stage:nth-child(2) { border-right: 0; } .lifecycle .stage:nth-child(-n+2) { border-bottom: 1px solid var(--border); } }
@media (max-width: 560px) { .lifecycle { grid-template-columns: 1fr; } .lifecycle .stage { border-right: 0; border-bottom: 1px solid var(--border); } .lifecycle .stage:last-child { border-bottom: 0; } }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(124,92,255,.14); border: 1px solid rgba(124,92,255,.35); color: #c4b5fd; font-family: var(--mono); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Terminal / report mock */
.panel { border-radius: 18px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, #0d1326, #090d1a); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: .78rem; color: var(--dim); }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3350; display: block; }
.panel-bar .title { margin-left: 10px; }
.panel-body { padding: 22px; font-family: var(--mono); font-size: .82rem; line-height: 1.75; color: var(--muted); overflow-x: auto; }
.finding { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.02); margin-bottom: 10px; font-family: var(--font); font-size: .9rem; color: var(--text); }
.finding:last-child { margin-bottom: 0; }
.finding code { font-family: var(--mono); font-size: .75rem; color: var(--dim); }
.sev { font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; }
.sev-crit { background: rgba(248,113,113,.14); color: #fca5a5; }
.sev-high { background: rgba(251,146,60,.14); color: #fdba74; }
.sev-med { background: rgba(250,204,21,.12); color: #fde047; }
.sev-ok { background: rgba(52,211,153,.12); color: #6ee7b7; }
.status { font-size: .78rem; color: var(--dim); }
.panel-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.panel-foot b { color: var(--green); font-weight: 600; }

/* Frameworks strip */
.frameworks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.02); color: var(--muted); font-size: .9rem; font-weight: 500; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Pricing / engagement */
.plan { display: flex; flex-direction: column; padding: 32px; }
.plan.featured { border-color: rgba(124,92,255,.55); background: linear-gradient(180deg, rgba(124,92,255,.12), rgba(12,17,32,.7) 45%); }
.plan .plan-label { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.plan h3 { font-size: 1.5rem; margin: 10px 0 6px; }
.plan .price { font-size: 1.05rem; color: var(--text-strong); font-weight: 600; margin: 8px 0 18px; }
.plan .price span { color: var(--muted); font-weight: 400; font-size: .92rem; }
.plan .checklist { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan .ribbon { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-weight: 600; color: var(--text-strong); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta-band { position: relative; border-radius: 24px; padding: 64px; overflow: hidden; border: 1px solid rgba(124,92,255,.4); background: radial-gradient(600px 300px at 0% 0%, rgba(91,140,255,.25), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(34,211,238,.18), transparent 70%), var(--surface); text-align: center; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band .lead { margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }
@media (max-width: 600px) { .cta-band { padding: 40px 20px; } }

/* Contact form */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact-wrap { grid-template-columns: 1fr; gap: 40px; } }
.contact-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-points li { display: flex; gap: 14px; }
.contact-points .icon { margin: 0; flex: none; width: 40px; height: 40px; }
.contact-points .icon svg { width: 20px; height: 20px; }
.contact-points strong { display: block; color: var(--text-strong); }
.contact-points span { color: var(--muted); font-size: .94rem; }
.form-card { padding: 36px; }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field label .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text-strong); background: rgba(5,7,13,.6); border: 1px solid var(--border-strong); border-radius: 10px; padding: 13px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239aa7bd' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--violet); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #a7f3d0; }
.form-status.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fecaca; }
.form-note { font-size: .82rem; color: var(--dim); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 14px; height: 14px; flex: none; color: var(--green); }

/* Prose (legal) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: #c7d0e0; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--dim); font-size: .9rem; }

/* Stat-free value row */
.values { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.values div { background: var(--bg-2); padding: 28px 24px; }
.values strong { display: block; color: var(--text-strong); font-size: 1.05rem; margin-bottom: 6px; }
.values span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 36px; background: var(--bg-2); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--muted); font-size: .94rem; }
.footer-grid ul a:hover { color: var(--text-strong); }
.footer-about p { color: var(--muted); font-size: .94rem; max-width: 340px; margin-top: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: var(--dim); }
.footer-bottom a:hover { color: var(--text); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Reveal on scroll (JS adds .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 120px 0; }
.notfound .code { font-family: var(--mono); font-size: 1rem; color: var(--cyan); margin-bottom: 12px; }

.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mb-0 { margin-bottom: 0; } .center { text-align: center; }
.page-hero .hero-actions { justify-content: flex-start; }
.badge svg { width: 14px; height: 14px; }
h1, h2, h3 { text-wrap: balance; }
.lead, .card p { text-wrap: pretty; }
.cta-band .eyebrow::before { display: none; }
.badge.motto { color: var(--text); font-weight: 600; letter-spacing: .01em; }
.footer-motto { display: inline-block; font-weight: 650; font-size: 1.05rem; margin: 14px 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-about .footer-motto + p { margin-top: 8px; }

/* ------------------------------------------------------------------ Theme toggle */
.theme-toggle { order: 3; flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); background: transparent; color: var(--text); cursor: pointer; display: inline-grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.theme-toggle:hover { background: rgba(127,127,127,.1); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-moon { display: block; }
.brand { order: 1; } .nav-menu { order: 2; } .nav-toggle { order: 4; }
@media (max-width: 960px) { .theme-toggle { margin-left: auto; width: 44px; height: 44px; } .nav { gap: 12px; } }

/* ------------------------------------------------------------------ Light theme */
[data-theme="light"] {
  --bg: #f7f9fc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f1f4fa;
  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.18);
  --text: #1e293b;
  --text-strong: #0b1020;
  --muted: #475569;
  --dim: #64748b;
  --cyan: #0e7490;
  --green: #059669;
  --danger: #dc2626;
  --shadow: 0 24px 60px -28px rgba(15, 23, 42, 0.25);
  color-scheme: light;
}
[data-theme="light"] .btn-ghost { background: #fff; }
[data-theme="light"] .btn-ghost:hover { background: var(--surface-2); border-color: rgba(15,23,42,.3); }
[data-theme="light"] .site-header { background: rgba(247, 249, 252, .75); }
[data-theme="light"] .site-header.scrolled { background: rgba(247, 249, 252, .92); }
[data-theme="light"] .nav-links a:hover, [data-theme="light"] .nav-links a[aria-current="page"], [data-theme="light"] .dropdown a:hover { background: rgba(15,23,42,.05); }
[data-theme="light"] .dropdown .dd-icon { background: rgba(91,140,255,.1); }
[data-theme="light"] .badge { background: rgba(255,255,255,.8); }
[data-theme="light"] .hero::before { opacity: .55; }
[data-theme="light"] .hero::after { background-image: linear-gradient(rgba(15,23,42,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.05) 1px, transparent 1px); }
[data-theme="light"] .page-hero::before { opacity: .5; }
[data-theme="light"] .card { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -16px rgba(15,23,42,.12); }
[data-theme="light"] .icon { background: linear-gradient(135deg, rgba(91,140,255,.12), rgba(34,211,238,.10)); }
[data-theme="light"] .icon-danger { background: rgba(220,38,38,.07); border-color: rgba(220,38,38,.2); }
[data-theme="light"] .step::before { background: rgba(124,92,255,.1); color: #5b21b6; }
[data-theme="light"] .panel { background: #fff; }
[data-theme="light"] .panel-bar i { background: #cbd5e1; }
[data-theme="light"] .finding { background: var(--bg); }
[data-theme="light"] .sev-crit { background: rgba(220,38,38,.1); color: #b91c1c; }
[data-theme="light"] .sev-high { background: rgba(234,88,12,.1); color: #c2410c; }
[data-theme="light"] .sev-med { background: rgba(202,138,4,.12); color: #a16207; }
[data-theme="light"] .sev-ok { background: rgba(5,150,105,.1); color: #047857; }
[data-theme="light"] .chip { background: #fff; }
[data-theme="light"] .chip::before { box-shadow: none; }
[data-theme="light"] .plan.featured { background: linear-gradient(180deg, rgba(124,92,255,.08), #fff 45%); }
[data-theme="light"] .lifecycle { background: #fff; }
[data-theme="light"] .values div { background: #fff; }
[data-theme="light"] .cta-band { background: radial-gradient(600px 300px at 0% 0%, rgba(91,140,255,.16), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(34,211,238,.12), transparent 70%), #fff; }
[data-theme="light"] .field input, [data-theme="light"] .field select, [data-theme="light"] .field textarea { background-color: #fff; }
[data-theme="light"] .form-status.ok { color: #065f46; }
[data-theme="light"] .form-status.err { color: #991b1b; }
[data-theme="light"] .prose p, [data-theme="light"] .prose li { color: #334155; }
[data-theme="light"] .section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
[data-theme="light"] .site-footer { background: var(--bg-2); }
[data-theme="light"] .skip-link { background: var(--text-strong); color: #fff; }
@media (max-width: 960px) { [data-theme="light"] .nav-menu { background: var(--bg); } }

/* ------------------------------------------------------------------ Motto (script) */
@font-face {
  font-family: "Dancing Script";
  src: url("/assets/fonts/dancing-script-latin.woff2") format("woff2-variations"),
       url("/assets/fonts/dancing-script-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
.script { font-family: "Dancing Script", "Segoe Script", "Brush Script MT", cursive; font-weight: 700; letter-spacing: 0; text-transform: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding: 0 .08em; line-height: 1.2; }
.badge.motto .script { font-size: 1.35rem; margin-top: -2px; }
.badge.motto { padding-top: 4px; padding-bottom: 4px; }
.footer-motto.script { font-size: 1.75rem; font-weight: 700; margin: 12px 0 0; }
.cta-motto { font-size: 2rem; margin-bottom: 10px; }
.footer-motto.script { display: block; width: fit-content; }
.badge.motto .script { font-size: 1.5rem; }
/* Mobile menu: the header's backdrop-filter makes it the containing block for fixed children,
   so position the panel relative to the header with an explicit viewport height. */
@media (max-width: 960px) {
  .nav-menu { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; height: calc(100vh - 72px); height: calc(100dvh - 72px); }
}
@media (max-width: 960px) {
  .dropdown span.dd-sub { display: none; }
  .dropdown a { padding: 10px 12px; align-items: center; }
  .dropdown .dd-icon { width: 32px; height: 32px; }
  .nav-links a { padding: 12px; }
}
