@font-face {
  font-family: "Manrope";
  src: url("/assets/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #F6F3EC;
  --surface: #FFFFFF;
  --ink: #1B2A22;
  --muted: #5A5F55;
  --line: #E7E2D6;
  --faint: #EEE9DD;
  --brand: #1F4A3A;
  --on-brand-muted: #D3E2D9;
  --brand-track: #36624F;
  --accent: #E9C77B;
  --radius-hero: 24px;
  --radius-card: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 36px; height: 36px; display: block; border-radius: 9px; }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Hero */
.hero {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-hero);
  padding: 44px 32px 40px;
  margin-top: 8px;
  overflow: hidden;
  position: relative;
}
.hero .eyebrow { color: var(--on-brand-muted); }
.hero h1 { font-size: clamp(36px, 7vw, 52px); line-height: 1.05; margin: 10px 0 14px; letter-spacing: -1.2px; font-weight: 800; }
.hero p { color: var(--on-brand-muted); font-size: 18px; max-width: 30em; margin: 0 0 26px; }
.hero-logo { width: 72px; height: 72px; border-radius: 17px; display: block; box-shadow: 0 0 0 1px rgba(255,255,255,0.12); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: 15px;
  padding: 0 20px; min-height: 50px; border-radius: 14px;
  text-decoration: none;
}
.badge.soon { cursor: default; }

/* Generic */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
h2 { font-size: 24px; margin: 40px 0 10px; }
h3 { font-size: 18px; margin: 26px 0 6px; letter-spacing: -0.3px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 22px 20px; }
.card h3 { margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--faint); display: grid; place-items: center; }

/* Document pages */
.doc { padding-top: 12px; padding-bottom: 8px; }
.doc h1 { font-size: clamp(32px, 6vw, 42px); letter-spacing: -1px; margin: 8px 0 6px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.doc h2 { padding-top: 22px; border-top: 1px solid var(--line); }
.summary { background: var(--surface); border-radius: var(--radius-card); padding: 22px 22px 10px; margin: 0 0 8px; }
.summary ul { margin-bottom: 10px; }
.toc { background: var(--surface); border-radius: var(--radius-card); padding: 18px 22px; margin: 18px 0 6px; font-size: 15.5px; }
.toc ol { margin: 6px 0 0; }
.toc li { margin-bottom: 2px; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 16px; overflow: hidden; font-size: 15px; margin: 8px 0 16px; }
th, td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); background: var(--faint); }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.contact {
  background: var(--brand); color: #fff; border-radius: var(--radius-card);
  padding: 26px 24px; margin: 8px 0 18px;
}
.contact p { color: var(--on-brand-muted); margin: 0 0 6px; }
.contact a { color: #fff; font-weight: 800; font-size: 20px; }

details { background: var(--surface); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 800; padding: 17px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding-bottom: 8px; color: var(--ink); }

/* Footer */
.site-footer { margin-top: 56px; padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 10px; }
.site-footer a { color: var(--muted); font-weight: 700; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin: 0 0 4px; }

@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .hero { padding: 34px 22px 30px; }
  .nav { gap: 14px; }
}
