:root {
  --ink: #16383a;
  --ink-soft: #527072;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --teal: #0b7477;
  --teal-dark: #07575b;
  --aqua: #6ccbc8;
  --aqua-soft: #dff3ef;
  --coral: #e8785e;
  --line: #d8ded8;
  --white: #fff;
  --shadow: 0 24px 70px rgba(24, 57, 58, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(232,120,94,.38); outline-offset: 3px; }
button:disabled, .is-disabled { opacity: .48; cursor: not-allowed !important; }
svg { display: block; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1240px; margin: 0 auto; padding: 0 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 "Manrope", sans-serif; letter-spacing: -0.7px; }
.brand-mark { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--teal); border-radius: 50%; background: #d8efea; font-size: 24px; }
.brand-mark svg { width: 23px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-header nav { display: flex; gap: 34px; margin-right: auto; font-weight: 600; font-size: 14px; }
.site-header nav a { position: relative; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--coral); transition: right .2s ease; }
.site-header nav a:hover::after { right: 0; }
.preference-controls { display: flex; align-items: center; }
.preferences-trigger { min-height: 42px; padding: 6px 11px 6px 10px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: rgba(255,253,248,.88); cursor: pointer; box-shadow: 0 5px 16px rgba(24,57,58,.05); transition: border-color .2s, box-shadow .2s, transform .2s; }
.preferences-trigger:hover { transform: translateY(-1px); border-color: #a9c7c2; box-shadow: 0 8px 20px rgba(24,57,58,.09); }
.preferences-trigger > svg { width: 19px; height: 19px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.preferences-trigger-label { min-width: 78px; display: grid; gap: 1px; text-align: left; }
.preferences-trigger-label small { color: #7b8f8c; text-transform: uppercase; letter-spacing: .08em; font-size: 7px; font-weight: 800; }
.preferences-trigger-label strong { white-space: nowrap; font: 800 10px "Manrope",sans-serif; }
.preferences-chevron { color: #7d918e; font-size: 15px; line-height: 1; transform: translateY(-2px); }
.workspace-header .preference-controls { margin-left: auto; }
.workspace-header .preference-controls + .workspace-status,
.workspace-header .preference-controls + .edit-project-link { margin-left: 4px; }
.preferences-dialog { width: min(720px,calc(100vw - 32px)); max-height: min(760px,calc(100vh - 32px)); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 35px 100px rgba(5,35,36,.35); }
.preferences-dialog::backdrop { background: rgba(9,38,39,.58); backdrop-filter: blur(4px); }
.preferences-dialog-head { position: sticky; z-index: 2; top: 0; padding: 28px 30px 22px; display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e3e7e2; background: rgba(255,253,248,.96); backdrop-filter: blur(10px); }
.preferences-dialog-head span { color: var(--coral); text-transform: uppercase; letter-spacing: 1.5px; font: 800 9px "Manrope",sans-serif; }
.preferences-dialog-head h2 { margin: 5px 0 8px; font: 700 28px/1.1 "Manrope",sans-serif; letter-spacing: -1px; }
.preferences-dialog-head p { max-width: 510px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.preferences-close { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; font-size: 24px; line-height: 1; }
.preferences-section { padding: 24px 30px 2px; }
.preferences-section:last-child { padding-bottom: 30px; }
.preferences-section h3 { margin: 0 0 12px; color: #68817e; text-transform: uppercase; letter-spacing: 1.2px; font: 800 9px "Manrope",sans-serif; }
.language-choice-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.unit-choice-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.preference-option { min-width: 0; min-height: 66px; padding: 11px; display: grid; grid-template-columns: 38px minmax(0,1fr) 19px; align-items: center; gap: 10px; border: 1px solid #dce3de; border-radius: 13px; color: var(--ink); background: white; cursor: pointer; text-align: left; transition: border-color .18s, background .18s, box-shadow .18s; }
.preference-option:hover { border-color: #9fc6c0; background: #f6fbf9; }
.preference-option.selected { border-color: var(--teal); background: var(--aqua-soft); box-shadow: inset 0 0 0 1px var(--teal); }
.choice-code { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--teal); background: #edf5f2; font: 800 10px "Manrope",sans-serif; }
.preference-option.selected .choice-code { color: white; background: var(--teal); }
.preference-option > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.preference-option strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 12px "Manrope",sans-serif; }
.preference-option small { min-height: 14px; overflow: hidden; color: #758a87; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.preference-option i { opacity: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-style: normal; font-size: 10px; }
.preference-option.selected i { opacity: 1; }
.header-cta { border: 1px solid var(--teal); border-radius: 99px; padding: 11px 19px; color: white; background: var(--teal); box-shadow: 0 9px 22px rgba(11,116,119,.2); font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.header-cta:hover { transform: translateY(-2px); background: var(--teal-dark); box-shadow: 0 13px 28px rgba(11,116,119,.26); }
.header-cta:focus-visible { outline: 3px solid rgba(232,120,94,.35); outline-offset: 3px; }
.nav-toggle { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 800; }

.hero { max-width: 1240px; margin: 0 auto; padding: 75px 26px 95px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 65px; min-height: 710px; }
.eyebrow { margin: 0 0 20px; color: var(--teal); text-transform: uppercase; letter-spacing: 2px; font: 700 11px/1.2 "Manrope", sans-serif; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 26px; height: 2px; background: var(--coral); }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -3px; line-height: .98; margin: 0; }
h1 { font-size: clamp(55px, 5.25vw, 77px); font-weight: 700; max-width: 650px; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--teal); }
.hero-intro { max-width: 570px; color: var(--ink-soft); font-size: 18px; line-height: 1.7; margin: 28px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 51px; padding: 0 23px; border: 0; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); box-shadow: 0 12px 28px rgba(11,116,119,.22); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 16px 34px rgba(11,116,119,.28); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.text-link { font-weight: 700; font-size: 14px; }
.text-link span { color: var(--coral); margin-left: 6px; }
.hero-proof { display: flex; gap: 0; margin-top: 52px; }
.hero-proof div { padding: 0 28px; border-left: 1px solid #cdd3cd; display: flex; flex-direction: column; }
.hero-proof div:first-child { padding-left: 0; border: 0; }
.hero-proof strong { font: 700 20px "Manrope", sans-serif; }
.hero-proof span { color: var(--ink-soft); font-size: 11px; margin-top: 3px; }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; }
.sun-orbit { position: absolute; width: 470px; height: 470px; border: 1px solid rgba(11,116,119,.12); border-radius: 50%; }
.sun-orbit::before { content: ""; position: absolute; width: 82px; height: 82px; background: #f1bda7; border-radius: 50%; top: 14px; right: 24px; opacity: .65; }
.visual-card { position: relative; width: min(100%, 570px); min-height: 455px; background: rgba(255,253,248,.9); border: 1px solid rgba(22,56,58,.1); box-shadow: var(--shadow); border-radius: 28px; padding: 24px; backdrop-filter: blur(10px); }
.visual-card-top { display: flex; justify-content: space-between; font: 700 12px "Manrope", sans-serif; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); background: #e2f4f0; padding: 6px 10px; border-radius: 99px; font-size: 10px; }
.live-pill i, .saved-status i { width: 6px; height: 6px; border-radius: 50%; background: #4eba83; box-shadow: 0 0 0 3px rgba(78,186,131,.15); }
.hero-pool { width: 100%; margin-top: 3px; }
.visual-result { position: absolute; left: 27px; right: 27px; bottom: 23px; display: grid; grid-template-columns: 1fr auto; align-items: end; padding-top: 18px; border-top: 1px solid var(--line); }
.visual-result > span:first-child { font-size: 12px; font-weight: 700; }
.visual-result strong { grid-row: span 2; font: 800 36px/1 "Manrope", sans-serif; letter-spacing: -2px; color: var(--teal); }
.visual-result strong small { font-size: 16px; letter-spacing: 0; }
.result-note { color: var(--ink-soft); font-size: 11px; }
.floating-card { position: absolute; z-index: 3; background: white; border: 1px solid rgba(22,56,58,.08); box-shadow: 0 15px 40px rgba(24,57,58,.15); border-radius: 14px; font-size: 11px; }
.floating-depth { top: 74px; left: -25px; padding: 12px 16px; }
.floating-depth span { color: var(--ink-soft); margin-right: 10px; }
.floating-shield { right: -22px; bottom: 116px; display: flex; gap: 10px; align-items: center; padding: 12px 15px; }
.floating-shield svg { width: 25px; fill: none; stroke: var(--teal); stroke-width: 1.8; }
.floating-shield span { display: flex; flex-direction: column; color: var(--ink-soft); }
.floating-shield strong { color: var(--ink); }

.trust-strip { min-height: 64px; padding: 18px 30px; background: var(--ink); color: #d5e4df; display: flex; justify-content: center; align-items: center; gap: 46px; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--coral); }

.calculator-section { padding: 105px 24px 120px; background: #faf8f2; }
.section-heading { max-width: 680px; text-align: center; margin: 0 auto 54px; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .content-section h2, .faq-section h2 { font-size: clamp(42px, 4vw, 60px); }
.section-heading > p:last-child { color: var(--ink-soft); margin: 20px auto 0; max-width: 550px; }
.app-shell { max-width: 1190px; margin: auto; background: var(--paper); border: 1px solid #dde0db; border-radius: 26px; box-shadow: 0 30px 80px rgba(28,58,57,.1); overflow: hidden; }
.app-toolbar { min-height: 72px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e3e4df; }
.project-name { display: flex; align-items: center; gap: 11px; }
.project-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--aqua-soft); color: var(--teal); border-radius: 9px; font-weight: 800; }
.project-name div { display: flex; flex-direction: column; }
.project-name small { font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; color: #7b9291; }
.project-name strong { font-size: 14px; }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.saved-status { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #66807c; margin-right: 6px; }
.icon-button, .outline-button { min-height: 36px; border-radius: 9px; background: transparent; border: 1px solid #ced6d2; cursor: pointer; font-weight: 700; font-size: 12px; }
.icon-button { width: 36px; font-size: 18px; }
.outline-button { padding: 0 15px; }
.stepper { padding: 22px 28px; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid #e3e4df; }
.stepper > div { height: 1px; background: #dce1dd; }
.step { border: 0; background: transparent; display: flex; align-items: center; gap: 8px; color: #879997; cursor: pointer; padding: 0; }
.step span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #c9d2ce; font-size: 10px; font-weight: 800; }
.step strong { font-size: 11px; }
.step.active { color: var(--teal); }
.step.active span { border-color: var(--teal); background: var(--teal); color: white; }
.step.completed span { border-color: var(--teal); color: transparent; position: relative; }
.step.completed span::after { content: "✓"; position: absolute; color: var(--teal); }
.app-grid { display: grid; grid-template-columns: 1fr 1.03fr; min-height: 670px; }
.config-panel { padding: 34px 36px 28px; border-right: 1px solid #e3e4df; }
.step-panel { display: none; animation: fadeIn .25s ease; }
.step-panel.active { display: block; }
@keyframes fadeIn { from { opacity: .2; transform: translateY(5px); } }
.panel-heading { display: flex; gap: 13px; margin-bottom: 26px; }
.panel-heading > span { color: var(--coral); font: 800 11px "Manrope", sans-serif; padding-top: 5px; }
.panel-heading h3 { font: 700 20px/1.25 "Manrope", sans-serif; letter-spacing: -.6px; margin: 0 0 4px; }
.panel-heading p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.shape-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.shape-option { position: relative; min-height: 104px; border: 1px solid #dce1dc; background: white; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; cursor: pointer; }
.shape-option:hover { border-color: #9ebdb9; }
.shape-option svg { width: 64px; height: 43px; fill: #d9eeea; stroke: var(--teal); stroke-width: 1.8; stroke-linejoin: round; }
.shape-option span { font-size: 10px; font-weight: 700; }
.shape-option i { display: none; position: absolute; top: 7px; right: 7px; width: 17px; height: 17px; border-radius: 50%; background: var(--teal); color: white; font: normal 10px/17px sans-serif; }
.shape-option.selected { border: 2px solid var(--teal); background: #f2faf7; }
.shape-option.selected i { display: block; }
.form-section { margin-top: 26px; padding-top: 21px; border-top: 1px solid #e2e4df; }
.form-section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.form-section-title h4 { margin: 0; font: 700 12px "Manrope", sans-serif; }
.form-section-title span { color: #809390; font-size: 9px; text-transform: uppercase; letter-spacing: .8px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-grid.three { grid-template-columns: repeat(3,1fr); }
.field { display: block; }
.field > span { display: block; margin-bottom: 6px; color: #5f7775; font-size: 10px; font-weight: 600; }
.field > div { height: 44px; display: flex; align-items: center; border: 1px solid #d5dcd8; border-radius: 8px; background: white; overflow: hidden; transition: border .2s, box-shadow .2s; }
.field > div:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,116,119,.08); }
.field input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; padding: 0 12px; color: var(--ink); background: transparent; font-weight: 700; }
.field b { align-self: stretch; min-width: 41px; padding: 0 8px; background: #f2f3ef; display: grid; place-items: center; color: #687d7b; font-size: 9px; font-weight: 700; white-space: nowrap; }
.field-hint { color: #829491; font-size: 10px; margin: 9px 0 0; }
.helper-box, .safety-note { margin: 16px 0 0; background: #eaf6f3; color: #53706d; border-radius: 9px; padding: 11px 13px; font-size: 10px; }
.helper-box span { color: var(--teal); margin-right: 6px; }
.panel-nav { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e2e4df; display: flex; align-items: center; justify-content: space-between; }
.panel-nav .button { min-height: 43px; padding: 0 18px; font-size: 11px; }
.back-button { border: 0; background: transparent; cursor: pointer; color: #5e7774; font-weight: 700; font-size: 11px; }
.profile-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-choice button { border: 1px solid #d6ded9; background: white; border-radius: 11px; min-height: 85px; display: flex; gap: 14px; align-items: center; padding: 13px; cursor: pointer; }
.profile-choice button.selected { border: 2px solid var(--teal); background: #f3faf8; }
.profile-choice strong { font-size: 11px; }
.profile-mini { position: relative; width: 72px; height: 43px; border: 1px solid #bed8d5; border-radius: 6px; background: #e6f5f2; overflow: hidden; }
.profile-mini::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--teal); }
.profile-mini.slope::after { left: -4px; right: -4px; bottom: 10px; transform: rotate(10deg); transform-origin: right; }
.fixture-card { border: 1px solid #dce1dc; border-radius: 12px; margin-top: 13px; overflow: hidden; }
.fixture-toggle { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 13px; align-items: center; padding: 13px 15px; }
.fixture-icon { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; background: #e5f3ef; color: var(--teal); font-size: 24px; }
.fixture-toggle > div:nth-child(2) { display: flex; flex-direction: column; }
.fixture-toggle strong { font-size: 12px; }
.fixture-toggle span { color: #7b8f8d; font-size: 9px; }
.switch { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch > span { position: relative; width: 34px; height: 19px; border-radius: 20px; background: #cad3d0; }
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: white; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { transform: translateX(15px); }
.switch i { color: #6f8582; font-style: normal; font-size: 9px; }
.fixture-fields { padding: 15px; border-top: 1px solid #e4e6e2; background: #fbfaf6; }
.result-input-group { padding: 15px 0; border-bottom: 1px solid #e2e4df; }
.result-input-group:first-of-type { padding-top: 0; }
.safety-note { background: #fff1eb; color: #8b5a4b; line-height: 1.55; }

.preview-panel { position: relative; min-width: 0; background: #eef4f0; padding: 20px; }
.preview-tabs { width: max-content; margin: 0 auto 15px; padding: 3px; display: flex; background: #dde7e2; border-radius: 8px; }
.preview-tabs button { min-width: 76px; height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #69807d; font-size: 9px; font-weight: 700; cursor: pointer; }
.preview-tabs button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(26,58,56,.09); }
.preview-stage { position: relative; height: 335px; border-radius: 13px; border: 1px solid #d8e1dd; background-color: #f8faf6; background-image: linear-gradient(#e7ece7 1px, transparent 1px), linear-gradient(90deg,#e7ece7 1px,transparent 1px); background-size: 22px 22px; overflow: hidden; }
.preview-stage > svg { width: 100%; height: 100%; }
.zoom-note { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; color: #899996; font-size: 8px; pointer-events: none; }
.result-card { margin-top: 14px; background: white; border-radius: 14px; border: 1px solid #dbe1dd; padding: 18px; }
.result-card-main { display: flex; align-items: center; justify-content: space-between; }
.result-card-main > div:first-child { display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: end; }
.result-card-main span { grid-column: span 2; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: #718683; }
.result-card-main strong { font: 800 33px/1.1 "Manrope", sans-serif; letter-spacing: -1.8px; color: var(--teal); }
.result-card-main strong small { font-size: 13px; letter-spacing: 0; }
.result-card-main p { margin: 0 0 4px; font-size: 9px; color: #718683; }
.accuracy-badge { display: flex; align-items: center; gap: 8px; background: #eef8f5; padding: 8px 11px; border-radius: 9px; }
.accuracy-badge > span { width: 25px; height: 25px; display: grid; place-items: center; background: #d8efea; border-radius: 50%; color: var(--teal); font-size: 16px; }
.accuracy-badge div { display: flex; flex-direction: column; }
.accuracy-badge small { color: #748a87; font-size: 7px; text-transform: uppercase; }
.accuracy-badge strong { color: var(--ink); font-size: 11px; letter-spacing: 0; }
.volume-breakdown { display: flex; margin-top: 14px; border-top: 1px solid #e3e6e2; border-bottom: 1px solid #e3e6e2; padding: 10px 0; }
.volume-breakdown div { flex: 1; display: flex; justify-content: space-between; padding-right: 14px; font-size: 9px; }
.volume-breakdown div + div { border-left: 1px solid #e3e6e2; padding-left: 14px; padding-right: 0; }
.volume-breakdown span { color: #748783; text-transform: none; letter-spacing: 0; }
.volume-breakdown strong { font-size: 10px; }
.quick-results { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.quick-results > div { display: flex; align-items: center; gap: 9px; background: #f5f6f2; padding: 8px; border-radius: 8px; }
.quick-icon { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 7px; background: #e1f0ec; color: var(--teal); font-size: 13px; }
.quick-results p { margin: 0; color: #748783; font-size: 8px; line-height: 1.3; }
.quick-results strong { display: block; color: var(--ink); font-size: 10px; margin-top: 2px; }
.result-disclaimer { margin: 10px 0 0; text-align: center; color: #899794; font-size: 7px; }

.method-section { padding: 110px max(6vw,24px); background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.eyebrow.light { color: #8fd1ca; }
.method-copy h2, .final-cta h2 { font-size: clamp(42px, 4.5vw, 65px); }
.method-copy h2 em, .final-cta h2 em { color: #8fd1ca; }
.method-copy > p:not(.eyebrow) { color: #b7cac7; max-width: 570px; margin: 26px 0; }
.formula-card { max-width: 470px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(255,255,255,.04); }
.formula-card span { grid-row: span 2; align-self: center; color: #9ab4b0; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.formula-card strong { color: #9fddd6; font: 600 18px "Manrope", sans-serif; }
.formula-card i { color: #f1a38f; font-size: 11px; font-style: normal; }
.method-steps article { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.method-steps article > span { color: var(--coral); font: 700 11px "Manrope", sans-serif; }
.method-steps h3 { margin: 0 0 6px; font: 700 18px "Manrope", sans-serif; }
.method-steps p { margin: 0; color: #a9c0bc; font-size: 13px; }

.content-section { padding: 110px max(6vw,24px); background: var(--paper); }
.section-heading.left { text-align: left; margin: 0 0 46px; }
.section-heading.left .eyebrow { justify-content: flex-start; }
.advice-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.advice-grid article { padding: 30px; border: 1px solid #dfe2dd; border-radius: 15px; background: #fffefa; }
.advice-grid article > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--aqua-soft); color: var(--teal); font-size: 19px; }
.advice-grid h3 { font: 700 17px "Manrope", sans-serif; margin: 22px 0 8px; }
.advice-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.faq-section { padding: 110px max(6vw,24px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.faq-intro > p:last-child { color: var(--ink-soft); max-width: 420px; }
.faq-list details { border-bottom: 1px solid #ccd4ce; padding: 19px 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--coral); font-size: 20px; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { color: var(--ink-soft); font-size: 13px; margin: 14px 35px 2px 0; }

.final-cta { padding: 80px max(7vw,24px); background: var(--teal); color: white; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.button-light { color: var(--teal); background: white; white-space: nowrap; }
footer { padding: 55px max(6vw,24px) 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; background: #102f31; color: white; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
footer p { color: #94aaa7; font-size: 12px; }
footer > div { display: flex; gap: 22px; font-size: 11px; }
footer small { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #718d89; font-size: 9px; }

/* Pied de page de production et confidentialité */
.site-footer { grid-template-columns: minmax(220px,1fr) minmax(320px,1fr); align-items: start; gap: 50px; }
.footer-primary { display: block; }
.footer-primary p { max-width: 310px; margin: 16px 0 0; }
.footer-links { justify-self: end; display: grid; grid-template-columns: repeat(2,minmax(130px,1fr)); gap: 42px; }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links strong { margin-bottom: 5px; color: #d7e8e4; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a, .footer-links button { padding: 0; border: 0; color: #94aaa7; background: transparent; cursor: pointer; font-size: 11px; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.site-footer small { grid-column: 1 / -1; }

.consent-banner { position: fixed; z-index: 100; left: 20px; right: 20px; bottom: 20px; max-width: 980px; margin: auto; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; color: white; background: #102f31; box-shadow: 0 22px 70px rgba(4,31,33,.32); }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; color: #bad0cc; font-size: 12px; line-height: 1.55; }
.consent-banner p strong { display: block; margin-bottom: 3px; color: white; font: 700 14px "Manrope",sans-serif; }
.consent-banner p a { color: white; text-decoration: underline; }
.consent-banner > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-banner button { min-width: 126px; min-height: 42px; border: 1px solid #6f8c88; border-radius: 99px; color: white; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.consent-banner button:last-child { border-color: var(--coral); background: var(--coral); }
.consent-banner button:focus-visible, .nav-toggle:focus-visible, .footer-links button:focus-visible { outline: 3px solid rgba(232,120,94,.4); outline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%,30px); opacity: 0; pointer-events: none; z-index: 50; padding: 11px 17px; border-radius: 10px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 12px; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1000px) {
  .site-header { position: relative; }
  .site-header nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header nav[data-open] { position: absolute; z-index: 40; top: 72px; left: 20px; right: 20px; display: flex; flex-direction: column; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
  .site-header nav[data-open] a { padding: 12px 13px; border-radius: 9px; }
  .site-header nav[data-open] a:hover { background: var(--aqua-soft); }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .hero-proof { justify-content: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .hero-visual { width: min(660px,100%); margin: auto; }
  .app-grid { grid-template-columns: 1fr; }
  .config-panel { border-right: 0; border-bottom: 1px solid #e3e4df; }
  .preview-panel { min-height: 660px; }
  .method-section, .faq-section { grid-template-columns: 1fr; gap: 55px; }
}

@media (max-width: 700px) {
  .site-header { height: 68px; padding: 0 16px; }
  .site-header { position: relative; }
  .site-header nav, .header-cta { display: none; }
  .preferences-trigger { min-height: 38px; padding: 6px 9px; border-radius: 99px; }
  .preferences-trigger-label { min-width: auto; }
  .preferences-trigger-label small { display: none; }
  .preferences-trigger-label strong { font-size: 9px; }
  .preferences-chevron { display: none; }
  .site-header nav[data-open] { position: absolute; z-index: 40; top: 60px; left: 16px; right: 16px; display: flex; flex-direction: column; gap: 4px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
  .site-header nav[data-open] a { padding: 12px 13px; border-radius: 9px; }
  .site-header nav[data-open] a:hover { background: var(--aqua-soft); }
  .preferences-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); border-radius: 19px; }
  .preferences-dialog-head { padding: 22px 19px 18px; }
  .preferences-dialog-head h2 { font-size: 23px; }
  .preferences-section { padding: 19px 19px 0; }
  .preferences-section:last-child { padding-bottom: 22px; }
  .language-choice-grid, .unit-choice-grid { grid-template-columns: 1fr; }
  .hero { padding: 55px 20px 70px; min-height: auto; gap: 45px; }
  h1 { font-size: 49px; letter-spacing: -2.5px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 17px; }
  .hero-proof { margin-top: 38px; }
  .hero-proof div { padding: 0 12px; }
  .hero-proof strong { font-size: 16px; }
  .hero-proof span { font-size: 8px; }
  .hero-visual { min-height: 390px; }
  .visual-card { min-height: 360px; padding: 16px; }
  .hero-pool { margin-top: 10px; }
  .sun-orbit { width: 340px; height: 340px; }
  .floating-card { display: none; }
  .visual-result strong { font-size: 27px; }
  .trust-strip { justify-content: flex-start; overflow-x: auto; gap: 22px; white-space: nowrap; }
  .calculator-section { padding: 75px 10px 85px; }
  .section-heading { padding: 0 15px; }
  .section-heading h2, .content-section h2, .faq-section h2 { font-size: 42px; letter-spacing: -2.2px; }
  .app-toolbar { padding: 10px 13px; }
  .saved-status, #resetButton { display: none; }
  .stepper { padding: 16px 14px; gap: 5px; }
  .step strong { display: none; }
  .config-panel { padding: 27px 18px 22px; }
  .shape-grid { grid-template-columns: 1fr 1fr; }
  .field-grid, .field-grid.three { grid-template-columns: 1fr 1fr; }
  .field-grid.three .field:last-child { grid-column: span 2; }
  .preview-panel { padding: 12px; min-height: auto; }
  .preview-stage { height: 280px; }
  .result-card-main { align-items: flex-start; }
  .result-card-main > div:first-child { display: block; }
  .result-card-main p { margin-top: 3px; }
  .volume-breakdown { display: block; }
  .volume-breakdown div { padding: 5px 0; }
  .volume-breakdown div + div { border-left: 0; padding: 5px 0; }
  .method-section, .content-section, .faq-section { padding: 80px 22px; }
  .advice-grid { grid-template-columns: 1fr; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  footer { grid-template-columns: 1fr; }
  footer small { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { justify-self: stretch; grid-template-columns: 1fr 1fr; gap: 24px; }
  .site-footer small { grid-column: 1; }
  .consent-banner { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .consent-banner button { min-width: 0; }
}

@media print {
  .site-header, .hero, .trust-strip, .section-heading, .config-panel, .method-section, .content-section, .faq-section, .final-cta, footer, .preview-tabs, .toolbar-actions { display: none !important; }
  body, .calculator-section { background: white; }
  .calculator-section { padding: 0; }
  .app-shell { border: 0; box-shadow: none; }
  .app-grid { display: block; }
  .preview-panel { background: white; }
  .preview-stage { break-inside: avoid; }
}

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