/* BeeCMO marketing site. No external fonts, trackers or libraries. Tokens first; light/dark via prefers-color-scheme + [data-theme]. */
:root {
  /* Honey on cream, comb-brown ink (docs/brand/beecmo.md). Text pairs meet WCAG AA in both themes. */
  --paper: #fffaf0; --paper-2: #fbf1dc; --ink: #231a10; --ink-2: #5c4a33; --rule: #e8d6ad;
  --honey: #f6b81a; --honey-2: #ffd45c; --amber: #9a4f00; --comb: #f1e2bf; --on-honey: #231a10; --btn-line: #231a10;
  --marigold: #f6b81a; --marigold-bg: #fde9b4; --night: #2a1e10; --night-ink: #f6eedf; --night-2: #3d2b15;
  --ok: #1f7a4f; --no: #b3261e; --link: #9a4f00; --focus: #9a4f00; --mark: #ffe08a; --phone: #ffffff; --bubble: #e3f4dc;
  --card: #ffffff; --bee-line: #231a10; --bee-halo: none;
  --comb-tile-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.18' height='54' viewBox='0 0 31.18 54'%3E%3Cpath d='M15.59 0L31.18 9v18L15.59 36 0 27V9zM15.59 36v18' fill='none' stroke='%232f2517' stroke-width='1.5'/%3E%3C/svg%3E");
  --comb-tile-night: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.18' height='54' viewBox='0 0 31.18 54'%3E%3Cpath d='M15.59 0L31.18 9v18L15.59 36 0 27V9zM15.59 36v18' fill='none' stroke='%23f6b81a' stroke-opacity='.28' stroke-width='1.5'/%3E%3C/svg%3E");
  --comb-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='31.18' height='54' viewBox='0 0 31.18 54'%3E%3Cpath d='M15.59 0L31.18 9v18L15.59 36 0 27V9zM15.59 36v18' fill='none' stroke='%23f1e2bf' stroke-width='1.5'/%3E%3C/svg%3E");
  --sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", Seravek, "Noto Sans", Roboto, system-ui, sans-serif;
  --display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", Seravek, "Noto Sans", system-ui, sans-serif;
  --measure: 68ch;
  --wide: 1120px;
  --r: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17120b; --paper-2: #211a10; --ink: #f6eedf; --ink-2: #cdbb9c; --rule: #3a2e1d;
    --honey: #f7c242; --honey-2: #f7c242; --amber: #ffc56b; --comb: #2b2216; --on-honey: #231a10; --btn-line: #0b0804;
    --marigold: #f7c242; --marigold-bg: #3a2a0c; --night: #0d0905; --night-ink: #f6eedf; --night-2: #2a1f10;
    --ok: #5ccf95; --no: #ff8a80; --link: #ffc56b; --focus: #ffc56b; --mark: #5c4a10; --phone: #221a10; --bubble: #1f3a26;
    --card: #211a10; --bee-line: #1a1209; --bee-halo: drop-shadow(0 0 0.7px #f6eedf) drop-shadow(0 0 0.7px #f6eedf);
    --comb-tile: var(--comb-tile-dark);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --paper: #17120b; --paper-2: #211a10; --ink: #f6eedf; --ink-2: #cdbb9c; --rule: #3a2e1d;
    --honey: #f7c242; --honey-2: #f7c242; --amber: #ffc56b; --comb: #2b2216; --on-honey: #231a10; --btn-line: #0b0804;
    --marigold: #f7c242; --marigold-bg: #3a2a0c; --night: #0d0905; --night-ink: #f6eedf; --night-2: #2a1f10;
    --ok: #5ccf95; --no: #ff8a80; --link: #ffc56b; --focus: #ffc56b; --mark: #5c4a10; --phone: #221a10; --bubble: #1f3a26;
    --card: #211a10; --bee-line: #1a1209; --bee-halo: drop-shadow(0 0 0.7px #f6eedf) drop-shadow(0 0 0.7px #f6eedf);
    --comb-tile: var(--comb-tile-dark);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
/* Dark mode: a thin cream sticker edge keeps the bees' dark outline readable. */
.bee { filter: var(--bee-halo); }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
mark.ph { background: var(--mark); color: inherit; padding: 0 0.2em; border-radius: 3px; font-size: 0.92em; }

/* Type scale (1.25 ratio) */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 750; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); font-weight: 700; margin-top: 2.6em; }
h3 { font-size: 1.2rem; font-weight: 650; margin-top: 1.4em; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li { margin: 0.3em 0; }
code { font-size: 0.9em; background: var(--paper-2); padding: 0.1em 0.3em; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--paper-2); padding: 1em; overflow-x: auto; border-radius: var(--r); }
pre code { background: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3em 0; }
blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1em; border-left: 3px solid var(--marigold); color: var(--ink-2); }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.bar { max-width: var(--wide); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 6px; font: 800 1.25rem var(--display); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-bee { display: inline-flex; width: 34px; height: 34px; margin: -4px 0 -4px -4px; }
.site-footer .logo-bee { width: 30px; height: 30px; }
.logo-bee .bee { width: 100%; height: 100%; }
.wm-cmo { color: var(--amber); }
@media (prefers-reduced-motion: no-preference) { .logo:hover .logo-bee .bee-wing { animation: bee-flap .14s ease-in-out infinite alternate; } }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; font-weight: 550; }
.nav a:hover { box-shadow: inset 0 -3px 0 var(--honey); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber); }
.bar-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-btn, .menu-btn { background: none; border: 1px solid var(--rule); color: var(--ink); border-radius: var(--r); padding: 6px 8px; cursor: pointer; font: inherit; line-height: 1; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; order: 2; margin-left: auto; }
  .bar-actions { order: 3; margin-left: 0; }
  .nav { order: 4; flex-basis: 100%; flex-direction: column; display: none; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .bar-actions .btn-sm { display: none; }
}

