:root {
  color-scheme: light;
  --ink: #102c49;
  --muted: #43586d;
  --line: #cedae4;
  --blue: #125394;
  --paper: #f7f9fa;
  font: 100%/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
.wrap { width: min(100% - 2.5rem, 64rem); margin-inline: auto; }
p, h1, h2, h3 { margin: 0; }
p { max-width: 72ch; }
p + p { margin-top: .75rem; }
h1, h2, .logo { font-family: Georgia, "Times New Roman", serif; }
h1, h2 { font-weight: 500; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(1.65rem, 3vw, 2.4rem); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: #08385e; }
:focus-visible { outline: 3px solid #1972bf; outline-offset: 3px; }
.site { background: #fff; border-bottom: 1px solid var(--line); }
.site .wrap, footer nav, .site nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
.site .wrap { min-height: 4rem; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; font-size: 1.65rem; font-weight: bold; letter-spacing: -.05em; text-decoration: none; color: var(--ink); }
.logo::before { content: ""; width: 1.75rem; height: 1.75rem; margin-right: .5rem; background: url(/assets/favicon.svg) center/contain no-repeat; }
.logo span { color: var(--blue); font-style: italic; }
.site nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .88rem; }
.site nav a { text-decoration: none; }
.site nav a:hover { text-decoration: underline; }
main > section { padding-block: clamp(2rem, 5vw, 4rem); }
main > section + section { border-top: 1px solid var(--line); }
.hero { position: relative; isolation: isolate; background: #102c49; color: #fff; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 110% 165%, transparent 0 43px, #a0d4fa20 44px, transparent 46px 77px);
  mask-image: linear-gradient(to right, transparent 26%, #000);
}
.hero .wrap { padding-block: .35rem; }
.hero h1 { max-width: 19ch; }
.hero p { max-width: 64ch; margin-top: 1rem; color: #dbe8f3; line-height: 1.65; }
.crumbs { font-size: .84rem; margin-bottom: 1rem; color: #d4e4f1; }
.crumbs ol { display: flex; align-items: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: .15rem .55rem; }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: #9cb5ca; }
.crumbs a { color: inherit; padding-block: .4rem; }
.card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.calc-card { padding: clamp(1.15rem, 3vw, 2.5rem); margin: 1.5rem 0 .5rem; border-top: 4px solid #488bc5; box-shadow: 0 8px 25px #102c490c; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
.calc-grid .full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .4rem; font-weight: 650; font-size: .92rem; }
input, select, button { font: inherit; }
input, select { width: 100%; min-width: 0; height: 3.1rem; padding: .6rem .85rem; border: 1px solid #8399ae; border-radius: .45rem; background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; }
input:focus, select:focus { border-color: var(--blue); }
.btn { width: 100%; min-height: 3.15rem; padding: .7rem 1.2rem; border: 0; border-radius: .45rem; color: white; background: var(--blue); font-weight: 700; cursor: pointer; }
.btn:hover { background: #0a3a68; }
.btn:active { background: #072c50; }
#result { margin-top: 1.65rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
#result h3 { font: 600 1.25rem/1.3 Georgia, serif; margin-bottom: .75rem; }
.breakdown, .fee-table { width: 100%; border-spacing: 0; font-variant-numeric: tabular-nums; }
.breakdown td, .fee-table :is(td, th) { padding: .72rem .9rem; border-bottom: 1px solid #dbe3eb; }
:is(.breakdown, .fee-table) tr > :last-child { text-align: right; }
.breakdown td:first-child { padding-left: 0; }
.breakdown .total td { background: #e8f2fa; color: #0b3c66; padding: 1rem .9rem; font-weight: 750; }
.fineprint { font-size: .83rem; color: var(--muted); margin-top: .85rem; }
.fee-table { overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: #fff; }
.fee-table th { background: var(--ink); color: #fff; font-size: .88rem; text-align: left; }
.fee-table tr:nth-child(odd) td { background: #f2f6f9; }
.fee-table tr:last-child td { border-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem .25rem; font-weight: 650; }
.faq summary::marker { color: var(--blue); }
.faq details[open] summary { color: var(--blue); }
.faq details p { padding: 0 .25rem 1.2rem; color: var(--muted); }
.states-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); gap: .5rem .75rem; }
.states-grid a { display: flex; align-items: center; min-height: 44px; padding: .55rem .75rem; background: #fff; border: 1px solid var(--line); border-radius: .35rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.states-grid a:hover { background: #e8f2fa; border-color: #5283aa; text-decoration: underline; }
footer { padding: 2rem 0; background: #0e2339; color: #d4e2ec; font-size: .86rem; }
footer a, footer a:hover { color: white; }
footer p { margin-top: .5rem; }
@media (max-width: 37rem) {
  .wrap { width: min(100% - 2rem, 64rem); }
  .calc-card { margin-top: 1rem; }
  .calc-grid { grid-template-columns: 1fr; gap: .9rem; }
  .states-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::after { opacity: .55; }
}
@page { margin: 16mm; }
@media print {
  body { color: #000; background: white; font-size: 11pt; }
  .wrap { width: 100%; }
  body:has(#result table) :is(.site, footer, main > section, .calc-grid) { display: none; }
  .calc-card, #result { margin: 0; padding: 0; border: 0; box-shadow: none; }
  #result { break-inside: avoid; }
  #result::before { content: "OTD Price  /  otd-price.com"; display: block; font-weight: 700; border-bottom: 2pt solid; padding-bottom: 8pt; margin-bottom: 14pt; }
  .breakdown tr { break-inside: avoid; }
  .breakdown .total td { color: #000; border-block: 2pt solid; }
  .fineprint { color: #333; }
}

/* Calculator workspace */
.site { position: sticky; top: 0; z-index: 5; box-shadow: 0 2px 12px #19374b0a; }
.site .wrap { min-height: 3.4rem; }
.calc-workspace { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:clamp(1rem,3vw,2rem); align-items:start; margin:clamp(1.25rem,4vw,2.75rem) 0; }
.purchase-form,.estimate-card { background:white; border:1px solid var(--line); border-radius:1rem; box-shadow:0 12px 32px #152e4610; padding:clamp(1.15rem,2.7vw,2rem); min-width:0; }
.purchase-form fieldset { padding:0; margin:0 0 1.4rem; border:0; min-width:0; }
.purchase-form legend { padding:0; font-size:1.07rem; font-weight:750; margin-bottom:.8rem; }
.purchase-form small { display:block; margin-top:.35rem; color:var(--muted); font-size:.8rem; }
.purchase-form select + small { margin-bottom:1rem; }
.adjustments,.seller-switch { display:grid; grid-template-columns:1fr 1fr; gap:.8rem; }
.currency { position:relative; }
.currency span { position:absolute; top:50%; left:.8rem; transform:translateY(-50%); color:var(--muted); }
.currency input { padding-left:1.85rem; }
.seller-switch { gap:.25rem; border-radius:.65rem; padding:.25rem; background:#eaf0f5; }
.seller-switch label { position:relative; margin:0; }
.seller-switch input { position:absolute; width:1px; height:1px; opacity:0; }
.seller-switch span { display:grid; place-items:center; min-height:44px; padding:.35rem; text-align:center; border-radius:.45rem; cursor:pointer; }
.seller-switch input:checked + span { background:white; color:#174f7e; box-shadow:0 1px 5px #17395122; }
.seller-switch input:focus-visible + span { outline:3px solid #1972bf; }
fieldset:disabled input { background:#f2f4f5; }
.estimate-card { position:sticky; top:4.25rem; border-top:4px solid #27798b; scroll-margin-top:4.2rem; }
.estimate-top { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.estimate-top h2 { font-size:1.5rem; margin:0; }
.estimate-top button { min-height:44px; padding:.3rem .8rem; border:1px solid var(--line); border-radius:.45rem; background:white; color:var(--blue); cursor:pointer; }
#result { border:0; padding:0; margin:.4rem 0; }
.estimate-amount { display:block; color:#103a4e; font:650 clamp(2.5rem,5vw,3.55rem)/1.05 Georgia,serif; font-variant-numeric:tabular-nums; letter-spacing:-.045em; }
.estimate-caption { color:var(--muted); font-size:.85rem; margin:.25rem 0 1rem; }
.estimate-card .breakdown td { padding:.36rem 0; font-size:.88rem; }
.estimate-card .breakdown td:first-child { color:var(--muted); }
.estimate-card .breakdown td:last-child { padding-left:.6rem; font-weight:650; }
.estimate-card .total td { background:transparent; border-bottom:0; }
.source-pref { display:inline-flex; align-items:center; min-height:44px; font-size:.8rem; margin-top:.3rem; }
@media(max-width:47.99rem) {
  .calc-workspace { grid-template-columns:1fr; }
  .estimate-card { position:static; }
  .site nav { gap:.6rem; }
  .site nav a { font-size:.77rem; }
  .site .wrap { gap:.5rem; }
  .hero h1 { font-size:clamp(2rem,8vw,3.4rem); }
}
@media(max-width:25rem) {
  .adjustments { grid-template-columns:1fr; }
  .site .logo { font-size:1.25rem; }
  .logo::before { width:1.25rem; margin-right:.25rem; }
}
@media print {
  .calc-workspace { display:block; margin:0; }
  .purchase-form,.source-pref,.estimate-top button { display:none; }
  .estimate-card { border:0; padding:0; box-shadow:none; position:static; }
}
.title-facts { margin:1rem 0; }
.title-facts > div { display:grid; grid-template-columns:minmax(10rem,1fr) 2fr; gap:1rem; padding:.85rem 0; border-bottom:1px solid var(--line); }
.title-facts dt { font-weight:650; }
.title-facts dd { margin:0; font-variant-numeric:tabular-nums; }
.title-facts dd a { display:inline-block; font-size:.83rem; margin-left:.25rem; }
@media(max-width:38rem) { .title-facts > div { grid-template-columns:1fr; gap:.25rem; } }
