:root {
  --bg: #0b0f14;
  --bg-soft: #121821;
  --panel: rgba(16, 23, 31, 0.88);
  --panel-strong: rgba(9, 14, 20, 0.96);
  --panel-border: rgba(246, 194, 61, 0.2);
  --text: #eef4f8;
  --muted: #b5c0cb;
  --accent: #f6c23d;
  --accent-strong: #ffdd6e;
  --signal: #63dfb5;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-sans: "Avenir Next", "IBM Plex Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-mono: "SFMono-Regular", "IBM Plex Mono", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(246, 194, 61, 0.2), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(99, 223, 181, 0.16), transparent 24%),
    linear-gradient(180deg, #090d12 0%, #0c1118 38%, #0b1016 100%);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 88%);
  opacity: 0.25;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header,
.page-shell,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(246, 194, 61, 0.22), rgba(99, 223, 181, 0.14));
  border: 1px solid rgba(246, 194, 61, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 14px;
  border: 2px solid rgba(246, 194, 61, 0.82);
  transform: rotate(45deg);
}

.brand-mark::after {
  inset: 17px;
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.45);
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.83rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 140ms ease, background 140ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #10151a;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 32px rgba(246, 194, 61, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost {
  color: var(--muted);
}

.page-shell {
  padding: 44px 0 88px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(14, 19, 27, 0.92), rgba(16, 24, 32, 0.72));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(246, 194, 61, 0.22), transparent 72%);
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-header h2,
.card h3,
.timeline-item h3 {
  font-family: var(--font-serif);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-notes,
.checklist,
.ordered-list,
.inline-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-notes {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.hero-notes li,
.checklist li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.hero-notes li::before,
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--signal));
}

.hero-board {
  display: grid;
  gap: 14px;
}

.board-card,
.card,
.notice,
.cta-band,
.timeline-item {
  border-radius: var(--radius-lg);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.board-card {
  padding: 18px 20px;
}

.board-card h3,
.card h3,
.timeline-item h3 {
  margin: 0;
  font-size: 1.28rem;
}

.card-kicker,
.meta-line,
.timeline-date {
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.board-card p,
.card p,
.notice p,
.timeline-item p,
.resource-list p,
.asset-note {
  margin: 10px 0 0;
  color: var(--muted);
}

.hero-kpis,
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kpi,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.kpi span,
.chip span {
  color: var(--muted);
}

.section {
  margin-top: 28px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(10, 16, 22, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.section-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.section-grid,
.resource-list,
.timeline,
.asset-table {
  display: grid;
  gap: 16px;
}

.section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-grid.tight {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 22px;
}

.card .inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card .inline-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(246, 194, 61, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.text-link {
  color: var(--accent-strong);
}

.text-link:hover {
  color: var(--text);
}

.notice,
.cta-band,
.timeline-item {
  padding: 24px;
}

.ordered-list {
  display: grid;
  gap: 14px;
  counter-reset: ordered;
}

.ordered-list li {
  position: relative;
  padding-left: 48px;
  color: var(--muted);
}

.ordered-list li::before {
  counter-increment: ordered;
  content: counter(ordered);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(246, 194, 61, 0.16);
  color: var(--accent-strong);
  font-weight: 700;
}

.asset-table {
  grid-template-columns: 1.1fr 1fr 1.3fr;
}

.asset-row {
  display: contents;
}

.asset-cell {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.asset-head {
  color: var(--text);
  background: rgba(246, 194, 61, 0.1);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.resource-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-item {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.resource-item h3 {
  margin: 0;
  font-size: 1.16rem;
}

.resource-item p {
  margin: 10px 0 0;
}

.resource-item a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-strong);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.cta-band h2,
.cta-band p {
  margin: 0;
}

.cta-band p {
  color: var(--muted);
  max-width: 56ch;
}

.site-footer {
  padding: 0 0 48px;
}

.footer-box {
  padding: 26px 30px;
  border-radius: var(--radius-xl);
  background: rgba(10, 15, 21, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.fineprint {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

@media (max-width: 1040px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .section-grid,
  .section-grid.tight,
  .resource-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .asset-table {
    grid-template-columns: 1fr;
  }

  .asset-head {
    display: none;
  }

  .asset-cell {
    position: relative;
    padding-top: 34px;
  }

  .asset-cell::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 10px;
    color: var(--accent-strong);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

@media (max-width: 720px) {
  .site-header,
  .page-shell,
  .site-footer {
    width: min(100% - 20px, 1160px);
  }

  .hero,
  .page-hero,
  .section,
  .footer-box {
    padding: 24px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .page-actions,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band {
    align-items: flex-start;
  }
}
