/* Container Canary — quote page. Matches the home page's "paper & notebook" look. */
:root {
  --ink: #0B0B0B;
  --yellow: #FFD60A;
  --paper: #FAF6E8;
  --muted: #5a5149;
  --red: #b3261e;
  --ruled: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(11,11,11,.08) 32px, rgba(11,11,11,.08) 33px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 'Archivo', system-ui, sans-serif; }
a { color: inherit; }
[hidden] { display: none !important; }
.page { max-width: 1200px; margin: 0 auto; background: var(--paper); background-image: var(--ruled); padding: 0 20px 40px; overflow: hidden; }
.muted { color: var(--muted); }
.scribble { font-family: 'Caveat', cursive; font-size: 22px; color: var(--muted); display: inline-block; transform: rotate(-1.5deg); }
.scribble.small { font-size: 20px; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand span { font-weight: 900; font-size: 19px; letter-spacing: -0.045em; line-height: .86; }
.brand em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 93%, transparent 93%); }
.nav-links { display: none; gap: 32px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2.5px solid var(--ink); border-radius: 999px; padding: 13px 22px; font: 700 15px/1.1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.pill-ink { background: var(--ink); color: var(--yellow); padding: 9px 16px; font-size: 13px; }
.pill-yellow { background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.pill-yellow:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.pill-yellow:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.pill-plain { background: var(--paper); color: var(--ink); }
.pill:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pill:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* hero */
.hero { padding: 12px 0 28px; }
.hero h1 { font-size: clamp(40px, 9vw, 92px); line-height: .98; letter-spacing: -0.04em; font-weight: 800; margin: 10px 0 18px; }
.hero h1 em { font-family: 'Caveat', cursive; font-weight: 700; font-size: 1.05em; letter-spacing: -0.01em; display: inline-block; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 680px; margin: 0 0 20px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 14px; }

/* cards & layout */
.card { background: var(--paper); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); }
.quote-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; scroll-margin-top: 12px; }
.wizard { padding: 20px; min-width: 0; }
.summary { padding: 20px; background: var(--yellow); }

.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; counter-reset: s; }
.steps li { flex: 1; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 8px; border-top: 4px solid rgba(11,11,11,.12); }
.steps li.active, .steps li.done { color: var(--ink); border-top-color: var(--ink); }
.steps li.active { position: relative; }
.steps li.active::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, var(--yellow) 8px 16px); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } html { scroll-behavior: auto; } }
legend { font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 0; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); font-size: 17px; flex: none; }
.hint { color: var(--muted); margin: -4px 0 16px; }
.actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.actions .pill-yellow { margin-left: auto; }

