/* Bankole & Webb concept site. One stylesheet, mobile first.
   Paper, ink, cobalt, highlighter yellow, receipt grey. The motif is a highlighter swipe behind
   key numbers and dates, and receipt paper with a zigzag edge. No images: everything is CSS or inline SVG. */

:root {
  --paper: #FAFAF6;
  --ink: #121417;
  --cobalt: #2340D1;
  --cobalt-deep: #16288C;
  --cobalt-tint: #EDF0FC;
  --hi: #F7E36B;
  --grey: #E6E4DE;
  --line: #D3D0C6;
  --mute: #464B53;
  --white: #FFFFFF;
  --sans: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --pad: 16px;
  --hdr: 64px;
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  padding-bottom: 3rem;
  overflow-wrap: break-word;
}
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cobalt-deep); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.band--ink :focus-visible, .band--cobalt :focus-visible, .ftr :focus-visible, .panel--dark :focus-visible, .sheet :focus-visible.btn--yellow { outline-color: var(--hi); }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 9.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: clamp(1.8rem, 5.6vw, 3rem); font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 760px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* Highlighter swipe */
.hl {
  color: var(--ink);
  background-image: linear-gradient(100deg, rgba(247,227,107,0) 0, var(--hi) 3%, var(--hi) 97%, rgba(247,227,107,0) 100%);
  background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 58%;
  padding: 0 .12em; margin: 0 -.12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: swipe .8s .25s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes swipe { from { background-size: 0 58%; } to { background-size: 100% 58%; } }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--ink); max-width: 62ch; margin: 1rem 0 1.5rem; }
