:root {
  --ink: #17221d;
  --ink-soft: #44534b;
  --paper: #f7f3e9;
  --paper-2: #fffdf8;
  --coral: #f06f4f;
  --coral-dark: #cf5034;
  --mint: #b9dec9;
  --mint-dark: #1f5d48;
  --sun: #f1c85b;
  --line: rgba(23, 34, 29, 0.16);
  --shadow: 0 24px 70px rgba(45, 51, 41, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(241, 200, 91, .20), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(185, 222, 201, .42), transparent 31rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 233, .88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .94rem; font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 12px; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: #fff; box-shadow: 0 12px 28px rgba(240,111,79,.28); }
.button-primary:hover { background: var(--coral-dark); }
.button-secondary { background: var(--paper-2); border-color: var(--line); color: var(--ink); }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .9rem; }

.hero { padding: 88px 0 52px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 58px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--mint-dark); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 900; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { margin: 0; max-width: 750px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 7vw, 6.2rem); font-weight: 500; }
h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 500; }
h3 { margin: 0 0 12px; font-size: 1.35rem; }
.hero-copy { max-width: 670px; margin: 24px 0 0; color: var(--ink-soft); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--ink-soft); font-size: .9rem; font-weight: 650; }
.micro-proof span::before { content: "✓"; margin-right: 7px; color: var(--mint-dark); font-weight: 950; }

.hero-board { position: relative; min-height: 540px; border: 1px solid var(--line); border-radius: 44px; background: var(--paper-2); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-board::before { content: ""; position: absolute; width: 160px; height: 45px; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: rgba(241,200,91,.55); }
.pin-card { position: absolute; width: 230px; aspect-ratio: 2/3; padding: 24px; border-radius: 24px; box-shadow: 0 18px 36px rgba(27,40,33,.15); display: flex; flex-direction: column; justify-content: space-between; }
.pin-card strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1.02; letter-spacing: -.04em; }
.pin-card small { font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.pin-one { top: 44px; left: 46px; background: var(--mint); transform: rotate(-7deg); }
.pin-two { top: 120px; right: 44px; background: var(--coral); color: #fff; transform: rotate(8deg); }
.pin-three { bottom: 36px; left: 145px; background: var(--sun); transform: rotate(-1deg); }
.scribble { width: 72px; height: 72px; border: 4px solid currentColor; border-radius: 50% 42% 55% 45%; transform: rotate(-12deg); opacity: .7; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,253,248,.55); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 24px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; font-size: 1.1rem; }
.trust-item span { color: var(--ink-soft); font-size: .86rem; }

.section { padding: 92px 0; }
.section-soft { background: rgba(255,253,248,.65); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading p { max-width: 590px; margin: 0; color: var(--ink-soft); }

.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card { min-height: 360px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-2); text-decoration: none; transition: .25s ease; }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.guide-index { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 850; }
.guide-card h3 { margin-top: 54px; }
.guide-card p { color: var(--ink-soft); }
.guide-card .arrow { margin-top: auto; font-size: 1.6rem; }

.planner-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 26px; align-items: stretch; }
.planner-intro, .planner-form, .planner-result { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.planner-intro { background: var(--ink); color: var(--paper-2); }
.planner-intro p { color: rgba(255,255,255,.72); }
.planner-form { background: var(--paper-2); display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 850; }
.field select { width: 100%; min-height: 52px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.planner-result { grid-column: 1 / -1; background: var(--mint); }
.planner-result p { max-width: 750px; }
.result-meta { display: flex; gap: 9px; flex-wrap: wrap; margin: 18px 0; }
.result-meta span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.55); font-size: .82rem; font-weight: 750; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 28px; border-top: 4px solid var(--coral); background: var(--paper-2); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 28px; color: var(--coral); font-weight: 900; }
.step p { color: var(--ink-soft); }

.comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-2); }
.tier-featured { background: var(--mint); transform: translateY(-10px); }
.tier ul { padding-left: 18px; color: var(--ink-soft); }
.tier .button { width: 100%; margin-top: 14px; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper-2); }
.faq summary { cursor: pointer; font-weight: 820; }
.faq p { color: var(--ink-soft); }

.disclosure { margin-top: 42px; padding: 18px 22px; border-left: 4px solid var(--sun); background: rgba(241,200,91,.14); color: var(--ink-soft); font-size: .9rem; }
.site-footer { padding: 48px 0; background: var(--ink); color: var(--paper-2); }
.footer-grid { display: flex; justify-content: space-between; align-items: end; gap: 36px; }
.footer-copy { max-width: 620px; color: rgba(255,255,255,.68); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.84); }

.article-hero { padding: 76px 0 44px; }
.article-hero h1 { max-width: 900px; font-size: clamp(2.9rem, 6vw, 5.6rem); }
.article-deck { max-width: 760px; color: var(--ink-soft); font-size: 1.15rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.article-meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; font-weight: 750; background: rgba(255,255,255,.4); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 54px; padding: 38px 0 94px; }
.article-body { min-width: 0; }
.article-body h2 { margin-top: 56px; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.article-body h3 { margin-top: 30px; }
.article-body p, .article-body li { color: var(--ink-soft); }
.article-body li + li { margin-top: 9px; }
.article-aside { align-self: start; position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper-2); }
.article-aside ul { padding-left: 18px; color: var(--ink-soft); }
.callout { margin: 34px 0; padding: 28px; border-radius: var(--radius-md); background: var(--mint); }
.warning { background: rgba(240,111,79,.12); border: 1px solid rgba(207,80,52,.25); }
.checklist { display: grid; gap: 12px; margin: 24px 0; }
.check-item { display: grid; grid-template-columns: 32px 1fr; gap: 13px; align-items: start; padding: 15px; border-bottom: 1px solid var(--line); }
.check-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--mint-dark); font-weight: 950; }
.brief { white-space: pre-wrap; padding: 22px; border: 1px dashed rgba(23,34,29,.34); border-radius: var(--radius-sm); background: #fff; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper-2); }
th, td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 980px) {
  .hero-grid, .planner-shell, .article-layout { grid-template-columns: 1fr; }
  .hero-board { min-height: 480px; max-width: 620px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison, .steps { grid-template-columns: 1fr; }
  .tier-featured { transform: none; }
  .article-aside { position: static; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 76px; left: 13px; right: 13px; padding: 18px; flex-direction: column; align-items: stretch; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .hero { padding-top: 56px; }
  h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-board { min-height: 430px; }
  .pin-card { width: 190px; padding: 19px; }
  .pin-card strong { font-size: 1.6rem; }
  .pin-one { left: 18px; }
  .pin-two { right: 14px; }
  .pin-three { left: 80px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 66px 0; }
  .section-heading { display: block; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 280px; }
  .planner-form { grid-template-columns: 1fr; padding: 24px; }
  .field-wide { grid-column: auto; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 24px; }
}
