:root {
  --ink: #26211f;
  --muted: #736966;
  --ivory: #fff9f7;
  --paper: #ffffff;
  --terracotta: #99604d;
  --coral: #d05c46;
  --soft-coral: #fda7a4;
  --line: rgba(38, 33, 31, 0.14);
  --success: #536f5c;
  --shadow: 0 24px 80px rgba(70, 46, 38, 0.10);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; letter-spacing: .06em; font-weight: 650; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; font-weight: 550; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }

.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: white; text-decoration: none; font-weight: 650;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(38,33,31,.16); }
.button.secondary { background: transparent; color: var(--ink); }
.button.coral { background: var(--coral); border-color: var(--coral); }
.button.small { min-height: 40px; padding: 0 16px; font-size: 13px; }

.hero { padding: 84px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 72px; }
.eyebrow { color: var(--terracotta); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 86px); max-width: 860px; }
h2 { font-size: clamp(38px, 5vw, 62px); }
h3 { font-size: 28px; }
.lede { margin: 24px 0 0; font-size: clamp(18px, 2.2vw, 23px); color: var(--muted); max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 13px; }
.trust-line span::before { content: "•"; color: var(--coral); margin-right: 8px; }
.portrait-wrap { position: relative; padding: 22px; }
.portrait-wrap::before { content: ""; position: absolute; inset: 0; border-radius: 48% 48% 22% 22%; background: #f3d7d0; transform: rotate(-3deg); }
.portrait-wrap img { position: relative; z-index: 1; width: 100%; border-radius: 46% 46% 20px 20px; box-shadow: var(--shadow); }
.portrait-note { position: absolute; z-index: 2; right: -16px; bottom: 46px; width: 190px; padding: 16px; border-radius: 18px; background: white; box-shadow: var(--shadow); font-size: 13px; }
.portrait-note strong { display: block; font-family: Georgia, serif; font-size: 21px; }

.section { padding: 92px 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: white; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.dark .section-head p { color: rgba(255,255,255,.68); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 94%, var(--soft-coral)); border-radius: var(--radius); padding: 30px; }
.card .number { font-family: Georgia, serif; color: var(--coral); font-size: 50px; line-height: 1; margin-bottom: 20px; }
.card p { margin: 12px 0 0; color: var(--muted); }
.dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.dark .card p { color: rgba(255,255,255,.65); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.sticky { position: sticky; top: 110px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; }
.checklist li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800; }

.form-card { background: white; border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; background: #fffcfb; color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.check-row { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; margin: 0; }
.result { display: none; margin-top: 22px; padding: 20px; border-radius: 18px; background: #f4eee9; }
.result.visible { display: block; }
.result strong { font-family: Georgia, serif; display: block; font-size: 28px; }

.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.path { padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.path em { color: var(--terracotta); font-style: normal; font-weight: 750; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.evidence-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.evidence-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; }
.evidence-card.tint { background: var(--pale, #f3e9e4); }
.evidence-card img { width: 100%; max-height: 520px; object-fit: contain; border-radius: 16px; margin-top: 18px; }
.big-stat { font-family: Georgia, serif; font-size: clamp(48px, 7vw, 78px); line-height: 1; color: var(--coral); margin: 14px 0; }
.fine { color: var(--muted); font-size: 13px; }
.step-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 72px 1fr 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step strong { font-family: Georgia, serif; font-size: 28px; color: var(--coral); }
.step h3 { font-size: 24px; }
.step p { margin: 0; color: var(--muted); }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 34px; background: white; border-radius: 20px; overflow: hidden; }
.compare-table th, .compare-table td { text-align: left; padding: 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table th { color: var(--terracotta); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.compare-table td:first-child { font-weight: 700; }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.faq article { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.faq p { color: var(--muted); margin-bottom: 0; }
.calculator { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.calculator .field { display: grid; }
.calculator-output { grid-column: 1 / -1; padding: 22px; background: #f4eee9; border-radius: 18px; }
.calculator-output strong { font-family: Georgia, serif; font-size: 32px; display: block; }
.mini-label { color: var(--terracotta); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 750; }

.quote { max-width: 850px; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 54px); line-height: 1.18; }
.footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer a { color: var(--ink); }

.hub-hero { padding: 90px 0 54px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 50px; }
.hub-card { display: block; min-height: 320px; border-radius: 32px; padding: 34px; text-decoration: none; border: 1px solid var(--line); background: white; position: relative; overflow: hidden; }
.hub-card:nth-child(2) { background: #f3e9e4; }
.hub-card:nth-child(3) { background: #ead3cb; }
.hub-card:nth-child(4) { background: var(--ink); color: white; }
.hub-card span { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; color: var(--terracotta); }
.hub-card:nth-child(4) span { color: var(--soft-coral); }
.hub-card h2 { font-size: 42px; margin-top: 20px; max-width: 460px; }
.hub-card p { max-width: 500px; color: var(--muted); }
.hub-card:nth-child(4) p { color: rgba(255,255,255,.65); }
.hub-card::after { content: "→"; position: absolute; right: 30px; bottom: 22px; font-size: 34px; }

@media (max-width: 850px) {
  .nav-links a:not(.button) { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid, .section-head, .split { grid-template-columns: 1fr; gap: 38px; }
  .portrait-wrap { max-width: 520px; margin: 0 auto; }
  .sticky { position: static; }
  .card-grid, .path-grid, .evidence-grid, .faq { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
  .calculator { grid-template-columns: 1fr; }
  .calculator-output { grid-column: auto; }
  .hub-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  .nav-inner { min-height: 64px; }
  .hero, .section { padding: 60px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full, .check-row, .form-actions, .form-note { grid-column: auto; }
  .button { width: 100%; }
  .portrait-note { right: 4px; bottom: 28px; }
}
