/* Self-hosted fonts (SIL Open Font License), latin + latin-ext subsets */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-100-900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-100-900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-700-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 700 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-700-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ownalytics, direction 2: "The receipt" */

:root {
  --plum: #3B1E54;
  --plum-deep: #2A1340;
  --plum-slot: #1C0B2B;
  --plum-light: #CDB6E3;
  --paper: #FBFBF6;
  --ink: #22201F;
  --fade: #8A8784;      /* decorative only: leaders, rules (not for small text) */
  --ink-soft: #5F5C59;  /* secondary text on paper, AA */
  --marker: #F4E04D;    /* totals only */

  /* Heatlens identity: used only on the Heatlens ticket and page */
  --hl-mint: #DFF5EA;
  --hl-navy: #1D2B53;
  --hl-pink: #FF4D8D;
  --hl-tangerine: #FF9F1C;
  --hl-sun: #FFD23F;

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --hl-font: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;

  --gutter: 16px;
  --tooth: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--plum);
  color: var(--paper);
  font-family: var(--sans);
  font-stretch: 100%;
  font-size: 1.125rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 600px) { :root { --gutter: 32px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Focus & skip link ---------- */

:focus-visible {
  outline: 3px solid var(--plum-light);
  outline-offset: 3px;
}
.paper :focus-visible { outline-color: var(--plum); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -200px;
  z-index: 20;
  padding: .7em 1.1em;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; outline-color: var(--marker); }

/* ---------- Type ---------- */

.display {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: 1.04;
  letter-spacing: -.012em;
}

.mono { font-family: var(--mono); }

.h2 { font-size: clamp(1.85rem, 1.15rem + 2.6vw, 3rem); }
.h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }

.lede {
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
  color: var(--plum-light);
  max-width: 36ch;
}

.text-link {
  color: var(--plum-light);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}
.text-link:hover { color: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  --shadow: var(--plum-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .7em 1.35em;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--shadow); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--shadow); }

.btn--navy {
  --shadow: var(--hl-pink);
  background: var(--hl-navy);
  border-color: var(--hl-navy);
  color: #FFFFFF;
}
.btn--hl {
  --shadow: var(--hl-pink);
  background: var(--hl-mint);
  border-color: var(--hl-navy);
  color: var(--hl-navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 32px;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ---------- Header ---------- */

.site-header {
  padding-block: 18px;
  border-bottom: 2px dashed rgba(205, 182, 227, .32);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 6px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-size: 1.375rem;
  letter-spacing: -.01em;
  line-height: 1;
}
.wordmark svg { width: 20px; height: 26px; flex: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--plum-light);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--paper); border-bottom-color: currentColor; }
@media (min-width: 720px) {
  .nav { gap: 2px 32px; }
  .nav a { font-size: 1.0625rem; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 72px;
  border-top: 2px dashed rgba(205, 182, 227, .32);
}
@media (min-width: 900px) { .section { padding-block: 104px; } }

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}
.section-head .h2 { margin-bottom: 18px; }
.section-head p { color: var(--plum-light); max-width: 58ch; margin: 0; }

/* ---------- Hero ---------- */

.hero { padding-block: 48px 88px; }
@media (min-width: 960px) { .hero { padding-block: 80px 120px; } }

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 64px;
  }
  .hero-copy { padding-top: 40px; }
}

.hero h1 {
  font-size: clamp(2.1rem, 1.1rem + 4.2vw, 4.4rem);
  margin-bottom: 28px;
}
.hero h1 span { display: block; }

/* ---------- Paper surfaces & torn edges ---------- */

.paper {
  background: var(--paper);
  color: var(--ink);
}

.torn { position: relative; }
.torn::before,
.torn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--tooth);
  background-size: calc(var(--tooth) * 2) calc(var(--tooth) * 2);
  background-repeat: repeat-x;
  pointer-events: none;
}
.torn::before {
  top: calc(var(--tooth) * -1 + 1px);
  background-image:
    linear-gradient(45deg, var(--paper) 50%, transparent 50%),
    linear-gradient(-45deg, var(--paper) 50%, transparent 50%);
  background-position: center top;
}
.torn::after {
  bottom: calc(var(--tooth) * -1 + 1px);
  background-image:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%),
    linear-gradient(225deg, var(--paper) 50%, transparent 50%);
  background-position: center bottom;
}

/* ---------- Receipt / slip content ---------- */

.slip {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  padding: 30px 22px 28px;
}
@media (min-width: 400px) { .slip { padding-inline: 28px; } }

