/* Data Cookings — one stylesheet, no external requests. */
:root {
  color-scheme: dark;
  --bg: #0b0b14;
  --bg-elev: #101020;
  --surface: #151527;
  --surface-2: #1b1b31;
  --border: #2a2a46;
  --text: #eceaf7;
  --muted: #a9a8c4;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-strong: #a78bfa;
  --accent-ink: #ffffff;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --success: #4ade80;
  --danger: #f87171;
  --cookie: #f2b544;
  --shadow: 0 1px 2px rgba(0,0,0,.45), 0 12px 32px rgba(0,0,0,.35);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1120px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4fa;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5fc;
  --border: #dedeec;
  --text: #14142b;
  --muted: #4e4e6b;
  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --accent-strong: #5b21b6;
  --accent-ink: #ffffff;
  --accent-soft: rgba(109, 40, 217, 0.10);
  --success: #047857;
  --danger: #b91c1c;
  --cookie: #a16207;
  --shadow: 0 1px 2px rgba(20,20,43,.06), 0 12px 28px rgba(20,20,43,.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
  z-index: 50;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.015em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
}
.brand img { width: 36px; height: 36px; }
.brand__sub { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .42rem .8rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle__icon { width: 16px; height: 16px; fill: currentColor; }

/* ---------- layout ---------- */
main { display: block; }
.section { padding: 3.5rem 0; }
.section--alt { background: var(--bg-elev); border-block: 1px solid var(--border); }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.section__head h2 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.15rem); letter-spacing: -.02em; line-height: 1.2; }
.section__head p { margin: 0; color: var(--muted); font-size: 1.05rem; }

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 1rem; }
h3 { font-size: 1.08rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 4rem 0 3.25rem; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 .9rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero__points { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .6rem; }
.hero__points li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--success);
}
.hero__art { display: flex; justify-content: center; }
.hero__art svg { width: 100%; max-width: 340px; }

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--accent); color: var(--text); }

/* ---------- grids ---------- */
.grid { display: grid; gap: 1.15rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid > * { min-width: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.card p { margin: 0; color: var(--muted); }
.card__note { color: var(--muted); font-size: .9rem; }
.card__bullets { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.card__bullets li { margin-bottom: .35rem; }
.card__foot { margin-top: auto; padding-top: 1rem; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
a.card:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; }
.cta-note { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; }
.card__versions { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.card__versions-label { display: block; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .35rem; }
.versions { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.versions li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.version__name { font-weight: 700; }
.version__price { font-weight: 700; color: var(--accent-strong); }
.reference { margin-top: 1.75rem; }
.reference h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.terms { display: grid; gap: 1rem; }
.terms__label { display: block; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .3rem; }
.terms__list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.terms__line { margin: 0; color: var(--text); }
.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.voices li { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; }
.voice__name { font-weight: 600; min-width: 13rem; }
.voice__length { color: var(--muted); font-size: .85rem; }

/* ---------- price block ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; }
.price__amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.price__note { color: var(--muted); font-size: .92rem; }
.price__alt { color: var(--muted); font-size: .9rem; }
.price__alt span { white-space: nowrap; }

.empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--muted);
  background: var(--surface);
}

/* ---------- stats ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.stat__value { font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent-strong); }
.stat__label { display: block; font-weight: 700; margin-top: .15rem; }
.stat__note { display: block; color: var(--muted); font-size: .88rem; margin-top: .35rem; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.1rem; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 800;
}
.steps h3 { margin-bottom: .2rem; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: .92rem; }
th, td { text-align: left; padding: .8rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .95rem; vertical-align: top; }
thead th { color: var(--text); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); }
tbody tr:last-child td { border-bottom: 0; }
tbody td:not(:first-child) { font-variant-numeric: tabular-nums; }
.table-note { color: var(--muted); font-size: .85rem; margin-top: .6rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: start; }
.split ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.split li { margin-bottom: .45rem; }
.aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  color: var(--muted);
}

/* ---------- contact ---------- */
.contact-list { display: grid; gap: .85rem; }
.contact-list__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; }
.contact-list__label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list__value { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-list__item { min-width: 0; }
.site-footer a, .site-footer p { overflow-wrap: anywhere; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #4c1d95 100%);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
}
.cta-band h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 40rem; }
.cta-band .btn { background: #fff; color: #4c1d95; }
.cta-band .btn:hover { background: #f3e8ff; color: #4c1d95; }
.cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-elev); margin-top: 3rem; padding: 3rem 0 2rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__label { font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; font-weight: 700; display: block; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent-strong); text-decoration: underline; }
.site-footer__tagline { color: var(--muted); max-width: 34rem; }
.footer__line { margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: baseline; }
.footer__label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.mark { width: 44px; height: 44px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero__inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 2.75rem 0 2.25rem; }
  .hero__art svg { max-width: 300px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 2.5rem 0; }
  .site-header__inner { min-height: 60px; gap: .6rem; flex-wrap: nowrap; }
  /* the navigation scrolls sideways instead of wrapping into three rows and
     eating a quarter of a phone screen */
  .nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .4rem;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; white-space: nowrap; }
  .brand { margin-right: 0; }
  .cta-band { padding: 1.75rem; }
  .card { padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
