@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap");

:root {
  --bg: #0e1218;
  --panel: #171d27;
  --ink: #f6f3ec;
  --muted: #b4bdc9;
  --line: #313b4a;
  --accent: #e2a33a;
  --accent-ink: #1c1406;
  --sage: #8fbfa8;
  --max: 44rem;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 0.35vw + 1rem, 1.08rem);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(720px 280px at 100% 0%, rgba(226, 163, 58, .14), transparent 60%),
    var(--bg);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: #f0c56a; text-underline-offset: .16em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip:focus {
  left: var(--pad);
  top: var(--pad);
  z-index: 40;
  background: #1a2230;
  color: #fff;
  padding: .55rem .8rem;
  border-radius: .45rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  min-width: 0;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(14, 18, 24, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  min-width: 0;
  padding-block: .85rem .75rem;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.03em;
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  font-size: clamp(1.02rem, 2.4vw, 1.15rem);
  line-height: 1.2;
}
.ring {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 700;
  color: var(--accent);
}
nav[aria-label="Primary"] {
  display: flex;
  gap: .4rem;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .15rem;
}
nav[aria-label="Primary"]::-webkit-scrollbar { display: none; }
nav[aria-label="Primary"] a {
  margin: 0;
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 .9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
nav[aria-label="Primary"] a:hover,
nav[aria-label="Primary"] a[aria-current="page"] {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

@media (min-width: 920px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  nav[aria-label="Primary"] {
    width: auto;
    max-width: none;
    justify-content: flex-end;
    overflow: visible;
    flex-wrap: nowrap;
  }
  nav[aria-label="Primary"] a {
    padding: 0 .72rem;
    font-size: .86rem;
    min-height: 40px;
  }
}

.hero { padding: 1.5rem 0 .3rem; }
.eyebrow,
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 .4rem;
}
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.12;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(1.9rem, 6vw, 2.95rem);
  line-height: 1.05;
  margin: 1.15rem 0 .8rem;
}
h2 { margin: 2rem 0 .7rem; font-size: clamp(1.3rem, 3vw, 1.65rem); }
h3 { margin: 1.15rem 0 .4rem; font-size: 1.08rem; }
.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.1rem);
  margin: 0 0 1.2rem;
  max-width: 40rem;
}
p, li { overflow-wrap: anywhere; }

.btn-row, .cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border-radius: .7rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { background: #f0be62; color: var(--accent-ink); }
.btn-alt { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-alt:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 540px) {
  .btn-row .btn, .cta .btn { flex: 1 1 100%; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 1rem 1.05rem;
  margin: .85rem 0;
}
.vs {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}
.vs .mid {
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}
@media (min-width: 720px) {
  .vs { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--panel);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: .95rem;
}
.table-scroll table { min-width: 32rem; }
th, td {
  border-bottom: 1px solid var(--line);
  padding: .75rem .8rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: #222a36;
  color: #e7edf4;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
tr:last-child td { border-bottom: 0; }

.warn {
  border: 1px solid #6a4a1e;
  background: #241c10;
  color: #f3d7a8;
  border-radius: .85rem;
  padding: 1rem 1.05rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}
details {
  border: 1px solid var(--line);
  border-radius: .8rem;
  padding: .2rem 1rem;
  margin: .55rem 0;
  background: var(--panel);
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 48px;
  display: flex;
  align-items: center;
}
footer {
  margin-top: 2.4rem;
  padding: 1.35rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
footer a { color: #d5dbe3; }
.crumb {
  margin: 1.1rem 0 0;
  font-size: .9rem;
  color: var(--muted);
}
.crumb a { color: var(--muted); }
ul, ol { padding-left: 1.15rem; }
li { margin: .4rem 0; }

@media (max-width: 380px) {
  h1 { font-size: 1.8rem; }
}
