@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #102338;
  --navy-2: #19344d;
  --ink: #172432;
  --muted: #6c7d8b;
  --line: #dce4e9;
  --paper: #f5f7f6;
  --white: #ffffff;
  --orange: #ef9850;
  --orange-soft: #fff0e2;
  --mint: #dcefe7;
  --green: #267a5b;
  --shadow: 0 20px 60px rgba(16, 35, 56, 0.09);
  --radius: 20px;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Manrope', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { align-items: center; display: flex; gap: 38px; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 24px 34px; }
.brand, .footer-brand { align-items: center; display: inline-flex; gap: 11px; }
.brand-mark { align-items: center; background: var(--orange); border-radius: 10px; color: var(--navy); display: inline-flex; font-size: 12px; font-weight: 800; height: 34px; justify-content: center; letter-spacing: -0.05em; width: 34px; }
.brand-copy, .footer-brand > span:last-child { display: flex; flex-direction: column; }
.brand-name { color: var(--navy); font-size: 16px; font-weight: 800; letter-spacing: 0.12em; line-height: 1; }
.brand-name span { color: var(--orange); }
.brand-tagline, .footer-brand small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; margin-top: 5px; text-transform: uppercase; }
.main-nav { align-items: center; display: flex; gap: 30px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 12px; font-weight: 700; transition: color 180ms ease; }
.main-nav a:hover, .text-link:hover, .card-link:hover { color: var(--orange); }
.header-cta { align-items: center; border: 1px solid var(--navy); border-radius: 99px; color: var(--navy); display: inline-flex; font-size: 12px; font-weight: 800; gap: 9px; padding: 11px 15px; transition: background 180ms ease, color 180ms ease; }
.header-cta:hover { background: var(--navy); color: var(--white); }

