:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: #131518;
  --surface-2: #1b1e22;
  --surface-3: #22262b;
  --text: #f6f5f2;
  --muted: #a1a5aa;
  --line: #2b2e33;
  --orange: #ff762b;
  --orange-2: #ff9b4a;
  --header: rgba(11, 12, 14, .88);
  --shadow: 0 24px 70px #0006;
  --content-width: 1120px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f7f5;
  --surface: #fff;
  --surface-2: #f0f1ef;
  --surface-3: #e8eae7;
  --text: #17191b;
  --muted: #666d73;
  --line: #e1e3e0;
  --header: rgba(247, 247, 245, .9);
  --shadow: 0 24px 70px #29313a18;
}
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    color-scheme: light;
    --bg: #f7f7f5;
    --surface: #fff;
    --surface-2: #f0f1ef;
    --surface-3: #e8eae7;
    --text: #17191b;
    --muted: #666d73;
    --line: #e1e3e0;
    --header: rgba(247, 247, 245, .9);
    --shadow: 0 24px 70px #29313a18;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  transition: background .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange-2);
  outline-offset: 4px;
}
.container { width: min(var(--content-width), calc(100% - 44px)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 10px 14px; border-radius: 8px; background: var(--orange); color: #1b130e; font-weight: 800;
}
.skip-link:focus { top: 12px; }
.logo { font-size: 22px; font-weight: 950; letter-spacing: -1px; white-space: nowrap; }
.logo span, .logo i { color: var(--orange); font-style: normal; }
.site-header {
  height: 76px; position: sticky; top: 0; z-index: 10;
  background: var(--header); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.nav nav a { font-size: 12px; font-weight: 750; color: var(--muted); transition: color .18s, background .18s; }
.nav nav a:hover { color: var(--text); }
.nav nav .nav-cta { background: var(--orange); color: #1b130e; padding: 10px 15px; border-radius: 8px; }
.nav nav .nav-cta:hover { background: var(--orange-2); color: #1b130e; }
.nav-tools { display: flex; align-items: center; gap: 9px; }
.theme-toggle, .menu-toggle {
  width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-toggle { display: none; }
.hero {
  min-height: 600px; display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: 42px; padding-block: 76px;
}
.eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--orange); font-weight: 900; }
.eyebrow-mark { font-size: 13px; }
h1 { font-size: clamp(54px, 6.5vw, 82px); letter-spacing: -5px; line-height: .99; margin: 24px 0; }
.gradient-text {
  background: linear-gradient(100deg, var(--orange), var(--orange-2));
  color: transparent; -webkit-background-clip: text; background-clip: text;
}
.lead { max-width: 535px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 12px 18px; border-radius: 9px;
  font-size: 12px; font-weight: 850; transition: transform .18s, background .18s, border-color .18s;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--orange); color: #1b130e; }
.primary:hover { background: var(--orange-2); }
.secondary { background: var(--surface); border: 1px solid var(--line); }
.secondary:hover { border-color: var(--orange); }
.note { font-size: 11px; color: var(--muted); margin-top: 22px; }
.note > span { color: var(--orange); font-weight: 900; }
.note b { color: var(--orange); padding-inline: 8px; }
.hero-art { min-height: 380px; display: grid; place-items: center; position: relative; isolation: isolate; }
.orbit { position: absolute; border: 1px solid #ff762b30; border-radius: 50%; z-index: -1; }
.orbit-one { width: 420px; height: 280px; transform: rotate(-24deg); }
.orbit-two { width: 350px; height: 235px; transform: rotate(28deg); border-color: #ff9b4a20; }
.server-card {
  position: relative; width: min(350px, 90%); padding: 22px;
  border: 1px solid #ffffff24; border-radius: 16px;
  background: linear-gradient(145deg, #252930, #101215);
  box-shadow: 0 30px 90px #0008, 0 0 65px #ff762b20;
  color: #f6f5f2; text-align: center; transform: rotate(-4deg);
}
.server-top, .server-bottom { display: flex; justify-content: space-between; gap: 8px; font-size: 8px; letter-spacing: 1px; color: #9ba0a7; }
.server-top b { color: var(--orange-2); }
.window-dots { color: #ff8c56; letter-spacing: 2px; }
.server-mark { font-size: 68px; font-weight: 950; letter-spacing: -7px; margin: 31px 0 4px; }
.server-mark span { color: var(--orange); }
.server-card strong { display: block; font-size: 12px; letter-spacing: 2px; }
.server-card small { color: #9ba0a7; }
.server-metrics { display: flex; justify-content: center; align-items: end; gap: 7px; height: 42px; margin: 22px 0; }
.server-metrics span { width: 8px; border-radius: 4px 4px 1px 1px; background: linear-gradient(var(--orange-2), var(--orange)); }
.server-metrics span:nth-child(1), .server-metrics span:nth-child(7) { height: 35%; }
.server-metrics span:nth-child(2), .server-metrics span:nth-child(5) { height: 65%; }
.server-metrics span:nth-child(3), .server-metrics span:nth-child(8) { height: 48%; }
.server-metrics span:nth-child(4), .server-metrics span:nth-child(6) { height: 100%; }
.server-bottom { border-top: 1px solid #ffffff25; padding-top: 14px; }
.server-bottom b { color: #9ba0a7; font-size: 7px; }
.float-tag {
  position: absolute; right: 0; top: 34px; background: var(--surface);
  border: 1px solid var(--line); padding: 11px 15px; border-radius: 8px;
  box-shadow: var(--shadow); font-size: 10px; font-weight: 900;
}
.float-tag span { color: var(--orange); }
.secondary-tag { right: auto; left: 0; top: auto; bottom: 28px; color: var(--muted); font-size: 9px; }
.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.trust-inner span { font-size: 9px; letter-spacing: 1px; color: var(--muted); }
.trust-inner b { font-size: 10px; letter-spacing: 1px; }
.trust-inner i { font-style: normal; color: var(--orange); }
.section { padding-block: 100px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); padding-block: 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section h2, .cta h2, .content-page > h1 {
  font-size: clamp(34px, 4vw, 48px); letter-spacing: -2px; line-height: 1.12; margin: 12px 0;
}
.section-heading p { max-width: 360px; color: var(--muted); font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.feature-card {
  padding: 25px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface); min-height: 215px; transition: transform .18s, border-color .18s;
}
.feature-card:hover { transform: translateY(-3px); border-color: #ff762b75; }
.feature-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 11px; background: #ff762b18; color: var(--orange);
  font-size: 22px; font-weight: 900;
}
.feature-card h3 { font-size: 17px; margin: 19px 0 7px; }
.feature-card p, .step-card p { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 0; }
.fine-print { font-size: 10px; color: var(--muted); margin-top: 20px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step-card { padding: 23px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.step-number { display: inline-block; color: var(--orange); font-size: 11px; font-weight: 950; letter-spacing: 1px; }
.step-card h3 { font-size: 16px; margin: 17px 0 8px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer-card {
  padding: 25px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface); min-height: 340px; display: flex; flex-direction: column;
}
.offer-card.featured { border-color: #ff762b80; background: linear-gradient(150deg, #ff762b18, var(--surface) 60%); }
.offer-card small { color: var(--orange); font-size: 9px; letter-spacing: 1.4px; font-weight: 900; }
.offer-card h3 { font-size: 23px; margin: 25px 0 8px; }
.offer-card p, .offer-card li { font-size: 12px; color: var(--muted); line-height: 1.8; }
.offer-card ul { padding-left: 17px; margin: 12px 0 20px; }
.offer-card li::marker { color: var(--orange); }
.offer-card > a { margin-top: auto; border-top: 1px solid var(--line); padding-top: 15px; font-size: 11px; font-weight: 900; }
.offer-card > a:hover, .text-link:hover { color: var(--orange); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.muted-copy { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 350px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--orange); font-size: 12px; font-weight: 850; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--orange); font-size: 18px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 12px 25px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.faq-list details a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cta { padding: 65px 0; background: var(--surface); border-block: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.cta h2 { margin-bottom: 0; }
.cta p { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.footer { padding: 50px 0 20px; }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 11px; color: var(--muted); }
.footer-discord { display: inline-block; margin-top: 8px; color: var(--orange); font-size: 11px; font-weight: 800; }
.footer-links { display: flex; gap: 55px; }
.footer-links div { display: grid; gap: 10px; align-content: start; }
.footer-links b { font-size: 9px; letter-spacing: 1px; }
.footer-links a { font-size: 11px; color: var(--muted); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 17px; font-size: 9px; color: var(--muted);
  display: flex; justify-content: space-between; gap: 12px;
}
.footer-bottom i { color: var(--orange); font-style: normal; }

/* Shared content-page styles: documentation and legal pages */
.content-page { max-width: 900px; padding-top: 76px; padding-bottom: 100px; min-height: calc(100vh - 190px); }
.content-page > h1 { font-size: clamp(42px, 6vw, 62px); letter-spacing: -3px; margin: 12px 0 32px; }
.content-panel {
  padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line);
  border-radius: 16px; background: var(--surface); box-shadow: var(--shadow);
}
.content-panel h2 { font-size: 20px; letter-spacing: -.5px; margin: 30px 0 10px; }
.content-panel h2:first-child { margin-top: 0; }
.content-panel h3 { font-size: 15px; margin: 22px 0 8px; }
.content-panel p, .content-panel li { color: var(--muted); font-size: 13px; line-height: 1.9; }
.content-panel ul { padding-left: 21px; }
.content-panel li::marker { color: var(--orange); }
.content-panel a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.notice {
  padding: 15px 17px; border: 1px solid #ff762b55; border-left: 3px solid var(--orange);
  border-radius: 9px; background: #ff762b0d; color: var(--muted); font-size: 12px; line-height: 1.8;
}
.notice strong { color: var(--text); }
@media (max-width: 980px) {
  .nav nav { gap: 16px; }
  .nav nav a { font-size: 11px; }
  .hero { gap: 20px; }
  .trust-inner { justify-content: center; padding-block: 18px; }
  .trust-inner span { width: 100%; text-align: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-block: 60px; }
  .hero-copy { max-width: 620px; }
  .hero-art { min-height: 330px; }
  .section-heading { display: block; }
  .section-heading p { max-width: 520px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-main { display: block; }
  .footer-links { margin-top: 30px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 34px); }
  .site-header { height: 70px; }
  .nav { gap: 12px; }
  .nav nav {
    display: none; position: absolute; top: 69px; left: 0; right: 0;
    padding: 18px 22px 22px; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0;
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 4px; font-size: 13px; }
  .nav nav .nav-cta { text-align: center; margin-top: 8px; }
  .nav-tools { margin-left: auto; }
  .menu-toggle { display: block; }
  h1 { font-size: clamp(48px, 13vw, 60px); letter-spacing: -3px; }
  .hero { padding-block: 48px 35px; }
  .hero-art { min-height: 285px; }
  .orbit-one { width: 320px; height: 220px; }
  .orbit-two { width: 270px; height: 185px; }
  .server-card { width: min(290px, 90%); }
  .float-tag { right: -3px; top: 12px; }
  .secondary-tag { left: -3px; right: auto; top: auto; bottom: 5px; }
  .trust-inner { gap: 12px; }
  .trust-inner b { font-size: 8px; }
  .section { padding-block: 70px; }
  .section-alt { padding-block: 68px; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .cta-inner { display: block; }
  .cta .button { margin-top: 22px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; }
  .content-page { padding-top: 55px; padding-bottom: 70px; }
  .content-page > h1 { font-size: 45px; letter-spacing: -2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Documentation lists and catalog components */
.content-panel ol { padding-left: 22px; }
.content-panel ol li { padding-left: 5px; margin: 7px 0; }
.catalog-intro { max-width: 720px; color: var(--muted); }
.catalog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 28px; }
.catalog-card { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.catalog-card .feature-icon { margin-bottom: 16px; }
.catalog-card h2 { margin: 0 0 8px; font-size: 18px; }
.catalog-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.catalog-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 25px; }
.catalog-step { padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.catalog-step b { display: block; color: var(--orange); font-size: 11px; margin-bottom: 7px; }
.catalog-step span { color: var(--muted); font-size: 12px; line-height: 1.75; }
@media (max-width: 560px) { .catalog-grid, .catalog-steps { grid-template-columns: 1fr; } }

/* Search and category filters on the template guide */
.catalog-tools { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.catalog-search-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.catalog-search { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--text); outline-offset: 3px; }
.catalog-search:focus { border-color: var(--orange); outline: 2px solid #ff762b35; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.catalog-filter { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.catalog-filter:hover, .catalog-filter.active { border-color: var(--orange); color: var(--text); background: #ff762b16; }
.catalog-result { color: var(--muted); font-size: 11px; margin: 13px 2px 0; }
.catalog-card[hidden] { display: none; }
.catalog-empty { margin: 18px 0; padding: 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); text-align: center; font-size: 13px; }


/* Keep the navigation usable on tablets before switching to the mobile menu */
@media (max-width: 760px) {
  .nav nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 18px 22px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 4px; font-size: 13px; }
  .nav nav .nav-cta { text-align: center; margin-top: 8px; }
  .nav-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}


/* Roadmap page */
.roadmap-intro { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.roadmap-notice { margin-top: 22px; }
.roadmap-section { margin-top: 54px; }
.roadmap-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.roadmap-section-heading h2 { margin: 8px 0 0; font-size: clamp(25px, 4vw, 34px); letter-spacing: -1px; }
.roadmap-count { color: var(--muted); font-size: 11px; }
.roadmap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.roadmap-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.roadmap-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.roadmap-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #ff762b16; color: var(--orange); font-size: 19px; }
.roadmap-status { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.status-review { border-color: #ff762b55; color: var(--orange); }
.status-idea { background: var(--surface-2); }
.roadmap-card h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -.3px; }
.roadmap-card p { min-height: 92px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.roadmap-meta { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.roadmap-feedback { margin-top: 34px; }
.roadmap-feedback h2 { margin-top: 0; }
.roadmap-feedback .actions { margin-top: 18px; }
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .roadmap-grid { grid-template-columns: 1fr; } .roadmap-card p { min-height: 0; } .roadmap-section-heading { align-items: start; flex-direction: column; } }

/* Systemstatus */
.status-incident{margin:28px 0;padding:clamp(22px,4vw,36px);border:1px solid rgba(239,68,68,.55);border-radius:22px;background:linear-gradient(135deg,rgba(127,29,29,.22),rgba(127,29,29,.06))}
.status-incident-label{display:flex;align-items:center;gap:10px;color:#ef4444;font-size:.78rem;font-weight:800;letter-spacing:.12em}
.status-pulse{width:10px;height:10px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 6px rgba(239,68,68,.13)}
.status-incident h2{margin:18px 0 10px;font-size:clamp(1.5rem,4vw,2.25rem)}
.status-incident>p{max-width:760px;color:var(--muted,#a1a1aa);line-height:1.7}
.status-meta{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:22px;font-size:.9rem}
.status-service-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line,rgba(128,128,128,.2))}
.status-service-row small{display:block;margin-top:5px;color:var(--muted,#a1a1aa)}
.status-pill{flex:none;padding:7px 12px;border-radius:999px;background:rgba(239,68,68,.14);color:#ef4444;font-size:.75rem;font-weight:900;letter-spacing:.06em}
.status-timeline{padding-left:22px}
.status-timeline li{padding:4px 0 12px 6px}
.status-timeline p{margin:6px 0;color:var(--muted,#a1a1aa)}
.status-disclaimer{margin-top:28px;color:var(--muted,#a1a1aa);font-size:.86rem}

/* Compact, responsive header navigation */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav nav { gap: 12px; }
  .nav nav a { font-size: 10px; }
}
@media (max-width: 900px) {
  .site-header { height: 72px; }
  .nav nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 16px 22px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 12px 4px; font-size: 13px; }
  .nav nav .nav-cta { text-align: center; margin-top: 8px; }
  .nav-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Site-wide hamburger navigation: all pages are reachable from every header */
.site-header { z-index: 100; }
.site-header .nav { position: relative; }
.site-header .nav-tools { margin-left: auto; }
.site-header .menu-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}
.site-header .nav nav,
.site-header .nav nav.open {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: auto;
  width: min(340px, calc(100vw - 32px));
  max-height: min(75vh, 620px);
  overflow-y: auto;
  padding: 12px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow, 0 16px 40px rgba(0,0,0,.24));
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.site-header .nav nav.open { display: flex; }
.site-header .nav nav a {
  display: block;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
}
.site-header .nav nav a:hover,
.site-header .nav nav a[aria-current="page"] {
  background: var(--line);
  color: var(--text);
}
.site-header .nav nav .nav-cta {
  margin-top: 7px;
  text-align: center;
  background: var(--orange);
  color: #1b130e;
}
@media (max-width: 900px) {
  .site-header .nav nav,
  .site-header .nav nav.open {
    top: calc(100% + 1px);
    left: auto;
    right: 0;
    width: min(340px, calc(100vw - 32px));
    padding: 12px;
    gap: 2px;
  }
}
