:root {
  --bg: #FAFAF7;
  --bg-2: #F2F1EC;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --muted: #6B6B66;
  --muted-2: #9A9A94;
  --line: #E5E3DC;
  --line-2: #D4D1C7;
  --accent: oklch(0.88 0.22 130);
  --accent-ink: #0A0A0A;
  --accent-soft: oklch(0.96 0.10 130);
  --danger: #D94F3A;
  --warn: #E8A93C;
  --card: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10,10,10,0.04), 0 1px 1px rgba(10,10,10,0.03);
  --shadow: 0 1px 2px rgba(10,10,10,0.06), 0 8px 24px rgba(10,10,10,0.06);
  --shadow-lg: 0 2px 4px rgba(10,10,10,0.06), 0 24px 48px rgba(10,10,10,0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', 'Söhne', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.5;
}
body { overflow-x: hidden; }

.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 400; font-style: normal; letter-spacing: -0.015em; font-optical-sizing: auto; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; font-feature-settings: "zero"; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 960px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(250,250,247,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.brand .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); position: relative; overflow: hidden;}
.brand .dot::after { content:""; position:absolute; inset: 4px 4px auto auto; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; flex-wrap: nowrap; }
.nav-cta .btn, .nav-cta a { white-space: nowrap; }
.chip { white-space: nowrap; }
.btn { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: 0.02em;
}
.chip .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(180,230,70,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(180,230,70,.5);} 70% { box-shadow: 0 0 0 8px rgba(180,230,70,0);} 100% { box-shadow: 0 0 0 0 rgba(180,230,70,0);} }

/* Hero */
.hero { padding: 80px 0 40px; position: relative; }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
  font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--muted); }
.hero h1 .hl { background: var(--accent); padding: 0 8px 2px; border-radius: 6px; color: var(--ink); font-style: normal;}
.hero p.lede { font-size: 20px; color: var(--muted); max-width: 640px; line-height: 1.4; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; align-items: center; }
.hero-meta { display: flex; gap: 24px; margin-top: 48px; color: var(--muted); font-size: 13px; }
.hero-meta b { color: var(--ink); font-weight: 600; }

/* Section */
.section { padding: 96px 0; position: relative; }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .muted { color: #8A8A85; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.section-dark .eyebrow { color: #8A8A85; }
h2.display {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.015em;
  margin: 14px 0 0;
}
h2.display em { color: var(--muted); font-style: italic; }
.section-dark h2.display em { color: #8A8A85; }

/* Numbers banner */
.nums {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.nums > div { padding: 32px 24px; border-right: 1px solid var(--line); }
.nums > div:last-child { border-right: 0; }
.nums .big { font-family: 'Fraunces', serif; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.nums .lbl { font-size: 12px; color: var(--muted); margin-top: 10px; max-width: 24ch; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feat {
  padding: 28px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feat .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-2); display:flex; align-items:center; justify-content:center; margin-bottom: 18px; }
.feat h3 { margin: 6px 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.feat p { color: var(--muted); font-size: 14px; margin: 0;}

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* (tweaks panel removed) */

/* Utilities */
.row { display: flex; gap: 12px; }
.spacer { flex: 1; }
.hide-sm { }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .feat-grid { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(2) { border-right: 0; }
  .nums > div:nth-child(1), .nums > div:nth-child(2) { border-bottom: 1px solid var(--line); }
}