.hero { display: grid; gap: 70px; grid-template-columns: minmax(0, 1.05fr) minmax(410px, 0.95fr); margin: 32px auto 0; max-width: 1240px; padding: 70px 34px 105px; }
.hero-copy { padding-top: 28px; }
.eyebrow { align-items: center; color: var(--orange); display: flex; font-family: var(--mono); font-size: 10px; font-weight: 500; gap: 9px; letter-spacing: 0.1em; margin: 0 0 20px; text-transform: uppercase; }
.eyebrow-dot { background: var(--orange); border-radius: 50%; height: 7px; width: 7px; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(42px, 5vw, 70px); font-weight: 700; letter-spacing: -0.065em; line-height: 1.02; margin-bottom: 25px; max-width: 680px; }
h1 em { color: var(--orange); font-style: normal; }
.hero-lede { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 550px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { align-items: center; border-radius: 99px; display: inline-flex; font-size: 12px; font-weight: 800; gap: 16px; justify-content: center; padding: 15px 20px; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { box-shadow: 0 10px 24px rgba(16, 35, 56, 0.12); transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.button-light { background: var(--orange); color: var(--navy); }
.text-link { color: var(--navy); display: inline-flex; font-size: 12px; font-weight: 800; gap: 9px; transition: color 180ms ease; }
.hero-proof { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; margin-top: 64px; padding-top: 17px; }
.hero-proof div { display: flex; flex-direction: column; gap: 5px; }
.hero-proof strong { color: var(--orange); font-family: var(--mono); font-size: 10px; font-weight: 500; }
.hero-proof span { color: var(--muted); font-size: 10px; }

.hero-visual { align-self: center; position: relative; }
.blueprint-card { background: var(--navy); border-radius: 24px; box-shadow: 0 30px 65px rgba(16, 35, 56, 0.22); color: var(--white); overflow: hidden; padding: 20px; transform: rotate(1.3deg); }
.blueprint-topline, .result-card-topline, .blueprint-result { align-items: center; display: flex; justify-content: space-between; }
.blueprint-topline { color: #93a7b9; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.status-chip { align-items: center; color: #bde2cf; display: flex; font-size: 9px; gap: 6px; }
.status-chip span { background: #73c69b; border-radius: 50%; height: 6px; width: 6px; }
.beam-sketch { margin: 20px -3px 5px; }
.beam-sketch svg { display: block; height: auto; width: 100%; }
.sketch-line { fill: none; stroke: #b4c8d7; stroke-linecap: round; stroke-width: 3; }
.sketch-faint { opacity: 0.38; stroke-width: 1; }
.sketch-support { fill: #284860; stroke: #b4c8d7; stroke-width: 2; }
.sketch-load { fill: none; stroke: var(--orange); stroke-width: 2; }
.sketch-point { stroke: #f5c07a; stroke-width: 3; }
.sketch-dimension { fill: none; stroke: #6e879b; stroke-width: 1; }
.beam-sketch text { fill: #9cb1c1; font-family: var(--mono); font-size: 11px; }
.beam-sketch .sketch-label { fill: var(--orange); font-size: 10px; }
.blueprint-result { border-top: 1px solid #2b4860; padding: 16px 0 2px; }
.blueprint-result span { color: #9cb1c1; display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; }
.blueprint-result strong { color: var(--orange); display: block; font-size: 30px; letter-spacing: -0.05em; margin-top: 4px; }
.blueprint-result small { color: #cfdeea; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.result-arrow { align-items: center; background: #1c3b53; border-radius: 50%; color: var(--orange); display: flex; font-size: 18px; height: 35px; justify-content: center; width: 35px; }
.hero-note { align-items: flex-start; color: var(--muted); display: flex; font-size: 10px; gap: 9px; line-height: 1.5; margin: 34px 10px 0 20px; max-width: 305px; }
.note-mark { color: var(--orange); font-size: 15px; line-height: 1; }

.section-wrap { margin-left: auto; margin-right: auto; max-width: 1172px; padding-left: 34px; padding-right: 34px; }
.tool-studio { padding-bottom: 112px; }
.section-heading { align-items: flex-end; display: flex; gap: 35px; justify-content: space-between; margin-bottom: 31px; }
.section-heading .eyebrow { margin-bottom: 14px; }
h2 { color: var(--navy); font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.06em; line-height: 1.05; margin-bottom: 0; }
.tool-search { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(16, 35, 56, 0.04); display: flex; gap: 10px; max-width: 260px; padding: 11px 12px; width: 100%; }
.tool-search > span { color: var(--orange); font-size: 22px; line-height: 1; }
.tool-search input { background: transparent; border: 0; color: var(--ink); font-size: 12px; outline: 0; width: 100%; }
.tool-search input::placeholder { color: #a0adb5; }
kbd { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-family: var(--mono); font-size: 9px; padding: 3px 5px; }
.category-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 26px; margin-bottom: 30px; overflow-x: auto; }
.category-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 12px; font-weight: 700; padding: 0 0 13px; white-space: nowrap; }
.category-tab span { color: #a8b4ba; font-family: var(--mono); font-size: 10px; margin-left: 5px; }
.category-tab.is-active { border-color: var(--orange); color: var(--navy); }
.category-tab.is-active span { color: var(--orange); }
.tools-layout { align-items: stretch; display: grid; gap: 20px; grid-template-columns: 285px minmax(0, 1fr); }
.tool-nav { display: flex; flex-direction: column; gap: 7px; }
.tool-nav-item { align-items: center; background: transparent; border: 1px solid transparent; border-radius: 13px; display: flex; gap: 11px; padding: 12px 11px; text-align: left; transition: background 180ms ease, border 180ms ease; }
.tool-nav-item[hidden] { display: none; }
.tool-nav-item:hover { background: rgba(255,255,255,0.65); border-color: var(--line); }
.tool-nav-item.is-active { background: var(--white); border-color: var(--line); box-shadow: 0 8px 22px rgba(16, 35, 56, 0.05); }
.tool-nav-icon { align-items: center; background: var(--orange-soft); border-radius: 9px; color: #bd6e2d; display: inline-flex; flex: 0 0 33px; font-size: 19px; height: 33px; justify-content: center; }
.tool-nav-copy { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.tool-nav-copy strong { color: var(--navy); font-size: 11px; font-weight: 800; }
.tool-nav-copy small { color: var(--muted); font-size: 9px; line-height: 1.35; }
.tool-nav-arrow { color: #a5b2ba; font-size: 15px; }
.tool-nav-item.is-active .tool-nav-arrow { color: var(--orange); }
.tool-nav-footnote { align-items: flex-start; color: var(--muted); display: flex; font-size: 10px; gap: 9px; line-height: 1.55; margin: auto 14px 2px; padding-top: 30px; }
.tool-nav-footnote span:first-child { color: var(--orange); font-size: 15px; }

.calculator-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 505px; overflow: hidden; }
.calculator-header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 24px 25px 20px; }
.calculator-kicker { color: var(--orange); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; margin-bottom: 9px; }
.calculator-header h3 { color: var(--navy); font-size: 23px; letter-spacing: -0.045em; margin-bottom: 7px; }
.calculator-header p { color: var(--muted); font-size: 11px; line-height: 1.55; margin-bottom: 0; max-width: 500px; }
.calculator-header-side { align-items: flex-end; display: flex; flex: 0 0 auto; flex-direction: column; gap: 10px; }
.verified-chip { background: var(--mint); border-radius: 99px; color: var(--green); flex: 0 0 auto; font-family: var(--mono); font-size: 9px; padding: 7px 9px; white-space: nowrap; }
.full-tool-link { color: var(--navy); font-family: var(--mono); font-size: 8px; white-space: nowrap; }
.full-tool-link:hover { color: var(--orange); }
.calculator-body { padding: 23px 25px 25px; }
.calculator-grid { display: grid; gap: 23px; grid-template-columns: minmax(250px, 0.88fr) minmax(270px, 1.12fr); }
.form-grid { display: grid; gap: 13px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { align-items: baseline; color: var(--navy); display: flex; font-size: 10px; font-weight: 800; justify-content: space-between; }
.field label span { color: var(--muted); font-family: var(--mono); font-size: 8px; font-weight: 400; }
.field input, .field select { background: #fbfcfc; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 12px; outline: 0; padding: 10px 10px; transition: border 180ms ease, box-shadow 180ms ease; width: 100%; }
.field input:focus, .field select:focus, .tool-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239, 152, 80, 0.14); }
.field-help { color: var(--muted); font-size: 9px; line-height: 1.45; margin: -2px 0 1px; }
.form-note { background: var(--orange-soft); border-radius: 9px; color: #885421; font-size: 9px; line-height: 1.5; margin-top: 16px; padding: 10px; }
.form-note strong { font-weight: 800; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.calc-button, .reset-button { border-radius: 8px; font-size: 10px; font-weight: 800; padding: 10px 13px; }
.calc-button { background: var(--navy); border: 1px solid var(--navy); color: var(--white); }
.reset-button { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.calc-button:hover { background: var(--navy-2); }
.reset-button:hover { border-color: var(--navy); color: var(--navy); }
.results-panel { background: var(--navy); border-radius: 14px; color: var(--white); min-height: 300px; padding: 18px; }
.results-topline { align-items: center; color: #93a7b9; display: flex; font-family: var(--mono); font-size: 8px; justify-content: space-between; letter-spacing: 0.08em; }
.result-main { border-bottom: 1px solid #2d4b63; margin-top: 25px; padding-bottom: 17px; }
.result-main span, .mini-result span, .result-check span { color: #9db1c0; display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; }
.result-main strong { color: var(--orange); display: block; font-size: 34px; letter-spacing: -0.06em; margin-top: 4px; }
.result-main strong small { color: #d0dce5; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0; }
.mini-results { display: grid; gap: 11px; grid-template-columns: repeat(2, 1fr); padding: 16px 0; }
.mini-result strong { display: block; font-size: 19px; letter-spacing: -0.04em; margin-top: 5px; }
.mini-result strong small { color: #c5d3de; font-family: var(--mono); font-size: 9px; font-weight: 400; }
.result-check { background: #1b3a51; border-radius: 9px; margin-top: 4px; padding: 11px; }
.result-check-row { align-items: center; display: flex; justify-content: space-between; }
.result-check strong { color: #9fe0bb; font-size: 11px; }
.result-check p { color: #b9cbd7; font-size: 9px; line-height: 1.45; margin: 5px 0 0; }
.result-check.is-caution strong { color: #f5bd7a; }
.assumption-strip { border-top: 1px solid var(--line); display: flex; gap: 13px; margin-top: 24px; padding-top: 17px; }
.assumption-strip h4 { color: var(--navy); flex: 0 0 113px; font-size: 10px; margin: 0; }
.assumption-strip ul { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 9px; gap: 7px 22px; line-height: 1.45; list-style: none; margin: 0; padding: 0; }
.assumption-strip li::before { color: var(--orange); content: '•'; margin-right: 6px; }
.formula-strip { align-items: baseline; background: #f8faf9; border: 1px solid var(--line); border-radius: 9px; display: flex; gap: 13px; margin-top: 14px; padding: 10px 11px; }
.formula-strip span { color: var(--orange); flex: 0 0 auto; font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; }
.formula-strip code { color: var(--navy); font-family: var(--mono); font-size: 9px; line-height: 1.5; white-space: normal; }
.print-row { display: flex; justify-content: flex-end; margin-top: 9px; }
.print-button { background: transparent; border: 0; color: var(--muted); font-size: 9px; padding: 4px 0; }
.print-button:hover { color: var(--navy); }
.empty-state { align-items: center; color: var(--muted); display: flex; flex-direction: column; min-height: 440px; justify-content: center; padding: 40px; text-align: center; }
.empty-state strong { color: var(--navy); font-size: 15px; margin-bottom: 8px; }
.empty-state p { font-size: 11px; line-height: 1.6; max-width: 330px; }

.unit-output { background: var(--navy); border-radius: 14px; color: var(--white); margin-top: 16px; padding: 16px; }
.unit-output span { color: #9db1c0; display: block; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; }
.unit-output strong { color: var(--orange); display: block; font-size: 29px; letter-spacing: -0.05em; margin-top: 3px; }
.unit-output strong small { color: #d0dce5; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0; }
.tool-placeholder { background: var(--paper); border: 1px dashed #becbd1; border-radius: 12px; color: var(--muted); font-size: 11px; line-height: 1.6; margin-top: 18px; padding: 15px; }

.ad-slot { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); margin-bottom: 112px; padding-bottom: 30px; padding-top: 30px; text-align: center; }
.ad-slot-label { align-items: center; color: #9aa7ad; display: flex; font-family: var(--mono); font-size: 8px; gap: 11px; justify-content: center; letter-spacing: 0.08em; }
.ad-slot-label i { background: var(--orange); border-radius: 50%; height: 4px; width: 4px; }
.ad-slot p { color: var(--navy); font-size: 13px; font-weight: 800; margin: 10px 0 0; }

.method { align-items: center; display: grid; gap: 70px; grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr); padding-bottom: 112px; }
.method-intro h2 { font-size: clamp(31px, 4vw, 46px); margin-bottom: 20px; }
.method-intro > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.75; margin-bottom: 24px; max-width: 390px; }
.principle-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.principle-card { background: var(--white); border: 1px solid var(--line); border-radius: 15px; min-height: 235px; padding: 17px; }
.principle-card-dark { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-17px); }
.principle-number { color: var(--orange); font-family: var(--mono); font-size: 10px; }
.principle-card h3 { color: var(--navy); font-size: 15px; letter-spacing: -0.03em; line-height: 1.2; margin: 44px 0 10px; }
.principle-card-dark h3 { color: var(--white); }
.principle-card p { color: var(--muted); font-size: 10px; line-height: 1.65; }
.principle-card-dark p { color: #b5c7d3; }

.reference { padding-bottom: 110px; }
.reference-heading { align-items: flex-end; }
.reference-grid { display: grid; gap: 11px; grid-template-columns: 1.25fr 1fr 1fr; }
.reference-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; min-height: 255px; padding: 19px; }
.reference-card-featured { background: var(--orange-soft); border-color: #f5cda7; }
.reference-card-top { align-items: center; color: var(--muted); display: flex; font-family: var(--mono); font-size: 8px; justify-content: space-between; letter-spacing: 0.06em; }
.reference-tag { color: #a76531; }
.reference-card h3 { color: var(--navy); font-size: 18px; letter-spacing: -0.04em; line-height: 1.22; margin: 42px 0 11px; max-width: 320px; }
.reference-card p { color: var(--muted); font-size: 10px; line-height: 1.65; margin-bottom: 18px; }
.card-link { color: var(--navy); font-size: 10px; font-weight: 800; margin-top: auto; transition: color 180ms ease; }

.closing { align-items: center; background: var(--navy); border-radius: 24px; color: var(--white); display: flex; justify-content: space-between; margin-bottom: 50px; padding-bottom: 46px; padding-top: 46px; }
.eyebrow-light { color: var(--orange); }
.closing h2 { color: var(--white); font-size: clamp(28px, 4vw, 43px); }
.site-footer { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 25px; grid-template-columns: 1fr 1.6fr 1fr; margin: 0 auto; max-width: 1172px; padding: 30px 34px 40px; }
.footer-brand .brand-mark { flex: 0 0 34px; }
.footer-brand strong { color: var(--navy); font-size: 12px; letter-spacing: 0.12em; }
.site-footer > p { color: var(--muted); font-size: 9px; line-height: 1.6; margin: 0; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: flex-end; }
.footer-meta span, .footer-meta a { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.footer-meta a:hover { color: var(--orange); }

.tool-page-hero { padding-bottom: 70px; padding-top: 42px; }
.breadcrumbs { align-items: center; color: var(--muted); display: flex; font-family: var(--mono); font-size: 9px; gap: 9px; margin-bottom: 39px; }
.breadcrumbs a:hover { color: var(--orange); }
.tool-page-intro { max-width: 780px; }
.tool-page-intro h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 18px; }
.tool-page-intro > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.75; max-width: 680px; }
.tool-page-layout { align-items: start; display: grid; gap: 22px; grid-template-columns: 190px minmax(0, 1fr); margin-top: 45px; }
.tool-page-sidebar { position: sticky; top: 22px; }
.tool-page-sidebar h2 { font-size: 14px; letter-spacing: -0.03em; margin-bottom: 14px; }
.tool-page-sidebar ul { border-left: 1px solid var(--line); list-style: none; margin: 0 0 22px; padding: 0 0 0 13px; }
.tool-page-sidebar li { margin: 0 0 11px; }
.tool-page-sidebar a { color: var(--muted); font-size: 10px; line-height: 1.4; }
.tool-page-sidebar a:hover { color: var(--orange); }
.tool-page-sidebar .sidebar-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.6; padding-top: 13px; }
.tool-page-layout .calculator-panel { min-width: 0; }
.tool-article { border-top: 1px solid var(--line); display: grid; gap: 70px; grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr); padding-bottom: 105px; padding-top: 56px; }
.tool-article h2 { font-size: 29px; margin-bottom: 15px; }
.tool-article h3 { color: var(--navy); font-size: 16px; letter-spacing: -0.03em; margin: 31px 0 10px; }
.tool-article p, .tool-article li { color: var(--muted); font-size: 11px; line-height: 1.75; }
.tool-article ul { padding-left: 17px; }
.tool-article li { margin-bottom: 5px; }
.article-callout { background: var(--orange-soft); border: 1px solid #f5cda7; border-radius: 14px; padding: 17px; }
.article-callout .eyebrow { margin-bottom: 12px; }
.article-callout p { color: #845322; margin-bottom: 0; }
.article-ad { align-self: start; border: 1px dashed #c7d1d4; border-radius: 14px; min-height: 170px; padding: 18px; }
.article-ad span { color: #9aa7ad; font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; }
.article-ad p { color: var(--navy); font-size: 12px; font-weight: 800; margin: 28px 0 0; }
.page-footer { margin-top: 0; }
.content-hero { padding-bottom: 62px; padding-top: 67px; }
.content-hero h1 { font-size: clamp(42px, 5vw, 66px); margin-bottom: 20px; max-width: 800px; }
.content-hero > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 680px; }
.content-grid { border-top: 1px solid var(--line); display: grid; gap: 70px; grid-template-columns: minmax(0, 1.15fr) minmax(230px, 0.85fr); padding-bottom: 110px; padding-top: 55px; }
.prose { max-width: 700px; }
.prose h2 { font-size: 28px; margin: 0 0 14px; }
.prose h2:not(:first-of-type) { margin-top: 39px; }
.prose p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.prose .updated-note { color: var(--orange); font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; margin-bottom: 35px; text-transform: uppercase; }
.content-side { align-self: start; display: grid; gap: 14px; }
.content-side .text-link { margin-top: 18px; }

@media (max-width: 900px) {
  .hero { gap: 38px; grid-template-columns: 1fr; padding-bottom: 70px; padding-top: 38px; }
  .hero-copy { padding-top: 0; }
  .hero-visual { max-width: 610px; width: 100%; }
  .tools-layout, .method { grid-template-columns: 1fr; }
  .tool-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .tool-nav-footnote { grid-column: 1 / -1; margin-top: 10px; padding-top: 12px; }
  .method { gap: 35px; }
  .principle-card-dark { transform: none; }
}

@media (max-width: 650px) {
  .site-header { gap: 15px; padding: 18px 20px; }
  .main-nav { display: none; }
  .header-cta { font-size: 10px; padding: 9px 11px; }
  .section-wrap { padding-left: 20px; padding-right: 20px; }
  .hero { margin-top: 5px; padding: 35px 20px 65px; }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-proof { gap: 12px; justify-content: space-between; margin-top: 45px; }
  .hero-proof span { max-width: 80px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .tool-search { max-width: none; }
  .category-tabs { gap: 18px; }
  .tool-nav { gap: 6px; grid-template-columns: 1fr; }
  .calculator-header { flex-direction: column; }
  .calculator-header-side { align-items: flex-start; flex-direction: row; }
  .calculator-body { padding: 18px; }
  .calculator-grid { grid-template-columns: 1fr; }
  .assumption-strip { flex-direction: column; gap: 10px; }
  .assumption-strip h4 { flex-basis: auto; }
  .principle-grid, .reference-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 175px; }
  .principle-card h3, .reference-card h3 { margin-top: 28px; }
  .reference-card { min-height: 220px; }
  .closing { align-items: flex-start; flex-direction: column; gap: 24px; margin-left: 20px; margin-right: 20px; padding: 30px 23px; }
  .site-footer { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .footer-meta { justify-content: flex-start; }
  .tool-page-layout, .tool-article, .content-grid { grid-template-columns: 1fr; }
  .tool-page-sidebar { position: static; }
  .tool-article { gap: 30px; }
}

@media print {
  .site-header, .hero, .tool-nav, .category-tabs, .tool-search, .ad-slot, .method, .reference, .closing, .site-footer, .print-row { display: none !important; }
  .tool-studio, .section-wrap { margin: 0; max-width: none; padding: 0; }
  .calculator-panel { border: 0; box-shadow: none; }
  .calculator-header { padding-left: 0; padding-right: 0; }
}
