:root {
  --ink: #161814;
  --muted: #666b62;
  --line: #d9ddd4;
  --paper: #f4f5f0;
  --white: #fcfdf9;
  --acid: #d7ff45;
  --blue: #3857ff;
  --orange: #ff6b2b;
  --shadow: 0 18px 50px rgba(31, 37, 25, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.site-header { height: 72px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); background: rgba(244,245,240,.92); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: white; background: var(--ink); font-size: 12px; }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a { text-decoration: none; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--ink); }
.ghost-button { text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 10px 15px; font-size: 13px; font-weight: 700; }
.ghost-button { background: transparent; cursor: pointer; white-space: nowrap; }
.language-switcher { position: relative; }
.language-switcher summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { display: none; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; width: min(520px, calc(100vw - 32px)); padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 22px 60px rgba(16,20,14,.18); }
.language-menu a { padding: 10px 11px; border-radius: 8px; text-decoration: none; font-size: 12px; }
.language-menu a:hover, .language-menu a[aria-current="page"] { background: #e9ebff; color: var(--blue); font-weight: 760; }

main { overflow: hidden; }
.hero { max-width: 1240px; margin: 0 auto; padding: 92px clamp(20px, 5vw, 72px) 58px; position: relative; }
.hero::before { content: ""; position: absolute; width: 410px; height: 410px; right: -140px; top: 24px; border: 1px solid #c9cec3; border-radius: 50%; box-shadow: inset 0 0 0 65px var(--paper), inset 0 0 0 66px #c9cec3, inset 0 0 0 130px var(--paper), inset 0 0 0 131px #c9cec3; opacity: .75; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; font-size: 12px; font-weight: 700; position: relative; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ca64c; box-shadow: 0 0 0 4px rgba(76,166,76,.13); }
h1 { max-width: 920px; font-size: clamp(52px, 7.4vw, 104px); line-height: .92; letter-spacing: -.072em; margin: 34px 0 28px; position: relative; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--blue); }
.hero-copy { max-width: 720px; font-size: clamp(18px, 2vw, 24px); line-height: 1.5; color: var(--muted); margin: 0; position: relative; }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 34px; position: relative; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; text-decoration: none; background: var(--ink); color: white; border-radius: 12px; font-weight: 760; }
.text-button { border: 0; background: transparent; padding: 12px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; font-weight: 700; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 12px; font-weight: 650; position: relative; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 72px; position: relative; }
.fact-row > div { padding: 26px 18px 6px 0; border-right: 1px solid var(--line); }
.fact-row > div:not(:first-child) { padding-left: 22px; }
.fact-row > div:last-child { border-right: 0; }
.fact-row strong { display: block; font-size: 28px; letter-spacing: -.04em; }
.fact-row span { color: var(--muted); font-size: 13px; }

