@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090c; --bg-2: #0c0d12; --panel: rgba(255, 255, 255, .035); --panel-solid: #111319;
  --border: rgba(255, 255, 255, .09); --border-strong: rgba(255, 255, 255, .18);
  --text: #f1f2f6; --muted: #a0a6b6; --faint: #6b7183;
  --crimson: #dc143c; --crimson-soft: #ff4d6d; --crimson-glow: rgba(220, 20, 60, .35); --ok: #46d39a;
  --max: 1160px; --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --step--1: clamp(.84rem, .8rem + .15vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --step-2: clamp(1.7rem, 1.3rem + 1.8vw, 2.75rem);
  --step-3: clamp(2.4rem, 1.5rem + 4.2vw, 4.6rem);
  --space-section: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--step-0)/1.65 "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* faint grid behind everything, fading out down the page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}
::selection { background: var(--crimson); color: #fff; }
a { color: var(--crimson-soft); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--crimson-soft); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- header ---------- */
header.site { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
header.site.scrolled { background: rgba(8, 9, 12, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-weight: 650; font-size: 1.06rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 34px; height: 34px; display: block; }
.brand b { color: var(--crimson-soft); font-weight: 650; }
nav { display: flex; gap: clamp(14px, 2.4vw, 30px); align-items: center; font-size: var(--step--1); }
nav a:not(.btn) { color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--crimson-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
nav a:not(.btn):hover, nav a.active { color: var(--text); text-decoration: none; }
nav a.active::after, nav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; width: 42px; height: 42px; color: var(--text); cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #ee2a50, var(--crimson)); color: #fff; font-weight: 600; font-size: var(--step--1);
  padding: 13px 22px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 28px -10px var(--crimson-glow), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(220, 20, 60, .6), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-strong); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .32); }
nav .btn, .btn.small { padding: 9px 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: 140px 0 96px; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 55% at 78% 38%, rgba(220, 20, 60, .2), transparent 70%), radial-gradient(40% 40% at 12% 90%, rgba(255, 77, 109, .08), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
#hero-canvas.ready { opacity: 1; }
.hero-copy { max-width: 660px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--crimson-soft); font-size: .78rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
h1 { font-size: var(--step-3); line-height: 1.02; margin: 20px 0 24px; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, #ff7088, var(--crimson) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 34em; margin: 0 0 36px; text-wrap: pretty; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { display: flex; gap: 10px 26px; flex-wrap: wrap; margin: 48px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(70, 211, 154, .15); }

/* ---------- sections ---------- */
section { padding: var(--space-section) 0; position: relative; }
section + section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--max), 100% - var(--gutter) * 2); transform: translateX(-50%); height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
h2 { font-size: var(--step-2); line-height: 1.1; margin: 16px 0 14px; letter-spacing: -.03em; font-weight: 680; text-wrap: balance; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 clamp(32px, 5vw, 56px); font-size: var(--step-0); text-wrap: pretty; }
h3 { font-size: 1.14rem; margin: 0 0 8px; letter-spacing: -.015em; font-weight: 640; }

.grid { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); }

.card {
  position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px); overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s, background .3s;
}
/* light that follows the cursor (position set from main.js) */
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 77, 109, .13), transparent 65%); }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .96rem; }
.card ul li + li { margin-top: 6px; }

.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: var(--crimson-soft); background: rgba(220, 20, 60, .12); border: 1px solid rgba(220, 20, 60, .28); }
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: step; }
.steps .card::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 18px; right: 22px; font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; color: rgba(255, 255, 255, .06); line-height: 1; }

/* ---------- pricing ---------- */
.tiers { align-items: stretch; }
.tier { display: flex; flex-direction: column; }
.tier.featured { background: linear-gradient(180deg, rgba(220, 20, 60, .13), rgba(220, 20, 60, .03) 55%); border-color: rgba(220, 20, 60, .55); box-shadow: 0 30px 80px -40px var(--crimson-glow); }
.tier.featured:hover { border-color: var(--crimson-soft); }
.badge { align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--crimson); border-radius: 99px; padding: 3px 11px; margin-bottom: 14px; }
.price { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 700; margin: 8px 0 4px; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .for { color: var(--muted); font-size: .96rem; margin: 0 0 4px; min-height: 3.1em; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; font-size: .95rem; color: var(--text); }
.tier li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--border); margin: 0 !important; }
.tier li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.tier .btn { width: 100%; }

