:root {
    --ink: #17241f;
    --muted: #5c675f;
    --paper: #f3efe6;
    --paper-2: #e7e1d4;
    --card: #fffdf8;
    --forest: #143028;
    --forest-2: #1c4236;
    --copper: #e36a2f;
    --copper-deep: #b84e14;
    --line: #e3dcd0;
    --sand: #f3efe6;
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(20, 48, 40, 0.14);
    --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-deep); }
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 0.45em;
    color: var(--ink);
}
h1 { font-size: clamp(2.15rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 0.8em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    padding: 8px 12px;
    z-index: 50;
}
.skip:focus { top: 12px; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.kicker {
    display: inline-block;
    margin: 0 0 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: #f0b48a;
}
.kicker-ink { color: var(--copper-deep); }
.lede { font-size: 1.125rem; max-width: 40rem; color: var(--muted); }
.hero .lede { color: rgba(243, 239, 230, 0.84); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(243, 239, 230, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(23, 36, 31, 0.08);
}
.site-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 12px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    min-width: 0;
}
.logo-mark { width: 38px; height: 38px; flex: none; display: block; }
.logo-word {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.03em;
}
.header-tools { display: flex; align-items: center; gap: 8px; }
.nav-call {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1.5px solid var(--forest);
    color: var(--forest);
    text-decoration: none;
    font-weight: 600;
}
.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: var(--card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 40;
}
.nav-panel.is-open { display: grid; gap: 4px; }
.nav-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}
.nav-panel a:hover { background: var(--paper); }
.nav-cta { margin-top: 4px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-copper { background: var(--copper); color: #1a120c; }
.btn-copper:hover { background: #ef7b3e; }
.btn-forest { background: var(--forest); color: var(--sand); }
.btn-forest:hover { background: var(--forest-2); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { background: transparent; border-color: rgba(243, 239, 230, 0.55); color: var(--sand); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: wait; }

.hero {
    background-color: var(--forest);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 14px 14px;
    color: var(--sand);
    padding: 28px 0 48px;
    overflow: hidden;
}
.hero h1 { color: #fffdf8; }
.hero-grid { display: grid; gap: 28px; }
.hero-grid > * { min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-trust { margin: 16px 0 0; color: rgba(243, 239, 230, 0.72); font-size: 0.95rem; }
.hero-points { margin: 14px 0 0; font-weight: 600; letter-spacing: 0.01em; }
.excel-band { background: #fffdf8; color: var(--ink); padding: 28px 0; border-bottom: 1px solid var(--line); }
.excel-band h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.excel-band p { margin: 0; max-width: 40rem; color: var(--muted); font-size: 1.05rem; }
.section-note { margin-top: 16px; max-width: 40rem; }

.calc-card, .estimate-card, .price-card, .example-card, .quote-form, .receipt, .start-aside, .inbox-card, .mode-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.calc-card, .quote-form, .start-aside, .receipt { padding: 18px 16px 20px; }
.calc-label {
    margin: 0 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
}
.page-agencies .hero h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); }
.split-line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.split-line:first-of-type { border-top: 0; padding-top: 0; }
.split-num {
    font-family: var(--serif);
    font-size: 1.65rem;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 2px 0 0;
    white-space: nowrap;
}
.split-line p { margin: 0; color: var(--muted); }
.split-line strong { display: block; color: var(--ink); font-weight: 600; }
.calc-card { color: var(--ink); }

.measure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, legend {
    font-weight: 600;
    font-size: 0.95rem;
}
.optional { font-weight: 500; color: var(--muted); }
.measure { position: relative; }
.measure span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-weight: 600;
    pointer-events: none;
}
input, select, textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #d9d1c4;
    background: #fff;
    font-size: 1rem;
}
.measure input { padding-right: 36px; }
textarea { min-height: 110px; resize: vertical; padding-top: 12px; }
select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.choice-grid { display: grid; gap: 8px; }
.choice { display: block; cursor: pointer; position: relative; }
.choice input, .swatch input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}
.choice-body {
    display: block;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 12px 12px 10px;
    background: #fff;
}
.choice.is-selected .choice-body,
.choice:has(input:checked) .choice-body {
    border-color: var(--copper);
    background: #fff6f0;
    box-shadow: inset 0 0 0 1px var(--copper);
}
.choice-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.choice-name { font-weight: 600; }
.choice-rate { color: var(--copper-deep); font-weight: 600; white-space: nowrap; font-size: 0.92rem; }
.choice-blurb { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 2px; }
[data-calculator="compact"] .choice-blurb,
[data-calculator="compact"] .opening-slot,
[data-calculator="compact"] [data-est-qty] { display: none; }

.swatch-row { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.swatch {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 72px;
    cursor: pointer;
    text-align: center;
}
.swatch-face {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(23, 36, 31, 0.25);
    display: block;
}
.swatch.is-selected .swatch-face,
.swatch:has(input:checked) .swatch-face {
    outline: 3px solid var(--copper);
    outline-offset: 4px;
}
.swatch-name { font-size: 0.8rem; font-weight: 600; }

.qty { display: flex; align-items: center; gap: 8px; max-width: 220px; }
.qty button {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 1.4rem;
    cursor: pointer;
}
.qty input { text-align: center; }

.estimate { text-align: center; }
.opening-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 188px;
    margin: 0 0 8px;
}
.opening {
    box-sizing: border-box;
    width: 126px;
    height: 168px;
    border: 14px solid #f4f1ea;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(23, 36, 31, 0.55);
    background-color: #b7cfc4;
    background-image:
        linear-gradient(rgba(20, 48, 40, 0.55) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 48, 40, 0.55) 1px, transparent 1px);
    background-size: 8px 8px;
}
.est-kicker {
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
}
.est-size { margin: 4px 0; font-weight: 600; }
.est-math { margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }
.est-total {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 3.4rem);
    line-height: 1;
    margin: 0;
    letter-spacing: -0.03em;
}
.est-qty { margin: 6px 0 0; font-weight: 600; }
.est-note { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.est-note.is-min, .example-note.is-min { color: var(--copper-deep); font-weight: 600; }
.estimate-fine { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; }
.demo-side { display: grid; gap: 14px; align-content: start; }
@media (max-width: 979px) {
    .demo-layout .demo-side { order: -1; }
}
.inbox-card { padding: 16px 14px 14px; }
.inbox-title { font-size: 1.35rem; margin: 4px 0; }
.inbox-ref { margin: 0 0 10px; color: var(--muted); font-size: 0.92rem; }
.inbox-list { margin: 0; display: grid; gap: 8px; }
.inbox-list div { display: grid; gap: 2px; }
.inbox-list dt { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.inbox-list dd { margin: 0; font-weight: 600; }
.inbox-note { margin: 12px 0 0; color: var(--muted); font-size: 0.88rem; }
.mode-grid { display: grid; gap: 12px; margin-top: 18px; }
.mode-card { padding: 16px; box-shadow: none; }
.mode-card h3 { margin-bottom: 6px; }
.mode-card p { margin: 0 0 8px; }
.mode-when { color: var(--muted); margin-bottom: 0; }
.mode-card.is-default { border-color: var(--copper); box-shadow: var(--shadow); }
.mode-flag {
    margin: 0 0 8px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--copper-deep);
}
.section-action { margin: 22px 0 0; }
.noscript { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }

.section { padding: 56px 0; scroll-margin-top: 80px; }
.section-white { background: #fffdf8; }
.sheet-layout, .price-grid, .start-grid, .demo-layout, .split-block { display: grid; gap: 18px; }
.sheet { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.sheet caption {
    caption-side: top;
    text-align: left;
    font-family: var(--serif);
    font-size: 1.3rem;
    padding: 0 0 10px;
}
.sheet th, .sheet td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.sheet tbody tr:nth-child(odd) { background: #faf7f1; }
.sheet-min th, .sheet-min td { background: #143028; color: var(--sand); border: 0; }
.example-pair { display: grid; gap: 12px; }
.example-card { padding: 16px; box-shadow: none; }
.example-card h3 { margin-bottom: 6px; }
.example-total { font-family: var(--serif); font-size: 2rem; margin: 6px 0; line-height: 1; }
.example-note { color: var(--muted); margin: 0; }

.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.steps li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}
.section-white .steps li { background: var(--paper); }
.step-num {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--sand);
    font-weight: 600;
    margin-bottom: 8px;
}
.steps p { margin: 0; color: var(--muted); }
.split-block { margin-top: 42px; }

.price-card { padding: 22px 18px; color: var(--ink); }
.price-amount {
    font-family: var(--serif);
    font-size: clamp(3.2rem, 8vw, 4.6rem);
    line-height: 0.9;
    margin: 0 0 6px;
    letter-spacing: -0.04em;
}
.price-amount-sm { font-size: clamp(2.6rem, 6vw, 3.4rem); }
.price-for { font-weight: 600; margin-bottom: 12px; }
.price-list { margin: 0 0 14px; padding-left: 1.1rem; }
.price-list li { margin: 0 0 6px; }
.price-split { font-weight: 600; margin: 0 0 14px; }
.price-offer { width: min(640px, 100%); margin-inline: auto; }
.price-addons { display: grid; gap: 10px; margin-top: 14px; }
.price-addon {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
}
.price-addon p:last-child { margin-bottom: 0; color: var(--muted); }
.price-addon-amount {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-size: 1.7rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.price-addon-amount span { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.price-terms { margin-top: 28px; color: var(--muted); }
.price-terms h2 { font-size: 1.45rem; }
.price-terms p:last-child { margin-bottom: 0; }
.check-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: baseline; }
.check-list li::before { content: "✓"; color: var(--forest); font-weight: 700; }
.price-month { font-weight: 600; }
.price-out, .qualify { color: var(--muted); }
.price-card .btn { margin-top: 8px; }

.compare { display: grid; gap: 14px; margin-top: 22px; }
.compare-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 16px;
    min-width: 0;
}
.compare-before { background: #efeae0; }
.compare-after {
    background: var(--card);
    border-color: var(--forest);
    box-shadow: var(--shadow);
}
.compare-card h3 { font-size: 1.45rem; }
.compare-lead { color: var(--muted); }
.thread {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}
.thread li {
    background: #fffdf8;
    border-radius: 14px;
    padding: 10px 12px;
    max-width: 92%;
}
.thread li.is-you {
    margin-left: auto;
    background: var(--forest);
    color: var(--sand);
}
.thread .who {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.72;
}
.thread-end {
    max-width: none;
    background: transparent;
    padding: 8px 0 0;
    font-weight: 600;
}
.job-list { margin: 0 0 16px; }
.job-list div {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}
.job-list dt { margin: 0; color: var(--muted); font-weight: 600; }
.job-list dd { margin: 0; font-weight: 600; }
.job-total dd {
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1;
    letter-spacing: -0.03em;
}
.fit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.fit-list li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 600;
}
.trust-grid { display: grid; gap: 18px; align-items: start; }
.trust-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 16px 20px;
}
.trust-place {
    margin: 0 0 4px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--copper-deep);
}
.trust-phone {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 1.8rem;
}

.cta-band { background: var(--forest); color: var(--sand); padding: 48px 0; }
.cta-band h2 { color: #fffdf8; }
.cta-inner { display: grid; gap: 16px; }

.demo-banner { background: #1a120c; color: #f3efe6; }
.demo-banner-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
}
.demo-banner p { margin: 0; font-size: 0.92rem; }
.demo-banner a { color: #f0b48a; font-weight: 600; }
.shop-header { background: var(--card); border-bottom: 1px solid var(--line); }
.shop-header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    justify-content: space-between;
    align-items: end;
    padding: 16px 0;
}
.shop-kicker { margin: 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; color: var(--copper-deep); }
.shop-name { margin: 0; font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.03em; }
.shop-tag { margin: 0; color: var(--muted); }
.demo-section { padding-top: 28px; }
.quote-form h1 { font-size: clamp(2rem, 5vw, 3rem); }
.field-help { color: var(--muted); margin: 0 0 12px; font-size: 0.95rem; }
.field-grid { display: grid; gap: 0 12px; }
.form-error {
    background: #fde8e4;
    color: #7a241c;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 14px;
    font-weight: 600;
}
.file-field { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; position: relative; }
.file-field input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    min-height: 0;
}
.file-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid var(--forest);
    font-weight: 600;
    cursor: pointer;
}
.photo-preview img {
    margin-top: 10px;
    border-radius: 12px;
    max-height: 220px;
    object-fit: cover;
    width: 100%;
}
.estimate-card { padding: 16px 14px 14px; }
.receipt { padding: 22px 18px; }
.receipt-total {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 7vw, 3.8rem);
    margin: 0 0 8px;
    line-height: 1;
}
.contact-set { margin-top: 8px; }