.value-section { max-width: 1240px; margin: 0 auto; padding: 42px clamp(20px, 5vw, 72px) 88px; }
.value-intro { display: grid; grid-template-columns: 180px 1.25fr 1fr; gap: 30px; align-items: start; margin-bottom: 28px; }
.value-intro h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -.055em; }
.value-intro p { margin: 0; color: var(--muted); line-height: 1.55; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.value-grid article { min-height: 230px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.value-grid article > strong { color: var(--blue); font-size: 11px; letter-spacing: .12em; }
.value-grid h3 { margin: 42px 0 12px; font-size: 24px; letter-spacing: -.04em; }
.value-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.outcome-banner { display: grid; grid-template-columns: 180px 1fr; gap: 30px; margin-top: 14px; padding: 22px 25px; border-radius: 14px; background: var(--ink); color: white; }
.outcome-banner span { color: var(--acid); font-weight: 850; font-size: 10px; letter-spacing: .12em; }
.outcome-banner strong { font-size: 18px; }

.calculator-section, .dimensions-section, .footprint-section, .method-section, .code-section, .faq-section { max-width: 1240px; margin: 0 auto; padding: 88px clamp(20px, 5vw, 72px); }
.calculator-section.alt { max-width: none; background: #e9ebff; }
.calculator-section.alt > * { max-width: 1096px; margin-left: auto; margin-right: auto; }
.section-heading { display: grid; grid-template-columns: 180px 1.35fr 1fr; gap: 30px; align-items: start; margin-bottom: 34px; }
.section-heading > span, .eyebrow-text { color: var(--blue); font-weight: 850; font-size: 11px; letter-spacing: .12em; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.055em; }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.section-heading.compact { grid-template-columns: 180px 1.35fr 1fr; }

.tool-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.controls { padding: 30px; }
.field-row { margin-bottom: 22px; }
.field-row:last-child { margin-bottom: 0; }
.field-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; margin-bottom: 8px; font-size: 12px; color: var(--muted); font-weight: 720; }
input, select { width: 100%; border: 1px solid #cbd0c5; border-radius: 10px; background: white; min-height: 46px; padding: 0 12px; color: var(--ink); outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56,87,255,.12); }
.input-with-unit { position: relative; }
.input-with-unit input { padding-right: 76px; }
.input-with-unit span { position: absolute; right: 11px; top: 15px; color: var(--muted); font-size: 11px; pointer-events: none; }

.result-panel { padding: 34px; display: flex; flex-direction: column; justify-content: center; min-height: 480px; }
.result-topline { display: flex; justify-content: space-between; font-size: 13px; font-weight: 750; margin-bottom: 11px; }
.meter { height: 12px; background: #e7eadf; border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .25s ease, background .25s ease; }
.big-number { margin: 34px 0; }
.big-number strong { font-size: clamp(50px, 7vw, 86px); letter-spacing: -.07em; }
.big-number span { color: var(--muted); }
.breakdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.breakdown div { background: #eef0e9; border-radius: 10px; padding: 13px; }
.breakdown span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.breakdown strong { font-size: 16px; }
.result-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.result-panel.dark { background: var(--ink); color: white; border-color: var(--ink); }
.result-kicker { color: #bfc4b7; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.storage-total { font-size: clamp(58px, 8vw, 96px); font-weight: 820; letter-spacing: -.075em; margin: 12px 0 30px; color: var(--acid); }
.result-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.result-cards div { padding: 14px; border: 1px solid #3b3f37; border-radius: 10px; }
.result-cards span { color: #aeb4a7; display: block; font-size: 11px; margin-bottom: 6px; }
.result-cards strong { font-size: 18px; }
.copy-button { margin-top: 18px; min-height: 45px; border: 0; border-radius: 10px; background: var(--acid); color: var(--ink); cursor: pointer; font-weight: 800; }

.use-case-picker { display: inline-flex; background: #e5e7df; padding: 5px; border-radius: 12px; margin: 8px 0 24px 180px; }
.use-case-picker button { border: 0; background: transparent; padding: 10px 15px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.use-case-picker button.active { color: var(--ink); background: white; box-shadow: 0 3px 12px rgba(0,0,0,.08); font-weight: 750; }
.dimension-table { border-top: 1px solid var(--ink); }
.dimension-row { display: grid; grid-template-columns: 120px 1fr 1fr 1fr; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.dimension-row.header { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.dimension-row strong { font-size: 24px; letter-spacing: -.03em; }
.dimension-row.recommended { background: linear-gradient(90deg, rgba(215,255,69,.65), transparent); }
.badge { display: inline-flex; background: var(--ink); color: white; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 780; margin-left: 7px; vertical-align: middle; }
.quality-bar { height: 7px; background: #dfe2d8; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.quality-bar i { display: block; height: 100%; background: var(--blue); }
.recommendation { margin: 18px 0 0 180px; max-width: 760px; padding: 16px 18px; border-left: 3px solid var(--blue); background: white; line-height: 1.5; }

.footprint-section { background: var(--acid); max-width: none; }
.footprint-section > * { max-width: 1096px; margin-left: auto; margin-right: auto; }
.footprint-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modality-options, .footprint-result { padding: 26px; border: 1px solid rgba(22,24,20,.38); border-radius: 16px; background: rgba(255,255,255,.35); }
.modality-options label { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: 15px; padding: 15px 0; margin: 0; border-bottom: 1px solid rgba(22,24,20,.18); cursor: pointer; }
.modality-options label:last-child { border-bottom: 0; }
.modality-options input { width: 20px; min-height: 20px; margin: 0 auto 0 0; }
.modality-options label span { font-weight: 800; }
.modality-options label.locked { cursor: default; }
.footprint-result { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 18px; }
.footprint-result div { border-left: 2px solid var(--ink); padding-left: 14px; }
.footprint-result span { display: block; font-size: 12px; margin-bottom: 7px; }
.footprint-result strong { font-size: 30px; letter-spacing: -.04em; }
.footprint-result small { grid-column: 1 / -1; color: #555a4d; }

.method-section { background: var(--white); max-width: none; }
.method-section > * { max-width: 1096px; margin-left: auto; margin-right: auto; }
.formula-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.formula-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.formula-grid article > span { color: var(--blue); font-weight: 850; font-size: 10px; letter-spacing: .12em; }
.formula-grid h3 { margin: 11px 0 8px; font-size: 22px; letter-spacing: -.035em; }
.formula-grid p { min-height: 92px; margin: 0 0 18px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.formula-grid code { display: block; padding: 11px 12px; border-radius: 8px; background: var(--ink); color: var(--acid); white-space: normal; font-size: 11px; line-height: 1.45; }
.verification-note { margin-top: 16px; padding: 18px 20px; border-left: 4px solid var(--blue); background: #eef0ff; color: var(--muted); font-size: 13px; line-height: 1.55; }
.verification-note strong { color: var(--ink); }

.code-section { background: #252a24; color: white; max-width: none; }
.code-section > * { max-width: 1096px; margin-left: auto; margin-right: auto; }
.code-section .section-heading p { color: #b7beb1; }
.code-window { border: 1px solid #4a5047; border-radius: 16px; overflow: hidden; background: #111410; }
.code-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: #30352e; color: #cbd1c5; font-size: 12px; }
.code-bar button { border: 1px solid #5b6357; background: transparent; color: white; padding: 7px 11px; border-radius: 8px; cursor: pointer; }
pre { margin: 0; padding: 26px; overflow-x: auto; color: #d9ff74; line-height: 1.65; font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; }

.faq-list { margin-left: 180px; max-width: 850px; border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { list-style: none; cursor: pointer; font-size: 18px; font-weight: 760; padding-right: 40px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 28px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); line-height: 1.65; max-width: 720px; margin: 14px 0 0; }
details code { background: #e5e7df; padding: 2px 5px; border-radius: 4px; }

.sources-section { max-width: 1096px; margin: 20px auto 80px; padding: 44px; border-radius: 22px; color: white; background: var(--blue); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.sources-section h2 { margin: 12px 0 0; font-size: 38px; line-height: 1; letter-spacing: -.045em; }
.sources-section .eyebrow-text { color: var(--acid); }
.source-links { display: grid; }
.source-links a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.35); text-decoration: none; }

footer { padding: 36px clamp(20px, 4vw, 64px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1.3fr; align-items: start; gap: 30px; color: var(--muted); font-size: 12px; }
footer div { display: grid; gap: 4px; }
footer strong { color: var(--ink); font-size: 15px; }
footer p { max-width: 520px; margin: 0; text-align: right; }
.footer-links { grid-template-columns: repeat(2, auto); gap: 9px 18px; }
.footer-links a { text-underline-offset: 3px; }

.simple-page-header { min-height: 66px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--paper); }
.simple-page-header a { text-decoration: none; }
.back-link { color: var(--muted); font-size: 13px; font-weight: 700; }
.prose-page { max-width: 820px; min-height: calc(100vh - 190px); margin: 0 auto; padding: 72px 24px 100px; }
.prose-page .eyebrow-text { display: inline-block; margin-bottom: 18px; }
.prose-page h1 { margin: 0 0 20px; max-width: none; font-size: clamp(44px, 7vw, 76px); line-height: .98; letter-spacing: -.06em; }
.prose-page h2 { margin: 42px 0 12px; font-size: 26px; letter-spacing: -.035em; }
.prose-page p, .prose-page li { color: var(--muted); line-height: 1.72; }
.prose-page li + li { margin-top: 7px; }
.prose-page .notice { padding: 18px 20px; border-left: 4px solid var(--blue); background: #eef0ff; }
.prose-page code { background: #e5e7df; padding: 2px 5px; border-radius: 4px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 11px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .2s ease; z-index: 50; font-size: 13px; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

.support-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 38; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 16px 6px 7px; border: 0; border-radius: 999px; color: white; background: var(--ink); box-shadow: 0 12px 35px rgba(0,0,0,.22); cursor: pointer; }
.auth-link { text-decoration: none; white-space: nowrap; }
.support-launcher span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; color: var(--ink); background: var(--acid); font-size: 18px; font-weight: 900; }
.support-launcher b { font-size: 13px; }
.support-panel { position: fixed; top: 0; right: 0; z-index: 45; width: min(430px, 100vw); height: 100dvh; padding: 26px; overflow-y: auto; background: var(--white); box-shadow: -20px 0 70px rgba(0,0,0,.2); transform: translateX(105%); transition: transform .22s ease; }
.support-panel.open { transform: translateX(0); }
.support-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.support-head span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.support-head h2 { margin: 8px 0 0; font-size: 34px; letter-spacing: -.05em; }
.support-head button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 24px; }
.support-panel > p { color: var(--muted); line-height: 1.55; }
.support-shortcuts { display: grid; margin: 20px 0 28px; border-top: 1px solid var(--line); }
.support-shortcuts a { padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 730; }
.support-shortcuts a::after { content: "↗"; float: right; color: var(--blue); }
.support-panel form { display: grid; gap: 9px; }
.support-panel form label { margin: 8px 0 0; }
.support-panel textarea { width: 100%; resize: vertical; min-height: 120px; padding: 12px; border: 1px solid #cbd0c5; border-radius: 10px; font: inherit; }
.support-panel form .primary-button { width: 100%; margin-top: 8px; border: 0; cursor: pointer; }
.support-panel form small { color: var(--muted); line-height: 1.45; }
.support-result { margin-top: 16px; padding: 15px; border-radius: 10px; background: #e8f5df; }
.support-result p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.support-direct { margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
.support-direct a { color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.auth-page { min-height: 100dvh; background: var(--paper); }
.auth-shell { width: min(480px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 72px; }
.auth-brand { display: inline-flex; margin-bottom: 34px; text-decoration: none; }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 18px 50px rgba(30,36,24,.08); }
.auth-kicker { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.auth-card h1 { margin: 10px 0 8px; font-size: 38px; letter-spacing: -.05em; }
.auth-card > p { color: var(--muted); line-height: 1.55; }
.auth-card form { display: grid; gap: 9px; margin-top: 26px; }
.auth-card label { margin-top: 8px; font-weight: 730; }
.auth-card input { width: 100%; padding: 13px 14px; border: 1px solid #cbd0c5; border-radius: 10px; font: inherit; }
.auth-submit { width: 100%; margin-top: 12px; border: 0; cursor: pointer; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-toggle { display: block; margin: 16px auto 0; padding: 0; border: 0; background: none; color: var(--blue); cursor: pointer; font: inherit; font-size: 13px; font-weight: 750; }
.auth-status { padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.auth-status.success { color: #245c31; background: #e8f5df; }
.auth-status.error { color: #8f2c2c; background: #fff0ed; }
.auth-legal { margin: 24px 0 0; font-size: 12px; text-align: center; }
.auth-legal a { color: var(--blue); }
.support-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.34); backdrop-filter: blur(2px); }
body.support-opened { overflow: hidden; }

[dir="rtl"] body { text-align: right; }
[dir="rtl"] .site-header, [dir="rtl"] .hero-actions, [dir="rtl"] .support-head { direction: rtl; }
[dir="rtl"] nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .language-menu { right: auto; left: 0; }
[dir="rtl"] .support-panel { right: auto; left: 0; transform: translateX(-105%); }
[dir="rtl"] .support-panel.open { transform: translateX(0); }
[dir="rtl"] .support-shortcuts a::after { float: left; }

@media (max-width: 900px) {
  nav { display: none; }
  .language-switcher { margin-left: auto; }
  [dir="rtl"] .language-switcher { margin-left: 0; margin-right: auto; }
  .ghost-button { margin-left: 0; }
  .hero::before { width: 260px; height: 260px; opacity: .38; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .fact-row > div:nth-child(2) { border-right: 0; }
  .section-heading, .section-heading.compact { grid-template-columns: 1fr; gap: 12px; }
  .tool-grid, .footprint-layout { grid-template-columns: 1fr; }
  .value-intro { grid-template-columns: 1fr; gap: 12px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 0; }
  .value-grid h3 { margin-top: 24px; }
  .outcome-banner { grid-template-columns: 1fr; gap: 8px; }
  .formula-grid { grid-template-columns: 1fr; }
  .formula-grid p { min-height: auto; }
  .use-case-picker, .recommendation, .faq-list { margin-left: 0; }
  .sources-section { margin-left: 20px; margin-right: 20px; grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .site-header { height: 62px; }
  .site-header .ghost-button { display: none; }
  .brand > span:last-child { max-width: 125px; line-height: 1.05; }
  .language-menu { position: fixed; top: 70px; left: 12px; right: 12px; width: auto; grid-template-columns: repeat(2, 1fr); max-height: 70vh; overflow-y: auto; }
  .hero { padding-top: 58px; }
  h1 { font-size: 52px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .fact-row { margin-top: 46px; }
  .fact-row strong { font-size: 22px; }
  .calculator-section, .dimensions-section, .footprint-section, .method-section, .code-section, .faq-section { padding-top: 62px; padding-bottom: 62px; }
  .value-section { padding-top: 24px; padding-bottom: 62px; }
  .controls, .result-panel { padding: 22px; }
  .field-row.split { grid-template-columns: 1fr; }
  .result-panel { min-height: 410px; }
  .breakdown, .result-cards { grid-template-columns: 1fr 1fr; }
  .big-number strong { font-size: 55px; }
  .dimension-row { grid-template-columns: 74px 1fr 1fr; gap: 10px; }
  .dimension-row > :nth-child(3) { display: none; }
  .use-case-picker { display: flex; overflow-x: auto; }
  .use-case-picker button { white-space: nowrap; }
  .footprint-result { grid-template-columns: 1fr; }
  .footprint-result small { grid-column: 1; }
  .sources-section { padding: 28px; }
  footer { grid-template-columns: 1fr; }
  footer p { text-align: left; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .support-launcher { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
