:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-deep: #020406;
  --panel: #071017;
  --panel-2: #0b171d;
  --panel-3: #101d21;
  --text: #f7f3e9;
  --muted: #c0c8c5;
  --line: rgba(219, 184, 83, .27);
  --line-cool: rgba(91, 166, 137, .28);
  --gold: #d8b957;
  --gold-bright: #f2d78b;
  --emerald: #4fa183;
  --emerald-bright: #82c8ad;
  --focus: #ffe39a;
  --max: 74rem;
  --shadow: 0 1.5rem 4rem rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 10%, rgba(23, 91, 68, .16), transparent 32rem),
    radial-gradient(circle at 17% 3%, rgba(150, 113, 30, .11), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0, var(--bg-deep) 38rem, #020508 100%);
  color: var(--text);
  font: 1rem/1.72 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--gold-bright); text-underline-offset: .2em; }
a:hover { color: #fff1bd; }
a:focus-visible, [tabindex]:focus-visible {
  outline: .18rem solid var(--focus);
  outline-offset: .22rem;
}
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
code { color: #f6ddb1; font-size: .92em; }
pre {
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: #000;
}

.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: .5rem;
  left: .5rem;
  transform: translateY(-180%);
  padding: .65rem .9rem;
  border-radius: .5rem;
  background: var(--focus);
  color: #111;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(216, 185, 87, .18);
  background: rgba(0, 0, 0, .91);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .78rem;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid rgba(216, 185, 87, .42);
  border-radius: .78rem;
  background: #000;
  box-shadow: 0 .55rem 1.4rem rgba(0, 0, 0, .36);
}
.brand-copy { display: grid; line-height: 1.04; }
.brand-name {
  font-size: .97rem;
  font-weight: 850;
  letter-spacing: .035em;
}
.brand-product {
  margin-top: .25rem;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 790;
  letter-spacing: .15em;
  text-transform: uppercase;
}
nav { display: flex; flex-wrap: wrap; gap: .35rem .95rem; }
nav a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: .12em;
}

main { padding-block: 3.25rem 5rem; }
section { margin-block: 4rem; }
.hero { margin-top: .5rem; padding: clamp(1.7rem, 4vw, 3.5rem) 0 1rem; }
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(17rem, .68fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero.compact { max-width: 48rem; }
.hero-emblem {
  position: relative;
  margin: 0;
  border: 1px solid rgba(216, 185, 87, .34);
  border-radius: 2rem;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
  pointer-events: none;
}
.hero-emblem img { width: 100%; height: auto; }
.hero-emblem figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .85rem;
  color: rgba(247, 243, 233, .78);
  font-size: .75rem;
  text-align: center;
}
.hero-status { grid-column: 1 / -1; margin-top: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.16; letter-spacing: -.02em; }
h1 {
  max-width: 19ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.45rem, 5.7vw, 5rem);
}
h2 { margin-top: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
.lede {
  max-width: 61rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
}

.status-card, .callout {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line-cool);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(33, 102, 78, .15), rgba(143, 107, 24, .08)),
    rgba(7, 16, 23, .84);
  box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, .22);
}
.status-card strong { color: var(--gold-bright); }
.status-card p:last-child, .callout p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 1.35rem;
  border: 1px solid rgba(216, 185, 87, .21);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(15, 29, 33, .92), rgba(7, 16, 23, .96));
  box-shadow: 0 .8rem 2.4rem rgba(0, 0, 0, .18);
}
.card h3 { margin-top: 0; color: var(--gold-bright); }
.check-list { padding-left: 1.3rem; }
.check-list li { margin-block: .65rem; }
.check-list li::marker { color: var(--gold); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: .85rem;
  box-shadow: 0 .8rem 2.5rem rgba(0, 0, 0, .18);
}
table { width: 100%; border-collapse: collapse; min-width: 38rem; background: rgba(7, 16, 23, .86); }
th, td { padding: .9rem 1rem; border-bottom: 1px solid rgba(216, 185, 87, .18); text-align: left; vertical-align: top; }
th { background: rgba(216, 185, 87, .09); color: var(--gold-bright); }
tr:last-child td { border-bottom: 0; }
.button {
  display: inline-block;
  margin: .25rem .4rem .25rem 0;
  padding: .74rem 1.05rem;
  border: 1px solid var(--gold);
  border-radius: .72rem;
  background: var(--gold);
  color: #171105;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .2);
}
.button:hover { color: #0d0b05; background: var(--gold-bright); }
.button.secondary { background: transparent; color: var(--gold-bright); }
.button.secondary:hover { color: #fff; background: rgba(216, 185, 87, .11); }

.page-heading {
  position: relative;
  margin: 1rem 0 4rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(216, 185, 87, .2);
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(38, 119, 87, .14), transparent 20rem),
    linear-gradient(135deg, rgba(15, 29, 33, .95), rgba(4, 9, 13, .96));
}
.page-heading::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 7rem;
  height: 7rem;
  background: url('/assets/wfn-mark-dark-96.png') center/contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
.page-heading > * { position: relative; z-index: 1; }
.legal { max-width: 59rem; }
.legal h1 { max-width: none; font-size: clamp(2.3rem, 5vw, 4.1rem); }
.legal section { margin-block: 3.25rem; }
.legal li { margin-block: .5rem; }
.legal h2 { padding-bottom: .5rem; border-bottom: 1px solid rgba(216, 185, 87, .16); }

.site-footer {
  border-top: 1px solid rgba(216, 185, 87, .2);
  background: #000;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2rem;
  padding-block: 2.6rem;
}
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-logo {
  flex: 0 0 auto;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(216, 185, 87, .34);
  border-radius: .8rem;
  background: #000;
}
.site-footer p { max-width: 44rem; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }

@media (max-width: 900px) {
  .hero-home { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-emblem { order: 2; width: min(100%, 34rem); margin-inline: auto; }
  .hero-status { order: 3; }
}
@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: .8rem; }
  nav { width: 100%; justify-content: space-between; gap: .4rem .65rem; }
  .grid.two, .grid.three, .footer-inner { grid-template-columns: 1fr; }
  main { padding-top: 2rem; }
  section { margin-block: 3rem; }
  .hero { padding-top: 1.2rem; }
  .hero-emblem { border-radius: 1.35rem; }
  .page-heading::after { width: 5.5rem; height: 5.5rem; opacity: .09; }
}
@media (max-width: 430px) {
  .brand-name { font-size: .9rem; }
  .brand-product { font-size: .67rem; }
  nav a { font-size: .91rem; }
  h1 { font-size: clamp(2.15rem, 10.8vw, 2.8rem); overflow-wrap: break-word; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
