:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-muted: #f1ede4;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --rule: #d9d3c4;
  --accent: #1f3a5f;
  --accent-hover: #2d4f7a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --content: 660px;
  --gap: 4rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
}

main {
  max-width: var(--content);
  margin: 0 auto;
  padding: 6rem 1.5rem 2rem;
}

@media (max-width: 640px) {
  main {
    padding: 3.5rem 1.25rem 1rem;
  }
}

/* Hero */
.hero {
  margin-bottom: 3.5rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 144;
}

.subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0;
  line-height: 1.55;
}

/* Rule */
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3.5rem 0;
}

/* Sections */
section {
  margin-bottom: var(--gap);
}

section:last-of-type {
  margin-bottom: 2rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  font-variation-settings: "opsz" 36;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

p {
  margin: 0 0 1.1rem;
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 120ms ease;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  padding-left: 1.1rem;
  margin: 0 0 1.25rem;
}

li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
}

li::marker {
  color: var(--text-muted);
}

/* Cards (for "What's included" and "Not the right fit") */
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin-top: 1.5rem;
}

.card--muted {
  background: var(--surface-muted);
  border-color: transparent;
}

.card h3 {
  margin-bottom: 1rem;
}

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

/* Definition list inside "What's included" */
.included {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.included > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
}

.included dt {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
}

.included dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9875rem;
  line-height: 1.6;
}

/* Two-column for pricing */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.price {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

/* Next step CTAs */
.next-step {
  border-top: 1px solid var(--rule);
  padding-top: 3.5rem;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition:
    background 120ms ease,
    color 120ms ease,
    border-color 120ms ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rule);
}

.btn--secondary:hover {
  border-color: var(--text);
  color: var(--text);
}

/* Footer */
footer {
  max-width: var(--content);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
}

footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}
