:root {
  color-scheme: dark;
  --bg: #050b17;
  --bg-soft: #081222;
  --surface: #0c1829;
  --surface-2: #101e31;
  --border: #20344d;
  --border-strong: #315172;
  --text: #f5f8fc;
  --muted: #a9b7c9;
  --subtle: #74869d;
  --blue: #1d91ff;
  --blue-2: #5bbdff;
  --green: #22d89a;
  --amber: #ffb341;
  --red: #ff5a68;
  --purple: #a568ff;
  --gradient: linear-gradient(120deg, var(--blue), var(--green));
  --wide: 1180px;
  --copy: 800px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --section: clamp(4.5rem, 8vw, 7.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 85% 0, rgba(29, 145, 255, .11), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-2); text-underline-offset: .2em; }
a:hover { color: #8dd2ff; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #8dd2ff;
  outline-offset: 4px;
  border-radius: 5px;
}
h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.35rem); }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
ul, ol { padding-left: 1.35rem; }
code {
  padding: .16rem .4rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #030811;
  color: #74ddff;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--green);
  color: #02110c;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 3rem), var(--wide)); margin-inline: auto; }
.copy { width: min(calc(100% - 3rem), var(--copy)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--soft {
  border-block: 1px solid rgba(32, 52, 77, .75);
  background: rgba(8, 18, 34, .72);
}
.section-heading { max-width: 730px; margin: 0 auto 3.2rem; text-align: center; }
.section-heading h2 { margin: .75rem 0 1rem; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  color: var(--green);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gradient-text {
  background: var(--gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(49, 81, 114, .65);
  background: rgba(5, 11, 23, .88);
  backdrop-filter: blur(18px);
}
.nav-shell {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 850;
  text-decoration: none;
}
.brand img { width: 2.15rem; height: 2.15rem; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav a {
  padding: .58rem .67rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: rgba(255,255,255,.055);
  color: var(--text);
}
.site-nav .nav-cta {
  margin-left: .35rem;
  padding-inline: 1rem;
  background: var(--gradient);
  color: #02121a;
}
.site-nav .nav-cta:hover { color: #02121a; filter: brightness(1.08); }
.menu-button {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  padding: .8rem 1.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  box-shadow: 0 12px 30px rgba(29, 145, 255, .18);
  color: #02121a;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}
.button:hover { transform: translateY(-2px); color: #02121a; filter: brightness(1.08); }
.button--secondary {
  border-color: var(--border-strong);
  background: rgba(255,255,255,.025);
  box-shadow: none;
  color: var(--text);
}
.button--secondary:hover { color: var(--text); background: rgba(255,255,255,.065); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,145,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,145,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  content: "";
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}
.hero-copy h1 { margin: 1rem 0 1.4rem; }
.hero-copy > p { max-width: 680px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.28rem); }
.hero-actions { display: flex; margin-top: 2rem; flex-wrap: wrap; gap: .8rem; }
.trust-line { display: flex; margin-top: 1.4rem; align-items: center; gap: .6rem; color: var(--subtle); font-size: .88rem; }
.trust-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(34,216,154,.11); }
.hero-visual {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--border);
  background: #07101e;
}
.status-item { display: flex; padding: 1.5rem; align-items: center; justify-content: center; gap: .7rem; text-align: left; }
.status-item + .status-item { border-left: 1px solid var(--border); }
.status-icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; font-size: .75rem; font-weight: 900; }
.status-icon--good { background: rgba(34,216,154,.12); color: var(--green); }
.status-icon--warn { background: rgba(255,179,65,.12); color: var(--amber); }
.status-icon--critical { background: rgba(255,90,104,.12); color: var(--red); }
.status-item strong { display: block; font-size: .92rem; }
.status-item span:last-child { color: var(--subtle); font-size: .78rem; }

.announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  align-items: center;
  gap: 2rem;
  border: 1px solid rgba(91, 189, 255, .3);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(29, 145, 255, .13), rgba(34, 216, 154, .05) 55%, transparent),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .2);
}
.announcement h2 { margin: .65rem 0 .7rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.announcement p { max-width: 760px; margin: 0; color: var(--muted); }
.announcement-meta { display: block; margin-top: .9rem; color: var(--subtle); font-size: .82rem; }

.stakes-grid, .plan-grid, .use-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.2rem;
}
.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(16,30,49,.96), rgba(8,18,34,.96));
  box-shadow: 0 12px 35px rgba(0,0,0,.17);
}
.card p, .card li { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.stakes-card { position: relative; padding-top: 4.2rem; }
.stakes-card::before { position: absolute; top: 1.4rem; left: 1.5rem; color: var(--amber); font-weight: 900; content: "—"; }

.plan-card { padding: 0; overflow: hidden; }
.plan-image { overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 1px solid var(--border); background: #030915; }
.plan-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.plan-body { padding: 1.5rem; }
.step-label { display: block; margin-bottom: .65rem; color: var(--green); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-block: clamp(3rem, 6vw, 5.5rem);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 0; }
.feature-row:nth-child(even) .feature-copy { order: 2; }
.feature-row:nth-child(even) .feature-media { order: 1; }
.feature-copy { min-width: 0; }
.feature-copy h3 { margin: .75rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.feature-copy > p { color: var(--muted); font-size: 1.06rem; }
.check-list { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; margin: .6rem 0; padding-left: 1.7rem; color: #c4cfdd; }
.check-list li::before { position: absolute; left: 0; color: var(--green); font-weight: 900; content: "✓"; }
.feature-media {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: #040b17;
  box-shadow: var(--shadow);
}
.feature-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}
.gallery-card {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.gallery-card--wide { grid-column: span 12; }
.gallery-card figcaption { display: flex; padding: 1rem 1.1rem; align-items: center; justify-content: space-between; gap: 1rem; }
.gallery-card figcaption span { color: var(--subtle); font-size: .77rem; text-transform: uppercase; }
.gallery-button {
  width: 100%;
  padding: 0;
  border: 0;
  background: #020713;
  cursor: zoom-in;
}
.gallery-card:not(.gallery-card--wide) .gallery-button { aspect-ratio: 2 / 3; overflow: hidden; }
.gallery-card:not(.gallery-card--wide) img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card--wide img { width: 100%; }

.video-frame {
  max-width: 980px;
  margin: 0 auto;
  padding: .65rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: calc(var(--radius-lg) - 8px); }

.use-card { min-height: 10rem; }
.use-card span { display: block; margin-bottom: 1rem; color: var(--blue-2); font-size: .75rem; font-weight: 900; letter-spacing: .1em; }

.cta-panel {
  display: flex;
  padding: clamp(2rem, 5vw, 3.8rem);
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(34,216,154,.32);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(29,145,255,.13), rgba(34,216,154,.07) 45%, transparent),
    var(--surface);
}
.cta-panel h2 { max-width: 690px; margin: .7rem 0 .8rem; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-panel p { margin: 0; color: var(--muted); }

.page-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(29,145,255,.11), transparent 40%), var(--bg-soft);
  text-align: center;
}
.page-hero h1 { margin: .8rem 0 1rem; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.content-stack { display: grid; gap: 1rem; padding-block: 4.5rem; }
.faq-card h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.faq-card p:last-child { margin-bottom: 0; }
.guide-list { margin: 0; padding: 0; counter-reset: guide; list-style: none; }
.guide-step {
  position: relative;
  min-height: 6rem;
  margin-left: 1.25rem;
  padding: 0 0 2.5rem 4rem;
  border-left: 1px solid var(--border-strong);
  counter-increment: guide;
}
.guide-step:last-child { border-left-color: transparent; }
.guide-step::before {
  position: absolute;
  top: 0;
  left: -1.25rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(34,216,154,.4);
  border-radius: 50%;
  background: var(--surface);
  color: var(--green);
  font-weight: 850;
  content: counter(guide);
}
.guide-step h2 { margin-bottom: .4rem; font-size: 1.35rem; }
.guide-step p { color: var(--muted); }
.guide-figure { margin: 1.5rem 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); }
.guide-figure img { width: 100%; }
.notice { padding: 1.4rem; border: 1px solid rgba(255,179,65,.3); border-radius: var(--radius); background: rgba(255,179,65,.07); }
.notice strong { color: var(--amber); }

.article-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 20%, rgba(34, 216, 154, .1), transparent 25rem),
    linear-gradient(135deg, rgba(29, 145, 255, .12), transparent 42%),
    var(--bg-soft);
}
.article-hero__inner { max-width: 900px; }
.article-hero h1 { max-width: 880px; margin: .9rem 0 1.25rem; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.article-hero__dek { max-width: 760px; color: #c3cfdd; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.article-meta { display: flex; margin-top: 1.5rem; flex-wrap: wrap; gap: .45rem 1.2rem; color: var(--subtle); font-size: .85rem; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 220px;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.article-body { min-width: 0; }
.article-body > p,
.article-body li { color: #c3cfdd; }
.article-body > p { font-size: 1.05rem; }
.article-body h2 { margin: 3.5rem 0 1rem; font-size: clamp(1.7rem, 3.5vw, 2.45rem); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 2rem 0 .65rem; font-size: 1.25rem; }
.article-body li { margin-bottom: .55rem; }
.article-body a { font-weight: 700; }
.article-aside {
  position: sticky;
  top: 6.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.article-aside strong { display: block; margin-bottom: .75rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.article-aside a { display: block; padding: .35rem 0; color: var(--muted); font-size: .86rem; text-decoration: none; }
.article-aside a:hover { color: var(--blue-2); }

.article-summary,
.article-callout {
  margin: 2rem 0;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: var(--radius);
}
.article-summary { border: 1px solid rgba(91, 189, 255, .32); background: rgba(29, 145, 255, .08); }
.article-summary strong { display: block; margin-bottom: .6rem; color: var(--blue-2); }
.article-summary p:last-child,
.article-callout p:last-child { margin-bottom: 0; }
.article-callout { border: 1px solid rgba(255, 179, 65, .32); background: rgba(255, 179, 65, .07); }
.article-callout strong { color: var(--amber); }

.validity-timeline {
  display: grid;
  margin: 2rem 0 2.5rem;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
  list-style: none;
}
.validity-timeline li {
  position: relative;
  min-height: 10.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.validity-timeline li[aria-current="true"] { border-color: var(--blue); box-shadow: inset 0 3px 0 var(--blue); }
.validity-timeline time { display: block; color: var(--subtle); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.validity-timeline strong { display: block; margin: .7rem 0 .3rem; color: var(--text); font-size: 1.65rem; }
.validity-timeline span { color: var(--muted); font-size: .82rem; }
.timeline-current { display: inline-block; margin-top: .7rem; padding: .18rem .5rem; border-radius: 999px; background: rgba(29,145,255,.14); color: var(--blue-2) !important; font-size: .68rem !important; font-weight: 850; text-transform: uppercase; }

.monitoring-plan { display: grid; margin: 2rem 0; gap: 1rem; counter-reset: monitor-plan; }
.monitoring-step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: monitor-plan;
}
.monitoring-step::before {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(34,216,154,.12);
  color: var(--green);
  font-size: .8rem;
  font-weight: 850;
  content: counter(monitor-plan);
}
.monitoring-step h3 { margin: 0 0 .35rem; }
.monitoring-step p { margin: 0; color: var(--muted); }
.source-list { margin-bottom: 3rem; }

.site-footer { border-top: 1px solid var(--border); background: #030812; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; padding-block: 3rem; gap: 2rem; }
.footer-copy p { max-width: 450px; margin: .9rem 0 0; color: var(--subtle); font-size: .87rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1.2rem; }
.footer-links a { color: var(--muted); font-size: .86rem; text-decoration: none; }
.footer-meta { padding: 1.1rem 0; border-top: 1px solid var(--border); color: var(--subtle); font-size: .78rem; text-align: center; }

.lightbox {
  width: min(94vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: #020713;
  box-shadow: var(--shadow);
}
.lightbox::backdrop { background: rgba(0, 5, 14, .86); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(5,11,23,.9);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}
.error-page { display: grid; min-height: 70vh; place-items: center; text-align: center; }
.error-page h1 { margin: .5rem 0 1rem; }

@media (max-width: 940px) {
  .menu-button { display: grid; place-items: center; }
  .nav-shell { position: relative; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    padding: .75rem 1.5rem 1rem;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    background: rgba(5,11,23,.98);
  }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-cta { margin: .35rem 0 0; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-line { justify-content: center; }
  .hero-visual { max-width: 760px; margin-inline: auto; transform: none; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-card { grid-column: span 6; }
  .gallery-card--wide { grid-column: span 12; }
  .article-layout { grid-template-columns: minmax(0, 760px); }
  .article-aside { display: none; }
  .validity-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container, .copy { width: min(calc(100% - 2rem), var(--wide)); }
  .nav-shell { min-height: 4.25rem; }
  .site-nav { padding-inline: 1rem; }
  .hero { padding-top: 3.7rem; }
  .hero-actions .button { width: 100%; }
  .status-strip { grid-template-columns: 1fr; }
  .status-item + .status-item { border-top: 1px solid var(--border); border-left: 0; }
  .stakes-grid, .plan-grid, .use-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-copy, .feature-row:nth-child(even) .feature-media { order: initial; }
  .gallery-card, .gallery-card--wide { grid-column: span 12; }
  .announcement { grid-template-columns: 1fr; }
  .announcement .button { width: 100%; }
  .validity-timeline { grid-template-columns: 1fr; }
  .validity-timeline li { min-height: 0; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .cta-panel .button { width: 100%; }
  .footer-links { justify-content: flex-start; }
  .guide-step { margin-left: 1rem; padding-left: 3rem; }
  .guide-step::before { left: -1.1rem; width: 2.2rem; height: 2.2rem; }
}

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