:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --paper-deep: #efeee6;
  --ink: #182622;
  --muted: #64716b;
  --green: #204b3d;
  --green-dark: #17372e;
  --gold: #b18a4a;
  --line: rgba(24, 38, 34, .13);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-shell { min-height: 100vh; overflow: hidden; }
.topbar {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .075em;
}
.brand-mark {
  position: relative;
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(177, 138, 74, .5);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a, .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .18s ease;
}
.nav-links a:hover, .footer-links a:hover { color: var(--green); }

.hero {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  min-height: min(690px, calc(100vh - 160px));
  padding: 88px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 390px);
  align-items: center;
  gap: 9%;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 27px; height: 1px; background: var(--gold); }
h1, h2, p { margin-top: 0; }
.hero h1 {
  max-width: 700px;
  margin: 25px 0 24px;
  font: 400 clamp(56px, 8.2vw, 104px)/.98 var(--serif);
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--green); font-weight: 400; }
.hero-copy {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.hero-cta { display: flex; align-items: center; gap: 22px; margin-top: 35px; }
.button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .025em;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.text-link { color: var(--muted); font-size: 12px; font-weight: 600; text-decoration-color: rgba(100, 113, 107, .4); text-underline-offset: 5px; }
.moon-panel {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255,255,255,.88), transparent 48%),
    linear-gradient(145deg, rgba(239,238,230,.66), rgba(248,247,242,.7));
}
.moon-panel::before, .moon-panel::after { content: ''; position: absolute; border: 1px solid rgba(177, 138, 74, .28); border-radius: 50%; }
.moon-panel::before { width: 236px; height: 236px; }
.moon-panel::after { width: 292px; height: 292px; border-color: rgba(24, 38, 34, .09); }
.moon-symbol {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font: 400 120px/1 var(--serif);
  transform: translate(-2px, -5px);
}
.moon-note {
  position: absolute;
  z-index: 1;
  bottom: 31px;
  left: 30px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.moon-note span { color: var(--gold); padding-right: 7px; }
.home-footer, .page-footer {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.footer-links { display: flex; gap: 23px; }

.legal-main {
  width: min(790px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}
.legal-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.legal-main h1 {
  margin: 15px 0 14px;
  font: 400 clamp(42px, 6vw, 66px)/1.05 var(--serif);
  letter-spacing: -.04em;
}
.legal-intro { margin-bottom: 55px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.legal-section { padding: 28px 0 26px; border-top: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 13px; color: var(--green); font: 400 24px/1.3 var(--serif); }
.legal-section p { margin: 0 0 12px; color: #43504a; font-size: 14px; line-height: 1.86; }
.legal-section p:last-child { margin-bottom: 0; }
.page-footer { padding: 24px 0; }

.support-main {
  width: min(930px, calc(100% - 48px));
  min-height: calc(100vh - 160px);
  margin: 0 auto;
  padding: 90px 0 100px;
  display: grid;
  grid-template-columns: 1fr minmax(270px, 360px);
  align-items: center;
  gap: 12%;
}
.support-main h1 { margin: 17px 0 21px; font: 400 clamp(50px, 7vw, 78px)/1 var(--serif); letter-spacing: -.045em; }
.support-copy { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-card { padding: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.42); }
.contact-card .card-label { display: block; margin-bottom: 13px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.contact-card h2 { margin: 0 0 12px; font: 400 28px/1.2 var(--serif); }
.contact-card p { margin: 0 0 23px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.contact-email { display: inline-block; margin: -9px 0 23px; color: var(--green); font-size: 13px; font-weight: 700; text-decoration-color: rgba(32, 75, 61, .35); text-underline-offset: 4px; }
.contact-card .button { width: 100%; }

@media (max-width: 760px) {
  .topbar, .hero, .home-footer, .page-footer { width: min(100% - 36px, 620px); }
  .topbar { min-height: 72px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 11px; }
  .hero { min-height: unset; padding: 74px 0 67px; grid-template-columns: 1fr; gap: 54px; }
  .hero h1 { max-width: 550px; font-size: clamp(58px, 14vw, 86px); }
  .hero-copy { max-width: 500px; font-size: 15px; }
  .moon-panel { min-height: 285px; }
  .moon-panel::before { width: 190px; height: 190px; }
  .moon-panel::after { width: 238px; height: 238px; }
  .moon-symbol { font-size: 100px; }
  .legal-main { padding: 56px 0 72px; }
  .legal-intro { margin-bottom: 38px; }
  .legal-section { padding: 23px 0; }
  .legal-section h2 { font-size: 22px; }
  .legal-section p { font-size: 14px; }
  .support-main { min-height: unset; padding: 72px 0 80px; grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 420px) {
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 10px; }
  .brand { gap: 8px; font-size: 12px; }
  .brand-mark { width: 28px; height: 28px; font-size: 20px; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 17px; }
  .home-footer, .page-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