.r-head { text-align: center; margin-bottom: 4px; }
.r-brand {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: .2em;
  line-height: 1.3;
}
.r-small {
  margin: 0;
  font-size: .9375rem;
  color: var(--ink-soft);
}

.r-label {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.5;
}

.r-list { list-style: none; margin: 0; padding: 0; }

.r-row {
  display: flex;
  align-items: flex-end;
  margin: 0;
}
.r-row > :first-child { flex: 0 1 auto; min-width: 0; }
.r-row .lead {
  flex: 1 1 1.5em;
  min-width: 1.5em;
  margin: 0 .55em .45em;
  border-bottom: 2px dotted var(--fade);
}
.r-row .val {
  flex: none;
  white-space: nowrap;
  font-weight: 500;
  text-align: right;
}
.r-sub {
  margin: -2px 0 0;
  font-size: .875rem;
  color: var(--ink-soft);
}

.r-rule {
  height: 0;
  margin: 16px 0;
  border: 0;
  border-top: 2px dashed var(--fade);
}
.r-rule--double {
  margin: 18px 0 14px;
  border-top: 5px double var(--ink);
}

.r-total {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2px 0 6px;
}
.r-total .val { font-weight: 600; }

/* highlighter swipe: totals only */
.marker { position: relative; isolation: isolate; }
.marker::before {
  content: "";
  position: absolute;
  inset: -.08em -.4em -.02em -.45em;
  z-index: -1;
  background: var(--marker);
  border-radius: .25em .6em .35em .7em / .6em .3em .7em .35em;
  transform: rotate(-1.1deg) skewX(-10deg);
}

.r-foot { margin-top: 4px; text-align: center; }
.r-foot p { margin: 0; }
.r-thanks { font-weight: 600; }

.barcode {
  height: 46px;
  margin: 18px auto 8px;
  max-width: 230px;
  background:
    repeating-linear-gradient(90deg,
      var(--ink) 0 2px, transparent 2px 4px,
      var(--ink) 4px 5px, transparent 5px 8px,
      var(--ink) 8px 11px, transparent 11px 12px,
      var(--ink) 12px 13px, transparent 13px 16px,
      var(--ink) 16px 17px, transparent 17px 19px,
      var(--ink) 19px 22px, transparent 22px 25px);
}

.slip a {
  color: var(--ink);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .18em;
}
.slip a:hover { color: var(--plum); }

/* ---------- Hero printer ---------- */

.printer {
  position: relative;
  width: 100%;
  margin: 0;
}
@media (min-width: 600px) and (max-width: 959px) {
  .printer { max-width: 460px; margin-inline: auto; }
}
@media (min-width: 960px) {
  .printer { max-width: 430px; margin-left: auto; }
}

.slot {
  position: relative;
  z-index: 2;
  height: 16px;
  margin-inline: -8px;
  border-radius: 8px;
  background: var(--plum-slot);
  box-shadow:
    inset 0 5px 0 rgba(0, 0, 0, .5),
    0 1px 0 rgba(205, 182, 227, .28);
}
@media (min-width: 600px) { .slot { margin-inline: -16px; } }

.feed {
  margin-top: -8px;
  padding-top: 20px;
  /* clip only along the slot line; let shadow and bottom edge breathe */
  clip-path: inset(0 -80px -160px -80px);
}

.receipt {
  filter: drop-shadow(0 22px 26px rgba(14, 4, 24, .5));
}

@keyframes print {
  from { transform: translateY(calc(-100% - 40px)); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .receipt.is-printing {
    animation: print 1.9s cubic-bezier(.33, .55, .25, 1) .25s both;
  }
}

/* ---------- Catalog ---------- */

.catalog {
  display: grid;
  gap: 48px 36px;
  align-items: start;
}
@media (min-width: 960px) {
  .catalog { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
}

.ticket {
  display: grid;
  filter: drop-shadow(0 18px 22px rgba(14, 4, 24, .38));
}
@media (min-width: 640px) {
  .ticket { grid-template-columns: minmax(0, 1fr) 200px; }
}

.ticket__main { padding: 34px 22px 36px; }
@media (min-width: 400px) { .ticket__main { padding-inline: 30px; } }

.ticket__lede {
  max-width: 40ch;
  margin: 0 0 22px;
  font-size: 1.125rem;
}
.ticket__lines {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.7;
}

.ticket__stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 22px 28px;
  border-top: 2px dashed var(--fade);
}
@media (min-width: 400px) { .ticket__stub { padding-inline: 30px; } }
@media (min-width: 640px) {
  .ticket__stub {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 28px 18px;
    border-top: 0;
    border-left: 2px dashed var(--fade);
  }
}

.stub-price {
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem);
  line-height: 1;
}
.stub-terms {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.stub-terms span { display: block; color: var(--ink-soft); font-size: .9375rem; }

/* Heatlens sticker */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  margin: 0 0 22px;
  padding: .32em .85em .38em .55em;
  background: var(--hl-mint);
  color: var(--hl-navy);
  border: 2px solid var(--hl-navy);
  border-radius: 999px;
  font-family: var(--hl-font);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -.01em;
  transform: rotate(-3deg);
  transform-origin: left center;
  box-shadow: 3px 3px 0 var(--hl-navy);
}
.heat {
  flex: none;
  width: .4em;
  height: .4em;
  margin: .28em;
  border-radius: 50%;
  background: var(--hl-pink);
  box-shadow: 0 0 0 .13em var(--hl-tangerine), 0 0 0 .26em var(--hl-sun);
}

