/* Shared site styles: tokens, base, buttons, header, footer. Used by every page. */
:root {
  --ink: #0f1d20;          /* text, dark sections */
  --ink-2: #35474a;        /* body copy */
  --muted: #56686b;        /* captions, meta */
  --muted-2: #7a8a8c;      /* placeholder text */
  --bg: #f5f6f4;
  --surface: #ffffff;
  --surface-alt: #e9eeec;
  --surface-soft: #eef1f0;
  --line: #dfe3e1;
  --line-strong: #c9d0ce;
  --accent: #07717a;
  --accent-hover: #054f55;
  --brand: #09838e;        /* logo teal */
  --footer: #0b1618;
  --on-dark: #e8eeec;
  --on-dark-muted: #a9b8b6;
  --on-dark-line: #3b5256;
  --footer-line: #1d3034;

  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;

  --wrap: 1200px;
  --pad-x: 24px;
  --sec-y: 96px;
  --r-btn: 7px;
  --r-card: 10px;
  --r-price: 12px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
[id] { scroll-margin-top: 70px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; line-height: 1.2;
  padding: 14px 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); font-weight: 500; }
.btn-secondary:hover { color: var(--ink); border-color: var(--muted); }
.btn-sm { font-size: 14px; padding: 10px 16px; border-radius: 6px; }
.btn-secondary.btn-sm { padding: 9px 14px; background: transparent; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245,246,244,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 6px; display: block; }
.brand small { font: 500 11px var(--font-mono); color: var(--muted); letter-spacing: .04em; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; flex: 1; }
.site-nav a { color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.header-cta { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-toggle {
  display: none; width: 38px; height: 38px; padding: 0; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--ink);
  place-items: center;
}
.nav-toggle i { position: relative; display: block; width: 16px; height: 1.5px; background: currentColor; transition: background .2s; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s; }
.nav-toggle i::before { top: -5px; }
.nav-toggle i::after { top: 5px; }
.site-header.open .nav-toggle i { background: transparent; }
.site-header.open .nav-toggle i::before { transform: translateY(5px) rotate(45deg); }
.site-header.open .nav-toggle i::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 960px) {
  .js .nav-toggle { display: grid; }
  .js .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; gap: 0; padding: 4px var(--pad-x) 12px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(15,29,32,.35);
  }
  .js .site-header.open .site-nav { display: flex; }
  .js .site-nav a { padding: 13px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .js .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .header-inner { gap: 12px; }
  .brand small { display: none; }
  .header-cta .btn-secondary { display: none; }
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--footer); color: var(--on-dark-muted); border-top: 1px solid var(--footer-line); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; font-size: 14px; padding-top: 48px; padding-bottom: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { color: #fff; }
.footer-col a { color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-legal { position: relative; display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 20px; padding-bottom: 32px; font-size: 13px; color: var(--on-dark-muted); }
.footer-legal::before { content: ""; position: absolute; top: 0; left: var(--pad-x); right: var(--pad-x); border-top: 1px solid var(--footer-line); }
.footer-brand { grid-column: span 2; gap: 10px; min-width: 0; }
.footer-brand b { font-size: 16px; }
.footer-brand span { max-width: 320px; line-height: 1.5; }
@media (max-width: 400px) { .footer-brand { grid-column: auto; } }
