:root,
body[data-theme="sunset"] {
  --page-bg: #f5f3ee;
  --page-ink: #100f0e;
  --page-muted: #6b6558;
  --page-dim: #a09b92;
  --page-line: rgba(16,15,14,.13);
  --page-accent: #d97706;
  --page-accent-2: #b45309;
  --page-card: rgba(255,255,255,.64);
  --page-max: var(--site-content-max);
}
body[data-theme="light"] {
  --page-bg: #ffffff;
  --page-ink: #1a1a1a;
  --page-muted: #666;
  --page-dim: #aaa;
  --page-line: #ebebeb;
  --page-accent: #d97706;
  --page-accent-2: #b45309;
  --page-card: rgba(250,250,250,.9);
}
body[data-theme="dark"] {
  --page-bg: #13141a;
  --page-ink: #e8e9f0;
  --page-muted: #888ca0;
  --page-dim: #696d83;
  --page-line: rgba(232,233,240,.10);
  --page-accent: #d97706;
  --page-accent-2: #b45309;
  --page-card: rgba(28,29,38,.86);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--page-ink);
  background:
    radial-gradient(ellipse 70% 45% at 0 0, rgba(229,123,0,.08), transparent 60%),
    var(--page-bg);
  font: 400 16px/1.7 Poppins, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .2s ease;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(229,123,0,.45); outline-offset: 3px; }
.site-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
  padding: 0 max(24px, calc((100vw - var(--page-max)) / 2));
  background: color-mix(in srgb, var(--page-bg) 90%, transparent);
  border-bottom: 1px solid var(--page-line);
  backdrop-filter: blur(12px);
}
body[data-theme="sunset"] { background-image: radial-gradient(ellipse 70% 50% at 0 0, rgba(217,119,6,.07), transparent 55%), radial-gradient(ellipse 60% 40% at 100% 100%, rgba(15,29,56,.06), transparent 55%); background-attachment: fixed; }
body[data-theme="dark"] { background-image: radial-gradient(ellipse 70% 50% at 0 0, rgba(99,102,241,.05), transparent 55%), radial-gradient(ellipse 60% 40% at 100% 100%, rgba(129,140,248,.03), transparent 55%); background-attachment: fixed; }
.site-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.site-brand .logo-mark { width: 34px; height: 34px; background: var(--page-accent); border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; color: #fff; }
.site-brand .logo-text { color: var(--page-ink); font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; }
.site-brand .logo-xl { color: var(--page-accent); }
.site-theme-switcher { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--page-line); border-radius: 999px; }
.site-theme-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 0; border-radius: 999px; color: var(--page-muted); background: transparent; cursor: pointer; font: inherit; font-size: .78rem; }
.site-theme-btn:hover { color: var(--page-ink); }
.site-theme-btn.active { color: #fff; background: var(--page-accent); box-shadow: 0 1px 4px rgba(217,119,6,.3); }
.site-theme-btn i { font-size: .64rem; }
.page-shell { width: min(var(--page-max), calc(100% - 48px)); margin: 0 auto; }
.page-hero { padding: 88px 0 48px; max-width: 820px; }
.eyebrow { margin: 0 0 15px; color: var(--page-accent); font: 500 .78rem/1.2 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.035em; line-height: 1.12; }
h1 { font: 400 clamp(2.7rem, 7vw, 5.3rem)/.98 "DM Serif Display", Georgia, serif; }
h1 em { color: var(--page-accent); font-style: normal; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.05rem; letter-spacing: -.015em; }
.page-lede { max-width: 720px; margin: 24px 0 0; color: var(--page-muted); font-size: 1.12rem; }
.page-content { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; padding-bottom: 90px; }
.content-card { grid-column: span 6; padding: 28px; background: var(--page-card); border: 1px solid var(--page-line); border-radius: 16px; }
.content-card.wide { grid-column: 1 / -1; }
.content-card h2, .content-card h3 { margin-bottom: 12px; }
.content-card p { margin: 0 0 15px; color: var(--page-muted); }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { margin: 0; padding-left: 21px; color: var(--page-muted); }
.content-card li + li { margin-top: 8px; }
.content-card a, .contact-link { color: var(--page-accent); text-underline-offset: 3px; }
.callout { padding: 18px 20px; margin-top: 18px; color: var(--page-ink); background: color-mix(in srgb, var(--page-accent) 9%, transparent); border-left: 3px solid var(--page-accent); border-radius: 0 10px 10px 0; }
.contact-list { display: grid; gap: 12px; margin: 0; }
.contact-item { padding: 15px 17px; border: 1px solid var(--page-line); border-radius: 12px; background: rgba(255,255,255,.42); }
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item span { color: var(--page-muted); }
.back-link { display: inline-flex; gap: 8px; margin-top: 26px; color: var(--page-accent); font-size: .92rem; text-decoration: none; }
.site-footer { border-top: 1px solid var(--page-line); margin-top: 40px; }
.site-footer-inner {
  width: 100%;
  margin: 0;
  padding: 64px 40px 72px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 48px;
  align-items: start;
}
.site-footer-brand { display: flex; flex-direction: column; gap: 28px; max-width: 390px; }
.site-footer-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-footer-logo .logo-mark { width: auto; height: auto; background: transparent; color: var(--page-ink); font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.site-footer-logo .logo-text { color: var(--page-ink); font-size: 1.6rem; font-weight: 400; letter-spacing: -.03em; }
.site-footer-logo .logo-xl { color: inherit; }
.site-footer-tagline { max-width: 360px; font-size: 1.1rem; color: var(--page-muted); line-height: 1.7; margin: 0; }
.site-footer-copy { font-size: .95rem; color: var(--page-muted); line-height: 1.7; margin: 0; }
.site-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.site-footer-col-title { font-size: .95rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--page-ink); margin-bottom: 12px; }
.site-footer-col a { font-size: 1.1rem; color: var(--page-muted); text-decoration: none; line-height: 1.35; }
.site-footer-col a:hover { color: var(--page-accent); }
.not-found { min-height: calc(100vh - 56px); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.not-found-inner { max-width: 620px; }
.not-found h1 { font-size: clamp(4.5rem, 15vw, 9rem); color: var(--page-accent); }
.not-found p { margin: 16px 0 24px; color: var(--page-muted); }
.button-link { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; color: #fff; background: var(--page-accent); border-radius: 999px; text-decoration: none; }
@media (max-width: 700px) {
  .site-topbar { padding: 0 24px; }
  .site-theme-btn { padding: 0 8px; }
  .site-theme-btn .theme-label { display: none; }
  .site-brand { font-size: 1.05rem; }
  .site-brand img { width: 34px; height: 34px; }
  .page-shell { width: min(100% - 48px, var(--page-max)); }
  .page-hero { padding: 62px 0 34px; }
  .page-lede { font-size: 1rem; }
  .content-card, .content-card.wide { grid-column: 1 / -1; padding: 22px; }
  .site-footer-inner { display: block; padding: 48px 24px 52px; }
  .site-footer-brand { max-width: 100%; }
  .site-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; gap: 32px 24px; }
  .site-footer-tagline { font-size: 1rem; }
  .site-footer-col a { font-size: 1rem; }
}
