@font-face { font-family: "Sora"; src: url("/fonts/sora.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #07070d;
  --surface: #11111c;
  --surface-2: #171726;
  --line: #24243a;
  --line-strong: #3a3a5c;
  --text: #f3f3fa;
  --muted: #a3a3bd;
  --violet: #a24bff;
  --blue: #12b4ff;
  --good: #3ddc97;
  --bad: #ff6b8b;
  --grad: linear-gradient(90deg, var(--violet), var(--blue));
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* Header */
header.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; background: rgba(7,7,13,0.88); backdrop-filter: blur(10px); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.brand svg { width: 36px; height: 36px; flex: none; }
nav { display: flex; align-items: center; gap: 24px; font-size: 0.95rem; color: var(--muted); }
nav a { text-decoration: none; }
nav a:not(.btn):hover, nav a[aria-current="page"]:not(.btn) { color: var(--text); }
nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu-btn { display: none; font: inherit; font-weight: 700; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  nav.open { display: flex; }
  nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  nav .btn { margin-top: 16px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); font-size: 1rem; line-height: 1.3; color: var(--text); }
.btn.primary { background: var(--grad); color: #07070d; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost { border-color: var(--line-strong); background: transparent; }
.btn.ghost:hover { border-color: var(--blue); }
.btn.small { padding: 9px 16px; font-size: 0.92rem; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 76px 0 60px; background: radial-gradient(60% 80% at 15% 0%, rgba(162,75,255,0.18), transparent 70%), radial-gradient(50% 70% at 90% 20%, rgba(18,180,255,0.14), transparent 70%); }
.hero h1 { max-width: 15ch; }
.hero.page h1 { max-width: 20ch; }
.lead { margin-top: 20px; max-width: 56ch; font-size: 1.15rem; color: var(--muted); }
.hero.page { padding: 60px 0 44px; }
.motto { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.motto span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-right: 10px; vertical-align: middle; }

/* Sections */
section { padding: 64px 0; }
section.tight { padding-top: 0; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.sec-intro { margin-top: 14px; max-width: 60ch; color: var(--muted); }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

/* Cards */
.grid { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 400px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.2s; }
.card:hover { border-color: var(--line-strong); }
.card > svg { width: 34px; height: 34px; stroke: url(#g); }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 0.95rem; text-decoration: none; color: var(--blue); }
.card .more:hover { text-decoration: underline; }

/* Ticks list */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); font-size: 0.97rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.ticks li strong { color: var(--text); font-weight: 700; }

/* Why */
.why { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.why h3 { margin-bottom: 8px; }
.why h3::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--grad); margin-bottom: 14px; }
.why p { color: var(--muted); font-size: 0.97rem; }

/* Case study */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: grid; gap: 28px; grid-template-columns: 1.25fr 1fr; align-items: center; }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; padding: 24px; } }
.case h3 { font-size: 1.5rem; margin-bottom: 10px; }
.case p { color: var(--muted); }
.case p + p { margin-top: 12px; }
.chips { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.chips li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 0.95rem; background: var(--bg); }
.chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; vertical-align: middle; }

/* Long-form case study */
.feature { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 680px) { .feature { grid-template-columns: 1fr; gap: 10px; } }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); }
.feature p + p, .feature p + .ticks, .feature .ticks + p { margin-top: 12px; }
.stats { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { border-left: 2px solid var(--violet); padding: 4px 0 4px 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* Steps */
.steps { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: s; padding: 0; list-style: none; }
.steps li { counter-increment: s; border-top: 2px solid var(--line); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--violet); }
.steps h3 { font-size: 1.1rem; margin: 6px 0; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* Prices */
.price { font-family: var(--display); font-size: 1.7rem; font-weight: 700; margin-top: 4px; }
.price small { font-family: var(--body); font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.card.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(162,75,255,0.16); color: #d2b0ff; }
.card .ticks { margin-top: 6px; }
.note { margin-top: 24px; color: var(--muted); font-size: 0.95rem; max-width: 70ch; }
table.simple { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 0.97rem; }
table.simple th, table.simple td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { font-family: var(--display); font-weight: 600; }
table.simple td:last-child { white-space: nowrap; font-weight: 700; }
table.simple td.muted { color: var(--muted); }
@media (max-width: 560px) { table.simple thead { display: none; } table.simple tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); } table.simple td { border: 0; padding: 2px 0; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 10px; color: var(--muted); max-width: 70ch; }
.faq { margin-top: 28px; max-width: 820px; }

/* CTA band */
.band { background: radial-gradient(70% 120% at 0% 0%, rgba(162,75,255,0.22), transparent 70%), radial-gradient(60% 120% at 100% 100%, rgba(18,180,255,0.18), transparent 70%), var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 44px 32px; }
.band p { margin-top: 12px; color: var(--muted); max-width: 56ch; }
@media (max-width: 560px) { .band { padding: 32px 22px; } }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }

/* Form */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
label, legend { font-weight: 600; font-size: 0.92rem; }
.opt { color: var(--muted); font-weight: 500; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,180,255,0.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin-top: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--violet); margin: 0; flex: none; }
.check:has(input:checked) { border-color: var(--violet); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.form-msg.show { display: block; }
.form-msg.ok { border-color: rgba(61,220,151,0.5); }
.form-msg.err { border-color: rgba(255,107,139,0.5); }
.form-msg strong { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.form-msg p { color: var(--muted); }
.fine { color: var(--muted); font-size: 0.88rem; }
.aside { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 18px; }
.aside h3 { font-size: 1.05rem; }
.aside p { color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 28px; color: var(--muted); font-size: 0.93rem; margin-top: 32px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
@media (max-width: 680px) { .foot { grid-template-columns: 1fr; } }
.foot > div { display: grid; gap: 8px; align-content: start; }
.foot a:not(.brand) { text-decoration: none; }
.foot a:not(.brand):hover { color: var(--text); }
.foot .brand { color: var(--text); }
.foot-h { font-family: var(--display); font-size: 0.95rem; color: var(--text); margin-bottom: 4px; }
.motto-line { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.78rem; margin-top: 6px; }
.small-print { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.mt { margin-top: 28px; }
.mt-sm { margin-top: 16px; }
.defs { position: absolute; }
[hidden] { display: none !important; }