.micro { font-size: .88rem; color: var(--mute); line-height: 1.5; max-width: 70ch; }
.link { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.link--light { color: var(--hi); }
.link--light:hover { color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center;
  min-height: 48px; padding: .7rem 1.4rem; background: var(--cobalt); color: #fff; border: 2px solid var(--cobalt);
  border-radius: 10px; font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--yellow { background: var(--hi); color: var(--ink); border-color: var(--hi); }
.btn--yellow:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--line:hover { background: #fff; color: var(--cobalt-deep); border-color: #fff; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; border-color: #000; }
.btn--sm { min-height: 42px; padding: .5rem 1rem; font-size: .95rem; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.iconbtn:hover { background: var(--ink); color: var(--paper); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 246, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.hdr__in { display: flex; align-items: center; gap: .5rem; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: .55rem; margin-right: auto; text-decoration: none; color: var(--ink); min-width: 0; }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__text { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo__amp { background-image: linear-gradient(var(--hi), var(--hi)); background-repeat: no-repeat; background-position: 0 85%; background-size: 100% 50%; padding: 0 .06em; }
.nav, .hdr__r { display: none; }
.hdr__bars, .hdr__bars::before, .hdr__bars::after { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.hdr__bars::before, .hdr__bars::after { content: ""; position: absolute; left: 0; }
.hdr__bars::before { top: -6px; }
.hdr__bars::after { top: 6px; }
.menu-open .hdr__bars { background: transparent; }
.menu-open .hdr__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .hdr__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--ink); max-height: calc(100vh - var(--hdr)); overflow-y: auto; }
.menu__in { padding-top: 1rem; padding-bottom: 1.5rem; }
.menu__list { list-style: none; }
.menu__list > li > a { display: block; padding: .6rem 0; font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu__list a[aria-current] { color: var(--cobalt); }
.menu__list .nav__sub { list-style: none; padding: .25rem 0 .5rem 1rem; }
.menu__list .nav__sub a { display: block; padding: .3rem 0; font-size: 1.05rem; font-weight: 500; color: var(--mute); text-decoration: none; }
.menu__meta { margin-top: 1.25rem; display: grid; gap: .5rem; font-size: 1rem; }
.menu__meta p { margin: 0; }
.menu__open { font-weight: 700; }
.menu__meta .btn { width: 100%; margin-top: .5rem; }

@media (min-width: 1020px) {
  :root { --pad: 28px; --hdr: 72px; }
  .nav, .hdr__r { display: flex; }
  .hdr__call, .hdr__menu, .menu { display: none !important; }
  .logo { margin-right: 1.5rem; }
  .nav > ul { display: flex; gap: .15rem; list-style: none; }
  .nav a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
  .nav a:hover { background: var(--grey); color: var(--ink); }
  .nav a[aria-current] { background: var(--hi); }
  .nav__has { position: relative; }
  .nav__sub { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; margin: 0; padding: .5rem; list-style: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); }
  .nav__has:hover .nav__sub, .nav__has:focus-within .nav__sub { display: block; }
  .hdr__r { margin-left: auto; align-items: center; gap: 1rem; }
  .hdr__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
  .hdr__tel:hover { color: var(--cobalt); }
}

/* ---------- bands ---------- */
.band { padding: clamp(3rem, 8vw, 5.5rem) 0; position: relative; }
.band--tight { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.band--grey { background: var(--grey); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .lede { color: var(--paper); }
.band--ink .micro { color: #C3C6CC; }
.band--cobalt { background: var(--cobalt-deep); color: var(--paper); }
.band--cobalt .lede { color: var(--paper); }
.band--yellow { background: var(--hi); }
.band h2 + .lede { margin-top: 1rem; }
.band .btns { margin-top: 1.5rem; }
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 3rem; } .split--top { align-items: start; } }
.head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.25rem; }
.two { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.three { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } .three { grid-template-columns: repeat(3, 1fr); } }

.final { text-align: left; max-width: 820px; margin-left: auto; margin-right: auto; }
.final h2 { font-size: clamp(2rem, 6.4vw, 3.6rem); }
.final .lede { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(1.75rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { margin-top: 0; }
.hero__art { background: var(--grey); border: 2px solid var(--ink); border-radius: 22px; padding: 1rem; box-shadow: 8px 8px 0 var(--ink); }
.van { display: block; width: 100%; height: auto; }
.news { background: var(--grey); border-left: 4px solid var(--ink); padding: 1rem 1.25rem; margin: 0 0 1.25rem; border-radius: 0 12px 12px 0; }
.news p { margin: 0 0 .5rem; font-size: 1.05rem; }
.proof { list-style: none; display: grid; gap: .6rem; margin: 1.75rem 0 1rem; }
.proof li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .98rem; }
.proof .ico { color: var(--cobalt); }
.rating { margin: 0; font-size: .95rem; color: var(--mute); }
.rating b { font-size: 1.4rem; color: var(--ink); font-weight: 800; margin-right: .2rem; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .proof { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1.5rem; }
}

/* ---------- MTD dates ---------- */
.dates { list-style: none; display: grid; gap: 1rem; margin: 2rem 0 1rem; }
.date { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .15rem; }
.date--next { border-color: var(--cobalt); box-shadow: 6px 6px 0 var(--cobalt); }
.date__when { font-size: clamp(1.6rem, 5.5vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.date__over { font-weight: 700; color: var(--cobalt); font-size: 1.1rem; }
.date__on { color: var(--mute); font-size: .95rem; }
@media (min-width: 760px) { .dates { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.cta-row p { margin: 0; font-weight: 600; max-width: 46ch; }

/* ---------- receipts ---------- */
.receipts { display: grid; gap: 2.5rem; margin: 2rem 0 1.5rem; }
@media (min-width: 1000px) { .receipts { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: start; } }
.receipt {
  --teeth: 12px;
  position: relative; background: #fff; padding: 1.5rem 1.4rem 1.25rem; margin-bottom: var(--teeth);
  filter: drop-shadow(0 10px 14px rgba(18, 20, 23, .13)); font-variant-numeric: tabular-nums;
}
.receipt::after, .slip::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; background: #fff;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 24px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 24px 100%;
}
.receipt__head { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; font-weight: 800; letter-spacing: .08em; font-size: .85rem; padding-bottom: .75rem; border-bottom: 2px dashed var(--ink); }
.receipt__no { font-weight: 600; color: var(--mute); letter-spacing: .04em; white-space: nowrap; }
.receipt__who { color: var(--mute); font-size: .92rem; margin: .75rem 0 0; }
.receipt__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: .5rem 0 0; }
.receipt__per { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--mute); }
.receipt__inc { color: var(--mute); font-size: .92rem; margin: .25rem 0 1rem; }
.receipt__lines, .receipt__not { list-style: none; display: grid; gap: .5rem; padding-top: 1rem; border-top: 2px dashed var(--ink); }
.receipt__lines li { display: flex; gap: .55rem; align-items: flex-start; font-size: .98rem; line-height: 1.4; }
.receipt__lines .ico { color: var(--cobalt); width: 1.1em; height: 1.1em; margin-top: .15em; }
.receipt__not li { font-size: .92rem; color: var(--mute); padding-left: 1rem; position: relative; line-height: 1.4; }
.receipt__not li::before { content: "\00D7"; position: absolute; left: 0; font-weight: 800; color: var(--ink); }
.receipt__small { font-size: .85rem; color: var(--mute); margin: 1rem 0 0; line-height: 1.5; }
.receipt__joke { margin: 1.1rem 0 0; padding-top: .9rem; border-top: 2px dashed var(--ink); font-family: var(--serif); font-style: italic; font-size: 1rem; }
.receipt__h { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; margin: 1.25rem 0 -.5rem; color: var(--mute); }
.receipt__table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: .25rem 0 0; }
.receipt__table th, .receipt__table td { padding: .45rem .3rem; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.receipt__table th:first-child, .receipt__table td:first-child { text-align: left; padding-left: 0; }
.receipt__table thead th { font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); font-weight: 700; line-height: 1.25; }
.receipt__table tbody th { font-weight: 600; }
.receipt__table tbody td { font-weight: 700; }
.strip { background: var(--ink); color: var(--paper); padding: .9rem 1.2rem; border-radius: 10px; font-weight: 600; margin: 2.5rem 0 1.5rem; }

/* ---------- chips, steps, quotes, cards ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0; }
.chips li { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .5rem .35rem .95rem; border: 2px solid currentColor; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1.2; }
.chips b { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .4rem; border-radius: 999px; background: var(--hi); color: var(--ink); font-size: .85rem; }
.steps { list-style: none; display: grid; gap: 1.5rem; margin-top: 2rem; }
.steps li { border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps__n { display: block; font-size: 4rem; font-weight: 800; color: var(--cobalt); line-height: 1; letter-spacing: -0.05em; margin-bottom: .5rem; }
.steps h3 { margin-bottom: .5rem; }
.steps p { margin: 0 0 .6rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.quotes { display: grid; gap: 1.25rem; margin: 1.5rem 0; }
.tquote { margin: 0; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; }
.tquote blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; }
.tquote blockquote p { margin: 0; }
.tquote figcaption { font-size: .92rem; color: var(--mute); }
.tquote figcaption b { color: var(--ink); display: block; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.catchup { display: grid; gap: 2rem; }
.shoebox { list-style: none; background: #fff; border: 2px dashed var(--ink); border-radius: var(--radius); padding: 1.25rem 1.5rem; display: grid; gap: .5rem; align-content: start; font-weight: 600; }
.shoebox li::before { content: ""; display: inline-block; width: .6rem; height: .6rem; background: var(--cobalt); margin-right: .7rem; }
@media (min-width: 900px) { .catchup { grid-template-columns: 1.4fr .6fr; align-items: start; gap: 3rem; } }
.gcards { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.gcard { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.gcard:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--cobalt); }
.gcard__n { font-size: 2.6rem; font-weight: 800; color: var(--cobalt); line-height: 1; letter-spacing: -0.04em; }
.gcard__tag { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--mute); }
.gcard h3 { font-size: 1.35rem; }
.gcard p { margin: 0; color: var(--mute); font-size: .98rem; }
.gcard__meta { margin-top: auto; padding-top: .5rem; font-size: .85rem; color: var(--mute); font-weight: 600; }
@media (min-width: 860px) { .gcards { grid-template-columns: repeat(3, 1fr); } }
.nextup { display: grid; gap: 1rem; }
.nextup__card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem; }
.nextup__when { display: block; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: .6rem; }
.nextup__card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.nextup__card p { margin: 0; font-size: .95rem; color: var(--mute); }
.nextup__empty { margin: 0; }
@media (min-width: 800px) { .nextup { grid-template-columns: repeat(3, 1fr); } }

/* ---------- pageheads ---------- */
.pagehead { padding: clamp(2rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.pagehead h1 { max-width: 16ch; }
.pagehead--article h1 { font-size: clamp(2rem, 7vw, 3.6rem); max-width: 22ch; letter-spacing: -0.03em; }
.pagehead .lede { margin-top: 1.25rem; }
.pagehead__grid { display: grid; gap: 2rem; align-items: center; }
.pagehead__art { display: flex; gap: 1rem; justify-content: flex-start; }
@media (min-width: 900px) { .pagehead__grid { grid-template-columns: 1.4fr .6fr; } .pagehead__art { justify-content: center; } }
.calcard { width: 112px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; text-align: center; transform: rotate(-4deg); box-shadow: 5px 5px 0 var(--ink); display: grid; }
.calcard--b { transform: rotate(3deg); margin-top: 1.5rem; }
.calcard__top { background: var(--cobalt); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; padding: .3rem 0; }
.calcard__day { font-size: 3.4rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.05em; }
.calcard__yr { font-weight: 700; padding-bottom: .5rem; color: var(--mute); }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.jump a { display: inline-block; padding: .4rem .9rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; color: var(--ink); text-decoration: none; font-size: .95rem; }
.jump a:hover { background: var(--ink); color: var(--paper); }
.crumb { margin: 0 0 1rem; font-weight: 600; font-size: .95rem; }

/* ---------- MTD checker ---------- */
.checker { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .checker { grid-template-columns: 1.1fr .9fr; gap: 3rem; } .result { position: sticky; top: calc(var(--hdr) + 16px); } }
.q { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.q legend, .qs legend { display: flex; gap: .7rem; align-items: flex-start; font-weight: 750; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; padding: 0; margin-bottom: .6rem; float: left; width: 100%; }
.q legend + *, .qs legend + * { clear: both; }
.q__n { flex: none; display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: .95rem; font-weight: 700; margin-top: .05rem; }
.q__help { font-size: .95rem; color: var(--mute); margin: 0 0 .9rem; }
.opts { display: grid; gap: .6rem; }
.opts--3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opts { grid-template-columns: 1fr 1fr; } .opts--3 { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .opts--3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__box { display: block; height: 100%; padding: .85rem 1rem; border: 2px solid var(--line); background: #fff; border-radius: 12px; transition: border-color .12s ease, background-color .12s ease; }
.opt__box b { display: block; font-weight: 700; line-height: 1.25; }
.opt__box small { display: block; color: var(--mute); font-size: .88rem; line-height: 1.35; margin-top: .2rem; }
.opt:hover .opt__box { border-color: var(--ink); }
.opt input:checked + .opt__box { border-color: var(--cobalt); background: var(--cobalt-tint); box-shadow: inset 0 0 0 1px var(--cobalt); }
.opt input:focus-visible + .opt__box { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.checker__btns { margin-top: 1rem; }
.result { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 1.5rem; min-height: 14rem; scroll-margin-top: calc(var(--hdr) + 12px); }
.result.is-filled { box-shadow: 8px 8px 0 var(--hi); }
.result:focus { outline: none; }
.result__idle { color: var(--mute); margin: 0; }
.result__kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--cobalt); margin: 0 0 .4rem; }
.result__date { font-size: clamp(2rem, 7vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 .6rem; }
.result__date--small { font-size: 1.5rem; letter-spacing: -0.02em; }
.result__sub { margin: 0 0 1.25rem; color: var(--ink); }
.result h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.numlist { padding-left: 1.3rem; display: grid; gap: .45rem; }
.stamp { margin-top: 1.5rem; }

/* ---------- panels, lists, tables ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem 1.4rem; }
.band:not(.band--grey) .panel { background: var(--paper); border-color: var(--ink); border-width: 2px; }
.panel h3 { margin-bottom: .7rem; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }
.panel__ico { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--hi); margin-bottom: .8rem; }
.panel--note { margin-top: 2rem; border-left: 6px solid var(--cobalt); }
.panel--yellow, .band:not(.band--grey) .panel--yellow { background: var(--hi); border-color: var(--ink); }
.panel--dark, .band:not(.band--grey) .panel--dark { background: var(--cobalt-deep); color: var(--paper); border-color: var(--hi); }
.panel--dark p { color: var(--paper); }
.slot { border-left-color: var(--hi); }
.tick, .cross { list-style: none; display: grid; gap: .55rem; margin: 0 0 1rem; }
.tick li, .cross li { position: relative; padding-left: 1.7rem; }
.tick li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .85rem; height: .45rem; border-left: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); transform: rotate(-45deg); }
.cross li::before { content: "\00D7"; position: absolute; left: 0; top: -.1em; font-size: 1.5rem; font-weight: 800; color: #B3261E; line-height: 1.3; }
.prose, .prose-wide { max-width: 72ch; }
.prose-wide p { margin-bottom: 1em; }
.numlist li { padding-left: .3rem; }
.table-wrap { overflow-x: auto; contain: paint; margin: 1.5rem 0; }
.rows { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; font-size: .98rem; }
.rows th, .rows td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rows thead th { background: var(--ink); color: var(--paper); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.rows tbody th { font-weight: 700; width: 28%; }
.rows .num { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 719px) {
  .rows:not(.rows--stages) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rows:not(.rows--stages), .rows:not(.rows--stages) tbody, .rows:not(.rows--stages) tr, .rows:not(.rows--stages) th, .rows:not(.rows--stages) td { display: block; width: 100%; }
  .rows:not(.rows--stages) tr { padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
  .rows:not(.rows--stages) tr:last-child { border-bottom: 0; }
  .rows:not(.rows--stages) th, .rows:not(.rows--stages) td { padding: 0; border: 0; width: auto !important; }
  .rows:not(.rows--stages) td.num { color: var(--cobalt); font-size: 1.15rem; margin: .1rem 0 .25rem; }
  .rows:not(.rows--stages) td:not(.num) { color: var(--mute); font-size: .92rem; }
  .rows--stages th, .rows--stages td { padding: .7rem .6rem; font-size: .92rem; }
}
.faq { margin-top: 1.5rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; font-weight: 700; font-size: 1.1rem; line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .55rem; font-size: 1.8rem; font-weight: 500; color: var(--cobalt); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.1rem; max-width: 66ch; color: var(--ink); }
.icons { list-style: none; display: grid; gap: .8rem; margin-top: 2rem; }
.icons li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.icons .ico { width: 1.7rem; height: 1.7rem; color: var(--cobalt); }
@media (min-width: 700px) { .icons { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .icons { grid-template-columns: repeat(3, 1fr); } }
.trio { display: grid; gap: 1.25rem; margin: 2.5rem 0 1rem; }
.trio__i { border-top: 3px solid var(--ink); padding-top: 1rem; }
.trio__ico { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--hi); margin-bottom: .75rem; }
.trio__ico .ico { width: 1.6rem; height: 1.6rem; }
.trio__i h3 { margin-bottom: .5rem; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* ---------- quote builder ---------- */
.quote-wrap { margin-top: 1rem; }
form.quote { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
.quote__steps { display: grid; gap: 2rem; min-width: 0; }
.qs { border: 0; padding: 0; margin: 0; min-width: 0; }
.addgrid { display: grid; gap: .6rem; }
.mini { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: .7rem .9rem; margin: 0; min-width: 0; }
.mini legend { font-weight: 700; font-size: .95rem; padding: 0 .3rem; }
.mini__opt { display: flex; align-items: center; gap: .65rem; padding: .4rem 0; cursor: pointer; line-height: 1.3; font-size: .98rem; }
.mini__opt input { flex: none; width: 1.2rem; height: 1.2rem; accent-color: var(--cobalt); margin: 0; }
.mini__opt span { flex: 1; min-width: 0; }
.mini__opt em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: auto; padding-left: .5rem; white-space: nowrap; }
.mini__opt--box { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: .75rem .9rem; }
.mini__opt--box:has(input:checked) { border-color: var(--cobalt); background: var(--cobalt-tint); }
.mini--step { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mini__t b { display: block; font-size: .98rem; }
.mini__t small { display: block; color: var(--mute); font-size: .85rem; line-height: 1.3; }
.stepper { display: inline-flex; align-items: center; gap: .3rem; }
.stepper__b { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.stepper__b:hover { background: var(--ink); color: var(--paper); }
.stepper input { width: 3.4rem; height: 40px; text-align: center; border: 2px solid var(--line); border-radius: 10px; font: 700 1.05rem var(--sans); background: #fff; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quote__receipt { display: contents; }
.quote__bar { order: -1; position: sticky; top: var(--hdr); z-index: 20; display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 10px; font-size: .95rem; margin-bottom: -.5rem; }
.quote__bar b { font-size: 1.35rem; letter-spacing: -0.02em; color: var(--hi); }
.quote__bar-inc { color: #C9CCD2; font-size: .88rem; }
.slip { --teeth: 12px; position: relative; background: #fff; padding: 1.4rem 1.3rem 1.2rem; margin-bottom: 12px; filter: drop-shadow(0 10px 14px rgba(18, 20, 23, .13)); font-variant-numeric: tabular-nums; min-width: 0; }
.slip__head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; font-weight: 800; letter-spacing: .08em; font-size: .82rem; padding-bottom: .7rem; border-bottom: 2px dashed var(--ink); }
.slip__head span:last-child { font-weight: 600; color: var(--mute); letter-spacing: .03em; }
.slip__sub { margin: .7rem 0 0; font-weight: 600; color: var(--mute); font-size: .92rem; }
.slip__h { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; color: var(--cobalt); margin: 1.1rem 0 .3rem; }
.slip__lines { list-style: none; }
.slip__line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }
.slip__line span { min-width: 0; }
.slip__line b { white-space: nowrap; }
.slip__lines--tot { margin-top: .5rem; }
.slip__grand { border-bottom: 0; font-size: 1.15rem; font-weight: 800; padding-top: .6rem; }
.slip__grand b { font-size: 1.4rem; letter-spacing: -0.02em; }
.slip__note { font-size: .88rem; color: var(--mute); margin: .6rem 0 0; }
.slip__fine { font-size: .82rem; color: var(--mute); margin: 1rem 0 0; padding-top: .8rem; border-top: 2px dashed var(--ink); line-height: 1.5; }
.slip__joke { font-family: var(--serif); font-style: italic; margin: .8rem 0 0; font-size: .98rem; }
.quote__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 980px) {
  form.quote { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
  .quote__receipt { display: block; position: sticky; top: calc(var(--hdr) + 16px); }
  .quote__bar { display: none; }
  .quote__btns { margin-top: 1.5rem; }
  .opts--3 { grid-template-columns: 1fr; }
}

/* ---------- deadlines ---------- */
.dl-filters { display: grid; gap: 1rem; margin: 1.5rem 0 1rem; }
.dl-filters fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dl-filters legend { font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 0; margin-bottom: .5rem; }
.dl-chips, .dl-presets { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .45rem .95rem; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: .95rem; background: #fff; transition: background-color .12s ease; }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.chipbtn { padding: .45rem .95rem; border: 2px dashed var(--ink); border-radius: 999px; background: transparent; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.chipbtn:hover { background: var(--hi); border-style: solid; }
.dl-count { font-size: .9rem; color: var(--mute); margin: 0 0 1.25rem; }
.dl-month h3 { font-size: 1.5rem; margin: 1.75rem 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.dl-items { list-style: none; display: grid; gap: .75rem; }
.dl-item { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; }
.dl-item.is-next { border: 2px solid var(--cobalt); box-shadow: 5px 5px 0 var(--cobalt); }
.dl-date { text-align: center; align-self: start; }
.dl-day { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.is-next .dl-day { background-image: linear-gradient(var(--hi), var(--hi)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 50%; }
.dl-dow { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-top: .2rem; }
.dl-body { min-width: 0; }
.dl-next { display: inline-block; background: var(--cobalt); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: .15rem .55rem; border-radius: 999px; margin-bottom: .35rem; }
.dl-title { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .2rem; }
.dl-detail { margin: 0 0 .5rem; font-size: .95rem; color: var(--mute); line-height: 1.45; }
.dl-tags { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .75rem; font-weight: 600; background: var(--grey); border-radius: 999px; padding: .12rem .6rem; }
.dl-empty { background: #fff; border: 2px dashed var(--ink); border-radius: 12px; padding: 1.25rem; }
@media (min-width: 860px) {
  .dl-items { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* ---------- about ---------- */
.about { display: grid; gap: 2.5rem; }
.prose-serif { font-family: var(--serif); font-size: 1.18rem; line-height: 1.65; }
.prose-serif h2 { font-family: var(--sans); font-size: clamp(1.6rem, 4.6vw, 2.1rem); margin: 2.25rem 0 .75rem; }
.prose-serif h3, .prose-serif .tick, .prose-serif .cross, .prose-serif .micro, .prose-serif .panel { font-family: var(--sans); }
.prose-serif .tick, .prose-serif .cross { font-size: 1.05rem; }
.standfirst { font-size: 1.4rem; line-height: 1.45; font-weight: 600; margin-bottom: 1.5rem; }
.rules { list-style: none; counter-reset: r; display: grid; gap: 1rem; margin: 1.5rem 0; }
.rules li { counter-increment: r; position: relative; padding: 1rem 1rem 1rem 3.6rem; background: var(--grey); border-radius: 12px; font-family: var(--sans); font-size: 1.02rem; line-height: 1.5; }
.rules li::before { content: counter(r); position: absolute; left: 1rem; top: .7rem; font-size: 1.9rem; font-weight: 800; color: var(--cobalt); letter-spacing: -0.04em; }
.about__side { display: grid; gap: 1rem; align-content: start; }
.statcard { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: grid; gap: .15rem; font-weight: 600; }
.statcard__n { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--cobalt); }
@media (min-width: 1000px) { .about { grid-template-columns: 1fr 280px; gap: 4rem; } .about__side { position: sticky; top: calc(var(--hdr) + 24px); } }
.timeline { list-style: none; margin-top: 2rem; border-left: 3px solid var(--ink); padding-left: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; gap: .1rem; padding: .35rem 0 1.25rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .75rem; width: 15px; height: 15px; border-radius: 50%; background: var(--hi); border: 3px solid var(--ink); }
.timeline__d { font-weight: 800; color: var(--cobalt); font-size: 1.1rem; }
.timeline__t { max-width: 66ch; }
@media (min-width: 760px) { .timeline li { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.team { display: grid; gap: 2rem; margin: 2rem 0; }
.person { display: flex; flex-direction: column; }
.person__art { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; aspect-ratio: 3 / 4; max-width: 340px; width: 100%; background: var(--grey); }
.avatar { display: block; width: 100%; height: 100%; }
.person h3 { margin-bottom: .15rem; }
.person__role { color: var(--cobalt); font-weight: 700; margin: 0 0 .6rem; font-size: .95rem; }
.person__bio { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; margin: 0; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; } }
@media (min-width: 1200px) { .team { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } .person__art { max-width: none; } }

/* ---------- contact ---------- */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.2fr .8fr; gap: 3.5rem; } }
.form h2 { margin-bottom: 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff; font: 400 1.05rem var(--sans); color: var(--ink); }
.field textarea { resize: vertical; min-height: 7rem; }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.field__err { color: #B3261E; font-weight: 600; font-size: .92rem; margin: .35rem 0 0; }
.field__hint { color: var(--mute); font-size: .88rem; margin: .35rem 0 0; }
.contact__side { display: grid; gap: 1.25rem; }
.contact__open { font-weight: 700; color: var(--cobalt); }
.big { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .5rem .4rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours th { font-weight: 700; }
.hours tr.is-today > * { background: var(--hi); }
.hours tr.is-today th::after { content: " (today)"; font-weight: 500; }
.hours__jan { font-size: .88rem; color: var(--mute); margin: .8rem 0 0; }
.routeflow { list-style: none; display: grid; gap: 0; margin: 2rem 0 .5rem; }
.routeflow li { position: relative; padding: 0 0 1.75rem 3.5rem; }
.routeflow li::before { content: ""; position: absolute; left: 1rem; top: 2.1rem; bottom: -.1rem; border-left: 4px dashed var(--ink); }
.routeflow li:last-child::before { display: none; }
.routeflow__dot { position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 4px solid var(--ink); background: var(--paper); }
.routeflow li.is-us .routeflow__dot { background: var(--cobalt); border-color: var(--cobalt); }
.routeflow b { display: block; font-size: 1.15rem; }
.routeflow small { color: var(--mute); font-size: .95rem; }
@media (min-width: 800px) {
  .routeflow { grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; }
  .routeflow li { padding: 3.2rem .5rem 0 0; }
  .routeflow li::before { left: 2.4rem; right: 0; top: .9rem; bottom: auto; border-left: 0; border-top: 4px dashed var(--ink); width: auto; }
  .routeflow li:last-child::before { display: none; }
  .routeflow__dot { left: 0; }
}

/* ---------- footer, pill, sheet ---------- */
.ftr { background: var(--ink); color: var(--paper); padding: 3.5rem 0 1.5rem; }
.ftr a { color: var(--paper); }
.ftr a:hover { color: var(--hi); }
.ftr__grid { display: grid; gap: 2rem; }
.ftr__logo { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 .4rem; }
.ftr__tag { color: #C9CCD2; margin-bottom: 1rem; }
.ftr address { font-style: normal; line-height: 1.7; }
.ftr__h { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hi); margin: 0 0 .8rem; font-weight: 700; }
.ftr__col p { font-size: .95rem; }
.ftr__open { color: var(--hi); font-weight: 600; }
.ftr__links { list-style: none; display: grid; gap: .35rem; font-size: .98rem; }
.ftr__reg p { color: #C9CCD2; }
.ftr__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #3A3F47; }
.ftr__base p { margin: 0; font-size: .9rem; color: #C9CCD2; max-width: 80ch; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.4fr 1fr .8fr 1.3fr; gap: 2.5rem; } }
.pill { position: fixed; left: 10px; bottom: 10px; z-index: 40; background: var(--hi); color: var(--ink) !important; font: 700 .78rem/1 var(--sans); padding: .55rem .85rem; border-radius: 999px; text-decoration: none; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.pill:hover { background: #fff; }
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(18, 20, 23, .62); display: grid; place-items: center; padding: 1rem; overflow-y: auto; }
.sheet__panel { background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; padding: 1.5rem; width: 100%; max-width: 560px; max-height: calc(100vh - 2rem); overflow-y: auto; box-shadow: 8px 8px 0 var(--hi); }
.sheet__title { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: .75rem; }
.sheet__title:focus { outline: none; }
.sheet__line { font-weight: 700; }
.sheet__line:empty { display: none; }
.sheet__summary { margin: 0 0 1rem; max-height: 45vh; overflow-y: auto; }
.sheet__summary .slip { margin-bottom: 14px; }
.sheet__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 0; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* ---------- articles ---------- */
.article { padding-bottom: 4rem; }
.article .prose-serif > p, .article .prose-serif > ul { margin-bottom: 1.1em; }
.article .table-wrap { font-family: var(--sans); }
.endbox { background: var(--hi); border: 2px solid var(--ink); border-radius: 18px; padding: 1.75rem; margin: 3rem 0 1.5rem; box-shadow: 8px 8px 0 var(--ink); }
.endbox h2 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin-bottom: .5rem; }
.endbox p { margin: 0; max-width: 54ch; }
.more { margin-top: 2rem; }

/* ---------- print: the quote receipt only ---------- */
@media print {
  .hdr, .ftr, .pill, .sheet, .skip, .pagehead, main > section:not(#quote), .quote__steps, .quote__btns, .quote__bar, #quote > .wrap > h2, #quote > .wrap > .lede { display: none !important; }
  body { background: #fff; padding: 0; }
  .quote { display: block !important; }
  .quote__receipt { position: static !important; display: block !important; }
  .slip { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
