:root {
  --ink: #0f0e0c;
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --rule: #2a2723;
  --accent: #9a2a1f;
  --accent-2: #c4924a;
  --muted: #5a554e;
  --success: #2d5a3a;
  --warn: #8a5a00;
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,14,12,0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.nav-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; text-decoration: none; }
.nav-brand .dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; cursor: pointer;
  transition: all 0.18s ease; font-family: var(--sans);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { padding: 96px 0 80px; border-bottom: 1px solid var(--rule); }
.hero-eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; flex: 0 0 32px; height: 1px; background: var(--rule); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02;
  margin-bottom: 32px; max-width: 14ch; font-style: italic;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: 1.22rem; line-height: 1.55; max-width: 56ch; color: var(--muted); margin-bottom: 40px; font-family: var(--serif); }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-cta .muted { font-size: 0.88rem; color: var(--muted); }

/* Sections */
section { padding: 80px 0; border-bottom: 1px solid var(--rule); }
.section-eyebrow {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.section h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 24px; max-width: 18ch; }
.section h2 em { color: var(--accent); font-style: italic; }

/* Pain points grid */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.pain-cell { padding: 36px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pain-cell .num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.1em; }
.pain-cell h3 { font-size: 1.5rem; margin-bottom: 12px; }
.pain-cell p { color: var(--muted); font-size: 0.96rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 56px; }
.step { border-top: 2px solid var(--ink); padding-top: 24px; }
.step .step-num { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.15em; margin-bottom: 16px; }
.step h3 { font-size: 1.6rem; margin-bottom: 12px; }
.step p { color: var(--muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.price-card {
  border: 1px solid var(--rule); padding: 40px; background: var(--paper);
  display: flex; flex-direction: column;
}
.price-card.featured { background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; }
.price-card.featured .muted { color: rgba(245,241,234,0.7); }
.price-card.featured a.btn { background: var(--accent); border-color: var(--accent); }
.price-card .ribbon {
  position: absolute; top: -12px; right: 32px; background: var(--accent); color: var(--paper);
  padding: 4px 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.price-card h3 { font-size: 1.8rem; margin-bottom: 8px; }
.price-card .price { font-family: var(--serif); font-size: 3rem; line-height: 1; margin: 16px 0; }
.price-card .price small { font-size: 0.9rem; font-family: var(--sans); color: var(--muted); font-weight: 400; }
.price-card.featured .price small { color: rgba(245,241,234,0.6); }
.price-card ul { list-style: none; margin: 24px 0; flex: 1; }
.price-card li { padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,0.1); font-size: 0.94rem; }
.price-card.featured li { border-color: rgba(245,241,234,0.15); }
.price-card li::before { content: '→ '; color: var(--accent); margin-right: 6px; }

/* Forms */
.form-card { max-width: 460px; margin: 80px auto; padding: 48px; border: 1px solid var(--rule); background: var(--paper); }
.form-card h2 { font-size: 2rem; margin-bottom: 8px; }
.form-card p.sub { color: var(--muted); margin-bottom: 32px; font-family: var(--serif); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.82rem; margin-bottom: 8px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.field textarea { min-height: 220px; font-family: var(--serif); font-size: 1.04rem; line-height: 1.55; resize: vertical; }
.field .helper { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }

.alert { padding: 12px 16px; margin-bottom: 20px; border-left: 3px solid; font-size: 0.92rem; }
.alert.error { border-color: var(--accent); background: rgba(154, 42, 31, 0.07); color: var(--accent); }
.alert.success { border-color: var(--success); background: rgba(45, 90, 58, 0.07); color: var(--success); }

/* Footer */
footer { padding: 56px 0; color: var(--muted); font-size: 0.88rem; }
footer .row { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 768px) {
  .pain-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .container, .container-narrow { padding: 0 20px; }
  .nav { padding: 16px 20px; }
}
