/* Haleline: hale—line direction. Tokens are the only colors used. */
:root {
  --navy: #0F2B3D;
  --teal: #23A99B;       /* button fill, logo rule, footer links */
  --teal-text: #136F66;  /* links on light */
  --paper: #F8F7F3;
  --slate: #5A6D78;
  --ink-dark: #0A1E2C;
  --meta-dark: #A9B8C1;
  --white: #FFFFFF;
  --rule: #DAD6CB;
  --sans: "Manrope", "Manrope Fallback", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  color-scheme: light;
}

@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/manrope-400.v1.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/manrope-500.v1.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/manrope-700.v1.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/manrope-800.v1.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/plex-mono-400.v1.woff2") format("woff2"); }
/* Metric-matched fallbacks (computed from the woff2 files against Arial) so the swap does not shift layout. */
@font-face { font-family: "Manrope Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 102.78%; ascent-override: 103.71%; descent-override: 29.19%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 700 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 102.13%; ascent-override: 104.38%; descent-override: 29.37%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  caret-color: var(--navy);
  overflow-wrap: break-word;
}
::selection { background: rgb(35 169 155 / 25%); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--teal-text); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0; } }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { display: block; height: 28px; width: auto; overflow: visible; }
.wordmark text { font-family: var(--sans); font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.wm-hale { fill: var(--navy); }
.wm-line, .wm-rule { fill: var(--teal); }
.tagline { font-size: 13px; color: var(--slate); line-height: 1.3; }

/* Hero */
.hero { padding-top: 16px; padding-bottom: 40px; }
.eyebrow { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate); line-height: 1.4; margin-bottom: 8px; }
h1 { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.sub { font-size: 18px; line-height: 1.45; color: var(--navy); margin-bottom: 24px; }
.call-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 24px;
  background: var(--teal); color: var(--navy);
  font-size: 18px; font-weight: 700; line-height: 1.2;
  text-decoration: none; border-radius: 6px;
}
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.number { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sections */
main section + section { border-top: 1px solid var(--rule); }
.cta, .example, .steps, .also { padding-top: 40px; padding-bottom: 40px; }
h2 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 700; margin-bottom: 4px; }

.cta > p + .founder, .founder + .contact-links { margin-top: 16px; }
.founder { display: flex; align-items: center; gap: 16px; }
.founder img { flex: none; width: 88px; height: 88px; border-radius: 6px; object-fit: cover; }
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: 700; }
.reply { margin-top: 8px; color: var(--slate); }

/* Example */
.example-card {
  display: grid; grid-template-columns: 1fr; justify-items: stretch; gap: 8px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 16px;
}
.receipt { font-family: var(--mono); font-size: 14px; line-height: 1.6; border: 1px dashed var(--rule); padding: 16px; background: var(--paper); }
.receipt p { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.receipt-vendor { font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.receipt-total { border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 8px; }
.arrow { justify-self: center; font-size: 22px; line-height: 1; color: var(--slate); }
.arrow::before { content: "\2193"; }
.sheet-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.sheet-row div { padding: 8px 12px; border-bottom: 1px solid var(--rule); }
.sheet-row div:nth-child(odd) { border-right: 1px solid var(--rule); }
.sheet-row div:nth-last-child(-n+2) { border-bottom: 0; }
.sheet-row dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.sheet-row dd { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.35; }
.example-card figcaption { font-size: 15px; color: var(--slate); margin-top: 8px; }

/* Steps */
.step-list { display: grid; gap: 24px; }
.step-num { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--slate); margin-bottom: 4px; }

.also p { color: var(--slate); }

/* Footer */
.site-footer { background: var(--ink-dark); color: var(--white); padding: 40px 0 64px; }
.site-footer p + p { margin-top: 4px; }
.footer-name { font-weight: 700; }
.site-footer a { color: var(--teal); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.footer-meta { color: var(--meta-dark); font-size: 15px; }

/* Very narrow or very large text (e.g. 375px at 200% text size): one column everywhere. */
@media (max-width: 359px) {
  .sheet-row { grid-template-columns: 1fr; }
  .sheet-row div, .sheet-row div:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--rule); }
  .sheet-row div:last-child { border-bottom: 0; }
  .receipt p { flex-wrap: wrap; gap: 0 8px; }
  .receipt-vendor { overflow-wrap: anywhere; }
  .number { white-space: normal; }
}

