:root {
  color-scheme: dark;
  --ink: #f6f7f4;
  --muted: #b9c0b8;
  --bg: #111412;
  --panel: #1c211f;
  --panel-2: #242b27;
  --line: rgba(214, 226, 216, 0.16);
  --accent: #d6f27a;
  --accent-2: #72d6c9;
  --warning: #f0a15e;
  --sky: #9fb8ff;
  --shadow: rgba(0, 0, 0, 0.34);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(214, 242, 122, 0.045), transparent 36%, rgba(114, 214, 201, 0.045) 72%, transparent),
    radial-gradient(circle at 50% 0, rgba(159, 184, 255, 0.08), transparent 34%);
  z-index: -2;
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(23, 21, 19, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-tools {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.locale-select {
  min-height: 42px;
  min-width: 132px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  padding: 0 34px 0 12px;
  font: inherit;
  font-weight: 750;
}

.locale-select option {
  background: #171513;
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(214, 242, 122, 0.36);
  background: var(--accent);
  color: #111412;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(214, 242, 122, 0.1);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: end center;
  background:
    linear-gradient(180deg, rgba(17, 20, 18, 0.42), rgba(17, 20, 18, 0.94) 78%, var(--bg)),
    linear-gradient(135deg, rgba(214, 242, 122, 0.18), rgba(114, 214, 201, 0.08) 42%, rgba(159, 184, 255, 0.12));
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  padding: 96px 0 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(214, 242, 122, 0.34);
  border-radius: 999px;
  background: rgba(17, 20, 18, 0.72);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 1060px;
  font-size: clamp(2.35rem, 5.6vw, 4.9rem);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 820px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 0;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.fact {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 20, 18, 0.72);
}

.fact strong {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.fact span {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 750;
}

main > section:not(.hero),
.ad-slot,
.page-body {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.ad-slot {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(214, 226, 216, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  text-align: center;
}

.ad-slot span {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.answer-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: -18px;
}

.answer-box,
.planner,
.source-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(36, 43, 39, 0.96), rgba(25, 29, 27, 0.96));
  box-shadow: 0 18px 45px var(--shadow);
}

.answer-box {
  padding: 22px;
}

.answer-box p,
.planner p,
.source-note p,
.card p,
.role p,
.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

.video-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px var(--shadow);
}

.featured-video {
  max-width: 920px;
  margin: 0 0 30px;
}

.video-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  color: var(--ink);
  text-decoration: none;
  background: #050605;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.video-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #111412;
  font-weight: 850;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #050605;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-card figcaption {
  padding: 0 18px 18px;
}

.role-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.role,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
}

.role b,
.card b {
  color: var(--accent);
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: #111412;
  background: var(--accent-2);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 850;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}

th,
td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--accent);
  background: rgba(214, 242, 122, 0.08);
}

.planner {
  padding: 24px;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.checklist label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
}

.meter {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--warning), var(--accent), var(--accent-2));
  transition: width 180ms ease;
}

.result {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: var(--panel);
}

summary {
  cursor: pointer;
  font-weight: 850;
}

.source-note {
  padding: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d100e;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.page-body {
  max-width: 860px;
}

.page-body h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.page-body h2 {
  margin-top: 38px;
  font-size: 1.8rem;
}

.page-body p,
.page-body li {
  color: var(--muted);
}

@media (max-width: 860px) {
  body {
    overflow-x: hidden;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    width: calc(100vw - 32px);
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    order: 2;
  }

  .nav-tools {
    width: 100%;
    margin-left: 0;
    order: 1;
  }

  .nav-links a {
    min-width: 0;
    text-align: center;
    font-size: 0.9rem;
  }

  .nav-cta {
    grid-column: span 2;
  }

  .locale-select {
    width: 100%;
  }

  h1 {
    max-width: calc(100vw - 32px);
    font-size: 2rem;
  }

  h2 {
    max-width: calc(100vw - 32px);
    font-size: 1.7rem;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-inner {
    width: calc(100vw - 32px);
    padding: 44px 0 26px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .fact-row,
  .answer-strip,
  .media-grid,
  .role-grid,
  .card-grid,
  .checklist {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  main > section:not(.hero),
  .ad-slot,
  .page-body {
    width: calc(100vw - 32px);
    padding: 54px 0;
  }
}
