:root {
  --paper: #f5f4ef;
  --white: #fffefb;
  --ink: #171717;
  --muted: #61636a;
  --line: #d8d8d2;
  --red: #a62b20;
  --red-dark: #7f2119;
  --teal: #0f6e67;
  --teal-soft: #dfecea;
  --dark: #141817;
  --max: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", "Avenir Next", Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, .final-cta h2 { font-family: "EB Garamond", Iowan Old Style, Baskerville, Georgia, serif; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #075d57; border-radius: 2px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--red); border-radius: 2px; color: white; background: var(--red); font-weight: 700; text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 8px 14px; font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: #aaa9a2; text-underline-offset: 5px; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.eyebrow, .audience, .section-index, .calculator-kicker { color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(245,244,239,.94); backdrop-filter: blur(12px); }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 11px; text-decoration: none; white-space: nowrap; }
.wordmark > span { font-family: Georgia, serif; font-size: 1.34rem; font-weight: 700; letter-spacing: -.03em; }
.wordmark small { color: var(--muted); font-size: .71rem; }
.wordmark small strong { color: var(--red); letter-spacing: .04em; text-transform: uppercase; }
.site-header nav { display: flex; align-items: center; gap: 24px; }
.site-header nav > a:not(.button) { color: #414348; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-header nav > a:not(.button):hover { color: var(--red); }

.hero { min-height: 760px; display: flex; align-items: center; padding: 82px 0 70px; border-bottom: 1px solid var(--line); background: var(--paper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(50px, 9vw, 126px); align-items: end; }
.hero h1 { max-width: 880px; margin-top: 20px; font-size: clamp(3.45rem, 7.3vw, 6.7rem); line-height: .93; }
.hero h1 em { display: block; color: var(--teal); font-style: italic; }
.hero-lede { max-width: 760px; margin-top: 30px; color: #46484e; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-note { padding: 20px 0 4px; border-top: 2px solid var(--red); }
.note-number { color: var(--red); font-size: .75rem; font-weight: 800; }
.hero-note p { margin-top: 32px; font-family: Georgia, serif; font-size: 1.26rem; line-height: 1.35; }
.hero-product-proof { display: grid; grid-template-columns: 1.08fr .92fr; gap: 12px; max-width: 760px; margin-top: 38px; }
.hero-product-proof figure { position: relative; min-width: 0; padding: 7px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 32px rgba(27,30,29,.08); }
.hero-product-proof img { width: 100%; height: 142px; object-fit: cover; object-position: top left; }
.hero-product-proof figure:first-child img { object-position: center 18%; }
.hero-product-proof figcaption { margin-top: 7px; color: var(--muted); font-size: .7rem; font-weight: 700; }

.product-section { padding-top: 0; }
.pricing-head, .origin-layout { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); gap: 60px; }
.pricing h2, .origin h2, .foundation h2 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1; }
.pricing-head > div > p { max-width: 690px; margin-top: 22px; color: var(--muted); font-size: 1.08rem; }
.feature { margin-top: 92px; padding: 86px 0; border-top: 1px solid var(--line); }
.product-section .feature:first-child { margin-top: 0; border-top: 0; }
.feature-report { margin-top: 0; background: #ebeae4; }
.feature-layout { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 8vw, 105px); align-items: center; }
.feature-layout-reverse .feature-copy { order: 2; }
.feature-copy h2 { max-width: 560px; margin-top: 14px; font-size: clamp(2.35rem, 4.7vw, 4.15rem); line-height: .98; }
.feature-copy > p:not(.audience) { margin-top: 24px; color: #505258; font-size: 1.04rem; }
.product-shot { position: relative; }
.product-shot::before { content: ""; position: absolute; inset: 22px -20px -20px 22px; z-index: 0; background: var(--teal-soft); }
.shot-report::before { background: #d7d7d0; }
.product-shot img { position: relative; z-index: 1; width: 100%; border: 1px solid #cfd4d4; background: white; box-shadow: 0 22px 58px rgba(27,30,29,.12); }

.foundation { padding: 108px 0; color: white; background: var(--teal); }
.foundation .section-index { color: #bde6e1; }
.foundation-layout { display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr); gap: 60px; }
.foundation-copy p { max-width: 700px; margin-top: 26px; color: #d7efec; font-size: 1.08rem; }

.origin { padding: 116px 0; }
.origin-layout > div > p { max-width: 720px; margin-top: 26px; color: var(--muted); font-size: 1.08rem; }
.origin-layout .endorsement { padding: 26px 0 0 26px; border-left: 3px solid var(--red); color: var(--ink); font-family: Georgia, serif; font-size: 1.2rem; }

.pricing { padding: 110px 0; color: white; background: var(--dark); }
.pricing .section-index, .calculator-kicker { color: #dc796f; }
.pricing-head > div > p { color: #b8bcba; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); margin: 62px 0 0; padding: 0; border-top: 1px solid #454846; border-bottom: 1px solid #454846; list-style: none; }
.plans li { min-height: 204px; padding: 26px 22px; }
.plans li + li { border-left: 1px solid #454846; }
.plans p { color: #b8bcba; font-size: .8rem; }
.plans strong { display: block; margin-top: 42px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.plans strong small { color: #9da19f; font-family: inherit; font-size: .8rem; font-weight: 400; }
.plans span { display: block; margin-top: 12px; color: #9da19f; font-size: .82rem; }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 50px; margin-top: 50px; padding: 34px; border: 1px solid #454846; }
.calculator h3 { margin-top: 8px; font-size: 1.5rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.fields label { color: #dfe2e0; font-size: .86rem; font-weight: 700; }
.fields select { width: 100%; min-height: 46px; margin-top: 8px; padding: 8px 10px; border: 1px solid #5b5e5c; border-radius: 2px; color: white; background: #202422; }
.fields input { width: 100%; margin-top: 17px; accent-color: #57b5ac; }
.fields output { display: inline-flex; min-width: 28px; margin-left: 8px; justify-content: center; color: white; font-weight: 800; }
.credit-rule { max-width: 680px; margin-top: 24px; color: #9da19f; font-size: .82rem; }
.price-total { padding-left: 34px; border-left: 1px solid #454846; }
.price-total > span { color: #9da19f; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.price-total > strong { display: block; margin-top: 8px; font-family: Georgia, serif; font-size: 3.1rem; font-weight: 500; }
.price-total p { min-height: 48px; margin-top: 16px; color: #c9ccca; font-size: .88rem; }
.price-total small { color: #8e9290; }
.faq { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 60px; margin-top: 64px; padding-top: 50px; border-top: 1px solid #454846; }
.faq h3 { margin-top: 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.faq-list { border-top: 1px solid #454846; }
.faq-list details { border-bottom: 1px solid #454846; }
.faq-list summary { padding: 20px 42px 20px 0; font-weight: 700; cursor: pointer; }
.faq-list summary::marker { color: #dc796f; }
.faq-list p { max-width: 680px; padding: 0 0 22px; color: #b8bcba; font-size: .9rem; }
.faq-list a { color: white; }

.final-cta { padding: 100px 0; color: white; background: var(--red); }
.final-cta > .shell > p { color: #f3c9c5; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.final-cta h2 { max-width: 900px; margin-top: 16px; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .95; }
.button-light { color: var(--red); border-color: white; background: white; }
.button-light:hover { color: var(--red-dark); border-color: #f4e4e2; background: #f4e4e2; }
.text-link-light { color: white; text-decoration-color: #eaaea8; }

footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.footer-layout > div strong { font-family: Georgia, serif; font-size: 1.15rem; }
.footer-layout > div p, .footer-layout > p { margin-top: 6px; color: var(--muted); font-size: .78rem; }
.footer-layout nav { display: flex; gap: 22px; }
.footer-layout nav a { color: var(--muted); font-size: .82rem; }
.footer-layout > p { grid-column: 1 / -1; }

.legal-main { padding: 76px 0 110px; }
.legal-hero { max-width: 820px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-top: 15px; font-size: clamp(3rem, 7vw, 5.7rem); line-height: .96; }
.legal-hero p:last-child { margin-top: 24px; color: var(--muted); }
.legal-content { display: grid; grid-template-columns: 180px minmax(0, 720px); gap: 60px; margin-top: 56px; }
.legal-content nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 12px; }
.legal-content nav a { color: var(--muted); font-size: .82rem; }
.legal-copy section + section { margin-top: 50px; }
.legal-copy h2 { font-size: 2rem; line-height: 1.05; }
.legal-copy h3 { margin-top: 24px; font-size: 1rem; }
.legal-copy p, .legal-copy li { color: #4f5157; }
.legal-copy p { margin-top: 14px; }
.legal-copy ul { margin: 14px 0 0; padding-left: 20px; }
.legal-copy li + li { margin-top: 8px; }
.legal-note { padding: 18px 20px; border-left: 3px solid var(--teal); background: var(--teal-soft); }

@media (max-width: 920px) {
  .site-header nav > a:not(.button):not(.header-login) { display: none; }
  .hero-layout, .feature-layout, .foundation-layout { grid-template-columns: 1fr; }
  .hero-note { max-width: 480px; }
  .feature-layout-reverse .feature-copy { order: initial; }
  .foundation-layout { gap: 54px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plans li:nth-child(3) { border-left: 0; border-top: 1px solid #454846; }
  .plans li:nth-child(4) { border-top: 1px solid #454846; }
  .calculator { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 30px; }
  .price-total { padding: 28px 0 0; border-left: 0; border-top: 1px solid #454846; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; }
  .wordmark small, .header-login { display: none; }
  .site-header nav { gap: 10px; }
  .hero { min-height: 0; padding: 70px 0 58px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .hero-layout { gap: 54px; }
  .hero-product-proof { grid-template-columns: 1fr; }
  .hero-product-proof img { height: 150px; }
  .pricing-head, .origin-layout { grid-template-columns: 1fr; gap: 28px; }
  .feature { margin-top: 60px; padding: 68px 0; }
  .feature-layout { gap: 50px; }
  .product-shot::before { inset: 12px -8px -12px 12px; }
  .foundation, .origin, .pricing { padding: 78px 0; }
  .plans { grid-template-columns: 1fr; }
  .plans li + li, .plans li:nth-child(3) { border-top: 1px solid #454846; border-left: 0; }
  .plans li { min-height: 154px; }
  .plans strong { margin-top: 24px; }
  .calculator { padding: 24px 18px; }
  .fields { grid-template-columns: 1fr; }
  .final-cta { padding: 78px 0; }
  .footer-layout { grid-template-columns: 1fr; align-items: start; }
  .footer-layout nav { flex-wrap: wrap; }
  .legal-main { padding-top: 52px; }
  .legal-content { grid-template-columns: 1fr; gap: 35px; }
  .legal-content nav { position: static; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
