:root {
  --bg: #f7f4ec;
  --surface: #ffffff;
  --ink: #1b2140;
  --muted: #5a6180;
  --line: #e2ddd0;
  --night: #172047;
  --gold: #c8922b;
  --gold-soft: #e9b94e;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1128;
    --surface: #172047;
    --ink: #f7eed9;
    --muted: #c7d0ec;
    --line: #2a3566;
    --gold: #e9b94e;
    --gold-soft: #f8e09e;
  }
}

* { box-sizing: border-box; }

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

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

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--night);
  color: #f7eed9;
}

header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8e09e;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand svg { width: 26px; height: 26px; flex: none; }

nav.site a {
  color: #c7d0ec;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-left: 18px;
}

nav.site a[aria-current="page"], nav.site a:hover { color: #f8e09e; }

main { padding: 32px 0 48px; }

h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; font-weight: 800; }
h2 { font-size: 21px; margin: 36px 0 10px; font-weight: 700; }
h3 { font-size: 17px; margin: 24px 0 6px; font-weight: 700; }
p, li { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }

.lede { color: var(--muted); font-size: 18px; margin-bottom: 24px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

a { color: var(--gold); }
a:hover { text-decoration-thickness: 2px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 18px 0;
}

.card h2 { margin-top: 0; }

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
}

.contact strong { font-size: 19px; }

details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; padding-right: 28px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute; right: 4px; top: 0;
  color: var(--gold); font-weight: 800;
}
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; }

.hero { text-align: center; padding: 28px 0 8px; }
.hero .star { width: 84px; height: 84px; margin: 0 auto 14px; display: block; }
.hero h1 { font-size: 36px; }
.hero p { max-width: 520px; margin: 0 auto 18px; }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.links a {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
}
.links a.primary { background: linear-gradient(135deg, #f8e09e, #e9b94e, #c8922b); border-color: transparent; color: #2a2216; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0 40px;
}
footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  nav.site a { margin-left: 0; margin-right: 16px; }
}
