:root {
  --ink: #172e29; --deep: #0e251f; --hero: #12372e; --on-hero: #eaf2eb;
  --accent: #dbb351; --accent-ink: #684d12; --paper: #f8f6ef; --white: #fffdf8;
  --muted: #475951; --line: #d6dbd1; --band: #edf1e9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
[data-theme="tech"] {
  --ink: #192d49; --deep: #0c1b33; --hero: #142c50; --on-hero: #e6eefb;
  --accent: #efb555; --accent-ink: #794b10; --paper: #f5f7fa; --white: #fcfdff;
  --muted: #485d75; --line: #d3dde9; --band: #e9eff8;
}
[data-theme="consumer"] {
  --ink: #1c342f; --deep: #1a262d; --hero: #273941; --on-hero: #eaf6f1;
  --accent: #7ee0b1; --accent-ink: #17684b; --paper: #f6f8f5; --white: #fbfdfa;
  --muted: #4c605a; --line: #d4ded7; --band: #e7f1eb;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(76rem, calc(100% - 3.4rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: .6rem; left: .6rem; transform: translateY(-150%); background: var(--white); padding: .6rem; }
.skip:focus { transform: none; }
.desk { color: var(--on-hero); background: var(--deep); font-size: .78rem; }
.desk .wrap { text-align: center; padding-block: .45rem; }
.desk span { margin-inline: .3rem; }
.desk a, .hero .eyebrow, .footer a:hover { color: var(--accent); }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead .wrap, .masthead nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1.3rem; }
.masthead .wrap { justify-content: space-between; padding-block: 1rem; }
.masthead nav a { text-decoration: none; font-size: .9rem; font-weight: 650; }
.masthead nav a[aria-current="page"], .masthead nav a:hover { text-decoration: underline; text-decoration-color: var(--accent-ink); }
.brand { font: 700 1.46rem/1.2 var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.brand::before { content: ""; display: inline-block; width: .52em; height: .52em; border: 1px solid var(--accent-ink); transform: rotate(45deg); margin-right: .65em; }
.hero { background: var(--hero); color: var(--on-hero); padding-block: clamp(3rem, 8vw, 7rem); }
.hero.compact { padding-block: clamp(2.4rem, 5vw, 4.8rem); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.compact .hero-layout { display: block; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: -.032em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6.8vw, 6.15rem); overflow-wrap: anywhere; }
.compact h1 { font-size: clamp(2.15rem, 5.5vw, 4.6rem); max-width: 24ch; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.75rem); }
p { margin-block: .65rem 0; }
.hero-copy > p:not(.eyebrow) { max-width: 55ch; font-size: 1.06rem; }
.eyebrow { color: var(--accent-ink); margin: 0 0 .73rem; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 750; }
.hero-panel { border: 1px solid var(--accent); padding: clamp(1.4rem, 4vw, 2.6rem); background: var(--deep); }
.hero-panel h2 { color: var(--accent); font-size: clamp(1.65rem, 3vw, 2.4rem); }
.hero-panel ol { margin-block: 1.05rem; padding-inline-start: 1.2rem; }
.hero-panel li { margin-block: .42rem; }
.hero-panel > a { font-weight: 750; }
.actions { margin-top: 1.35rem; }
.button, .choice { display: inline-flex; align-items: center; justify-content: center; padding: .65rem .95rem; min-height: 2.65rem; border: 1px solid transparent; border-radius: .2rem; background: var(--deep); color: var(--on-hero); font: 700 .9rem/1.3 var(--sans); cursor: pointer; text-decoration: none; text-align: center; }
.button:hover, .choice:hover { text-decoration: underline; }
.button.accent { color: var(--deep); background: var(--accent); }
.button.outline { color: var(--on-hero); background: transparent; border-color: var(--accent); }
button:disabled { opacity: .7; cursor: wait; }
.trust { background: var(--band); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: .9rem; }
.trust .wrap > div { display: flex; gap: .48rem; align-items: center; padding: .2rem .9rem; border-left: 1px solid var(--line); }
.trust .wrap > div:first-child { padding-left: 0; border-left: 0; }
.trust small, .product small, td small { display: block; color: var(--muted); }
.icon { width: 1.6rem; height: 1.6rem; color: var(--accent-ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.crumb { padding-top: 1rem; color: var(--muted); font-size: .86rem; }
.section { padding-block: clamp(2rem, 5.5vw, 4.25rem); }
.section + .section { border-top: 1px solid var(--line); }
.band { background: var(--band); }
.intro, .section > .wrap > p { max-width: 68ch; }
.grid, .form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.3rem; }
.card { background: var(--white); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.65rem); }
.card p { color: var(--muted); }
.card .icon { margin-bottom: .7rem; }
.product .choice, td .choice { margin-top: .75rem; }
.disclosure { color: var(--muted); }
.estimate { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.3rem; padding: clamp(1rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); gap: 1.2rem; }
.estimate-controls, .inquiry { display: grid; gap: .85rem; align-content: start; }
.estimate-result { padding: 1.25rem; color: var(--on-hero); background: var(--hero); }
.estimate-result .eyebrow, .estimate-result a { color: var(--accent); }
.estimate-result .number { font: 700 clamp(1.3rem, 3vw, 2.25rem)/1.16 var(--serif); }
.estimate-result .button { margin-top: .9rem; }
.inquiry { max-width: 58rem; margin-top: 1.2rem; padding: clamp(1rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
label { display: grid; gap: .32rem; font-weight: 650; }
input, textarea, select { width: 100%; color: var(--ink); background: var(--white); border: 1px solid var(--muted); border-radius: .2rem; padding: .6rem; font: inherit; font-weight: 400; }
textarea { resize: vertical; }
.checkbox { display: flex; align-items: flex-start; font-weight: 400; gap: .55rem; }
.checkbox input { width: auto; margin-top: .38rem; }
.inquiry button { justify-self: start; }
.inquiry [role="status"]:empty { display: none; }
.table-wrap { overflow: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { border-bottom: 1px solid var(--line); text-align: left; padding: .7rem 1rem; }
thead { color: var(--on-hero); background: var(--hero); }
details { padding: .85rem 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
.reading-list li { padding: .45rem 0; max-width: 70ch; }
.related { padding-left: 1.2rem; }
.callout { display: flex; gap: .65rem; align-items: flex-start; background: var(--band); padding: 1rem; margin-top: 1rem; }
.callout p { margin: 0; }
.footer { background: var(--deep); color: var(--on-hero); padding-block: 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.25rem; }
.footer h2 { color: var(--accent); font-size: 1.2rem; overflow-wrap: anywhere; }
.footer ul { margin: .65rem 0 0; list-style: none; padding: 0; }
.footer li { margin-bottom: .32rem; }
.footer p, .footer li { font-size: .86rem; overflow-wrap: anywhere; }
@media (max-width: 850px) {
  .hero-layout, .estimate { grid-template-columns: 1fr; }
  .grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { max-width: 40rem; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 1.8rem); }
  .grid, .form-grid { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .trust .wrap > div { border-left: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