/* Buttons */
.btn, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--ink); line-height: 1.2; cursor: pointer; font-size: 1rem; font-family: inherit; }
/* Primary: a honey sticker with a dark outline, like the bees. */
.btn { background: var(--honey); color: var(--on-honey); border-color: var(--btn-line); box-shadow: 0 3px 0 var(--btn-line); }
.btn:hover { background: var(--honey-2); }
.btn:active { box-shadow: 0 1px 0 var(--btn-line); transform: translateY(2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
@media (prefers-reduced-motion: no-preference) { .btn, .btn-ghost { transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; } }
.btn-sm { padding: 7px 12px; font-size: 0.92rem; }
.btn-wa svg, .btn svg { flex: none; }
p > .btn + .btn-ghost, p > .btn-ghost + .btn-ghost, p > .btn + .btn { margin-left: 8px; }
@media (max-width: 480px) { p > .btn + .btn-ghost { margin: 10px 0 0; } }

/* Page wrap */
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 16px 64px; }
.wrap > h2, .wrap > p, .wrap > ul, .wrap > ol { margin-left: 0; }

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 24px; border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.hero h1 { max-width: 18ch; }
.hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.hero p:has(.btn) { margin-top: 1.6em; display: flex; flex-wrap: wrap; gap: 10px; }
.hero p:has(.btn) > .btn, .hero p:has(.btn) > .btn-ghost { margin: 0; }
.hero p:last-child { font-size: 0.95rem; }
.page-home .hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 1.2rem + 5.4vw, 4.6rem); }

/* Columns: rule-topped blocks, no card chrome */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 36px; margin: 1.5em 0; }
.col { border-top: 2px solid var(--ink); padding-top: 12px; }
.col h3 { margin-top: 0; }
.col h3 a { color: var(--ink); text-decoration-color: var(--marigold); text-decoration-thickness: 2px; }
.col p { color: var(--ink-2); }

/* Steps: a real sequence, numbered */
.steps ol { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 4px; }
.steps li { counter-increment: s; position: relative; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--rule); max-width: 80ch; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Timeline: the signature element. Each entry is shaded by the hour: night, dawn, day, and back to night. */
.timeline { margin: 3em -16px 0; padding: 28px 0 0; background: var(--night); color: var(--night-ink); overflow: hidden; }
@media (min-width: 1152px) { .timeline { margin-left: 0; margin-right: 0; border-radius: 18px; } }
.timeline h2 { margin: 0 0 16px; padding: 0 16px; color: var(--night-ink); }
@media (min-width: 700px) { .timeline h2 { padding: 0 40px; } }
.timeline ol { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0 1.4rem; padding: 14px 16px; max-width: none; margin: 0; position: relative; }
@media (min-width: 700px) { .timeline li { padding: 14px 40px; grid-template-columns: 4rem 1fr; } }
.timeline li.night { background: var(--night); }
.timeline li.dawn { background: var(--night-2); }
.timeline li.day { background: var(--paper-2); color: var(--ink); }
.timeline li.day + li.night { box-shadow: inset 0 1px 0 var(--night-2); }
.timeline time { font-weight: 750; font-variant-numeric: tabular-nums; font-size: 1.15rem; line-height: 1.4; }
.timeline .who { font-weight: 700; margin: 0; }
.timeline li p { margin: 0; max-width: 62ch; }
.timeline li.night .who, .timeline li.dawn .who { color: var(--marigold); }
.timeline + p { font-size: 0.9rem; color: var(--ink-2); margin-top: 10px; }

