:root {
  color-scheme: light;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-action: .25rem;
  --radius-corner: 0px;
  --logo: url("../assets/mark.svg");
  --color-ink: #101e31;
  --color-paper: #fffefa;
  --color-on-dark: #faf9f5;
  --color-on-accent: #101e31;
  --gutter: clamp(1.25rem, 6vw, 5.75rem);
  --type-figure: clamp(2.65rem, 2.15rem + 2vw, 4rem);
  --band-space: clamp(2.65rem, 5vw, 4.5rem);
}
html:has(.kit-layout) { --top-ground: var(--mast-ground); }
body { overflow-wrap: break-word; font-weight: 400; }
.wrap { max-width: 90rem; }
h1, h2, .faq-grid dt { font-family: var(--font-display); }
h2 { font-weight: 600; }
.kit-layout .mast { background: var(--mast-ground); color: var(--mast-ink); }
.kit-layout .brand {
  display: flex; align-items: center; flex-wrap: wrap; max-width: 100%;
  font: 650 var(--type-h3)/1.1 var(--font-body);
  letter-spacing: -.055em;
}
.brand svg { flex: none; width: 1.22em; height: 1.22em; }
.kit-hero { gap: clamp(2rem, 4vw, 4rem); }
.kit-hero > *, .price-card > * { min-width: 0; }
.kit-hero .stack { --stack-space: 1rem; }
.kit-hero h1 { font-size: var(--type-display); line-height: .98; }
.kit-hero h1 em { display: block; }
.kit-hero .subline { max-width: 35ch; line-height: 1.45; }
form { max-width: 32rem; --switch-at: 19rem; }
.kit-hero form { margin-top: 1.3rem; }
.watch-field label { font: 650 var(--type-small)/1.45 var(--font-body); }
.watch-field .switcher { gap: .4rem; }
.watch-field .switcher input { flex-grow: 1.4; }
.watch-field input { border-radius: var(--radius-action); }
.action { padding-inline: .75rem; border: 1px solid transparent; font-weight: 650; line-height: 1.2; }
.kit-hero .watch-note, .watch-note { max-width: 52ch; margin-top: .55rem; line-height: 1.4; }
[data-hero-object] { container-type: inline-size; width: 100%; min-width: 0; justify-self: center; }
/* Give enlarged receipt text the available column before reducing its type. */
.receipt-stage { min-width: min(100%, calc(20em - 6rem)); position: relative; isolation: isolate; margin-inline: auto; }
.kit-hero .price-card {
  color: var(--color-ink); background: var(--color-paper); border: 0;
  border-radius: 0; padding: var(--slip-pad); font-family: var(--font-mono);
}
.price-card::after, .back-sheet::after {
  content: ""; position: absolute; top: calc(100% - 1px); left: 0; right: 0; height: 7px;
  background: var(--color-paper);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 0h12L6 7Z'/%3E%3C/svg%3E") left top / 12px 7px repeat-x;
}
.price-card .stamp { white-space: nowrap; font-size: min(var(--type-small), 9cqi); line-height: 1.3; letter-spacing: .1em; }
.price-card header { border-color: #889198; }
.price-card .price-total {
  display: grid; justify-content: normal; gap: .4rem; padding-block: 1rem; border-top: none;
}
.price-total strong {
  /* Leave space for six monospaced characters and the currency at double text size. */
  --amount-size: clamp(1em, calc((100cqi - 2 * var(--slip-pad) - 4 * var(--type-body)) / 6.5), var(--type-figure));
  font: 600 var(--amount-size)/1 var(--font-mono); white-space: nowrap; letter-spacing: -.075em;
}
.price-total .currency { font: 600 var(--type-body)/1 var(--font-mono); letter-spacing: 0; }
.price-total .small { color: #455360; }
.checks { gap: .55rem; padding-top: 1rem; border-top: 1px dashed #889198; }
.checks li { font: 500 var(--type-body)/1.32 var(--font-body); }
.checks li::before { display: none; }
.checks svg { position: absolute; left: 0; top: .09em; width: 1.15em; height: 1.15em; }
figcaption { position: relative; margin: 1.5rem auto 0; line-height: 1.45; text-align: center; }
.thermal-bars { height: .9rem; width: 4.25rem; }
.step-list { container-type: inline-size; }
.step-list li { border-top-width: 1px; }
.step-list.numbered li::before { font-weight: 500; }
@container (max-width: 9em) {
  .step-list.numbered li { grid-template-columns: max-content minmax(0, 1fr); column-gap: .5rem; }
}
.faq-grid dl { padding: 0; background: transparent; }
.faq-grid dt { font-size: var(--type-h3); line-height: 1.2; }
.faq-grid dd { margin-top: .5rem; max-width: 42ch; }
.kit-layout .foot, .kit-layout .foot a { font-size: var(--type-small); }
.kit-layout .foot a { font-weight: 600; }
.privacy-copy { max-width: 52rem; }
@media (min-width: 47.5rem) {
  .kit-hero { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); }
  .kit-hero .stack { --stack-space: 1.25rem; }
}

/* A printed masthead, loose receipts and the brass booking slip. */
:root {
  --font-display: Didot, "Bodoni MT", "Times New Roman", serif;
  --color-brand: #152438;
  --color-ground: #f6f3e9;
  --color-panel: #ede9de;
  --color-tint: #e2dfd7;
  --color-on-brand: #fffdf6;
  --color-accent: #dcb85d;
  --mast-ground: var(--color-ground);
  --mast-ink: var(--color-ink);
  --radius-action: 0px;
  --slip-pad: min(clamp(1.15rem, 2.1vw, 2rem), 7cqi);
  --type-display: clamp(3.08rem, 1.25rem + 6.95vw, 7.7rem);
  --signature: .receipt-stage;
}
.paper-page .mast-inner { position: relative; border-bottom: 2px solid currentColor; }
.paper-page .brand { width: 100%; gap: .5rem; justify-content: space-between; padding-block: .55rem; }
.paper-page .brand svg {
  order: 1; width: clamp(2.8rem, 5.4vw, 4.85rem); height: auto;
  transform: rotate(8deg);
}
.paper-page .brand span { font-family: var(--font-display); font-weight: 700; font-size: var(--type-h2); letter-spacing: -.075em; }
.kit-band[data-section="hero"] {
  color: var(--color-ink); background: var(--color-ground);
  padding-block: clamp(1.3rem, 3.7vw, 3.4rem) clamp(2.25rem, 4.4vw, 4.5rem);
}
.kit-hero h1 { max-width: 12ch; font-weight: 500; line-height: .94; letter-spacing: -.068em; }
.kit-hero h1 em { font-weight: 400; }
.kit-hero .stack { --stack-space: 1.15rem; }
[data-section="hero"] .watch-field input { background: #fffdf7; }
.watch-field input { border-color: #5a6064; }
.action { --action-focus: var(--color-ink); color: var(--color-on-brand); background: var(--color-brand); }
.watch-note, figcaption { color: #414b53; }
.receipt-stage { width: min(80%, 23.5rem); margin-block-start: 1.15rem; }
.back-sheet, .kit-hero .price-card { box-shadow: 1px 5px 9px #19212c24, 0 0 0 1px #1524381a; }
.back-sheet {
  position: absolute; z-index: -1; top: 0; bottom: 0; left: 5%; right: 5%;
  transform-origin: 50% 81%; background: var(--color-paper);
  padding: 1.25rem 1rem;
}
.sheet-one { transform: translate(-3%, -1%) rotate(-15deg); --color-paper: #e8e4d9; }
.sheet-two { transform: translate(1%, -2%) rotate(13deg); --color-paper: #f3f0e7; }
.back-sheet i {
  display: block; width: 95%; height: .28rem; margin-bottom: .55rem;
  background: #b4b1a9; filter: blur(1.1px);
}
.back-sheet i:nth-child(2) { width: 73%; }
.back-sheet i:nth-child(3) { height: 1.6rem; background: transparent; border-block: 1px dashed #aaa79f; }
.kit-hero .price-card { transform: rotate(-3deg); padding-bottom: 1rem; }
.price-card header { align-items: center; gap: .5rem; }
.price-card .thermal-bars { width: 2.6rem; height: .85rem; }
.price-card .price-total { padding-block: 1.25rem; }
.checks { row-gap: .6rem; }
.checks li:last-child {
  display: flex; gap: .6rem; align-items: baseline; position: relative;
  margin: .65rem calc(0px - var(--slip-pad) - .45rem) 0;
  padding: .9rem 1rem 1rem; color: var(--color-ink); background: var(--color-accent);
  box-shadow: .15rem .24rem 0 #15243824; transform: rotate(3deg);
}
.checks li:last-child::after {
  content: ""; position: absolute; right: .6rem; top: .45rem; width: .53rem; height: .53rem;
  border-radius: 50%; background: var(--color-brand); box-shadow: 1px 2px 0 #15243842;
}
.checks li:last-child svg { position: static; flex: none; align-self: center; }
.booking .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.booking { display: grid; gap: .23rem; }
.booking strong { font: 700 var(--type-h3)/1 var(--font-body); letter-spacing: -.045em; }
.booking span { font: 500 var(--type-small)/1.4 var(--font-mono); }
figcaption { margin-top: 1.9rem; }
h2 { font-weight: 500; letter-spacing: -.05em; }
.kit-band[data-section="pain"] { color: var(--color-on-brand); background: var(--color-brand); }
.kit-band[data-section="steps"] { color: var(--color-ink); background: var(--color-ground); }
.kit-band[data-section="proof"] { color: var(--color-on-brand); background: var(--color-brand); }
[data-section="proof"] strong { color: var(--color-accent); }
.kit-band[data-section="faq"] { color: var(--color-ink); background: var(--color-panel); }
.kit-band[data-section="cta"] { color: var(--color-ink); background: var(--color-ground); border-top: 1px solid var(--color-ink); }
@media (min-width: 47.5rem) {
  .kit-hero { gap: 3%; }
  .receipt-stage { margin-block-start: 2rem; }
  .checks li:last-child { padding: 1.2rem 1.5rem; }
}
@media (max-width: 22rem) {
  .kit-hero h1 { font-size: min(var(--type-display), 14vw); }
  .receipt-stage { width: 84%; }
  .kit-hero .price-card { transform: rotate(-1deg); }
  .sheet-one { transform: rotate(-7deg); }
  .sheet-two { transform: rotate(7deg); }
}
@media (max-width: 47.49rem) {
  .paper-page .brand span { font-size: var(--type-h3); }
}
/* Keep the decorative corners inside the figure when enlarged text lengthens the slip. */
@container (max-width: 17em) {
  .back-sheet { top: .2rem; bottom: auto; height: 85%; max-height: 13rem; }
  .kit-hero .price-card { transform: none; }
}
