/* Mintavor Solutions — original static editorial design */
:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe4d6;
  --ink: #173335;
  --ink-soft: #496061;
  --forest: #173f3b;
  --forest-light: #24544d;
  --coral: #ee7254;
  --coral-dark: #b8422d;
  --lime: #d7e8a4;
  --white: #fffdf8;
  --line: #cfc8b9;
  --line-dark: #79918a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 2px;
  --shell: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--coral-dark); }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
::selection { background: var(--coral); color: var(--ink); }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 800px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: 16px; z-index: 1000; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: var(--ink); color: var(--white); }
.skip-link:focus { width: auto; height: auto; padding: 12px 20px; overflow: visible; clip-path: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 23px; height: 7px; flex: 0 0 auto; background: var(--coral); }
.eyebrow.light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 6.3vw, 84px); line-height: .99; margin-bottom: 28px; }
h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; margin-bottom: 22px; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin-bottom: 22px; }
.lead { color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.62; }
.small { font-size: 13px; line-height: 1.55; }
.mono { font-family: var(--mono); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 750; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link::after { content: "↗"; font-size: 18px; line-height: 1; transition: transform .2s; }
.text-link:hover::after { transform: translate(2px, -2px); }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--white); font-size: 14px; font-weight: 750; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button::after { content: "↗"; font-size: 18px; line-height: 1; }
.button:hover { background: var(--coral); color: var(--ink); transform: translateY(-2px); }
.button.secondary { background: transparent; color: var(--ink); }
.button.secondary:hover { background: var(--paper-deep); }
.button.coral { border-color: var(--coral); background: var(--coral); color: var(--ink); }
.button.coral:hover { background: var(--white); border-color: var(--white); }
.button.plain::after, .button.no-arrow::after { display: none; }

