/* Labelmatico site pages: projects home and information pages. */

@font-face {
  font-family: "Labelmatico Hand";
  src: url("fonts/LM-caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

/* Site pages sit on warm paper rather than the editor's cool grey. */
.site-page {
  --bg: #f8f5ef;
  --surface-2: #fbf9f5;
  --surface-3: #f2eee6;
  --border: #e7e1d5;
  --border-strong: #d5ccbc;
  --ink-deep: #211a48;
  --marker: #ffdf5e;
  --tomato: #d4502c;
  --pen: #2d4fa0;
  --font-hand: "Labelmatico Hand", "Segoe Print", cursive;
}
.hand-note { font-family: var(--font-hand); font-weight: 500; color: var(--pen); line-height: 1.1; }

.site-page { display: flex; flex-direction: column; min-height: 100dvh; }
.site-page > main, .site-page > #main { flex: 1 0 auto; }

.page-shell { width: 100%; max-width: calc(var(--page-w) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.display {
  font-family: var(--font-display); font-weight: 750; font-stretch: 92%;
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1.02; letter-spacing: -.035em; color: var(--ink);
  margin: 0 0 18px; text-wrap: balance;
}
.lede { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0 0 24px; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }

.card {
  padding: 24px; margin: 0 0 16px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs);
}
.card > h2 { font-size: 17px; margin-bottom: 10px; }
.card > p { color: var(--ink-2); line-height: 1.65; }
.card > :last-child { margin-bottom: 0; }

/* ---------- Projects home ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 64px);
  margin: 24px 0 48px; padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border); border-radius: 24px; background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 0% 0%, #ece8fc 0%, transparent 70%),
    radial-gradient(520px 360px at 100% 100%, #e6f6ef 0%, transparent 70%);
}
.hero-plain { grid-template-columns: 1fr; }
.hero-intro { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 40ch; margin: 0 0 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }

.welcome-gallery {
  min-width: 0; padding: 14px;
  border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-md);
}
.gallery-top, .gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gallery-top { margin: 0 2px 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gallery-views { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--surface-3); }
.gallery-views button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; box-shadow: none; font-size: 12px; color: var(--muted); }
.gallery-views button:hover:not(:disabled) { background: #ffffff99; }
.gallery-views button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.gallery-stage {
  height: clamp(200px, 25vw, 280px); display: grid; place-items: center; overflow: hidden; border-radius: 12px;
  background: radial-gradient(circle, #d4d4de 1px, transparent 1.3px) 0 0 / 16px 16px, var(--surface-3);
}
.gallery-label { width: min(82%, 340px); height: auto; border-radius: 4px; box-shadow: 0 2px 4px #1e1f2714, 0 16px 32px #1e1f2726; }
.gallery-sheet { position: relative; height: 92%; aspect-ratio: 210 / 297; background: #fff; border-radius: 2px; box-shadow: 0 12px 28px #1e1f2726; }
.gallery-sheet-labels {
  position: absolute; inset: 4.34343% 3.45238%; display: grid;
  grid-template: repeat(8, minmax(0, 1fr)) / repeat(3, minmax(0, 1fr)); column-gap: 1.27877%;
}
.gallery-sheet img { width: 100%; height: 100%; min-height: 0; object-fit: fill; }
.gallery-caption { margin: 14px 2px; min-height: 46px; }
.gallery-caption h2 { margin: 0 0 2px; font-size: 15px; }
.gallery-caption p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.gallery-use { flex: none; }
.gallery-examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.gallery-examples button { min-width: 0; padding: 0 6px; font-size: 12px; box-shadow: none; overflow: hidden; text-overflow: ellipsis; }
.gallery-examples button[aria-pressed=true] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }

.project-page { padding-bottom: 64px; scroll-margin-top: calc(var(--header-h) + 16px); }
.project-page .cloud-heading h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.project-page #cloud-close { display: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; margin-top: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 22px 18px; border-radius: 18px; margin-bottom: 32px; }
  .hero-intro { font-size: 15px; }
  .welcome-gallery { padding: 10px; }
  .gallery-top > span { display: none; }
  .gallery-views { width: 100%; }
  .gallery-views button { flex: 1; }
  .gallery-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-caption { flex-direction: column; align-items: stretch; }
  .gallery-use { width: 100%; }
}

/* ---------- Error page ---------- */
.error-page { padding-top: clamp(40px, 7vw, 80px); padding-bottom: 64px; }
.error-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.error-hero .hint { max-width: 60ch; }
/* A sticker with its bottom-right corner peeling up: the face is cut diagonally and the folded flap is drawn on
   top. The shadow sits on the wrapper so it follows the cut shape. */
.error-label { position: relative; width: 260px; transform: rotate(-8deg); filter: drop-shadow(0 4px 6px #1e1f2714) drop-shadow(0 18px 30px #1e1f2726); }
.error-label-face {
  display: flex; flex-direction: column; align-items: center; padding: 22px 20px; text-align: center;
  border: 2px dashed #e0a3ad; border-radius: 16px; background: #fff; color: #b4283c;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}
.error-label-fold {
  position: absolute; right: 0; bottom: 0; width: 36px; height: 36px; border-top-left-radius: 6px;
  background: linear-gradient(to top left, transparent 50%, #f4dbe0 50%, #fbeef1);
}
.error-label small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.error-label strong { font: 800 72px/1 var(--font-display); letter-spacing: -.04em; }
.error-label span { font-size: 12px; color: var(--muted); }
.error-code { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; }

/* ---------- Shared marketing pieces ---------- */
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.feature-icon .ui-icon { width: 20px; height: 20px; }
.feature-icon.mint { background: #e5f5ee; color: #1c7a52; }
.feature-icon.peach { background: #fdeee4; color: #b0531b; }
.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin: 48px auto 64px; padding: 32px clamp(24px, 4vw, 40px);
  border-radius: 4px; background: #fff6d6; color: var(--ink);
  box-shadow: 0 1px 2px #4a34100f, 0 14px 32px #4a34101f; transform: rotate(-.4deg);
}
.cta-band::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 120px; height: 28px; margin-left: -60px; transform: rotate(-3deg);
  background: #ffffffa6; border: 1px solid #00000010; box-shadow: 0 1px 2px #0000000d;
}
.page-shell.cta-band { max-width: var(--page-w); width: calc(100% - 2 * var(--gutter)); }
.cta-band h2 { color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.cta-band p { margin: 0; color: #5c5040; }

/* ---------- Documentation pages (guides, legal, privacy, fonts) ---------- */
.doc { padding-top: 24px; padding-bottom: 24px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.doc-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px;
  margin-bottom: 32px; padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border); border-radius: 20px;
  background: radial-gradient(circle, #e4ddcf 1.1px, transparent 1.4px) 0 0 / 22px 22px, var(--surface);
  box-shadow: var(--shadow-sm);
}
.doc-hero::after {
  --mark: #b9ae99;
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--mark), var(--mark)) left top / 18px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left top / 1px 18px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right top / 18px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right top / 1px 18px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right bottom / 1px 18px no-repeat;
}
.doc-hero .display { font-size: clamp(32px, 4.4vw, 48px); }
.doc-hero .lede { margin-bottom: 0; }
.doc-hero .hero-actions { margin-top: 24px; }
.doc-meta { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.doc-emblem {
  display: grid; place-items: center; width: 104px; height: 104px; margin-right: 8px;
  border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  color: var(--accent); transform: rotate(6deg);
}
.doc-emblem svg { width: 52px; height: 52px; }
.doc-emblem-text { font: 700 44px/1 var(--font-display); }
.doc-emblem-emoji { background: #fff6d6; border-color: #f0e2b0; font-size: 54px; line-height: 1; }

/* Guide pages: real label previews in the header, a feature panel and template tiles. */
.guide-stack { position: relative; width: 300px; height: 210px; margin-right: 8px; }
.guide-stack-label { position: absolute; width: 230px; height: auto; border-radius: 5px; background: #fff; box-shadow: 0 2px 4px #1e1f2712, 0 14px 32px #1e1f2729; }
.guide-stack-label-1 { left: 0; top: 0; transform: rotate(-6deg); }
.guide-stack-label-2 { right: 0; top: 52px; transform: rotate(4deg); }
.guide-stack-label-3 { left: 18px; bottom: 0; transform: rotate(-1deg); }

.guide-feature {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 28px;
  margin-bottom: 32px; padding: clamp(22px, 4vw, 32px); border: 1px solid var(--border); border-radius: 20px;
  background: linear-gradient(135deg, var(--surface), #f6f3ff); box-shadow: var(--shadow-xs);
}
.guide-feature h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.guide-feature p { margin: 0; color: var(--muted); line-height: 1.6; }
.guide-feature .merge-demo { box-shadow: var(--shadow-sm); }
.format-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.format-cards li { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.format-cards strong { font: 700 18px/1.2 var(--font-display); color: var(--accent-ink); }
.format-cards span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.print-mock { overflow: hidden; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md); font-size: 14px; }
.print-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.print-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.print-mock-bar strong { margin-left: 8px; font-size: 13px; }
.print-mock-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); }
.print-mock-row:nth-child(2) { border-top: 0; }
.print-mock-row span { color: var(--muted); }
.print-mock-row em { margin-left: 6px; font-style: normal; font-weight: 500; font-size: 12px; color: var(--success); }
.print-mock-good { background: var(--success-soft); }
.print-mock-good strong { color: var(--success); }
.print-mock-good strong::before { content: "✓ "; }
.print-mock-off strong { color: var(--danger); }
.guide-templates { margin-top: 40px; }
.guide-templates h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.guide-templates .use-case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Font licences: one card per family. */
.font-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.font-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.font-card-aa { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font: 700 17px/1 var(--font-display); }
.font-card:nth-child(3n+2) .font-card-aa { background: #e5f5ee; color: #1c7a52; }
.font-card:nth-child(3n) .font-card-aa { background: #fdeee4; color: #b0531b; }
.font-card h3 { margin: 0 0 2px; font-size: 14px; }
.font-card p { margin: 0; font-size: 12px; color: var(--muted); }
.font-card a { color: var(--accent); text-decoration: none; }
.font-card a:hover { text-decoration: underline; }
.doc-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.doc-steps { display: grid; gap: 14px; min-width: 0; }
.doc-step {
  display: flex; gap: 18px; padding: 24px; scroll-margin-top: calc(var(--header-h) + 16px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-xs);
}
.doc-step > div { min-width: 0; }
.doc-step h2 { font-size: 17px; margin: 4px 0 8px; }
.doc-step p { margin: 0; color: var(--ink-2); line-height: 1.7; }
.doc-step p + p { margin-top: 10px; }
.analytics-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.analytics-choice p { font-weight: 600; }
.step-number {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--chip-bg, var(--accent-soft)); color: var(--chip-ink, var(--accent-ink)); font: 800 16px/1 var(--font-display);
}
:nth-child(even) > .step-number { --chip-bg: #fff0b8; --chip-ink: #5c4300; }
.doc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.aside-title { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.doc-aside nav { display: grid; gap: 2px; margin-top: -12px; border-left: 2px solid var(--border); }
.doc-aside nav a { display: block; margin-left: -2px; padding: 6px 12px; border-left: 2px solid transparent; color: var(--muted); font-size: 13px; text-decoration: none; }
.doc-aside nav a:hover { color: var(--ink); border-left-color: var(--accent); }
.tip-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.tip-card h2 { font-size: 15px; margin-bottom: 8px; }
.tip-card p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.checklist { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.checklist li { display: flex; gap: 8px; }
.checklist li::before { content: "✓"; color: var(--success); font-weight: 700; }
.prose-cards { display: grid; gap: 14px; margin-bottom: 32px; }
.prose-cards .card { margin: 0; }
.prose-cards code { font-size: 12px; overflow-wrap: anywhere; background: var(--surface-3); padding: 1px 5px; border-radius: 4px; }
.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.pill-nav a { padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 99px; background: var(--surface); color: var(--ink-2); font-size: 13px; text-decoration: none; }
.pill-nav a:hover, .pill-nav a[aria-current=page] { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.doc .cta-band { margin: 40px 0; }
.related-guides { margin-bottom: 64px; }
.related-guides h2 { font-size: 17px; margin-bottom: 14px; }
.related-guides nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.related-guide {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  color: var(--ink-2); font-weight: 550; text-decoration: none; transition: border-color .12s, color .12s;
}
.related-guide span:last-child { color: var(--faint); transition: transform .12s; }
.related-guide:hover { border-color: var(--accent); color: var(--accent-ink); }
.related-guide:hover span:last-child { color: var(--accent); transform: translateX(2px); }

@media (max-width: 860px) {
  .doc-body { grid-template-columns: 1fr; }
  .guide-feature, .error-hero { grid-template-columns: 1fr; }
  .guide-templates .use-case-grid { grid-template-columns: 1fr 1fr; }
  .format-cards { grid-template-columns: 1fr; }
  .error-label { justify-self: center; }
  .doc-aside { position: static; }
  .doc-aside nav, .aside-title { display: none; }
  .related-guides nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .doc-hero { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 18px; }
  .doc-emblem { display: none; }
  .guide-stack { width: 100%; max-width: 300px; justify-self: center; }
  .doc-step { padding: 18px; gap: 14px; }
  .related-guides nav { grid-template-columns: 1fr; }
  .lede { font-size: 16px; }
}
@media print {
  .doc-aside, .pill-nav, .cta-band, .related-guides, .breadcrumb { display: none; }
  .doc-body { display: block; }
  .doc-step, .card { break-inside: avoid; box-shadow: none; }
}
.landing-guides { margin-top: 48px; margin-bottom: 48px; }

/* ---------- Home page ---------- */
.home-page { background: var(--bg); }
.home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
  /* A cutting-mat dot grid with printer's crop marks in each corner. */
  background: radial-gradient(circle, #e4ddcf 1.1px, transparent 1.4px) 0 0 / 22px 22px, var(--surface);
  border-bottom: 1px solid var(--border);
}
.home-hero::after {
  --mark: #b9ae99;
  content: ""; position: absolute; inset: 18px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--mark), var(--mark)) left top / 24px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left top / 1px 24px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right top / 24px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right top / 1px 24px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left bottom / 24px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) left bottom / 1px 24px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right bottom / 24px 1px no-repeat,
    linear-gradient(var(--mark), var(--mark)) right bottom / 1px 24px no-repeat;
}
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.home-title {
  margin: 0 0 20px; font-family: var(--font-display); font-weight: 780; font-stretch: 92%;
  font-size: clamp(40px, 6.4vw, 74px); line-height: 1; letter-spacing: -.04em; color: var(--ink); text-wrap: balance;
}
.word-cycle {
  display: inline-block; padding: 0 .1em; margin: 0 -.04em; color: var(--accent-ink);
  background: linear-gradient(176deg, transparent 52%, var(--marker) 53%, var(--marker) 90%, transparent 91%);
  transition: opacity .26s ease, transform .26s ease;
}
.word-cycle.is-leaving { opacity: 0; transform: translateY(.18em); }
.home-lede { max-width: 54ch; margin: 0 0 28px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

.home-visual { display: grid; justify-items: center; min-width: 0; }
.home-mat {
  position: relative; width: 100%; max-width: 600px; padding: 7% 6% 6%;
  border-radius: 18px; background-color: #2c2366;
  background-image:
    linear-gradient(#ffffff38 1px, transparent 1px), linear-gradient(90deg, #ffffff38 1px, transparent 1px),
    linear-gradient(#ffffff17 1px, transparent 1px), linear-gradient(90deg, #ffffff17 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px;
  box-shadow: inset 0 0 0 1px #ffffff1f, 0 2px 4px #1e1f2714, 0 24px 48px #1e1f2726;
}
/* Ruler ticks along the top and left edges of the mat. */
.home-mat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, #ffffff8c 0 1px, transparent 1px 10px) top left / 100% 7px no-repeat,
    repeating-linear-gradient(#ffffff8c 0 1px, transparent 1px 10px) top left / 7px 100% no-repeat;
}
.home-stack { position: relative; aspect-ratio: 1 / .86; width: 100%; }
.home-hero-note { display: flex; align-items: flex-end; gap: 6px; margin: 18px 0 0; font-size: 26px; transform: rotate(-3deg); }
.home-hero-note svg { width: 44px; height: 30px; flex: none; transform: translateY(-16px) rotate(-6deg); }
.stack-label {
  position: absolute; width: 58%; height: auto; border-radius: 6px; background: #fff;
  box-shadow: 0 2px 4px #1e1f2712, 0 18px 40px #1e1f2729; transition: transform .3s ease;
}
.stack-label-1 { left: 2%; top: 4%; transform: rotate(-7deg); z-index: 2; }
.stack-label-2 { right: 0; top: 0; transform: rotate(5deg); z-index: 3; }
.stack-label-3 { left: 20%; top: 33%; transform: rotate(-2deg); z-index: 5; }
.stack-label-4 { left: 0; bottom: 6%; transform: rotate(4deg); z-index: 4; }
.stack-label-5 { right: 2%; bottom: 2%; transform: rotate(-5deg); z-index: 6; }
.home-stack:hover .stack-label-3 { transform: rotate(0) translateY(-6px) scale(1.03); }

.home-section { padding: clamp(56px, 8vw, 96px) var(--gutter) 0; }
.home-section-head { max-width: 720px; margin: 0 0 28px; }
.home-section-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.home-page main a:not([class]) { color: var(--accent); font-weight: 600; }
.home-h2 {
  margin: 0 0 12px; font-family: var(--font-display); font-weight: 750; font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08; letter-spacing: -.03em; color: var(--ink); text-wrap: balance;
}

.use-case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.use-case {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); color: inherit; text-decoration: none; box-shadow: var(--shadow-xs);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.use-case:hover { transform: translateY(-3px); border-color: var(--accent-soft-2); box-shadow: var(--shadow-md); }
.use-case:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.use-case-preview {
  display: grid; place-items: center; padding: 18px 16px;
  background: radial-gradient(circle, #0000001c 1px, transparent 1.3px) 0 0 / 14px 14px, var(--tint, var(--surface-3));
  border-bottom: 1px solid var(--border);
}
.use-case { --tint: #efebfa; }
.use-case-preview img { width: 100%; height: auto; border-radius: 4px; background: #fff; box-shadow: 0 6px 14px #1e1f271f; transition: transform .2s; }
.use-case:hover .use-case-preview img { transform: rotate(-1.5deg) scale(1.03); }
.use-case-text { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.use-case-text strong { font-size: 14px; color: var(--ink); }
.use-case-text span { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.home-more { margin: 24px 0 0; font-size: 15px; color: var(--muted); }

.home-band { margin-top: clamp(56px, 8vw, 96px); padding: clamp(48px, 7vw, 88px) 0; background: var(--ink-deep); color: #e9e5f5; }
.home-band .home-h2 { color: #fff; }
.home-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
/* Dashed tops read as the perforations between labels on a sheet. */
.home-step { padding-top: 22px; border-top: 2px dashed var(--border-strong); }
.home-step h3 { margin: 14px 0 8px; font-size: 19px; }
.home-step p { margin: 0; color: var(--muted); line-height: 1.6; }
.home-step-number { display: block; font: 800 64px/.9 var(--font-display); letter-spacing: -.04em; color: var(--accent); }
.home-band .home-step { border-top-color: #ffffff45; }
.home-band .home-step h3 { color: #fff; }
.home-band .home-step p { color: #c9c3e0; }
.home-band .home-step-number { color: var(--marker); }

.home-merge { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.home-merge-copy p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.merge-demo {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); align-items: center; gap: 14px;
  padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-md);
}
.merge-table { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; }
.merge-row { display: grid; grid-template-columns: 1.1fr 1.1fr .7fr; }
.merge-row span { padding: 8px 10px; border-top: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.merge-row span + span { border-left: 1px solid var(--border); }
.merge-head span { border-top: 0; background: var(--surface-3); font-weight: 650; color: var(--muted); }
.merge-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.merge-labels { display: grid; gap: 8px; }
.merge-label {
  display: flex; flex-direction: column; padding: 8px 12px; border-radius: 8px; border: 1.5px solid;
  background: #fff; box-shadow: 0 4px 10px #1e1f2714; line-height: 1.25;
}
.merge-label small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.merge-label strong { font: 700 16px/1.2 var(--font-display); }
.merge-label span { font-size: 11px; color: var(--muted); }
.merge-label-1 { border-color: #e7a0ad; } .merge-label-1 strong { color: #b4283c; }
.merge-label-2 { border-color: #e9a5c8; transform: translateX(10px); } .merge-label-2 strong { color: #a3266c; }
.merge-label-3 { border-color: #b7a7e8; } .merge-label-3 strong { color: #4b2fa6; }

/* Features laid out like a die-cut label sheet: dashed cut lines, clipped at the sheet edge. */
.home-features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden;
  border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.home-feature { margin: -2px 0 0 -2px; padding: clamp(20px, 2.6vw, 28px); border-top: 1.5px dashed var(--border-strong); border-left: 1.5px dashed var(--border-strong); }
.home-feature h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 16px; }
.home-feature h3 .emoji { font-size: 22px; }
.home-feature p { margin: 0; color: var(--muted); line-height: 1.6; }

.home-privacy {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 48px;
  margin-top: clamp(56px, 8vw, 96px);
}
/* A rubber stamp, slightly askew and not quite evenly inked. */
.home-stamp {
  display: grid; place-content: center; justify-items: center; gap: 6px; width: 168px; aspect-ratio: 1; margin-right: 24px;
  border: 3px solid var(--tomato); border-radius: 50%; outline: 1.5px solid var(--tomato); outline-offset: -10px;
  color: var(--accent); border-color: currentColor; outline-color: currentColor; text-align: center; transform: rotate(-12deg);
  -webkit-mask: radial-gradient(circle at 28% 72%, #000e 0 20%, #000 45%);
          mask: radial-gradient(circle at 28% 72%, #000e 0 20%, #000 45%);
}
.home-stamp span { font: 700 10.5px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; }
.home-stamp strong { font: 800 23px/1 var(--font-display); letter-spacing: -.02em; padding: 5px 0; border-block: 1.5px solid; }
.home-privacy p { max-width: 720px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 1000px) {
  .use-case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-merge { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-stack { max-width: 460px; }
  .home-steps, .home-features { grid-template-columns: 1fr 1fr; }
  .home-steps { gap: 40px 32px; }
}
@media (max-width: 560px) {
  .home-lede { font-size: 16px; }
  .home-hero .hero-actions .button-link { flex: 1 1 100%; justify-content: center; }
  .home-stack { aspect-ratio: 1 / .95; }
  .stack-label { width: 66%; }
  .use-case-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .use-case-preview { padding: 12px 10px; }
  .use-case-text { padding: 10px; }
  .use-case-text span { display: none; }
  .home-steps, .home-features { grid-template-columns: 1fr; }
  .home-hero::after { inset: 8px; }
  .home-hero-note { font-size: 22px; }
  .home-privacy { grid-template-columns: 1fr; }
  .home-stamp { width: 150px; margin: 0 0 0 8px; }
  .home-stamp strong { font-size: 19px; }
  .home-support { transform: none; }
  .merge-demo { grid-template-columns: 1fr; padding: 16px; }
  .merge-arrow { justify-self: center; transform: rotate(90deg); }
  .merge-label-2 { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .use-case, .use-case-preview img, .stack-label, .word-cycle { transition: none; }
}

/* ---------- Contact form ---------- */
.contact-card { padding: clamp(22px, 4vw, 32px); border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.contact-card h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.contact-card p { color: var(--muted); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form textarea { min-height: 160px; }
.contact-form .button-lg { width: 100%; justify-content: center; }
.contact-error { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--danger-border); border-radius: var(--radius); background: var(--danger-soft); color: var(--danger) !important; font-weight: 550; }
/* Hidden from people (and screen readers); only form-filling bots see this field. */
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent { text-align: center; }
.contact-sent .hero-actions { justify-content: center; }
.contact-sent-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 26px; font-weight: 700; }
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
}

/* ---------- Quick start ---------- */
.tutorial-contents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 40px; }
.tutorial-contents a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 550; text-decoration: none;
}
.tutorial-contents a:hover { border-color: var(--accent); color: var(--accent-ink); }
.tutorial-contents a span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.tutorial-steps { display: grid; gap: clamp(40px, 6vw, 72px); margin: 0 0 56px; padding: 0; list-style: none; }
.tutorial-step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 16px); }
.tutorial-step:nth-child(even) .tutorial-text { order: 2; }
.tutorial-step:nth-child(even):not(.tutorial-step-narrow, .tutorial-step-strip) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tutorial-step-narrow { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tutorial-step-strip { grid-template-columns: 1fr; }
.tutorial-step-strip .tutorial-text { order: 0 !important; max-width: 720px; }
.tutorial-text h2 { margin: 14px 0 10px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; }
.tutorial-text p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.tutorial-text .checklist { margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.tutorial-shot { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-md); }
.tutorial-step-narrow .tutorial-shot { justify-self: center; max-width: 380px; }
.tutorial-shot img { display: block; width: 100%; height: auto; }
.tutorial-shortcuts { margin-bottom: 8px; }
.tutorial-shortcuts h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.tutorial-shortcuts td:last-child { white-space: nowrap; }
kbd { display: inline-block; min-width: 22px; padding: 1px 6px; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--surface); font: 600 12px/1.6 var(--font-ui); text-align: center; color: var(--ink); }
@media (max-width: 860px) {
  .tutorial-contents { grid-template-columns: 1fr 1fr; }
  .tutorial-step, .tutorial-step-narrow, .tutorial-step:nth-child(even):not(.tutorial-step-narrow, .tutorial-step-strip) { grid-template-columns: 1fr; }
  .tutorial-step:nth-child(even) .tutorial-text { order: 0; }
  .tutorial-shortcuts td:last-child { white-space: normal; }
}
@media (max-width: 480px) {
  .tutorial-contents { grid-template-columns: 1fr; }
}

/* ---------- Header extras ---------- */
.site-header nav > a.nav-donate { color: #c2335f; }
.site-header nav > a.nav-donate:hover, .site-header nav > a.nav-donate[aria-current=page] { background: #fdeef3; color: #a3214b; }
.home-quickstart { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.home-quickstart a { font-weight: 650; color: var(--accent); text-decoration: none; }
.home-quickstart a:hover { text-decoration: underline; }

/* ---------- Home: support band ---------- */
/* A note taped to the page. */
.home-support {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px;
  margin-top: clamp(48px, 7vw, 80px); margin-bottom: 80px; padding: clamp(28px, 4vw, 40px);
  border-radius: 4px; background: #fff6d6; box-shadow: 0 1px 2px #4a34100f, 0 14px 32px #4a34101f; transform: rotate(-.6deg);
}
.home-support::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 120px; height: 28px; margin-left: -60px; transform: rotate(-3deg);
  background: #ffffffa6; border: 1px solid #00000010; box-shadow: 0 1px 2px #0000000d;
}
.page-shell.home-support { max-width: 880px; width: calc(100% - 2 * var(--gutter)); }
.home-support .button-link { background: var(--surface); }
.home-support p.home-support-sign { margin: 10px 0 -6px; font-size: 28px; color: var(--pen); transform: rotate(-2deg); transform-origin: left; }
.home-support h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; }
.home-support p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.donate-heart { color: #e0457b; }

/* ---------- Donate page ---------- */
.donate-hero {
  position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 88px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.donate-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.donate-heart { margin-right: 2px; }
.donate-note {
  position: relative; justify-self: center; width: min(100%, 300px); padding: 44px 28px 28px; transform: rotate(3deg);
  border-radius: 6px; background: linear-gradient(#fff9e8, #fff3cf); box-shadow: 0 2px 4px #1e1f2712, 0 22px 44px #1e1f2726; text-align: center;
}
.donate-note-pin { position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8fb0, #d63f6e); box-shadow: 0 2px 3px #0003; }
.donate-note-text { margin: 0 0 14px; font: 500 40px/1.1 var(--font-hand); color: #4a3410; }
.donate-note-sign { margin: 0; font-size: 13px; color: #7a6435; }
.donate-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.donate-tier {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 22px 22px; text-align: center;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
  color: inherit; text-decoration: none; transition: border-color .15s;
}
.donate-tier:hover { border-color: var(--accent); }
.donate-tier:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }
.donate-tier strong { font: 750 44px/1.05 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
.donate-tier-text { flex: 1; font-size: 14px; line-height: 1.55; color: var(--muted); }
.donate-tier-button { width: 100%; justify-content: center; margin-top: 10px; }
.donate-free-help { display: block; margin-bottom: 72px; }
.donate-free-help p { max-width: 720px; }
.donate-free-help a { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .donate-hero-inner, .donate-tiers { grid-template-columns: 1fr; }
  .donate-tiers { max-width: 420px; margin: 0 auto; }
  .home-support { grid-template-columns: 1fr; justify-items: start; }
}

/* ---------- Label idea pages ---------- */
.label-templates { margin-top: 0; }
.label-section-intro { margin: -6px 0 16px; color: var(--muted); }
.label-tips, .label-faq { margin-top: 48px; }
.label-tips h2, .label-faq h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.label-tips .step-number { margin-bottom: 10px; }
.label-tips .home-feature h3::before { display: none; }
.label-faq-item { margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.label-faq-item summary { padding: 16px 18px; font-weight: 650; cursor: pointer; }
.label-faq-item p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); line-height: 1.65; }
.label-hub-grid { margin-bottom: 8px; }

/* ---------- Label sheet pages ---------- */
.sheet-paper { fill: #fff; stroke: var(--border-strong); stroke-width: 1; }
.sheet-labels rect, .sheet-labels circle, .sheet-labels ellipse { fill: var(--sheet-fill, var(--accent-soft)); stroke: var(--sheet-line, #b9aef0); stroke-width: .75; }
.sheet-group:nth-of-type(even) { --sheet-fill: #fff0b8; --sheet-line: #e3c45a; }
.sheet-diagram { margin: 0 8px 0 0; text-align: center; }
.sheet-diagram svg { display: block; width: auto; max-width: 240px; height: auto; max-height: 300px; margin: 0 auto; filter: drop-shadow(0 10px 22px #1e1f2722); }
.sheet-diagram figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.sheet-measurements { margin-bottom: 40px; }
.sheet-measurements h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.sheet-measurements th { width: 40%; font-weight: 600; color: var(--ink-2); background: var(--surface-2); }
.sheet-suited { margin-top: 40px; margin-bottom: 0; }
.sheet-group { margin-bottom: 32px; }
.sheet-group h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.sheet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sheet-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: inherit; text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sheet-card:hover { border-color: var(--accent-soft-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.sheet-card svg { width: auto; height: 110px; margin-bottom: 8px; }
.sheet-card strong { font-size: 14px; }
.sheet-card span { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .sheet-hero { grid-template-columns: 1fr; }
  .sheet-diagram svg { max-height: 220px; }
}

/* Label ideas hub sections */
.label-hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.label-hub-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 550; text-decoration: none; }
.label-hub-jump a:hover { border-color: var(--accent-soft-2); background: var(--accent-soft); color: var(--accent-ink); }
.label-hub-group { margin-top: 36px; scroll-margin-top: 16px; }
.label-hub-group h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }

/* ---------- Home: tinted band ---------- */
.home-tint-band { margin-top: clamp(56px, 8vw, 96px); padding: clamp(48px, 7vw, 88px) 0; background: #ebe6f8; }
.home-tint-band .home-features { border-color: #d9d1f2; box-shadow: 0 2px 4px #2b1f6b0d, 0 18px 40px #2b1f6b17; }

/* ---------- Guide links as paper luggage tags ---------- */
.related-guides nav { filter: drop-shadow(0 1px 1px #2b1f6b1f) drop-shadow(0 4px 8px #2b1f6b14); }
.related-guide {
  position: relative; padding: 14px 18px 14px 40px; border: 0; border-radius: 0 8px 8px 0;
  background: var(--surface); color: var(--ink);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%);
  transition: background .12s, color .12s;
}
.related-guide::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent-soft-2);
}
.related-guide span:last-child { color: var(--accent); }
.related-guide:hover { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Footer on site pages ---------- */
.site-page .page-footer { padding-top: 40px; padding-bottom: 48px; border-top: 0; background: var(--ink-deep); }
.site-page .footer-brand, .site-page .page-footer nav a { color: #c9c3e0; }
.site-page .page-footer nav a:hover { color: #fff; }

/* ---------- Emoji ---------- */
.emoji { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; font-weight: 400; font-style: normal; letter-spacing: 0; line-height: 1; }
.use-case-text strong .emoji { margin-right: 6px; }
.cta-band h2 .emoji, .label-hub-group h2 .emoji, .sheet-group h2 .emoji { margin-right: 10px; }
.related-guide .emoji { margin-right: 8px; }
.label-hub-group h2 { display: flex; align-items: center; }
.home-support-sign .emoji { font-size: 22px; }

/* A round sticker stuck on the label stack on each label idea page. */
.hero-sticker {
  position: absolute; right: -6px; top: -14px; z-index: 5; display: grid; place-items: center; width: 72px; height: 72px;
  border-radius: 50%; background: var(--marker); box-shadow: 0 2px 4px #1e1f271a, 0 8px 18px #1e1f2726;
  font: 400 38px/1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; transform: rotate(10deg);
}

/* ---------- Home: promises under the hero buttons ---------- */
.home-promises { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 550; color: var(--ink-2); }
.home-promises li { display: inline-flex; align-items: center; gap: 7px; }
.home-promises .emoji { font-size: 18px; }