/* Next plugin: an empty, not-yet-printed ticket */
.ticket-empty {
  padding: 30px 22px 32px;
  border: 2px dashed var(--plum-light);
}
@media (min-width: 400px) { .ticket-empty { padding-inline: 28px; } }

.ghost-line {
  display: flex;
  align-items: flex-end;
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--plum-light);
}
.ghost-line .lead {
  flex: 1 1 1.5em;
  min-width: 1.5em;
  margin: 0 .55em .45em;
  border-bottom: 2px dotted rgba(205, 182, 227, .6);
}
.ghost-line .val { white-space: nowrap; }

.ticket-empty .h3 { margin-bottom: 12px; }
.ticket-empty > p { color: var(--plum-light); }

.notify { margin-top: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 1rem; }
.field label span { font-weight: 400; color: var(--plum-light); }
.field input,
.field textarea {
  width: 100%;
  padding: .7em .8em;
  border: 2px solid var(--plum-light);
  border-radius: 0;
  background: var(--plum-deep);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible,
.field textarea:focus-visible { outline-offset: 2px; border-color: var(--paper); }

.form-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  font-size: 1rem;
  color: var(--paper);
}

/* ---------- Fine print ---------- */

.fineprint {
  padding: 36px 22px 40px;
  filter: drop-shadow(0 18px 22px rgba(14, 4, 24, .3));
}
@media (min-width: 400px) { .fineprint { padding-inline: 30px; } }
@media (min-width: 760px) { .fineprint { padding: 48px 48px 52px; } }

.fineprint__head {
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--fade);
  font-size: 1rem;
  color: var(--ink-soft);
}

.terms { margin: 0; }
@media (min-width: 760px) {
  .terms {
    columns: 2;
    column-gap: 64px;
    column-rule: 2px dotted var(--fade);
  }
}
.terms > div {
  break-inside: avoid;
  padding-bottom: 22px;
}
.terms dt {
  margin-bottom: 4px;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1rem;
}
.terms dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  max-width: 44ch;
}

/* ---------- About & contact ---------- */

.about-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; }
}
.about-copy p { max-width: 54ch; }
.about-copy .h2 { margin-bottom: 22px; }

.contact-slip {
  width: 100%;
  filter: drop-shadow(0 18px 22px rgba(14, 4, 24, .38));
}
@media (min-width: 600px) { .contact-slip { max-width: 440px; } }
@media (min-width: 900px) { .contact-slip { justify-self: end; } }
.contact-slip h2 { font-size: 1.375rem; }
.contact-slip .r-list { margin-top: 18px; line-height: 1.9; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum-deep);
  color: var(--plum-light);
  padding-block: 48px 40px;
  font-size: 1rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 2px dashed rgba(205, 182, 227, .3);
}
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal a {
  display: inline-block;
  padding: 6px 0;
  color: var(--plum-light);
  text-underline-offset: .2em;
}
.legal a:hover { color: var(--paper); }
.site-footer p { margin: 0 0 8px; max-width: 70ch; }

/* ---------- Heatlens intro page ---------- */

.crumbs { padding-top: 28px; font-size: 1rem; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--plum-light);
}
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { color: var(--plum-light); text-underline-offset: .2em; }
.crumbs a:hover { color: var(--paper); }
.crumbs [aria-current] { color: var(--paper); }

.product { padding-block: 40px 104px; }
.product-grid {
  display: grid;
  gap: 56px;
  align-items: start;
}
@media (min-width: 960px) {
  .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 72px; }
  .product-intro { position: sticky; top: 40px; padding-top: 24px; }
}

