:root {
  --paper: oklch(0.97 0.012 85);
  --ink: oklch(0.23 0.02 55);
  --muted: oklch(0.45 0.02 55);
  --line: oklch(0.23 0.02 55 / 0.12);
  --card: oklch(0.995 0.006 85);
  --forest: oklch(0.42 0.08 155);
  --forest-text: oklch(0.97 0.01 85);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

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

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.logo {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.btn-hero {
  height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--forest);
  color: var(--forest-text);
  font-size: 17px;
}

.btn-ghost {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 14px;
}

.btn-small {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero p {
  margin: 0 0 28px;
  max-width: 38rem;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions { display: flex; gap: 12px; align-items: center; }

.hero-note {
  padding: 20px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
}

.hero-note h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.hero-note p { margin: 0; color: var(--muted); font-size: 14px; }

.section { padding: 28px 0 64px; }

.section h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 36rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  padding: 22px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.card p { margin: 0; color: var(--muted); }

.quote {
  margin-top: 36px;
  padding: 28px 32px;
  border-radius: 8px;
  background: oklch(0.94 0.016 85);
}

.quote p {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.quote cite { color: var(--muted); font-style: normal; font-size: 14px; }

.newsletter {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
}

.newsletter input {
  height: 44px;
  width: min(280px, 100%);
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line);
  background: var(--card);
  font: inherit;
  font-size: 16px;
}

.newsletter button {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 2px;
  background: var(--forest);
  color: var(--forest-text);
  font: inherit;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan {
  padding: 24px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan.featured {
  background: oklch(0.28 0.02 155);
  color: oklch(0.96 0.01 85);
  box-shadow: none;
}

.plan.featured p,
.plan.featured li { color: oklch(0.84 0.02 85); }

.plan h3 { margin: 0; font-size: 16px; font-weight: 500; }

.price {
  font-family: var(--serif);
  font-size: 40px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
}

.plan .btn-hero { width: 100%; border-radius: 4px; }
.plan.featured .btn-hero {
  background: oklch(0.96 0.01 85);
  color: oklch(0.24 0.02 155);
}

.faq { display: grid; gap: 16px; max-width: 40rem; }
.faq h3 { margin: 0 0 4px; font-size: 15px; font-weight: 500; }
.faq p { margin: 0; color: var(--muted); }

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a { color: var(--muted); }

@media (max-width: 800px) {
  .hero, .cards, .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .nav .hide-sm { display: none; }
}

@media (max-width: 520px) {
  .nav .btn-ghost { display: none; }
}
