:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #17181b;
  --muted: #5c606a;
  --line: #e6e3dc;
  --accent: #c2410c;
  --accent-soft: #fdf1ea;
  --max: 1080px;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121316;
    --surface: #1a1c20;
    --text: #ecebe7;
    --muted: #a3a6ad;
    --line: #2b2e34;
    --accent: #f08a4b;
    --accent-soft: #2a1e17;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.03em;
  margin: 20px 0 20px; max-width: 14ch;
}
.hero p { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 12px; }
section > .wrap > p.lead { color: var(--muted); max-width: 64ch; margin: 0 0 32px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card .num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.card h3 { font-size: 19px; margin: 8px 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.note {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 20px 24px; color: var(--muted); font-size: 16px;
}
.note strong { color: var(--text); }

dl.contact { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; }
dl.contact dt { color: var(--muted); font-size: 15px; }
dl.contact dd { margin: 0; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 40px; letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin: 4px 0; }

/* Simple centered page */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.center-page h1 { font-size: 32px; margin: 0 0 12px; }
.center-page p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }

@media (max-width: 800px) {
  .grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .nav { gap: 16px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  section { padding: 48px 0; }
  .wrap { padding: 0 16px; }
  dl.contact { grid-template-columns: 1fr; gap: 2px; }
  dl.contact dd { margin-bottom: 12px; }
}
