@font-face { font-family: Manrope; src: url("/assets/manrope-var.woff2") format("woff2"); font-style: normal; font-weight: 200 800; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #16191d;
  --accent: #1746db;
  --muted: #535961;
  --paper: #fff;
  --line: #d7dce2;
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; font-size: 1rem; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1746db; outline-offset: 3px; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .65rem; background: white; }
.skip:focus { top: .5rem; }
header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .layout, footer { max-width: 85rem; margin: auto; padding-inline: clamp(1.25rem, 5vw, 5rem); }
.header-inner { min-height: 4.7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; font-weight: 780; font-size: 1.64rem; letter-spacing: -.065em; line-height: 1; text-decoration: none; }
.brandmark { display: inline-block; position: relative; width: 1.7rem; height: 1.65rem; margin-right: .52rem; }
.brandmark i { position: absolute; width: 1.02rem; height: 1.02rem; border-block-start: .32rem solid currentColor; border-inline-end: .32rem solid currentColor; }
.brandmark i:first-child { left: .09rem; bottom: .04rem; }
.brandmark i:last-child { right: .04rem; top: .045rem; }
.dot, .period { color: var(--accent); }
.header-inner nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); align-items: center; }
.header-inner nav a, .backlink { color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover, .backlink:hover { text-decoration: underline; }
.layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2.2rem, 7vw, 6rem); padding-block: clamp(2.5rem, 6vw, 5.4rem); }
.intro { padding-top: .24rem; }
.eyebrow { text-transform: uppercase; font-size: .72rem; line-height: 1.4; letter-spacing: .12em; font-weight: 720; color: var(--accent); margin: 0; }
.intro .eyebrow { margin-top: clamp(2rem, 4vw, 4rem); }
h1 { font-size: clamp(3.3rem, 6.2vw, 6.3rem); font-weight: 760; letter-spacing: -.068em; overflow-wrap: anywhere; hyphens: auto; line-height: .99; margin: .15em 0 .32em; }
.lede, .done p { max-width: 38ch; font-size: 1.05rem; line-height: 1.65; color: var(--muted); }
.demo { max-width: 24rem; border-top: 1px solid var(--line); margin-top: 2.3rem; padding: .9rem 0; }
.demo summary { font-size: .92rem; font-weight: 650; }
.demo p { font-size: .9rem; line-height: 1.55; color: var(--muted); margin-block: .65rem; }
#sample, #back { font-weight: 650; color: var(--accent); background: transparent; text-decoration: underline; text-underline-offset: .22em; padding: 0; border: none; }
.card { min-width: 0; background: #fff; border: 1px solid var(--line); padding: clamp(1.25rem, 3.3vw, 2.8rem); border-radius: .3rem; }
.progress { display: flex; list-style: none; padding: 0; margin: 0 0 2rem; gap: .6rem; }
.progress li { flex: 1; font-size: .83rem; font-weight: 550; color: var(--muted); border-top: 2px solid #d7dce2; padding-block-start: .55rem; }
.progress li.current { border-color: var(--accent); font-weight: 750; color: var(--accent); }
.progress li.past { border-color: var(--ink); color: var(--ink); }
fieldset { padding: 0; margin: 0; border: none; min-width: 0; }
legend, h2 { color: var(--ink); font-weight: 670; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.055em; line-height: 1.13; margin: 0 0 .85rem; padding: 0; }
.estimate { background: #fff; border: 1px solid #c7ccd2; border-radius: .3rem; padding: 1rem 1.1rem; margin: 1.35rem 0 .2rem; }
.estimate-label { letter-spacing: .085em; font-size: .69rem; }
.estimate-amount { color: var(--ink); margin: .3rem 0; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 680; letter-spacing: -.04em; line-height: 1.17; }
.estimate-amount small { font-size: .85rem; letter-spacing: 0; font-weight: 550; }
.estimate-detail { font-size: .9rem; color: var(--muted); margin: .4rem 0; line-height: 1.5; }
.estimate summary { font-size: .88rem; font-weight: 650; color: var(--accent); margin-top: 0; }
.estimate[open] summary { margin-bottom: .7rem; }
.estimate-error { color: #962d24; font-size: .88rem; margin: .4rem 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .94rem; margin: 1.15rem 0 .4rem; font-weight: 640; }
small, .hint { color: var(--muted); font-weight: 450; }
.hint { font-size: .84rem; line-height: 1.5; margin: .45rem 0 0; }
.method { margin-top: 0; }
input, select, textarea { width: 100%; min-width: 0; color: var(--ink); border: 1px solid #a0a6ae; background: white; padding: .73rem; border-radius: .27rem; }
textarea { resize: vertical; }
select { padding-inline-end: 1.3rem; }
input[type=file] { font-size: .87rem; }
::file-selector-button { font: inherit; color: var(--ink); background: #f0f1f2; padding: .4rem .55rem; margin-inline-end: .4rem; border: 0; cursor: pointer; }
.review { background: var(--paper); border-inline-start: 3px solid var(--accent); padding: .9rem 1rem; margin-top: 1.4rem; overflow-wrap: anywhere; }
.review p { line-height: 1.45; margin: .35rem 0 0; }
.review p:empty { display: none; }
.actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
#next, .button { margin-left: auto; border: 0; text-decoration: none; background: var(--accent); color: white; padding: .83rem 1.35rem; border-radius: .23rem; font-weight: 675; }
#next:hover, .button:hover { background: #1234a6; }
button:disabled { opacity: .6; cursor: wait; }
.error { color: #962d24; background: #fff; padding: .7rem .9rem; }
.done .eyebrow { color: var(--accent); font-size: .75rem; }
.done h2 { margin: .6rem 0 1rem; }
.done .button, .done .backlink { display: inline-block; margin: .8rem 1rem .25rem 0; }
footer { padding-block: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .83rem; color: var(--muted); }
footer a { color: var(--ink); }
@media(max-width: 760px) {
  .header-inner { min-height: 4rem; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; padding-top: 1.4rem; }
  .intro .eyebrow { margin-top: 1.5rem; }
  h1 { font-size: clamp(2.7rem, 8vw, 4.4rem); }
  h1 br { display: none; }
  .lede { max-width: 55ch; font-size: .96rem; margin: .7rem 0; }
  .demo { margin-top: .9rem; padding-block: .65rem .1rem; }
  .progress { margin-bottom: 1.4rem; }
}
@media(max-width: 440px) {
  .brand { font-size: 1.35rem; }
  .brandmark { margin-right: .26rem; transform: scale(.85); }
  .header-inner nav { gap: .55rem; }
  .header-inner nav a { font-size: .79rem; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .estimate { padding: .85rem; }
}
@media(max-width: 350px) {
  .header-inner { flex-wrap: wrap; padding-block: .7rem; }
}

.special-note { color: var(--ink); border-left: 3px solid var(--accent); margin: 1.1rem 0; padding: .25rem 0 .25rem 1rem; line-height: 1.6; }
.credit-choice { display:flex; align-items:center; gap:.65rem; }
.credit-choice input { width:1.1rem; height:1.1rem; accent-color:var(--accent); flex:none; }
.estimate summary span { font-weight: 450; }
.error { border: 1px solid #962d24; }
#estimate-view:not(:empty) { margin-block: .85rem; border-left: 3px solid var(--accent); padding-left: .8rem; }
.mobile-progress { display:none; }
@media(max-width:760px) {
  .header-inner { min-height:3.75rem; }
  .header-inner a,footer a,.intro .backlink { display:inline-flex; align-items:center; min-height:44px; }
  .layout { padding:1rem clamp(.9rem,4.5vw,2rem) 2rem; gap:.85rem; }
  .intro .eyebrow { margin-top:.25rem; }
  .intro h1 { font-size:clamp(2.1rem,7.3vw,3.35rem); margin:.15em 0 .2em; }
  .lede { margin:.45rem 0; font-size:1rem; line-height:1.45; }
  .demo { margin-top:.55rem; padding:.1rem 0; }
  .demo summary,.estimate summary { min-height:44px; padding-block:.72rem; }
  #sample { min-height:44px; }
  .card { padding:clamp(.95rem,4vw,1.55rem); }
  .progress { display:none; }
  .mobile-progress { display:block; margin:0 0 1.05rem; }
  .mobile-progress p { margin:0 0 .35rem; color:#35475e; font-size:.88rem; font-weight:680; }
  .step-bars { display:flex; gap:4px; }
  .step-bars i { height:3px; border-radius:2px; background:#dce1e8; flex:1; }
  .step-bars i.filled { background:var(--accent); }
  fieldset legend { margin-bottom:.3rem; font-size:1.52rem; }
  fieldset legend:focus { outline:0; }
  label { margin:1rem 0 .32rem; }
  input:not([type=checkbox]),select,textarea { min-height:46px; font-size:max(16px,1rem); }
  input,textarea,select { scroll-margin-block:1.2rem; }
  input[type=file] { padding:0 .35rem 0 0; max-width:100%; overflow:hidden; }
  input[type=file]::file-selector-button { min-height:44px; }
  .hint { font-size:.89rem; line-height:1.48; }
  .credit-choice { min-height:44px; margin-bottom:0; }
  .estimate { padding:.15rem .8rem; }
  .estimate[open] { padding-bottom:.8rem; }
  .review { margin-top:1rem; background:#f4f6f9; }
  .actions { align-items:stretch; gap:.65rem; margin-top:1rem; padding-top:.8rem; }
  #back,#next { min-height:48px; }
  #back { min-width:3.6rem; padding:.35rem; text-align:left; }
  #next { flex:1; margin:0; }
  .error { background:#fff3f1; border:0; border-left:3px solid #9b372b; font-size:.94rem; line-height:1.45; }
  .done .button,.done .backlink { display:inline-flex; min-height:44px; align-items:center; }
}
