@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --accent: #047857;
  --accent-hover: #065f46;
  --accent-soft: #ecfdf5;
  --accent-border: #a7f3d0;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --font: 'Manrope Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

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

.site-nav .nav-cta {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
}

.site-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: #ffffff;
}

.page {
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.4rem;
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 0.45rem;
}

li::marker {
  color: var(--accent);
}

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.callout.warning {
  border-left-color: #b45309;
  background: #fffbeb;
}

.callout p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--bg);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: none;
}

.example {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.example h3 {
  margin-top: 0;
  color: var(--accent-hover);
}

.example p:last-child {
  margin-bottom: 0;
}

.example dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.example dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.example dd {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.faq details {
  margin-bottom: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq summary::marker {
  color: var(--accent);
}

.faq details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.cta {
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--primary);
  color: #f8fafc;
}

.cta h2 {
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.cta p {
  margin: 0 0 1rem;
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: var(--primary);
  background: #e2e8f0;
}

.button.secondary {
  border: 1px solid #475569;
  background: transparent;
  color: #f8fafc;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sources {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.sources h2 {
  margin-top: 0;
  font-size: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 640px) {
  .site-nav .nav-link {
    display: none;
  }

  .page {
    padding-top: 1.75rem;
  }

  h2 {
    margin-top: 2rem;
  }
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.guide-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  color: var(--text);
}

.guide-card h2,
.guide-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-card .tag {
  align-self: flex-start;
  margin-bottom: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.related {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.related h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.related ul {
  list-style: none;
  padding: 0;
}

.related li {
  margin-bottom: 0.55rem;
}

.related a {
  font-weight: 600;
}