.table-card { padding: 6px clamp(8px, 1.4vw, 16px); }
.table-card:hover { transform: none; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 15px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--faint); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
td:first-child { font-weight: 560; }
td:nth-child(2) { color: var(--muted); }
td:last-child, th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.note { color: var(--faint); font-size: var(--step--1); margin-top: 18px; max-width: 60em; }
.addons-title { margin-top: clamp(40px, 6vw, 64px); margin-bottom: 16px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 580; font-size: 1.06rem; padding: 22px 44px 22px 0; list-style: none; position: relative; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--crimson-soft); }
summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { color: var(--muted); margin: 0 0 24px; max-width: 46em; }
/* smooth open/close where the browser supports it */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  details[open]::details-content { height: auto; }
}

/* ---------- contact ---------- */
.contact { text-align: center; overflow: hidden; }
.contact::after { content: ""; position: absolute; left: 50%; bottom: -55%; width: min(1100px, 130%); aspect-ratio: 2 / 1; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(220, 20, 60, .28), transparent); pointer-events: none; z-index: -1; }
.contact .eyebrow::before { display: none; }
.contact .sub { margin-inline: auto; }
.email { display: inline-block; font-size: clamp(1.3rem, .9rem + 2.2vw, 2.3rem); font-weight: 680; letter-spacing: -.03em; color: var(--text); padding-bottom: 6px; background: linear-gradient(var(--crimson-soft), var(--crimson-soft)) left bottom / 100% 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.email:hover { text-decoration: none; color: var(--crimson-soft); background-size: 0% 2px; background-position: right bottom; }

/* ---------- scoping form ---------- */
.scope-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 760px; margin: 0 auto; text-align: left; }
.scope-form:hover { transform: none; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--step--1); font-weight: 560; color: var(--text); padding: 0; }
.field legend { margin-bottom: 10px; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; background: rgba(0, 0, 0, .35); color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--crimson-soft); box-shadow: 0 0 0 4px rgba(220, 20, 60, .18); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: 99px; font-weight: 450; color: var(--muted); cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.checks label:hover { color: var(--text); border-color: rgba(255, 255, 255, .32); }
.checks input { accent-color: var(--crimson); width: 16px; height: 16px; margin: 0; }
.checks label:has(input:checked) { color: var(--text); border-color: var(--crimson-soft); background: rgba(220, 20, 60, .12); }
.form-foot { align-items: flex-start; gap: 4px; }
.form-foot .note { margin-top: 10px; }

.benefits { margin-bottom: clamp(14px, 1.6vw, 20px); }
/* trap for automated form-fillers: people never see or reach this field */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: var(--step--1); color: var(--muted); min-height: 1.4em; }
.form-status.error { color: var(--crimson-soft); }
.form-done { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(32px, 5vw, 56px); border-color: rgba(70, 211, 154, .4); }
.form-done h3 { font-size: var(--step-1); }
.form-done:hover { transform: none; }
[hidden] { display: none !important; }

/* ---------- footer ---------- */footer { border-top: 1px solid var(--border); padding: 32px 0 44px; color: var(--faint); font-size: var(--step--1); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-left: 22px; }
footer a:first-child { margin-left: 0; }

/* ---------- legal pages ---------- */
.legal { padding: 150px 0 90px; max-width: 760px; }
.legal h1 { font-size: var(--step-2); }
.legal h2 { font-size: 1.3rem; margin-top: 40px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }

/* ---------- scroll reveal (only when JavaScript is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .card[data-reveal].in { transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .3s, background .3s; }

/* when the hydra sits behind the headline instead of beside it, keep it in the background */
@media (max-width: 1000px) { #hero-canvas.ready { opacity: .55; } }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: rgba(8, 9, 12, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); font-size: 1.05rem; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  nav.open { opacity: 1; visibility: visible; transform: none; }
  nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  nav a:not(.btn)::after { display: none; }
  nav .btn { margin-top: 16px; padding: 13px; }
  .hero { padding: 120px 0 72px; min-height: 0; }
  #hero-canvas { opacity: 0 !important; }
  #hero-canvas.ready { opacity: .5 !important; }
  .tier .for { min-height: 0; }
  .scope-form { grid-template-columns: 1fr; }
  thead { display: none; }
  table, tbody, tr, td { display: block; }
  tr { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 2px 8px; }
  td:last-child { text-align: left; color: var(--crimson-soft); padding-top: 6px; }
  footer a { margin: 0 22px 0 0; }
}

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