:root {
  --paper: #F5F1EB;
  --paper-alt: #EFE8DC;
  --card: #FFFCF7;
  --ink: #1A1612;
  --ink-2: #3A332C;
  --ink-mute: #6B6258;
  --rule: #E0D7C7;
  --accent: #C2410C;
  --accent-soft: #FBE9DD;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}
a:hover { text-decoration-color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 235, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.brand__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
}
.brand__sub {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--small { padding: 9px 14px; font-size: 13px; }
.btn--block { display: block; text-align: center; width: 100%; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--accent); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 10px 0 48px;
  max-width: 22ch;
}
.section-title em { font-style: italic; color: var(--accent); }

.section-label, .eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}

.lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 26px 0 32px;
  max-width: 52ch;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 110px);
  border-bottom: 1px solid var(--rule);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.hero__meta {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ---------- Call card (visual hook) ---------- */
.callcard {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 28px 28px 24px;
  font-size: 14px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.02),
    0 30px 60px -36px rgba(60, 40, 20, 0.32);
  transform: rotate(-1.1deg);
  position: relative;
}
.callcard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--rule);
  margin-bottom: 18px;
}
.callcard__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.16);
  flex-shrink: 0;
}
.callcard__title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink);
}
.callcard__time {
  margin-left: auto;
  color: var(--ink-mute);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.callcard__body {
  margin: 0;
  display: grid;
  gap: 14px;
}
.callcard__body > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: baseline;
}
.callcard__body dt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.callcard__body dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}
.pill {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.callcard__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-2);
}

/* ---------- Section defaults ---------- */
section { padding: clamp(72px, 9vw, 128px) 0; border-bottom: 1px solid var(--rule); }
section:last-of-type { border-bottom: 0; }

/* ---------- Problem stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.stat { padding-top: 32px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(58px, 7.5vw, 104px);
  line-height: 0.92;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  min-height: calc(clamp(58px, 7.5vw, 104px) * 0.92);
  display: flex;
  align-items: flex-end;
}
.stat__num--range {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.stat__body {
  font-size: 16.5px;
  color: var(--ink-2);
  margin: 0;
  max-width: 28ch;
  line-height: 1.45;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.steps li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.steps__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
}
.steps h3 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 10px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.steps p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 60ch;
}

/* ---------- Pricing ---------- */
.pricing { background: var(--paper-alt); }
.plan {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 56px);
  max-width: 720px;
  border-radius: 3px;
  box-shadow: 0 30px 70px -50px rgba(40, 30, 15, 0.32);
}
.plan__head { margin-bottom: 28px; }
.plan__name {
  font-family: var(--serif);
  font-size: 34px;
  margin: 0;
  letter-spacing: -0.005em;
}
.plan__tag {
  color: var(--ink-mute);
  margin: 6px 0 0;
  font-size: 14.5px;
}
.plan__price {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  margin-bottom: 28px;
}
.plan__price p {
  margin: 0;
  padding: 8px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.plan__amt {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}
.plan__unit { color: var(--ink-mute); font-size: 15px; }
.plan__usd {
  color: var(--ink-mute);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 12px !important;
  font-weight: 500;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.plan__features li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-2);
  font-size: 16px;
}
.plan__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.plan__fine {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin: 18px 0 0;
}

/* ---------- About / Contact ---------- */
.about__grid, .contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__copy p, .contact__copy p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 56ch;
}
.contact__email {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 0 0 24px !important;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.contact__email a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.contact__addr {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Policies ---------- */
.policies { background: var(--paper-alt); }
.policy {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.policy:last-of-type { border-bottom: 1px solid var(--rule); }
.policy h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}
.policy p {
  font-size: 15.5px;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 70ch;
  line-height: 1.6;
}
.policy p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #C4BCB1;
  padding: 64px 0 32px;
}
.footer a { color: #C4BCB1; }
.footer a:hover { color: var(--paper); }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A241E;
}
.footer__brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 34px;
  color: var(--paper);
  margin: 0;
  line-height: 1;
}
.footer__brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 8px 0 0;
  color: #8C8377;
  font-weight: 500;
}
.footer__legal p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer__nav a { text-decoration: none; }
.footer__bottom {
  padding-top: 24px;
  font-size: 12px;
  color: #6B6258;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .callcard { transform: rotate(-0.6deg); max-width: 440px; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .stat { padding-top: 24px; border-top: 1px solid var(--rule); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .steps li { grid-template-columns: 1fr; gap: 10px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
