:root {
  --paper: #f4efe4;
  --sheet: #fffdf7;
  --ink: #12252d;
  --muted: #52636a;
  --orange: #e85d2a;
  --teal: #087f73;
  --rule: #c9c0af;
  --soft-rule: #e2dacb;
  --danger: #a52f24;
  --max: 1180px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--paper); line-height: 1.55; overflow-x: clip; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 50; left: 1rem; top: -5rem; padding: .7rem 1rem; background: var(--sheet); border: 2px solid var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--rule); }
.brand { display: flex; gap: .7rem; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; font-size: .61rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.brand-mark { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 .78rem ui-monospace, monospace; border-radius: 50%; outline: 1px dashed var(--orange); outline-offset: 3px; }
nav { display: flex; gap: 1.5rem; font-size: .84rem; font-weight: 700; }
nav a { text-decoration-thickness: 1px; text-underline-offset: .28rem; }

.hero { max-width: var(--max); margin: 0 auto; padding: 6.7rem 1.5rem 5.4rem; position: relative; }
.hero::after { content: ""; position: absolute; width: 12rem; height: 12rem; right: 3rem; top: 4.2rem; opacity: .14; background: repeating-radial-gradient(circle at center, var(--orange) 0 1px, transparent 1px 8px); border-radius: 50%; pointer-events: none; }
.eyebrow, .kicker { text-transform: uppercase; font: 700 .72rem/1.2 ui-monospace, SFMono-Regular, monospace; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--teal); }
.eyebrow span { display: block; width: 2.3rem; border-top: 2px solid var(--teal); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 940px; margin: 1.3rem 0 1.5rem; font-size: clamp(3.25rem, 8vw, 7.3rem); }
h1 em { color: var(--orange); font-weight: 500; }
.hero-copy { max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.button { border: 1px solid transparent; padding: .88rem 1.15rem; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.button-primary { background: var(--orange); color: white; box-shadow: 4px 4px 0 var(--ink); }
.button-primary:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.text-link { font-weight: 800; text-underline-offset: .3rem; }
.hero-notes { list-style: none; padding: 0; margin: 3.2rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem 1.7rem; font-size: .79rem; color: var(--muted); }
.hero-notes li::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: .45rem; }

.calculator-section { background: var(--ink); color: var(--paper); padding: 4.5rem max(1.5rem, calc((100vw - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #415057; }
.section-heading h2, .included h2, .method h2, .mistakes h2, .faq h2, .final-cta h2 { font-size: clamp(2.45rem, 5vw, 4.8rem); margin-bottom: 0; }
.section-heading > p { max-width: 440px; color: #bdc5c4; margin: auto 0 0 auto; }
.kicker { color: var(--orange); margin-bottom: .7rem; }
.workbench { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 2rem; align-items: start; padding-top: 2.2rem; }
#pricing-form { border: 1px solid #536168; background: #192e37; }
.form-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid #536168; }
.status-tag { color: #8dd1c6; font: 700 .7rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; }
.button-quiet { border: 0; background: transparent; color: var(--paper); text-decoration: underline; text-underline-offset: .25rem; cursor: pointer; font-size: .8rem; }
fieldset { border: 0; margin: 0; padding: 1.5rem 1.2rem 1.7rem; border-bottom: 1px solid #536168; }
legend { width: 100%; padding: 0 0 1rem; font: 800 .85rem ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; color: var(--sheet); }
legend span { color: var(--orange); margin-right: .55rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1rem; }
.field.span-two { grid-column: 1 / -1; }
.field label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .35rem; color: #dfe5e2; }
.input-shell { min-height: 46px; display: flex; align-items: center; background: var(--sheet); color: var(--ink); border: 2px solid transparent; }
.input-shell:focus-within { border-color: var(--orange); outline: 2px solid transparent; }
.input-shell input { width: 100%; min-width: 0; padding: .72rem .75rem; border: 0; outline: 0; background: transparent; color: var(--ink); font: 700 1rem ui-monospace, SFMono-Regular, monospace; }
.input-shell > span { padding: 0 .7rem; white-space: nowrap; font-size: .68rem; text-transform: uppercase; color: var(--muted); }
.input-shell.money > span:first-child { padding-right: 0; font: 700 .95rem ui-monospace, monospace; color: var(--ink); }
input[aria-invalid="true"] { color: var(--danger); }
.input-shell:has(input[aria-invalid="true"]) { border-color: #ff8a78; }
.field-error, .field-help { margin: .25rem 0 0; min-height: 1em; font-size: .69rem; }
.field-error { color: #ff9e8e; }
.field-help { color: #99a7aa; }
.calculate-button { margin: 1.2rem; width: calc(100% - 2.4rem); }
.form-status { padding: 0 1.2rem 1.2rem; margin: 0; min-height: 1.2rem; color: #a4b0b2; font-size: .75rem; }
.form-status[data-state="error"] { color: #ff9e8e; }

.quote-sheet { position: sticky; top: 1rem; background: var(--sheet); color: var(--ink); padding: 1.45rem; box-shadow: 9px 9px 0 var(--orange); outline: none; }
.quote-sheet::before { content: ""; position: absolute; inset: .55rem; border: 1px dashed var(--rule); pointer-events: none; }
.quote-sheet > * { position: relative; }
.quote-head { display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding: .3rem .2rem 1rem; }
.quote-head h3 { margin: 0; font: 500 1.7rem Georgia, serif; }
.quote-number { font: 700 1.3rem ui-monospace, monospace; color: var(--orange); }
.primary-price { padding: 1.4rem .2rem; border-bottom: 1px solid var(--rule); }
.primary-price span, .primary-price small { display: block; color: var(--muted); font-size: .75rem; }
.primary-price strong { display: block; font: 800 clamp(3rem, 6vw, 5.4rem)/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: -.08em; margin: .25rem 0 .45rem; }
.quote-summary { margin: 0; padding: .9rem .2rem; border-bottom: 1px solid var(--rule); }
.quote-summary div, .breakdown dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.quote-summary dt, .breakdown dt { color: var(--muted); }
.quote-summary dd, .breakdown dd { margin: 0; font: 700 .9rem ui-monospace, monospace; }
.breakdown { border-bottom: 1px solid var(--rule); padding: .8rem .2rem; }
.breakdown summary { cursor: pointer; font-weight: 800; }
.breakdown dl { margin: .7rem 0 0; font-size: .78rem; }
.quote-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; padding: 1rem .2rem .5rem; }
.button-dark { background: var(--ink); color: var(--sheet); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.estimate-note { color: var(--muted); font-size: .68rem; margin: .5rem .2rem .2rem; }
.noscript { background: #ffdfd8; color: var(--danger); padding: 1rem; }

.included, .method, .mistakes, .faq, .final-cta { max-width: var(--max); margin: 0 auto; padding: 6rem 1.5rem; }
.included { display: grid; grid-template-columns: .35fr .75fr 1.4fr; gap: 2rem; align-items: start; }
.section-number { font: 700 .75rem ui-monospace, monospace; writing-mode: vertical-rl; color: var(--teal); text-transform: uppercase; letter-spacing: .12em; }
.included > div:nth-child(2) p:last-child, .method-intro p:last-child { color: var(--muted); max-width: 530px; }
.cost-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cost-list li { display: grid; grid-template-columns: 2.2rem 1fr 1.4fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.cost-list span { color: var(--orange); font: 700 .7rem ui-monospace, monospace; }
.cost-list small { color: var(--muted); }

.method { border-top: 1px solid var(--rule); }
.method-intro { display: grid; grid-template-columns: .3fr .8fr 1fr; gap: 1.5rem; align-items: start; }
.method-intro .kicker { grid-column: 1; }
.method-intro h2 { grid-column: 2; }
.method-intro > p:last-child { grid-column: 3; margin-top: .5rem; }
.formula-card { margin: 3rem 0 4.5rem 25%; border: 2px solid var(--ink); background: var(--sheet); box-shadow: 7px 7px 0 var(--teal); }
.formula-card > div { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.15rem; border-bottom: 1px solid var(--rule); }
.formula-card > div:last-child { border-bottom: 0; }
.formula-card span { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); font: 700 .75rem ui-monospace, monospace; }
.formula-card p { margin: 0; }
.formula-card strong { display: block; }
.margin-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; background: var(--orange); color: white; padding: 3rem; }
.big-type { font: 500 clamp(3.5rem, 7vw, 7rem)/.82 Georgia, serif; letter-spacing: -.07em; }
.big-type i { color: var(--ink); }
.margin-note h3 { font: 500 2rem/1.1 Georgia, serif; }
.margin-note > div:last-child { max-width: 580px; align-self: end; }

.mistakes { border-top: 1px solid var(--rule); }
.mistakes > div:first-child { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; }
.mistakes .kicker { margin-top: .8rem; }
.mistake-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3rem; border-top: 2px solid var(--ink); }
.mistake-grid article { padding: 1.3rem 1rem 0 0; border-right: 1px solid var(--rule); }
.mistake-grid article:not(:first-child) { padding-left: 1rem; }
.mistake-grid article:last-child { border: 0; }
.mistake-grid span { color: var(--orange); font: 700 .72rem ui-monospace, monospace; }
.mistake-grid h3 { font-family: Georgia, serif; font-size: 1.25rem; }
.mistake-grid p { color: var(--muted); font-size: .88rem; }

.faq { border-top: 1px solid var(--rule); display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.faq-heading { position: sticky; top: 2rem; align-self: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq-list summary { cursor: pointer; font-weight: 800; padding-right: 2rem; }
.faq-list p { color: var(--muted); max-width: 700px; margin: .8rem 0 0; }
.final-cta { text-align: center; border-top: 1px solid var(--rule); padding-bottom: 7rem; }
.final-cta h2 { max-width: 830px; margin: 0 auto 2rem; }

footer { background: var(--ink); color: var(--paper); padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
footer strong { font-family: Georgia, serif; font-size: 1.5rem; }
footer p { color: #aeb9ba; font-size: .8rem; max-width: 500px; }
.footer-links { display: flex; gap: 1.2rem; font-size: .8rem; }
.footer-note { grid-column: 1 / -1; border-top: 1px solid #405057; padding-top: 1rem; }

.legal-page main { max-width: 820px; margin: 0 auto; padding: 5rem 1.5rem; }
.legal-page h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
.legal-page h2 { font-size: 2rem; margin-top: 2.6rem; }
.legal-page .notice { background: #fff0d8; border-left: 4px solid var(--orange); padding: 1rem; }

@media (max-width: 900px) {
  .workbench, .included, .faq { grid-template-columns: 1fr; }
  .quote-sheet, .faq-heading { position: static; }
  .included { gap: 1rem; }
  .section-number { writing-mode: horizontal-tb; }
  .method-intro { grid-template-columns: 1fr; }
  .method-intro .kicker, .method-intro h2, .method-intro > p:last-child { grid-column: 1; }
  .formula-card { margin-left: 0; }
  .mistake-grid { grid-template-columns: 1fr 1fr; }
  .mistake-grid article:nth-child(2) { border-right: 0; }
  .margin-note { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .site-header { align-items: flex-start; }
  nav { display: none; }
  .hero { padding-top: 4.5rem; }
  .hero::after { right: -4rem; top: 2rem; }
  h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-notes { display: block; }
  .hero-notes li { margin: .55rem 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { margin-left: 0; }
  .calculator-section { padding-left: 1rem; padding-right: 1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .field.span-two { grid-column: auto; }
  .quote-actions { grid-template-columns: 1fr; }
  .cost-list li { grid-template-columns: 2rem 1fr; }
  .cost-list small { grid-column: 2; }
  .margin-note { padding: 2rem 1.2rem; }
  .mistakes > div:first-child { grid-template-columns: 1fr; }
  .mistake-grid { grid-template-columns: 1fr; }
  .mistake-grid article, .mistake-grid article:not(:first-child) { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

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

@media print {
  body { background: white; }
  .site-header, .hero, #pricing-form, .section-heading, .included, .method, .mistakes, .faq, .final-cta, footer, .quote-actions { display: none !important; }
  .calculator-section { background: white; color: black; padding: 0; }
  .workbench { display: block; padding: 0; }
  .quote-sheet { position: static; box-shadow: none; border: 1px solid #777; max-width: 760px; margin: 0 auto; }
}