/* Phone illustration */
.phone { margin: 1.5em 0; max-width: 340px; border: 2px solid var(--ink); border-radius: 26px; padding: 12px; background: var(--paper-2); }
.screen { background: var(--phone); border-radius: 16px; padding: 14px; }
.from { font-weight: 700; margin: 0 0 8px; font-size: 0.95rem; }
.bubble { background: var(--bubble); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 0.95rem; }
.bubble p { margin: 0 0 6px; }
.bubble p:last-child { font-size: 0.8rem; color: var(--ink-2); margin: 0; }
.chips { display: flex; gap: 8px; margin: 10px 0 !important; }
.chip { flex: 1; text-align: center; padding: 8px; border-radius: 8px; font-weight: 700; background: var(--phone); }
.chip.ok { color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); }
.chip.no { color: var(--no); box-shadow: inset 0 0 0 1.5px var(--no); }
.phone figcaption { font-size: 0.8rem; color: var(--ink-2); padding: 8px 4px 0; }
@media (min-width: 900px) { .page-home .phone { float: right; margin: 0 0 1em 48px; width: 340px; } }
.page-home h2 { clear: both; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.8em; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
th { font-weight: 700; }
tbody th, td:first-child { font-weight: 600; }
.page-compare td:last-child, .page-compare th:last-child { background: color-mix(in srgb, var(--marigold-bg) 55%, transparent); padding-left: 10px; }

/* Notes */
.note { border-left: 4px solid var(--marigold); background: var(--paper-2); padding: 14px 18px; margin: 1.5em 0; border-radius: 0 var(--r) var(--r) 0; }
.note p:last-child { margin: 0; }

/* Integrations wall */
.wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px 32px; margin: 1.2em 0; }
.wall h3 { font-size: 0.95rem; margin: 0 0 6px; color: var(--ink-2); font-weight: 650; }
.wall ul { list-style: none; padding: 0; margin: 0; }
.wall li { padding: 4px 0; border-bottom: 1px solid var(--rule); font-weight: 550; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 80ch; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > :not(summary) { color: var(--ink-2); }

/* CTA */
.cta { position: relative; margin-top: 4em; padding: 36px 24px; background: var(--night); color: var(--night-ink); border-radius: 18px; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--comb-tile-night) 0 0 / 31.18px 54px; opacity: .5; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000); mask-image: linear-gradient(100deg, transparent 35%, #000); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { margin-top: 0; color: var(--night-ink); }
.cta a { color: var(--night-ink); }
.cta .btn { background: var(--honey); border-color: var(--honey); color: var(--on-honey); box-shadow: 0 3px 0 #000; }
.cta .btn-ghost { border-color: var(--night-ink); color: var(--night-ink); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Lead form */
.lead { display: grid; grid-template-columns: 1fr; gap: 24px 48px; margin-top: 4em; padding-top: 24px; border-top: 1px solid var(--rule); }
@media (min-width: 860px) { .lead { grid-template-columns: 1fr 1.2fr; } }
.lead h2 { margin-top: 0; }
.lead-form { display: grid; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.lead-form input, .lead-form textarea { font: inherit; padding: 11px 12px; border: 1.5px solid var(--rule); border-radius: var(--r); background: var(--paper); color: var(--ink); width: 100%; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 40%, transparent); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.lead-form .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.lead-form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button { justify-self: start; }
.form-status { min-height: 1.4em; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--no); }
.fine { font-size: 0.85rem; color: var(--ink-2); }

/* Free tools */
.tool { display: grid; gap: 28px; margin: 2em 0; }
@media (min-width: 900px) { .tool { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } }
.tool-form { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; }
.tool-form h2 { margin: 0; font-size: 1.25rem; }
.tool-form select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: var(--r); background: var(--paper); color: var(--ink); width: 100%; }
.tool-form select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 40%, transparent); }
.tool-form .hint { font-weight: 400; color: var(--ink-2); font-size: 0.85rem; }
.tool-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.tool-choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tool-choice legend { font-weight: 600; font-size: 0.95rem; padding: 0; margin-bottom: 6px; }
.lead-form .tool-choice label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.lead-form .tool-choice input { width: 18px; height: 18px; flex: none; margin: 0; }
.tool-out:focus { outline: none; }
.tool-out h2 { margin-top: 0; font-size: 1.3rem; }
.tool-card { border: 1px solid var(--rule); border-radius: var(--r); padding: 14px 16px; margin: 0 0 14px; background: var(--paper); }
.tool-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tool-card h3 { margin: 0; font-size: 1rem; }
.tool-text { white-space: pre-line; margin: 10px 0 0; }
.tool-checks { padding-left: 1.1em; }
.tool-checks li.yes strong { color: var(--ok); }
.tool-checks li.no strong { color: var(--no); }
.tool-cta { border-top: 2px solid var(--ink); margin-top: 20px; padding-top: 14px; }
.tool-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); padding: 0; list-style: none; }

