/* ==========================================================================
   Theme tokens — change --accent to rebrand. Other colours follow it.
   ========================================================================== */
:root {
  --accent: #00f0ff;
  --accent-hover: color-mix(in srgb, var(--accent) 82%, #000000);
  --accent-deep: color-mix(in srgb, var(--accent) 65%, #000000);
  --accent-muted: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-faint: color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-glow: color-mix(in srgb, var(--accent) 28%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 42%, transparent);

  --ok: var(--accent);
  --ok-bg: var(--accent-muted);
  --ok-border: color-mix(in srgb, var(--accent) 38%, transparent);

  --bad: #ff6b73;
  --bad-bg: color-mix(in srgb, var(--bad) 12%, transparent);
  --bad-border: color-mix(in srgb, var(--bad) 38%, transparent);

  --warn: #e6c35c;
  --warn-bg: color-mix(in srgb, var(--warn) 12%, transparent);
  --warn-border: color-mix(in srgb, var(--warn) 38%, transparent);

  --bg: #0a0e0c;
  --bg-soft: #101613;
  --surface: #141b17;
  --surface-2: #1a231e;
  --surface-3: #212c26;
  --header-bg: color-mix(in srgb, var(--bg) 88%, transparent);
  --footer-bg: #080b09;

  --text: #e7f0ea;
  --text-soft: #a7b8ae;
  --text-faint: #6e7d74;
  --text-invert: #08110c;

  --line: #27322c;
  --line-strong: #3a4940;

  --table-head-bg: #122016;
  --table-head-text: var(--accent);
  --table-row-alt: var(--accent-faint);
  --table-row-hover: var(--accent-muted);
  --table-border: var(--line);

  --focus: var(--accent);
  --overlay: color-mix(in srgb, var(--bg) 55%, transparent);

  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Sora", var(--font);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px color-mix(in srgb, #000 42%, transparent);
  --max: 900px;
  --content: 100%;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, var(--accent-glow), transparent 55%),
    radial-gradient(900px 400px at 110% 0%, var(--accent-faint), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  background: var(--accent);
  color: var(--text-invert);
  border-radius: var(--radius-sm);
}

.skip:focus {
  top: 1rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-muted);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-line);
}

.nav {
  display: flex;
  gap: 1.4rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Page */
.page {
  padding: 2.4rem 0 4rem;
}

.hero {
  margin-bottom: 2.2rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.hero .kicker {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.7rem;
}

.hero .lead {
  margin: 0;
  max-width: 100%;
  color: var(--text-soft);
  font-size: 1.12rem;
  text-align: justify;
}

/* Content */
.content > :is(h2, h3, p, ul, ol, .note, .warning, .faq) {
  max-width: var(--content);
}

.content > h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.content h2,
.content h3,
.hero h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.content h2 {
  font-size: 1.55rem;
  margin: 2.4rem 0 0.8rem;
  padding-top: 0.4rem;
}

.content h3 {
  font-size: 1.18rem;
  margin: 1.7rem 0 0.55rem;
  color: var(--text);
}

.content p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  text-align: justify;
}

.content p:last-child {
  margin-bottom: 0;
}

.content li {
  color: var(--text-soft);
}

.content ul,
.content ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.content ul {
  list-style: none;
  padding-left: 0;
}

.content ul > li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.45rem;
}

.content ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.7em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.content ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.content ol > li {
  counter-increment: step;
  position: relative;
  padding: 0.55rem 0.7rem 0.55rem 3rem;
  margin-bottom: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.content ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0.65rem;
  top: 0.55rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Tables */
.table-wrap {
  margin: 1.2rem 0 1.6rem;
  overflow-x: auto;
  border: 1px solid var(--table-border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.content thead th {
  position: sticky;
  top: 0;
  background: var(--table-head-bg);
  color: var(--table-head-text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--accent-line);
  white-space: nowrap;
}

.content tbody td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid var(--table-border);
  color: var(--text-soft);
  vertical-align: top;
}

.content tbody tr:nth-child(even) td {
  background: var(--table-row-alt);
}

.content tbody tr:hover td {
  background: var(--table-row-hover);
  color: var(--text);
}

.content tbody tr:last-child td {
  border-bottom: 0;
}

.content tbody td:first-child {
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.6rem;
}

.faq > p:first-of-type {
  margin-bottom: 0.4rem;
}

.faq h3,
.faq summary {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.faq h3 {
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-bottom: 0;
}

.faq h3 + p {
  margin: 0 0 0.2rem;
  padding: 0.9rem 1.1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  background: var(--surface-2);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.3rem;
}

.faq-item p {
  margin: 0;
  padding: 0.85rem 1.1rem 1.1rem;
}

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.1rem 0 1.6rem;
}

.pros-cons ul,
ul.pros,
ul.cons {
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.1rem 0.9rem;
  border-radius: var(--radius);
}

.pros-cons ul {
  padding-left: 1.1rem;
}

.pros-cons ul > li,
ul.pros > li,
ul.cons > li {
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
}

.pros-cons ul > li::before,
ul.pros > li::before,
ul.cons > li::before {
  content: none;
}

.pros-cons ul:first-child,
ul.pros {
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
}

.pros-cons ul:last-child,
ul.cons {
  background: var(--bad-bg);
  border: 1px solid var(--bad-border);
}

.pros-cons ul:first-child::before,
ul.pros::before,
.pros-cons ul:last-child::before,
ul.cons::before {
  display: block;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pros-cons ul:first-child::before,
ul.pros::before {
  content: "Pros";
  color: var(--ok);
}

.pros-cons ul:last-child::before,
ul.cons::before {
  content: "Cons";
  color: var(--bad);
}

.pros-cons ul > li,
ul.pros > li,
ul.cons > li {
  position: relative;
}

.pros-cons ul:first-child > li::after,
ul.pros > li::after,
.pros-cons ul:last-child > li::after,
ul.cons > li::after {
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 800;
}

.pros-cons ul:first-child > li::after,
ul.pros > li::after {
  content: "+";
  color: var(--ok);
}

.pros-cons ul:last-child > li::after,
ul.cons > li::after {
  content: "−";
  color: var(--bad);
}

@media (max-width: 720px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Callouts */
.note,
.warning {
  margin: 1rem 0 1.4rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
}

.note {
  background: var(--accent-muted);
  border: 1px solid var(--ok-border);
}

.warning {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
}

.note p,
.warning p {
  margin: 0;
  color: var(--text);
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}