@media (min-width: 768px) {
  .number { font-size: 28px; }
  h2 { font-size: 30px; }
  .example-card { grid-template-columns: minmax(0, 4fr) auto minmax(0, 8fr); align-items: center; gap: 16px; padding: 24px; }
  .arrow::before { content: "\2192"; }
  .sheet-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .sheet-row div { padding: 8px 10px; }
  .sheet-row dt { font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; }
  .sheet-row div:not(:nth-child(2)) dd { white-space: nowrap; }
  .sheet-row div, .sheet-row div:nth-child(odd) { border-bottom: 0; border-right: 1px solid var(--rule); }
  .sheet-row div:last-child { border-right: 0; }
  .sheet-row dd { font-size: 14px; }
  .example-card figcaption { grid-column: 1 / -1; }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 64px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
}

/* ---------- Print leave-behind (site/print/leave-behind.html) ---------- */
.lb { max-width: 7.5in; margin: 0 auto; padding: 24px 20px; }
.lb .site-header { padding: 0 0 16px; }
.lb-headline { font-size: 44pt; line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 12pt; }
.lb-sub { font-size: 13pt; line-height: 1.4; margin-bottom: 14pt; }
.lb .example-card { grid-template-columns: minmax(0, 5fr) auto minmax(0, 8fr); align-items: center; gap: 12pt; padding: 12pt; }
.lb .arrow::before { content: "\2192"; }
.lb .sheet-row { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.lb .sheet-row div { padding: 6pt 8pt; }
.lb .sheet-row dt { font-size: 8pt; letter-spacing: 0.04em; white-space: nowrap; }
.lb .sheet-row dd { font-size: 10.5pt; }
.lb .sheet-row div:not(:nth-child(2)) dd { white-space: nowrap; }
.lb .sheet-row div, .lb .sheet-row div:nth-child(odd) { border-bottom: 0; border-right: 1px solid var(--rule); }
.lb .sheet-row div:last-child { border-right: 0; }
.lb .example-card figcaption { grid-column: 1 / -1; }
.lb-offer { font-size: 13pt; line-height: 1.4; margin: 14pt 0; }
.lb-contact { display: flex; align-items: center; justify-content: space-between; gap: 0.3in; border-top: 1px solid var(--rule); padding-top: 14pt; }
.lb-person { display: flex; align-items: center; gap: 12pt; }
.lb-person img { width: 1in; height: 1in; border-radius: 6px; object-fit: cover; }
.lb-name { font-size: 16pt; font-weight: 700; }
.lb-number { font-size: 30pt; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.1; }
.lb-qr { flex: none; text-align: center; padding: 0.25in; }
.lb-qr img { display: block; width: 1.1in; height: 1.1in; margin: 0 auto 4pt; }
.lb-qr p { font-size: 9pt; color: var(--slate); }
.lb-notes { margin-top: 10pt; border: 1px solid var(--slate); border-radius: 6px; height: 1.5in; padding: 6pt 10pt; }
.lb-notes p { font-family: var(--mono); font-size: 9pt; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate); }

@media print {
  @page { size: Letter; margin: 0.5in; }
  body { background: var(--white); font-size: 11pt; }
  .lb { max-width: none; padding: 0; }
  /* B&W-safe: all teal text prints navy; teal stays only on the logo rule. */
  a, .wm-line { color: var(--navy); fill: var(--navy); text-decoration: none; }
  .receipt { background: var(--white); }
  .lb .example-card, .receipt, .sheet-row, .sheet-row div { border-color: #9AA5AC; }
}