/* Legal + blog prose */
.page-legal, .page-blog { max-width: 820px; }
.page-legal h2 { font-size: 1.35rem; margin-top: 2em; }
.post-meta { color: var(--ink-2); font-size: 0.95rem; }
.post-list { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.post-list li { border-bottom: 1px solid var(--rule); padding: 18px 0; max-width: none; }
.post-list h2, .post-list h3 { font-size: 1.25rem; margin: 0 0 6px; }
.post-list h2 a, .post-list h3 a { color: var(--ink); }
.post-cat { margin-top: 2.2em; scroll-margin-top: 80px; }
.post-cat > h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); margin: 0 0 8px; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chips-nav .chip { flex: none; background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 6px 12px; border-radius: 999px; }
.chips-nav .chip span { color: var(--ink-2); font-weight: 500; }
.tags { text-transform: none; }
.byline { border-top: 1px solid var(--rule); margin-top: 2.5em; padding-top: 14px; color: var(--ink-2); font-size: 0.95rem; }
.related { margin: 2em 0; }
.related h2 { font-size: 1.15rem; }
.related ul { padding-left: 1.1em; }
.related li { margin: 6px 0; }
.week { list-style: none; padding: 0; margin: 1.5em 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.week li { background: var(--paper-2); border-radius: var(--r); padding: 14px 16px; margin: 0; max-width: none; }
.week .day { font-weight: 750; margin: 0; }
.week .ch { font-size: 0.85rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.04em; margin: 2px 0 8px; }
.week li p:last-child { margin: 0; }
.post-list p { margin: 0; color: var(--ink-2); }
.toc { background: var(--paper-2); padding: 14px 18px; border-radius: var(--r); margin: 1.5em 0; }
.toc ol { margin: 0; }
article img { height: auto; border-radius: var(--r); }
article p, article li { overflow-wrap: anywhere; }

/* Hero "Paste your website" scan field (site/_src/scan-field.mjs) */
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.scan-field { margin: 1.6em 0 0; max-width: 620px; padding: 16px; background: var(--phone); border: 1.5px solid var(--rule); border-radius: 10px; box-shadow: 0 6px 24px color-mix(in srgb, var(--ink) 8%, transparent); }
.scan-field label { display: block; font-weight: 700; font-size: 1.05rem; margin: 0 0 8px; }
.scan-row { display: flex; gap: 8px; }
.scan-row input[name="url"] { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--rule); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.scan-row input[name="url"]:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 40%, transparent); }
.scan-row input[aria-invalid="true"] { border-color: var(--no); }
.scan-row .btn { flex: none; min-height: 50px; white-space: nowrap; }
.hero .scan-field p { font-size: 0.92rem; margin: 8px 0 0; max-width: none; }
.scan-field .scan-help { color: var(--ink-2); }
.scan-field .form-status:empty { display: none; }
.scan-field .scan-nosite a { font-weight: 650; display: inline-block; padding: 6px 0; }
@media (max-width: 520px) { .scan-row { flex-direction: column; } .scan-row .btn { justify-content: center; } }