.hl-title {
  display: flex;
  align-items: center;
  gap: .3em;
  margin-bottom: 22px;
  font-family: var(--hl-font);
  font-weight: 800;
  font-size: clamp(2.75rem, 1.9rem + 4vw, 5rem);
  line-height: 1;
  letter-spacing: -.025em;
}
.hl-title .heat { width: .26em; height: .26em; margin: .2em; }

.product-intro .lede { max-width: 32ch; color: var(--paper); }
.product-note { margin-top: 36px; color: var(--plum-light); font-size: 1rem; max-width: 40ch; }

.product-slip {
  width: 100%;
  font-size: 16px;
  filter: drop-shadow(0 22px 26px rgba(14, 4, 24, .45));
}
@media (min-width: 600px) { .product-slip { padding: 40px 40px 36px; } }

.product-slip .sticker {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 4px;
  transform-origin: center;
}
.product-slip h2 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 600;
}

.r-points { list-style: none; margin: 0; padding: 0; }
.r-points li {
  display: grid;
  grid-template-columns: 1.4ch minmax(0, 1fr);
  gap: 1ch;
  margin-bottom: 12px;
}
.r-points li:last-child { margin-bottom: 0; }
.r-points code { font-family: inherit; font-weight: 600; overflow-wrap: anywhere; }

.nowrap { white-space: nowrap; }
.hero h1 .nowrap { display: inline; }

/* ---------- Legal & utility pages ---------- */

.doc-page { padding-block: 40px 104px; }

.doc {
  width: 100%;
  max-width: 820px;
  padding: 36px 22px 44px;
  font-size: 1.0625rem;
  line-height: 1.65;
  filter: drop-shadow(0 18px 22px rgba(14, 4, 24, .3));
}
@media (min-width: 400px) { .doc { padding-inline: 30px; } }
@media (min-width: 760px) { .doc { padding: 52px 60px 60px; } }

.doc h1 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem);
}
.doc .doc-date {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px dashed var(--fade);
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink-soft);
}
.doc h2 {
  margin: 40px 0 12px;
  font-family: var(--mono);
  font-size: 1.125rem;
  font-weight: 600;
}
.doc h3 { margin: 24px 0 8px; font-size: 1.0625rem; }
.doc p, .doc ul, .doc dl { max-width: 66ch; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc a {
  color: var(--plum);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

.facts { margin: 0 0 1em; }
.facts > div {
  display: grid;
  gap: 2px 24px;
  padding-block: 10px;
  border-bottom: 2px dotted var(--fade);
}
.facts > div:first-child { border-top: 2px dotted var(--fade); }
@media (min-width: 640px) {
  .facts > div { grid-template-columns: 15em minmax(0, 1fr); }
}
.facts dt { font-family: var(--mono); font-weight: 600; font-size: 1rem; }
.facts dd { margin: 0; }

.notfound { padding-block: 64px 120px; text-align: center; }
.notfound .slip { margin-inline: auto; max-width: 440px; text-align: left; }
.notfound h1 { margin-bottom: 18px; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); }
.notfound .lede { margin: 0 auto 36px; }
.notfound .actions { justify-content: center; }

.form-note { margin: 14px 0 0; font-size: 1rem; color: var(--plum-light); max-width: 46ch; }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; border-top: 2px dashed rgba(205, 182, 227, .32); }
.faq details { border-bottom: 2px dashed rgba(205, 182, 227, .32); }
.faq summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  font-size: 1.1875rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 600;
  color: var(--plum-light);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--plum-light); }
.faq details p { margin: -4px 0 24px; max-width: 64ch; color: var(--plum-light); }

/* ---------- Heatlens links ---------- */

.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ticket__link {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink);
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

.hl-links { margin-top: 32px; }
.hl-links h2 { margin-bottom: 10px; font-size: 1rem; font-weight: 700; color: var(--paper); }
.hl-links ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.hl-links a { color: var(--plum-light); text-underline-offset: .2em; }
.hl-links a:hover { color: var(--paper); }

.optout {
  margin: 0 0 1em;
  padding: 16px 20px;
  border: 2px dashed var(--plum-light);
  max-width: 66ch;
}
.optout p { margin: 0 0 .6em; }
.optout input { accent-color: var(--plum); width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }

/* ---------- Guides list on the home page ---------- */

.guide-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; max-width: 760px; }
.guide-list a {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--paper);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
}
.guide-list a:hover { color: var(--plum-light); }