.site-footer { background: #101c18; color: rgba(243, 239, 230, 0.78); padding: 36px 0 16px; }
.footer-grid { display: grid; gap: 22px; }
.logo-footer { color: #fffdf8; }
.footer-label { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; color: #f0b48a; }
.site-footer a { display: block; color: #fffdf8; text-decoration: none; margin: 4px 0; min-height: 32px; }
.site-footer a.logo { display: inline-flex; min-height: 0; margin-bottom: 8px; }
.footer-phone { font-family: var(--serif); font-size: 1.5rem; }
.footer-bottom { margin-top: 22px; border-top: 1px solid rgba(243, 239, 230, 0.12); padding-top: 12px; }
.footer-bottom p { margin: 0; font-size: 0.88rem; }
.shop-footer { padding: 22px 0 28px; color: var(--muted); }
.shop-footer a { color: var(--copper-deep); }

.prose { max-width: 42rem; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose-page { padding-top: 36px; }

body.has-dock { padding-bottom: calc(138px + env(safe-area-inset-bottom)); }
body.has-dock .estimate-card {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 25;
    margin: 0;
    padding: 10px 12px;
    box-shadow: 0 10px 30px rgba(20, 48, 40, 0.2);
}
body.has-dock .est-math,
body.has-dock .estimate-fine,
body.has-dock .est-kicker { display: none; }
body.has-dock .estimate {
    text-align: left;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    column-gap: 10px;
    align-items: center;
}
body.has-dock .opening-slot {
    grid-column: 1;
    grid-row: 1 / span 3;
    min-height: 0;
    width: 52px;
    height: 56px;
    margin: 0;
}
body.has-dock .opening { border-width: 5px; }
body.has-dock .est-size { grid-column: 2; margin: 0; }
body.has-dock .est-total { grid-column: 3; grid-row: 1 / span 3; font-size: 1.7rem; }
body.has-dock .est-qty { grid-column: 2; margin: 0; font-size: 0.85rem; }
body.has-dock .est-note {
    grid-column: 2;
    margin: 0;
    font-size: 0.78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 720px) {
    .wrap { width: min(1120px, calc(100% - 48px)); }
    .choice-grid { grid-template-columns: 1fr 1fr; }
    .example-pair { grid-template-columns: 1fr 1fr; }
    .field-grid { grid-template-columns: 1fr 1fr; }
    .field-span { grid-column: 1 / -1; }
    .calc-card, .quote-form, .receipt, .price-card { padding: 22px; }
    .steps-4 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 880px) {
    .nav-toggle, .nav-call { display: none; }
    .nav-panel, .nav-panel.is-open {
        display: flex;
        position: static;
        align-items: center;
        gap: 4px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }
    .nav-panel a { min-height: 44px; padding: 0 10px; }
    .nav-cta { margin: 0 0 0 6px; padding-inline: 16px; }
    .nav-phone { font-variant-numeric: tabular-nums; }
}

@media (min-width: 980px) {
    .hero { padding: 64px 0 72px; }
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
    .section { padding: 84px 0; }
    .sheet-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
    .price-grid { grid-template-columns: 1fr 0.86fr; gap: 42px; align-items: start; }
    .start-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; gap: 28px; }
    .demo-layout { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); gap: 22px; align-items: start; }
    .mode-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .compare { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .trust-grid { grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
    .split-block { grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps-4 { grid-template-columns: repeat(4, 1fr); }
    .cta-inner { grid-template-columns: 1.4fr auto; align-items: center; }
    .footer-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
    .start-aside { position: sticky; top: 88px; }
    body.has-dock { padding-bottom: 0; }
    body.has-dock .demo-side { position: sticky; top: 16px; }
    body.has-dock .estimate-card {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        padding: 18px 16px 16px;
        box-shadow: var(--shadow);
    }
    body.has-dock .est-math,
    body.has-dock .estimate-fine,
    body.has-dock .est-kicker { display: block; }
    body.has-dock .estimate { display: block; text-align: center; }
    body.has-dock .opening-slot { width: auto; height: auto; min-height: 188px; margin: 0 0 8px; }
    body.has-dock .opening { border-width: 14px; }
    body.has-dock .est-total { font-size: clamp(2.6rem, 4vw, 3.5rem); }
    body.has-dock .est-size, body.has-dock .est-qty, body.has-dock .est-note { margin: 6px 0 0; font-size: inherit; display: block; -webkit-line-clamp: unset; overflow: visible; }
    body.has-dock .est-note { font-size: 0.92rem; }
    .shop-footer { padding-bottom: 36px; }
}

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