/* ============ Tokens ============ */
:root {
  --max-width: 1160px;
  --ink: #101B18;
  --signal: #0E6B5C;
  --signal-dark: #0A4A40;
  --signal-tint: #E4F2EE;
  --amber: #F2A93B;
  --amber-dark: #C98620;
  --rust: #B04632;
  --rust-tint: #F6E7E3;
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --muted: #4B5A57;
  --border: #DCE3E0;
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-numeral: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 27, 24, 0.06);
  --shadow-md: 0 10px 28px -10px rgba(14, 107, 92, 0.28);
  --shadow-lg: 0 20px 48px -16px rgba(14, 107, 92, 0.32);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
h3 { font-size: clamp(18px, 2.2vw, 21px); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 246, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-logo__img { height: 40px; width: auto; display: block; }
.site-nav { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--signal); text-decoration: none; }
.site-nav a.active { color: var(--signal); font-weight: 700; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); }
.site-nav.is-open {
  display: block; position: absolute; top: 68px; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.site-nav.is-open ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1.25rem; }
.site-nav.is-open li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.site-nav.is-open li:last-child { border-bottom: none; }

@media (min-width: 860px) {
  .site-nav { display: block; }
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--amber-dark); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--signal); border: 1.5px solid var(--signal); }
.btn-ghost:hover { background: var(--signal-tint); text-decoration: none; }

/* ============ Icons ============ */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; flex-shrink: 0; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #C7D3CF; margin-top: 4rem; }
.site-footer .container { padding: 3rem 1.5rem 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-brand__img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 0.75rem; }
.footer-brand p { color: #9AAAA5; font-size: 14px; max-width: 40ch; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 15px; margin: 0 0 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #C7D3CF; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 13px; color: #8CA09A; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
