:root {
  color-scheme:light; --blue:#204bcd; --ink:#121c38; --muted:#495770; --rule:#cfd6e2; --wash:#f2f5fa; --paper:#fff; --yellow:#ffca43;
  font:100%/1.55 -apple-system,BlinkMacSystemFont,"Inter","Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--paper);
}
*,*:before,*:after {box-sizing:border-box}
body {margin:0} a {color:var(--blue);text-underline-offset:.22em}
button,input,select,textarea {font:inherit;color:inherit} button {cursor:pointer} [hidden]{display:none!important}
:focus-visible {outline:3px solid #957100;outline-offset:3px}
.container {width:min(75rem,calc(100% - 4rem));margin-inline:auto}
header {border-bottom:1px solid var(--rule)} .topbar,.footbar,.nav,.brand,.actions,.panel-title,.language {display:flex;align-items:center}
.topbar,.footbar,.panel-title {justify-content:space-between;gap:1rem}
.topbar {min-height:4.65rem}.brand {gap:.6rem;font-size:1.55rem;line-height:1;font-weight:840;letter-spacing:-.065em;text-decoration:none;color:var(--ink)} .brand img {height:2.35rem;width:2.35rem;border-radius:.55rem}
.nav,.actions {gap:1.2rem;flex-wrap:wrap}.nav a,.text-link {font-weight:680}.nav a {font-size:.94rem;text-decoration:none;color:var(--ink)}.nav a:hover,.text-link:hover {text-decoration:underline}
.language {gap:.12rem;border:1px solid var(--rule);border-radius:.45rem;padding:.13rem;background:var(--wash)}
.language button {border:0;background:transparent;border-radius:.3rem;font-size:.83rem;font-weight:750;padding:.32rem .5rem;min-height:2.15rem}.language button[aria-pressed=true] {background:var(--blue);color:white}
h1,h2,h3,p,figure,dl,dd {margin:0} h1,h2,h3 {line-height:1.07;text-wrap:balance}
h1,h2 {letter-spacing:-.055em} h1 {font-size:clamp(3rem,5.7vw,5.8rem);font-weight:770} h2 {font-size:clamp(2rem,3.7vw,3.65rem);font-weight:730} h3 {font-size:1.32rem;letter-spacing:-.035em}
.kicker {color:var(--blue);font-weight:760;font-size:.81rem;letter-spacing:.105em;text-transform:uppercase}
.lead {font-size:clamp(1.04rem,1.65vw,1.28rem);line-height:1.52;color:var(--muted);max-width:43rem}
.btn {display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:.72rem 1rem;border-radius:.44rem;border:1px solid var(--ink);text-decoration:none;font-size:.94rem;font-weight:720;line-height:1.35;min-height:2.7rem;color:var(--ink);background:white}
.btn.primary,.btn.small.primary {background:var(--blue);border-color:var(--blue);color:white}.btn:hover {background:var(--wash)}.btn.primary:hover {background:#1638a1}
.btn.small {font-size:.87rem;padding:.5rem .76rem;min-height:2.45rem}.btn[disabled] {opacity:.5;cursor:not-allowed}
.hero {display:grid;grid-template-columns:1fr 1.04fr;align-items:center;gap:clamp(2rem,5.2vw,5rem);padding-block:clamp(2.4rem,5.5vw,5.25rem)}
.hero-text,.section-title {display:grid;gap:1.15rem}.hero .actions {margin-top:.35rem;gap:.65rem}
.field-photo {border-radius:.65rem;overflow:hidden;background:var(--blue);color:white}.field-photo img {display:block;width:100%;height:clamp(14rem,25vw,22rem);object-fit:cover;object-position:62% center}.field-photo figcaption {padding:1rem 1.4rem 1.24rem;position:relative}
.field-photo figcaption:before {content:"";position:absolute;top:0;left:0;right:0;height:.46rem;background:repeating-linear-gradient(90deg,#ffca43 0 1px,transparent 1px 13px)}
.figure-line {display:flex;align-items:center;justify-content:space-between;gap:.65rem}.fig-title {font-size:.81rem;font-weight:740;letter-spacing:.06em;text-transform:uppercase;color:#fff6df}.figure-line strong {font-size:clamp(1.9rem,3.3vw,3.1rem);letter-spacing:-.045em}.figure-math {font-size:.92rem;line-height:1.45;color:white;font-variant-numeric:tabular-nums}
.flow {background:var(--wash);padding-block:clamp(2.5rem,5.5vw,4.8rem);border-block:1px solid var(--rule)}
.flow-head {display:flex;align-items:end;justify-content:space-between;gap:2rem}.flow-head h2 {max-width:45rem}
.flow-grid {display:grid;grid-template-columns:repeat(3,1fr);margin-top:2.2rem;border-top:2px solid var(--ink)}
.flow-grid article {padding:1.45rem 1.7rem 0 0}.flow-grid article+article {border-left:1px solid var(--rule);padding-left:1.7rem}
.flow-grid p,.plan p,.calc-aside p,.assumptions p {color:var(--muted);margin-top:.72rem}.flow-grid a {display:inline-block;font-weight:700;font-size:.92rem;margin-top:1rem}
.pricing {display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(2rem,6vw,6.3rem);padding-block:clamp(2.7rem,6vw,5.4rem)}.pricing .section-title {align-content:start}
.plan {border-top:1px solid var(--rule);padding-block:1.25rem}.plan:last-child {padding-bottom:0}.plan h3 {line-height:1.2;font-size:1.3rem}.plan p {margin-top:.4rem}
footer {border-top:1px solid var(--rule);padding-block:1.3rem}.footbar {flex-wrap:wrap}.footbar .brand {font-size:1.19rem}.footbar .brand img {height:1.8rem;width:1.8rem}.footbar a:not(.brand) {font-size:.92rem}
.calc-hero {padding-block:clamp(2rem,4.5vw,3.7rem) 1.9rem;display:grid;gap:.7rem}.calc-hero h1 {font-size:clamp(2.55rem,5vw,4.7rem)}.calc-hero .lead {max-width:48rem}
.calculator {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:1.2rem;align-items:start}.panel {border:1px solid var(--rule);padding:clamp(1rem,2.15vw,1.65rem);border-radius:.6rem;min-width:0}.panel h2,.assumptions h2,.calc-aside h2 {font-size:clamp(1.38rem,2.4vw,1.92rem)}
.panel-title {align-items:center;flex-wrap:wrap}.panel-title button,.link-btn {font-size:.87rem;font-weight:680;color:var(--blue)}
.link-btn {border:0;background:none;text-decoration:underline;text-underline-offset:.22em;padding:.35rem 0}
.fields {display:grid;grid-template-columns:1fr 1fr;gap:.95rem;margin-top:1rem}.fields label {display:block;font-size:.9rem;font-weight:670;margin-bottom:.32rem}
.fields input,.fields select,.copy-area {width:100%;min-width:0;background:white;border:1px solid #aab5c7;border-radius:.33rem;padding:.58rem .65rem;line-height:1.4}.fields input:focus,.fields select:focus {border-color:var(--blue)}
.fields select {appearance:none;padding-right:1.8rem;background-image:linear-gradient(45deg,transparent 50%,#42536c 50%),linear-gradient(135deg,#42536c 50%,transparent 50%);background-position:calc(100% - 15px) 52%,calc(100% - 10px) 52%;background-size:5px 5px;background-repeat:no-repeat}
.fields small,.note,.quantity small {display:block;font-size:.83rem;color:var(--muted);line-height:1.48}.fields small {margin-top:.3rem}
fieldset {border:0;padding:0;margin:0;min-width:0}fieldset+fieldset,details {border-top:1px solid var(--rule);margin-top:1.25rem;padding-top:1rem}
legend,summary {font-size:1.03rem;font-weight:700}fieldset+fieldset legend {float:left;display:block;width:100%}fieldset+fieldset .fields {clear:both;padding-top:.75rem}summary {cursor:pointer;color:var(--blue)}
details .note {margin-top:.45rem}.results {background:var(--wash)}.bom-grid {display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:.4rem;overflow:hidden;margin:1rem 0}
.quantity {padding:1rem;background:white}.quantity dt {font-weight:700;font-size:.9rem}.quantity dd>strong {font-size:2.55rem;display:block;line-height:1.22;letter-spacing:-.055em;font-variant-numeric:tabular-nums}
.total {background:var(--blue);color:white;border-radius:.4rem;padding:1rem}.total span {font-weight:650}.total strong {display:block;font-weight:760;font-size:2.18rem;letter-spacing:-.04em;line-height:1.3}.total small {font-size:.85rem;color:#f2f5ff}
.results .note,.calc-aside .actions {margin-top:.85rem}.error,.status {padding:.6rem .8rem;margin-top:.7rem;font-size:.91rem;border-radius:.35rem}.error {background:#fff0f0;color:#872020}.status {background:white;color:var(--blue)}
.copy-area {height:10rem;margin-top:.5rem}.calc-foot {display:grid;grid-template-columns:1fr .85fr;gap:clamp(2rem,6vw,5rem);margin-block:2.8rem 3.8rem}
@media(max-width:800px){.container {width:calc(100% - 2.2rem)}.hero {gap:1.35rem}.pricing {gap:2rem}.flow-grid article,.flow-grid article+article {padding-inline:1rem}.flow-grid article:first-child {padding-left:0}}
@media(max-width:680px){.hero,.pricing,.calculator,.calc-foot {grid-template-columns:1fr}.hero{gap:1.6rem}.field-photo img{height:clamp(10rem,53vw,18rem)}.topbar {min-height:4rem;gap:.45rem}.nav {gap:.55rem}.nav .desktop {display:none}.brand {font-size:1.35rem;gap:.4rem}.brand img {width:2rem;height:2rem}.flow-head {display:grid;gap:1rem}.flow-grid {grid-template-columns:1fr;margin-top:1.4rem}.flow-grid article,.flow-grid article+article {padding:1.15rem 0;border-left:0}.flow-grid article+article {border-top:1px solid var(--rule)}.flow-grid p {margin-top:.45rem}.flow-grid a {margin-top:.55rem}.calc-foot {gap:1.7rem;margin-block:2rem}.pricing {gap:1.25rem}.calculator {gap:1rem}}
@media(max-width:450px){.container {width:calc(100% - 1.6rem)}.nav a {font-size:.83rem}.fields {grid-template-columns:minmax(0,1fr)}.quantity {padding:.75rem}.fig-title {font-size:.75rem}.figure-math {font-size:.84rem}.footbar {align-items:flex-start;gap:.85rem}.footbar .nav {display:grid;gap:.3rem}.topbar .nav {flex-wrap:nowrap}.brand {flex-shrink:0}}

/* Static language links and minimum touch targets on the calculator pages. */
.language a {display:grid;place-items:center;min-height:2.75rem;min-width:2.5rem;border-radius:.3rem;text-decoration:none}
.language a[aria-current=page] {color:#fff;background:var(--blue)}
.fields input,.fields select {min-height:2.75rem}
.calc-jump {gap:.75rem}
.calc-jump .btn.small {min-height:2.75rem}
@media(max-width:450px){
  .calc-hero h1 {font-size:clamp(2rem,9vw,2.55rem)}
  .topbar .nav {gap:.35rem}
  .language a {min-width:2.2rem}
}