/* "See a sample week" demo on /for/* pages (site/_src/sample-week.mjs, assets/sample-week.js) */
.sample-week { margin: 2.6em 0; }
.sample-week h2 { margin-top: 0; }
.sw-label { background: var(--marigold-bg); border-radius: var(--r); padding: 10px 14px; font-size: 0.95rem; }
.sw-app { max-width: 760px; border: 1.5px solid var(--rule); border-radius: 12px; background: var(--paper-2); padding: 12px; }
.sw-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 4px 10px; max-width: none; font-size: 0.92rem; }
.sw-tab { font-weight: 750; border-bottom: 3px solid var(--ink); padding: 2px 0; }
.sw-count { color: var(--ink-2); }
.sw-count span { font-weight: 750; color: var(--ink); }
.sw-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sw-card { background: var(--phone); border: 1px solid var(--rule); border-left: 4px solid var(--marigold); border-radius: 10px; padding: 12px 14px; margin: 0; max-width: none; }
.sw-card p { max-width: none; }
.sw-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 0 0 6px; font-size: 0.85rem; color: var(--ink-2); }
.sw-kind { font-weight: 750; color: var(--ink); background: var(--paper-2); padding: 1px 8px; border-radius: 999px; }
.sw-when { margin-left: auto; }
.sw-review { margin: 0 0 8px; padding: 6px 10px; border-left: 3px solid var(--rule); color: var(--ink-2); font-style: italic; font-size: 0.95rem; }
.sw-review p { margin: 0; }
.sw-title { font-weight: 700; margin: 0 0 4px; }
.sw-body { margin: 0 0 10px; }
.sw-sms { background: var(--bubble); border-radius: 12px 12px 12px 3px; padding: 8px 12px; display: inline-block; }
.sw-actions { display: flex; gap: 8px; align-items: center; margin: 0; }
.sw-approve { font: inherit; font-weight: 700; min-height: 44px; padding: 8px 18px; border-radius: var(--r); border: 2px solid var(--ok); background: var(--ok); color: #fff; cursor: pointer; }
.sw-approve:hover { filter: brightness(1.08); }
.sw-ghost { font-size: 0.92rem; color: var(--ink-2); padding: 8px 10px; border: 1px solid var(--rule); border-radius: var(--r); opacity: 0.7; }
.sw-card.is-approved { border-left-color: var(--ok); }
.sw-card.is-approved .sw-approve { background: transparent; color: var(--ok); cursor: default; }
.sw-card.is-approved .sw-approve::before { content: "\2713  "; }
.sw-card.is-approved .sw-ghost { visibility: hidden; }
.sw-done { margin: 10px 4px 0; font-weight: 650; color: var(--ok); max-width: none; }
.sw-done:empty { display: none; }
.sw-after { font-weight: 650; }
@media (max-width: 520px) { .sw-when { margin-left: 0; width: 100%; } .sw-app { padding: 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .sw-card { transition: border-color 0.3s ease, opacity 0.3s ease; }
  .sw-card.is-approved { animation: sw-approve 0.55s ease both; }
  @keyframes sw-approve { 0% { transform: scale(1); } 35% { transform: scale(1.015); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ok) 28%, transparent); } 100% { transform: scale(1); box-shadow: none; } }
}

/* Footer */
.site-footer { border-top: 1px solid var(--rule); background: var(--paper-2); padding: 40px 16px 24px; margin-top: 40px; }
.foot-grid { max-width: var(--wide); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.3fr repeat(6, 1fr); } .foot-brand { grid-column: auto; } }
.site-footer h2 { font-size: 0.95rem; margin: 0 0 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.site-footer li a:hover { text-decoration: underline; }
.foot-brand p { color: var(--ink-2); font-size: 0.95rem; }
.wa-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 650; }
.site-footer .fine { max-width: var(--wide); margin: 28px auto 0; }

@media (prefers-reduced-motion: no-preference) {
  .timeline li { animation: rise 0.5s both; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } }
}
/* Learning Center (/learn/) */
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 0.6em; }
.related-lesson { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; margin: 2em 0; }
.related-lesson p { margin: 0; max-width: none; }
.related-lesson span { font-weight: 700; margin-right: 6px; }
.related-lesson small { color: var(--ink-2); margin-left: 6px; }

.eyebrow.hive-eyebrow { margin: 2.8em 0 0.4em; color: var(--amber); }
.hive-eyebrow + h2 { margin-top: 0; }
.site-footer { background: var(--paper-2) var(--comb-tile) 0 0 / 31.18px 54px; }
/* Steps are honeycomb cells. */
.steps li::before { border: 0; background: var(--honey); color: var(--on-honey); width: 38px; height: 42px; top: 10px; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

@media print {
  .site-header, .site-footer, .lead, .cta, .skip, .crumbs, .lesson-tools, .lesson-toc, .lesson-end, .lesson-nav, .soft-cta, .related-lesson, .learn-toast, .az { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { padding: 0; max-width: none; }
  .lesson-grid { display: block; }
  .lesson-body, .you-learn, .page-lesson { max-width: none; }
  a { color: #000; }
  .lesson-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; overflow-wrap: anywhere; }
  .you-learn, .checklist { break-inside: avoid; background: none; border-color: #000; }
  .faq details > * { display: block; }
  h2, h3 { break-after: avoid; }
  pre { white-space: pre-wrap; }
}
