:root {
  --bg: #F7F4EE;
  --bg-alt: #EFEAE0;
  --ink: #111210;
  --ink-soft: #4A4A46;
  --ink-mute: #8A867E;
  --line: #E0DACC;
  --line-soft: #ECE6D8;
  --card: #FFFFFF;
  --sage: oklch(0.72 0.08 150);
  --sage-deep: oklch(0.48 0.09 150);
  --sage-bg: oklch(0.96 0.02 150);
  --coral: oklch(0.68 0.14 35);
  --coral-bg: oklch(0.95 0.03 35);
  --gold: oklch(0.78 0.12 85);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 14, 0.04), 0 2px 8px rgba(20, 18, 14, 0.04);
  --shadow-md: 0 2px 6px rgba(20, 18, 14, 0.06), 0 12px 32px rgba(20, 18, 14, 0.08);
  --shadow-lg: 0 4px 12px rgba(20, 18, 14, 0.08), 0 24px 64px rgba(20, 18, 14, 0.12);
  --font-display: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: uppercase; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.02em;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
}
.nav-links { display: flex; gap: 28px; font-size: 0.92rem; color: var(--ink-soft); }
.nav-links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.92rem; font-weight: 500;
  transition: 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-coral { background: var(--coral); color: white; }
.btn-coral:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* PILL */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--sage-bg); color: var(--sage-deep);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); }
.pill-neutral { background: var(--bg-alt); color: var(--ink-soft); }
.pill-neutral .pill-dot { background: var(--ink-mute); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* CARD */
.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

/* Scrollbar subtle */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }

/* Utility */
.row { display: flex; gap: 16px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.hide-mobile { }
@media (max-width: 1100px) {
  .nav-links { display: none !important; }
}
@media (max-width: 1024px) {
  .stack-sm { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 780px) {
  .hide-mobile { display: none !important; }
  .container { padding: 0 18px; }
  .stack-sm-all { grid-template-columns: 1fr !important; }
}