/* products */
.products { display: grid; grid-template-columns: 1fr; gap: 16px; }
.product { position: relative; cursor: pointer; display: block; }
.product input { position: absolute; opacity: 0; pointer-events: none; }
.product-body { display: grid; gap: 6px; border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px; background: var(--paper); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.product:hover .product-body { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.product input:checked + .product-body { background: #fff8d0; box-shadow: 5px 5px 0 var(--ink); outline: 3px solid var(--yellow); outline-offset: -8px; }
.product input:focus-visible + .product-body { outline: 3px solid var(--ink); outline-offset: 3px; }
.badge { justify-self: start; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.product-art { width: 120px; height: auto; justify-self: end; margin-top: -30px; }
.product-art.wide { width: 170px; }
.product-name { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.product-price { font-size: 15px; }
.product-price b { font-family: 'Caveat', cursive; font-size: 32px; line-height: 1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 13px; color: var(--muted); padding: 10px 0; border-top: 2px dashed rgba(11,11,11,.2); border-bottom: 2px dashed rgba(11,11,11,.2); }
.specs b { color: var(--ink); font-weight: 600; display: block; }
.product-blurb { font-size: 14px; color: var(--muted); }

/* fields */
.field { display: block; margin-bottom: 14px; }
.field.narrow { max-width: 260px; }
.label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }
.field .label small { display: inline; }
input:not([type=radio]):not([type=checkbox]), textarea { width: 100%; padding: 13px 14px; font: 16px/1.3 inherit; font-family: inherit; color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; }
input[readonly] { background: rgba(11,11,11,.05); }
input[name=zip] { font-size: 22px; letter-spacing: .12em; font-weight: 700; }
.grid2, .grid3 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.zip-row { display: flex; gap: 10px; align-items: flex-end; }
.zip-row .grow { flex: 1; margin: 0; }
.zip-row .pill { height: 56px; padding: 0 22px; font-size: 15px; }
.err { color: var(--red); font-size: 13px; font-weight: 600; margin: 4px 0 0; min-height: 0; display: block; }
.err:empty { display: none; }

.q { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .toggle { cursor: pointer; }
.chips input, .toggle input { position: absolute; opacity: 0; pointer-events: none; }
.chips span, .toggle span { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; background: #fff; transition: background .12s; }
.chips input:checked + span, .toggle input:checked + span { background: var(--ink); color: var(--yellow); }
.chips input:focus-visible + span, .toggle input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.plan { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 6px; }
.toggle small { font-family: 'Caveat', cursive; font-size: 18px; margin-left: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex: none; margin: 0; }
.fine { font-size: 13px; color: var(--muted); border-left: 4px solid var(--yellow); padding-left: 10px; margin: 18px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* price breakdown */
.price { margin-top: 14px; }
.price:empty { display: none; }
.breakdown { border: 2.5px solid var(--ink); border-radius: 16px; background: #fff; overflow: hidden; }
.breakdown .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1.5px dashed rgba(11,11,11,.18); font-size: 15px; }
.breakdown .row:last-child { border-bottom: 0; }
.breakdown .row span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.breakdown .total { background: var(--yellow); font-size: 18px; font-weight: 800; border-top: 2.5px solid var(--ink); border-bottom: 0; }
.breakdown .note { font-size: 13px; color: var(--muted); }
.miles { font-size: 13px; color: var(--muted); margin: 8px 2px 0; }
.tag-est { background: rgba(11,11,11,.08); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.custom { border: 2.5px dashed var(--ink); border-radius: 16px; padding: 16px; background: #fff; }
.custom h3 { margin: 0 0 6px; font-size: 20px; }
.loading { color: var(--muted); font-style: italic; }

/* summary */
.summary .big { font-family: 'Caveat', cursive; font-size: 54px; font-weight: 700; line-height: 1; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 14px; margin: 12px 0 0; }
.summary dt { color: rgba(11,11,11,.7); }
.summary dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

/* done */
.done { text-align: center; padding: 20px 0; }
.done-bird { font-size: 64px; }
.done h2 { font-family: 'Caveat', cursive; font-size: 48px; margin: 0; }
.ref { font-size: 15px; }

/* sections */
.section { padding: 56px 0 8px; }
.section h2 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.035em; margin: 4px 0 22px; line-height: 1; }
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 14px; counter-reset: how; }
.how li { counter-increment: how; border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px 18px 18px 64px; position: relative; background: var(--paper); }
.how li:nth-child(odd) { transform: rotate(-.6deg); }
.how li:nth-child(even) { transform: rotate(.5deg); }
.how li::before { content: counter(how); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; }
.how b { display: block; font-size: 20px; margin-bottom: 2px; }
.how span { color: var(--muted); font-size: 15px; }
.formula { padding: 22px; font-size: 16px; }
.formula p { margin: 0 0 10px; }
.formula p:last-child { margin: 0; }
.faq details { border: 2.5px solid var(--ink); border-radius: 16px; background: var(--paper); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.footer { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; border-top: 2px dashed var(--ink); margin-top: 56px; padding-top: 24px; font-size: 13px; }

@media (min-width: 600px) {
  .products { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 2fr 1fr 1fr; }
  .wizard { padding: 28px; }
}
@media (min-width: 900px) {
  .page { padding: 0 48px 48px; }
  .nav { padding: 26px 0; }
  .nav-links { display: flex; }
  .pill-ink { padding: 11px 22px; font-size: 14px; }
  .hero { padding: 24px 0 44px; }
  .quote-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
  .summary { position: sticky; top: 20px; transform: rotate(1deg); }
  .how { grid-template-columns: repeat(4, 1fr); }
  .how li { padding: 64px 18px 18px; }
}

/* delivery-date calendar */
.cal { max-width: 360px; background: #fff; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 12px 12px 14px; margin-top: 4px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.cal-title span { font-family: 'Caveat', cursive; font-weight: 700; font-size: 22px; margin-left: 2px; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font: 700 22px/1 inherit; font-family: inherit; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .12s; }
.cal-nav:hover:not(:disabled) { background: var(--yellow); }
.cal-nav:disabled { opacity: .25; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .08em; padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 38px; border: 2px solid transparent; border-radius: 12px; background: transparent; font: 600 15px/1 inherit; font-family: inherit; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; position: relative; transition: background .1s, border-color .1s, transform .1s; }
.cal-day:hover:not(:disabled):not(.is-selected) { background: rgba(255,214,10,.35); border-color: var(--ink); }
.cal-day:disabled { color: rgba(11,11,11,.25); cursor: not-allowed; text-decoration: line-through; text-decoration-color: rgba(11,11,11,.2); }
.cal-day.is-today::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-day.is-selected { background: var(--yellow); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); font-weight: 800; transform: translate(-1px, -1px) rotate(-3deg); }
.cal-day:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.cal-picked { font-size: 14px; margin: 10px 0 0; }
.cal-picked:empty { display: none; }
.cal-picked b { font-family: 'Caveat', cursive; font-size: 22px; font-weight: 700; background: linear-gradient(transparent 55%, var(--yellow) 55%); padding: 0 3px; }

/* use cases */
.uses { display: grid; grid-template-columns: 1fr; gap: 14px; }
.use { border: 2.5px solid var(--ink); border-radius: 18px; padding: 18px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.use:nth-child(2) { background: var(--yellow); }
.use b { display: block; font-size: 20px; margin-bottom: 4px; letter-spacing: -0.01em; }
.use span { color: var(--muted); font-size: 15px; }
.use:nth-child(2) span { color: var(--ink); opacity: .8; }
@media (min-width: 600px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .uses { grid-template-columns: repeat(4, 1fr); } }
