
/* Shared palette & typography */
:root {
  --bg: #f7f7f7;
  --panel: #ffffff;
  --text: #222222;
  --muted: #5b6472;
  --accent: #3A6EA5;
  --accent-2: #C4A484;
  --border: #e6e8ec;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 16px;
  --maxw: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d10;
    --panel: #11151b;
    --text: #e9eef5;
    --muted: #9aa6b2;
    --border: #1c2230;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
  }
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  line-height: 1.6;
}

.container { width: min(var(--maxw), 92%); margin: 0 auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--panel) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: .2px; color: var(--text); }
.brand img { height: 28px; width: auto; border-radius: 8px; }
.menu a { color: var(--muted); margin-left: 1rem; font-weight: 600; }
.menu a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 6rem 0 3rem; }
.kicker { color: var(--accent-2); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }
h1 { font-size: clamp(2rem, 3.5vw + 1rem, 3rem); line-height: 1.1; margin: .3rem 0 1rem; }
.lead { color: var(--muted); font-size: clamp(1rem, .9vw + .8rem, 1.2rem); max-width: 65ch; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .7rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1rem; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--accent); color: white; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Cards & sections */
section { padding: 3rem 0; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
h2 { font-size: clamp(1.4rem, 2vw + .6rem, 2rem); margin: 0 0 1rem; }
.sub { color: var(--muted); margin-bottom: 1.2rem; }

/* Grid */
.grid { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2rem 0; color: var(--muted); }

/* Utilities */
.hidden-mobile { display: initial; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hidden-mobile { display: none; }
  .hero { padding-top: 5rem; }
}