/* Header */
.site-header { position: relative; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(245, 241, 232, .96); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-size: 18px; font-weight: 850; letter-spacing: -.04em; }
.brand-name small { display: block; margin-top: -4px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; padding: 28px 0; font-size: 13px; font-weight: 650; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--coral); transition: right .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.header-tools { display: flex; align-items: center; gap: 18px; }
.language-switch { display: flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); }
.language-switch a { padding: 4px 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; text-decoration: none; }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--white); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 45px; width: 240px; padding: 18px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.mobile-menu nav a { display: block; padding: 10px 4px; text-decoration: none; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; padding: 76px 0 0; }
.home-hero::before { content: ""; position: absolute; top: 0; right: max(0px, calc((100vw - var(--shell)) / 2)); width: 37vw; height: 100%; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; opacity: .27; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(44px, 6vw, 84px); }
.hero-copy { padding-bottom: 58px; }
.hero-copy h1 { max-width: 680px; }
.hero-copy .lead { max-width: 610px; margin-bottom: 32px; }
.hero-micro { margin: 18px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .03em; }
.runway-poster { position: relative; padding: 28px; border: 1px solid var(--ink); background: var(--forest); color: var(--white); box-shadow: 12px 12px 0 var(--coral); }
.poster-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 38px; }
.poster-top .eyebrow { margin: 0; color: var(--lime); }
.poster-top .eyebrow::before { background: var(--lime); }
.poster-index { font-family: var(--mono); font-size: 10px; color: #afc7bd; }
.runway-poster h2 { margin-bottom: 30px; font-family: var(--sans); font-size: 17px; font-weight: 650; letter-spacing: 0; }
.poster-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.poster-figure { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.poster-figure span { display: block; color: #bfd0c9; font-size: 11px; }
.poster-figure strong { display: block; margin-top: 3px; font-family: var(--mono); font-size: 25px; font-weight: 500; }
.poster-result { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.poster-result span { max-width: 90px; color: var(--lime); font-size: 12px; line-height: 1.4; }
.poster-result strong { color: var(--lime); font-family: var(--serif); font-size: 73px; font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.poster-result strong small { font-family: var(--sans); font-size: 15px; letter-spacing: 0; }
.runway-track { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin: 20px 0 18px; }
.runway-track i { height: 28px; border: 1px solid #6e8980; }
.runway-track i.active { border-color: var(--coral); background: var(--coral); }
.poster-note { margin: 0; color: #b7cbc2; font-family: var(--mono); font-size: 9px; }
.proof-strip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-strip span { padding: 20px 24px; text-align: center; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.proof-strip span + span { border-left: 1px solid var(--line); }

/* Shared sections */
.section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.section.compact { padding: 76px 0; }
.section.deep { background: var(--paper-deep); }
.section.dark { background: var(--forest); color: var(--white); border-color: var(--forest); }
.section.dark p { color: #cad8d1; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-heading h2 { max-width: 740px; margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--ink-soft); }
.section-heading.stacked { display: block; max-width: 790px; }
.section-heading.stacked h2 { margin-bottom: 20px; }
.section-heading.stacked > p { max-width: 680px; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.principle { padding: 28px 30px 10px 0; }
.principle + .principle { padding-left: 30px; border-left: 1px solid var(--line); }
.principle-number { display: block; margin-bottom: 58px; color: var(--coral-dark); font-family: var(--mono); font-size: 12px; }
.principle h3 { margin-bottom: 13px; }
.principle p { color: var(--ink-soft); font-size: 15px; }
.runway-explainer { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.runway-explainer h2 { max-width: 510px; }
.runway-explainer .lead { color: #cad8d1; }
.check-list { list-style: none; padding: 0; margin: 30px 0; }
.check-list li { position: relative; padding: 13px 0 13px 33px; border-bottom: 1px solid var(--line); font-size: 15px; }
.check-list li::before { content: "↳"; position: absolute; left: 3px; color: var(--coral); font-family: var(--mono); }
.dark .check-list li { border-color: var(--line-dark); }
.runway-equation { padding: 34px; border: 1px solid var(--line-dark); background: #12332f; }
.equation-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line-dark); }
.equation-row span { color: #bfd0c9; font-size: 13px; }
.equation-row strong { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.equation-row b { color: var(--coral); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.equation-result { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 27px; }
.equation-result span { color: var(--lime); font-size: 13px; }
.equation-result strong { color: var(--lime); font-family: var(--serif); font-size: 55px; font-weight: 400; line-height: 1; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.method-card { position: relative; min-height: 300px; padding: 26px; background: var(--paper); }
.method-card .letter { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 68px; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-size: 12px; }
.method-card h3 { font-size: 20px; }
.method-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.guide-card { display: grid; grid-template-columns: 150px 1fr; min-height: 226px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.guide-card img { width: 150px; height: 100%; object-fit: cover; border-right: 1px solid var(--line); }
.guide-card-content { display: flex; flex-direction: column; padding: 24px; }
.guide-card .card-label { margin-bottom: 22px; color: var(--coral-dark); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.guide-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.12; letter-spacing: -.02em; }
.guide-card p { margin-bottom: 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.guide-card .card-read { margin-top: auto; font-size: 12px; font-weight: 750; }
.guide-card .card-read::after { content: " ↗"; }
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tool-card { padding: 35px; border: 1px solid var(--ink); background: var(--white); }
.tool-card:nth-child(2) { background: var(--lime); }
.tool-card .card-label { display: block; margin-bottom: 42px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.tool-card h3 { max-width: 350px; margin-bottom: 16px; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.025em; }
.tool-card p { color: var(--ink-soft); font-size: 15px; }
.privacy-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.privacy-seal { position: relative; display: grid; place-items: center; min-height: 280px; border: 1px solid var(--line); background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 14px 14px; }
.privacy-seal::before { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); }
.privacy-seal svg { position: relative; width: 82px; color: var(--forest); }
.privacy-seal span { position: absolute; bottom: 28px; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }

/* Interior pages */
.page-hero { padding: 78px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.page-hero h1 { max-width: 800px; font-size: clamp(45px, 5.5vw, 72px); }
.page-hero .lead { max-width: 700px; margin-bottom: 0; }
.page-hero-aside { padding-left: 28px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.breadcrumbs { margin-bottom: 36px; font-family: var(--mono); font-size: 10px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-dark); }
.page-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }
.chapter-list { border-top: 1px solid var(--ink); }
.chapter { display: grid; grid-template-columns: 100px 1fr 1fr; gap: 36px; padding: 45px 0; border-bottom: 1px solid var(--line); }
.chapter-letter { font-family: var(--serif); font-size: 50px; line-height: 1; color: var(--coral-dark); }
.chapter h2 { margin: 0; font-size: 32px; line-height: 1.15; }
.chapter p { color: var(--ink-soft); font-size: 15px; }
.chapter .check-list { margin: 14px 0 0; }
.formula-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.formula-card { padding: 32px; border: 1px solid var(--line-dark); }
.formula-card h3 { color: var(--lime); font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.formula { margin: 25px 0; color: var(--white); font-family: var(--mono); font-size: 16px; line-height: 1.75; }
.formula-card p { margin-bottom: 0; font-size: 13px; }
.center-cta { padding: 45px; text-align: center; border: 1px solid var(--ink); background: var(--coral); }
.center-cta h2 { max-width: 700px; margin-inline: auto; }
.center-cta p { max-width: 620px; margin: 0 auto 25px; }

/* Article */
.article-hero { padding: 64px 0 0; }
.article-hero-grid { display: grid; grid-template-columns: 1fr 390px; gap: 70px; align-items: center; }
.article-hero h1 { font-size: clamp(43px, 5.3vw, 70px); }
.article-hero img { width: 100%; border: 1px solid var(--ink); background: var(--paper-deep); }
.article-meta { display: flex; gap: 18px; margin: 26px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }
.article-body { padding: 70px 0 96px; }
.article-layout { display: grid; grid-template-columns: 215px minmax(0, 700px); justify-content: space-between; gap: 70px; }
.article-toc { align-self: start; position: sticky; top: 30px; padding-top: 15px; border-top: 2px solid var(--ink); }
.article-toc strong { display: block; margin-bottom: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.article-toc a { display: block; padding: 9px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.4; text-decoration: none; }
.article-toc a:hover { color: var(--coral-dark); }
.article-section { margin-bottom: 58px; scroll-margin-top: 30px; }
.article-section h2 { margin-bottom: 24px; font-size: 38px; line-height: 1.14; }
.article-section p { color: #304b4c; font-size: 17px; line-height: 1.78; }
.article-section ul { margin: 26px 0 0; padding: 22px 24px 22px 46px; border-left: 3px solid var(--coral); background: var(--paper-deep); }
.article-section li { padding: 4px 0; font-size: 14px; }
.example-box { margin: 70px 0; padding: 34px; border: 1px solid var(--ink); background: var(--forest); color: var(--white); }
.example-box h2 { margin-bottom: 12px; font-size: 34px; }
.example-box > p { color: #c8d8d0; font-size: 14px; }
.example-table { margin: 28px 0; border-top: 1px solid var(--line-dark); }
.example-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.example-row span { color: #d3dfd9; font-size: 13px; }
.example-row strong { color: var(--lime); font-family: var(--mono); font-size: 14px; font-weight: 500; text-align: right; }
.example-note { margin: 0; padding-top: 18px; border-top: 1px dashed var(--line-dark); font-family: var(--mono); font-size: 10px !important; }
.takeaway-box { margin: 60px 0; padding: 30px; background: var(--lime); }
.takeaway-box h2 { font-family: var(--sans); font-size: 20px; font-weight: 750; letter-spacing: 0; }
.takeaway-box ol { margin: 0; padding-left: 22px; }
.takeaway-box li { padding: 6px 0 6px 6px; font-size: 14px; }
.faq-list { margin-top: 30px; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 42px 22px 0; list-style: none; cursor: pointer; font-weight: 700; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 20px; color: var(--coral-dark); font-family: var(--mono); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 35px 22px 0; }
.faq-list details p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.source-list { margin: 22px 0 0; padding: 0; list-style: none; }
.source-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.source-list a { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.source-list p { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; }
.article-footer-links { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--ink); }
.print-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink-soft); font-size: 12px; cursor: pointer; }

/* Calculator */
.calculator-wrap { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--ink); background: var(--white); }
.calculator-form { padding: 36px; }
.calc-field { display: block; margin-bottom: 22px; }
.calc-field > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.input-shell { display: flex; align-items: center; border: 1px solid var(--line); background: var(--paper); }
.input-shell .prefix { padding-left: 14px; color: var(--ink-soft); font-family: var(--mono); font-size: 13px; }
.input-shell input { width: 100%; min-height: 49px; padding: 10px 14px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 17px; }
.input-shell:focus-within { border-color: var(--coral-dark); outline: 2px solid var(--coral); }
.input-shell input:focus-visible { outline: none; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.calc-actions .button { min-height: 46px; }
.calc-reset { border: 0; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.calc-reset::after { display: none; }
.calc-reset:hover { background: transparent; color: var(--coral-dark); transform: none; }
.calculator-results { padding: 36px; background: var(--forest); color: var(--white); }
.results-kicker { margin-bottom: 34px; color: var(--lime); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.calc-result { padding: 20px 0; border-top: 1px solid var(--line-dark); }
.calc-result span { display: block; margin-bottom: 6px; color: #c2d2ca; font-size: 12px; }
.calc-result output { display: block; color: var(--lime); font-family: var(--serif); font-size: clamp(28px, 4vw, 41px); line-height: 1.1; letter-spacing: -.03em; overflow-wrap: anywhere; }
.calc-result output.text-result { font-family: var(--sans); font-size: 24px; letter-spacing: -.02em; }
.calc-privacy { margin: 24px 0 0; color: #c2d2ca; font-size: 11px; }
.calc-note { margin: 18px 0 0; color: var(--ink-soft); font-size: 12px; }
.calculator-explanation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.calculator-explanation article { padding-top: 23px; border-top: 1px solid var(--ink); }
.calculator-explanation h2 { font-family: var(--sans); font-size: 20px; font-weight: 750; letter-spacing: 0; }
.calculator-explanation p { color: var(--ink-soft); font-size: 14px; }

/* Informational pages */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.info-card { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.info-card h2, .info-card h3 { font-family: var(--sans); font-size: 20px; font-weight: 750; letter-spacing: 0; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.prose-sections { border-top: 1px solid var(--ink); }
.prose-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.prose-section h2 { margin: 0; font-size: 31px; }
.prose-section p { margin: 0; color: var(--ink-soft); }
.contact-card { padding: 40px; border: 1px solid var(--ink); background: var(--coral); }
.contact-card .eyebrow::before { background: var(--ink); }
.contact-email { display: inline-block; margin: 10px 0 22px; font-family: var(--serif); font-size: clamp(26px, 4vw, 43px); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
.contact-card p { max-width: 680px; margin-bottom: 0; }
.library-note { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; margin-top: 50px; padding: 30px; border-left: 4px solid var(--coral); background: var(--paper-deep); }
.library-note h2 { margin: 0; font-family: var(--sans); font-size: 20px; font-weight: 750; letter-spacing: 0; }
.library-note p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Footer */
.site-footer { padding: 68px 0 24px; background: #102c2b; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 2fr; gap: 90px; padding-bottom: 55px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-name small { color: #acc2b8; }
.footer-brand p { max-width: 330px; margin: 22px 0; color: #b6c9c0; font-size: 13px; }
.footer-email { color: var(--lime); font-size: 13px; overflow-wrap: anywhere; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-links h2 { margin-bottom: 17px; color: #9eb8ac; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.footer-links a { display: block; padding: 5px 0; color: #e2ebe5; font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid #395551; color: #95afa3; font-family: var(--mono); font-size: 9px; }
.footer-bottom span:last-child { max-width: 560px; text-align: right; }
.not-found { min-height: 60vh; padding: 110px 0; }
.not-found-code { color: var(--coral-dark); font-family: var(--mono); font-size: 12px; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .header-tools .button { display: none; }
  .hero-grid { gap: 40px; }
  .guide-card { grid-template-columns: 115px 1fr; }
  .guide-card img { width: 115px; }
  .method-card { padding: 20px; }
  .article-hero-grid { grid-template-columns: 1fr 310px; gap: 40px; }
}
@media (max-width: 850px) {
  .shell, .narrow { width: min(calc(100% - 36px), var(--shell)); }
  .section { padding: 76px 0; }
  .main-nav, .header-tools > .button { display: none; }
  .mobile-menu { display: block; }
  .header-tools { margin-left: auto; }
  .home-hero { padding-top: 55px; }
  .home-hero::before { width: 100%; }
  .hero-grid, .runway-explainer, .privacy-band, .page-hero-grid, .article-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 10px; }
  .runway-poster { max-width: 580px; }
  .proof-strip { margin-top: 55px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 25px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle-number { margin-bottom: 20px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 160px 1fr; }
  .guide-card img { width: 160px; }
  .privacy-seal { min-height: 240px; order: 2; }
  .page-hero-aside { padding-left: 0; border-left: 0; }
  .chapter { grid-template-columns: 65px 1fr; gap: 25px; }
  .chapter > div:last-child { grid-column: 2; }
  .formula-grid { grid-template-columns: 1fr; }
  .article-hero img { width: min(100%, 500px); }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-toc { position: static; display: none; }
  .article-content { max-width: 700px; }
  .calculator-wrap { grid-template-columns: 1fr; }
  .calculator-explanation, .info-grid { grid-template-columns: 1fr; }
  .calculator-explanation { gap: 20px; }
  .prose-section { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell, .narrow { width: min(calc(100% - 28px), var(--shell)); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 16px; }
  .header-tools { gap: 10px; }
  .language-switch a { padding: 4px 6px; }
  .mobile-menu summary { font-size: 0; width: 30px; height: 30px; border: 1px solid var(--line); }
  .mobile-menu summary::before { content: "≡"; display: grid; place-items: center; height: 100%; font-size: 20px; }
  .home-hero { padding-top: 42px; }
  h1 { font-size: clamp(41px, 12vw, 59px); }
  h2 { font-size: 34px; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }
  .hero-micro { line-height: 1.8; }
  .runway-poster { padding: 22px; box-shadow: 7px 7px 0 var(--coral); }
  .poster-result strong { font-size: 60px; }
  .runway-track { gap: 3px; }
  .runway-track i { height: 23px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip span + span { border-left: 0; border-top: 1px solid var(--line); }
  .proof-strip span { padding: 14px; }
  .section { padding: 62px 0; }
  .section.compact { padding: 55px 0; }
  .method-grid, .tool-grid { grid-template-columns: 1fr; }
  .method-card { min-height: 240px; }
  .method-card .letter { margin-bottom: 35px; }
  .guide-card { grid-template-columns: 1fr; }
  .guide-card img { width: 100%; height: 170px; border-right: 0; border-bottom: 1px solid var(--line); object-fit: cover; }
  .guide-card-content { padding: 22px; }
  .tool-card { padding: 26px; }
  .tool-card .card-label { margin-bottom: 26px; }
  .equation-row { grid-template-columns: 1fr auto; }
  .equation-row b { display: none; }
  .equation-result strong { font-size: 44px; }
  .page-hero { padding: 48px 0; }
  .page-hero h1, .article-hero h1 { font-size: clamp(39px, 11vw, 56px); }
  .chapter { grid-template-columns: 1fr; gap: 16px; }
  .chapter > div:last-child { grid-column: 1; }
  .chapter-letter { font-size: 35px; }
  .formula-card, .center-cta { padding: 24px; }
  .article-hero { padding-top: 45px; }
  .article-body { padding: 50px 0 65px; }
  .article-section h2 { font-size: 31px; }
  .example-box { padding: 24px; margin: 50px 0; }
  .example-row { grid-template-columns: 1fr; gap: 6px; }
  .example-row strong { text-align: left; }
  .calculator-form, .calculator-results { padding: 25px; }
  .calc-result output { font-size: 31px; }
  .library-note { grid-template-columns: 1fr; gap: 15px; padding: 24px; }
  .contact-card { padding: 26px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .footer-bottom span:last-child { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .article-toc, .button, .calc-actions, .print-button { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .section, .article-body, .page-hero { padding: 25px 0; }
  .shell, .narrow { width: 100%; }
  .article-layout, .article-hero-grid, .calculator-wrap { display: block; }
  .article-hero img { max-width: 240px; }
  .example-box, .calculator-results { background: white; color: black; border: 1px solid black; }
  .example-box p, .example-row span, .example-row strong, .calc-result span, .calc-result output { color: black; }
  a { text-decoration: none; }
}
