/* ══════════════════════════════════════════════════════════
   Crumb — marketing landing page
   Built on colors_and_type.css tokens. Warm, playful, informative.
   ══════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* scroll progress — a thin ember trail at the very top */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--accent);
  z-index: var(--z-progress); transition: transform 80ms linear; will-change: transform;
}

/* ══ Overdrive: the trail as a scroll-drawn spine ══
   On wide screens a slim ember trail lives in the left gutter; a glowing crumb
   descends it as you scroll, drawing the ember line behind it — "follow the trail"
   made into a live through-line. Pure CSS scroll-driven (off the main thread).
   Only where there's gutter room AND scroll timelines are supported; elsewhere the
   top progress bar stays the indicator. */
.trail-rail { display: none; }
@supports (animation-timeline: scroll()) {
  @media (min-width: 1300px) {
    .trail-rail { display: block; position: fixed; left: 34px; top: 50%; transform: translateY(-50%); width: 12px; height: 58vh; z-index: var(--z-sticky); pointer-events: none; }
    .trail-rail .tr-track { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--brown-10); border-radius: 2px; }
    /* longhand (not the `animation:` shorthand) so animation-duration stays `auto`
       and the scroll timeline drives the full range — the shorthand resets it to 0s. */
    .trail-rail .tr-fill  { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%) scaleY(0); transform-origin: top center; background: var(--accent); border-radius: 2px; box-shadow: 0 0 8px -1px var(--accent); animation-name: trailDraw; animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: scroll(root block); }
    .trail-rail .tr-head  { position: absolute; left: 50%; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 11px 1px var(--accent); transform: translate(-50%, -50%); animation-name: trailHead; animation-duration: auto; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: scroll(root block); }
    #progress { display: none; }   /* the trail is the indicator here */
  }
}
@keyframes trailDraw { to { transform: translateX(-50%) scaleY(1); } }
@keyframes trailHead { to { transform: translate(-50%, calc(58vh - 5px)); } }
/* reduced motion: the scroll-linked trail would freeze as an empty stub, so hide
   it and hand the indicator back to the (un-animated) top progress meter. */
@media (prefers-reduced-motion: reduce) {
  .trail-rail { display: none !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1300px) {
  #progress { display: block; }
}

/* ── buttons ── */
.btn {
  appearance: none; cursor: pointer; font-family: var(--font-body);
  font-weight: 600; font-size: var(--fs-md); border-radius: var(--r-sm);
  padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease); border: 1px solid var(--ink);
  background: transparent; color: var(--ink); white-space: nowrap; line-height: 1;
}
.btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); }
/* Accent fill is ember-deep (not bright ember) so #fff text clears WCAG AA (4.56:1);
   the brighter --ember stays the decorative trail (dots, bars, rings). */
.btn--accent { background: var(--ember-deep); border-color: var(--ember-deep); color: #fff; box-shadow: var(--sh-soft); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--lg { padding: 14px 22px; font-size: var(--fs-lg); border-radius: var(--r-md); }
.btn svg { width: 15px; height: 15px; }

.starpill {
  display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-body);
  font-weight: 500; color: var(--text-2); border: var(--border-strong);
  border-radius: var(--r-pill); padding: 6px 13px; transition: background-color var(--t-base) var(--ease);
}
.starpill:hover { background: var(--hover); }
.starpill .n { font-family: var(--font-mono); color: var(--mute); font-size: var(--fs-sm); }

.eyebrow {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--ls-eyebrow); color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ══ nav ══ */
nav.top {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: blur(10px); border-bottom: var(--border);
}
nav.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.02em; }
.logo svg { transition: transform var(--t-slow) var(--ease-spring); }
.logo:hover svg { transform: rotate(-8deg) scale(1.08); }
nav.top .links { margin-left: 30px; display: flex; gap: 26px; }
nav.top .links a { font-size: var(--fs-md); color: var(--mute); transition: color var(--t-fast); }
nav.top .links a:hover { color: var(--text); }
nav.top .right { margin-left: auto; display: flex; align-items: center; gap: 13px; }

/* ══ hero ══ */
.hero { text-align: center; padding: clamp(3.5rem, 8vw, 5.75rem) 0 clamp(1.5rem, 3vw, 2.125rem); }
.hero .eyebrow { justify-content: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3.25rem, 9vw, 6rem);
  line-height: 0.93; letter-spacing: -0.035em; margin: 26px 0 0; text-wrap: balance;
}
.hero h1 .accent { color: var(--accent-deep); position: relative; }
.hero .sub { font-size: var(--fs-xl); line-height: 1.5; color: var(--mute); max-width: 52ch; margin: 22px auto 0; }
.hero .cta { display: flex; gap: 13px; justify-content: center; margin-top: 32px; }
.hero .note { font-size: var(--fs-body); color: var(--mute-2); margin-top: 18px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .note span { display: inline-flex; align-items: center; gap: 6px; }
/* "No credit card" is proof copy, not a status — mute it, keep green for
   places that carry live meaning (the trail, shipped states). */

/* hero animated trail mark — enlarged into a deliberate hero graphic, the
   leading dots catching ember light as the trail grows toward the headline */
.hero-trail { display: inline-flex; align-items: flex-end; gap: 12px; justify-content: center; height: 30px; }
.hero-trail i { display: block; border-radius: var(--r-pill); background: var(--accent); opacity: 0; transform: translateY(8px); }
.hero-trail i:nth-child(1){ width:8px; height:8px; }
.hero-trail i:nth-child(2){ width:11px; height:11px; }
.hero-trail i:nth-child(3){ width:15px; height:15px; }
.hero-trail i:nth-child(4){ width:20px; height:20px; box-shadow: 0 0 16px -3px var(--accent); }
.hero-trail i:nth-child(5){ width:26px; height:26px; box-shadow: 0 0 22px -2px var(--accent); }
.loaded .hero-trail i { animation: dotIn 0.5s var(--ease-spring) forwards; }
.loaded .hero-trail i:nth-child(1){ animation-delay: 0.05s; }
.loaded .hero-trail i:nth-child(2){ animation-delay: 0.13s; }
.loaded .hero-trail i:nth-child(3){ animation-delay: 0.21s; }
.loaded .hero-trail i:nth-child(4){ animation-delay: 0.29s; }
.loaded .hero-trail i:nth-child(5){ animation-delay: 0.37s; }
@keyframes dotIn { to { opacity: 1; transform: translateY(0); } }

/* hero copy rises in behind the trail — eyebrow → headline → sub → CTA →
   proof note, overlapping the dot stagger so the whole hero settles < 800ms.
   Same gate as the bento: only hide when JS is present AND motion is welcome,
   so the hero is fully visible with JS off or reduced-motion on. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero .eyebrow,
  .js .hero h1,
  .js .hero .sub,
  .js .hero .cta,
  .js .hero .note,
  .js .hero-hint { opacity: 0; transform: translateY(14px); }
}
.loaded .hero .eyebrow,
.loaded .hero h1,
.loaded .hero .sub,
.loaded .hero .cta,
.loaded .hero .note,
.loaded .hero-hint { animation: heroRise 0.5s var(--ease) both; }
.loaded .hero .eyebrow { animation-delay: 0.04s; }
.loaded .hero h1       { animation-delay: 0.12s; }
.loaded .hero .sub     { animation-delay: 0.22s; }
.loaded .hero .cta     { animation-delay: 0.30s; }
.loaded .hero .note    { animation-delay: 0.38s; }
.loaded .hero-hint     { animation-delay: 0.44s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* ══ bento ══ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 8px; }

/* signature entrance: the live bento deals its tiles in as a group the moment the
   grid is seen — intentional list choreography, not a per-section fade reflex.
   Only hides when motion is welcome + JS is present; visible by default otherwise. */
/* scope strictly to the homepage proof bento — NOT the .feat-bento feature grids
   on product/integrations, which have no deal-in JS and would stay hidden. */
@media (prefers-reduced-motion: no-preference) {
  .js .bento:not(.feat-bento) .tile { opacity: 0; }
}
.bento:not(.feat-bento).dealt .tile {
  opacity: 1;
  animation: tileDeal 0.5s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes tileDeal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.tile {
  background: var(--surface); border: var(--border); border-radius: var(--r-2xl);
  padding: 18px; position: relative; overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.tile:hover { border-color: var(--hair-strong); box-shadow: var(--sh-pop); }
.tile .thead { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.tile .thead .ic { width: 30px; height: 30px; border-radius: var(--r-md); background: var(--cream-2); border: var(--border); display: grid; place-items: center; color: var(--accent-deep); flex: 0 0 auto; }
.tile .thead h3 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.tile .thead .tag { margin-left: auto; font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: var(--ls-cap); color: var(--mute-2); font-weight: 600; }
.tile p.blurb { font-size: var(--fs-body); color: var(--text-2); line-height: 1.5; margin: 0; }

/* spans */
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
.row-2 { grid-row: span 2; }

/* ── status dots & chips (product vocabulary) ── */
.sdot { width: 7px; height: 7px; border-radius: var(--r-pill); display: inline-block; flex: 0 0 auto; }
.sdot.prog { background: var(--accent); }
.sdot.plan { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.sdot.ship { background: var(--green); }
.sdot.review { background: var(--amber); }
.schip {
  appearance: none; background: transparent; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500;
  padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--hair-strong); color: var(--mute); white-space: nowrap;
}
.schip.prog { color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.schip.ship { color: var(--green); border-color: color-mix(in srgb, var(--green) 38%, transparent); }
.schip.review { color: #9a7320; border-color: color-mix(in srgb, var(--amber) 45%, transparent); }

/* type icon badges */
.tbadge { width: 20px; height: 20px; border-radius: var(--r-sm); display: grid; place-items: center; flex: 0 0 auto; }
.tbadge.bug { color: var(--rust); background: var(--rust-soft); }
.tbadge.idea { color: var(--accent-deep); background: var(--ember-soft); }
.tbadge.q { color: var(--brown-2); background: var(--cream-2); }

/* ── INBOX tile (interactive) ── */
.inbox-head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--mute); margin-bottom: 4px; }
.inbox-head .total { margin-left: auto; font-family: var(--font-mono); color: var(--accent-deep); font-weight: 500; }
.inbox { display: flex; flex-direction: column; }
.irow { display: flex; align-items: center; gap: 11px; padding: 10px 10px; border-radius: var(--r-md); cursor: pointer; transition: background var(--t-fast) var(--ease); }
.irow:hover { background: var(--hover); }
.irow .ttl { flex: 1; font-size: var(--fs-body); font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irow .arr { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent-deep); font-weight: 500; }
.irow .schip { cursor: pointer; }
.irow .schip:hover { background: var(--cream-2); }

/* ── WIDGET tile (interactive launcher → panel) ── */
/* the widget tile grows its stage to fill the tall tile so the open panel fits */
.tile:has(.widget-stage) { display: flex; flex-direction: column; }
.tile:has(.widget-stage) .widget-stage { flex: 1 1 auto; }
.widget-stage { position: relative; min-height: 274px; border-radius: var(--r-lg); background: var(--cream-2); border: 1px dashed var(--hair-strong); overflow: hidden; }
.widget-stage .host-lines { padding: 16px; display: flex; flex-direction: column; gap: 9px; opacity: 0.5; }
.host-bar { height: 9px; border-radius: 5px; background: var(--brown-10); }
.launcher {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--hair-strong); border-radius: var(--r-pill);
  padding: 9px 15px 9px 12px; font-weight: 600; font-size: var(--fs-body); box-shadow: var(--sh-lift);
  cursor: pointer; transition: transform var(--t-base) var(--ease-spring); z-index: 3;
}
.launcher:hover { transform: scale(1.04); }
.launcher:active { transform: scale(0.96); }
.launcher .pulse { width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--accent); position: relative; }
.launcher .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: var(--r-pill); border: 1.5px solid var(--accent); opacity: 0; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
.wpanel {
  position: absolute; right: 14px; bottom: 14px; width: calc(100% - 28px); max-width: 290px;
  background: var(--paper); border: 1px solid var(--hair-strong); border-radius: var(--r-2xl);
  box-shadow: var(--sh-lift); padding: 14px; z-index: 4;
  opacity: 0; transform: translateY(10px) scale(0.96); pointer-events: none;
  transition: opacity var(--t-slow) var(--ease-spring), transform var(--t-slow) var(--ease-spring); transform-origin: bottom right;
}
.wpanel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wpanel .wp-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); margin-bottom: 11px; }
.wpanel .wp-head .x { margin-left: auto; cursor: pointer; color: var(--mute); display: inline-flex; appearance: none; background: none; border: 0; padding: 2px; border-radius: var(--r-sm); }
.wpanel .wp-head .x:hover { color: var(--text); }
.wp-types { display: flex; gap: 7px; margin-bottom: 10px; }
.wp-type { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 9px 4px; border: 1px solid var(--hair-strong); border-radius: var(--r-md); cursor: pointer; font-size: var(--fs-xs); font-weight: 500; color: var(--mute); transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); background: var(--cream-soft); }
.wp-type[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-deep); background: var(--ember-soft); }
.wp-field { background: var(--cream-soft); border: 1px solid var(--hair-strong); border-radius: var(--r-md); padding: 9px 11px; font-size: var(--fs-body); color: var(--mute); min-height: 46px; }
.wp-ctx { font-size: var(--fs-2xs); color: var(--mute-2); margin: 8px 0; display: flex; align-items: center; gap: 6px; }
.wp-send { width: 100%; justify-content: center; }
.wp-sent { text-align: center; padding: 18px 8px; }
.wp-sent .ok { width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 10px; }
.wp-sent h4 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; margin: 0 0 4px; }
.wp-sent p { font-size: var(--fs-sm); color: var(--mute); margin: 0; }
/* the "loop closed" payoff: when feedback sends, the confirmation springs to life */
.wp-sent .ok { animation: okPop 0.45s var(--ease-spring) backwards; }
.wp-sent h4 { animation: riseIn 0.4s var(--ease) 0.1s backwards; }
.wp-sent p  { animation: riseIn 0.4s var(--ease) 0.16s backwards; }
@keyframes okPop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes riseIn { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── AI CLUSTER tile (interactive) ── */
.cluster-stage { display: flex; flex-direction: column; gap: 11px; }
.loose { display: flex; flex-wrap: wrap; gap: 7px; min-height: 30px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500; padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--hair-strong); background: var(--cream-soft); transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
.fchip.flying { transform: translateY(-6px) scale(0.9); opacity: 0; }
.cluster-target { border: 1px dashed var(--hair-strong); border-radius: var(--r-md); padding: 11px; transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.cluster-target.filled { border-style: solid; border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--ember-soft); }
.cluster-target .ct-head { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.cluster-target .ct-head .count { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent-deep); }
.cluster-target .ct-body { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.cluster-target .ct-empty { font-size: var(--fs-xs); color: var(--mute-2); margin-top: 7px; }

/* ── TRACKER tile (interactive tabs) ── */
.trk-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.trk-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border: 1px solid var(--hair-strong); border-radius: var(--r-md); background: var(--cream-soft); cursor: pointer; font-size: var(--fs-sm); font-weight: 500; color: var(--mute); transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.trk-tab[aria-selected="true"] { border-color: var(--ink); color: var(--text); background: var(--paper); }
.trk-card { background: var(--paper); border: 1px solid var(--hair-strong); border-radius: var(--r-md); padding: 12px; }
.trk-card .tc-top { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--mute); margin-bottom: 8px; }
.trk-card .tc-top .id { font-family: var(--font-mono); color: var(--text); font-weight: 500; }
.trk-card .tc-top .ai { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--accent-deep); }
.trk-card .tc-title { font-size: var(--fs-md); font-weight: 600; line-height: 1.35; }
.trk-card .tc-body { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; margin-top: 6px; }
.trk-card .tc-meta { display: flex; gap: 7px; margin-top: 10px; flex-wrap: wrap; }
.trk-card .tc-meta .m { font-size: var(--fs-2xs); padding: 2px 7px; border-radius: var(--r-sm); background: var(--cream-2); color: var(--text-2); font-family: var(--font-mono); }

/* ── REVENUE tile ── */
.rev-stage { display: flex; flex-direction: column; height: 100%; justify-content: center; }
.rev-num { font-family: var(--font-display); font-weight: 600; font-size: 2.875rem; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.rev-num .pre { color: var(--accent); }
.rev-sub { font-size: var(--fs-sm); color: var(--mute); margin-top: 8px; }
.rev-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 14px; }
.rev-bars span { flex: 1; background: var(--ember-soft); border-radius: 3px 3px 0 0; height: 100%; transform: scaleY(0); transform-origin: bottom; transition: transform 0.7s var(--ease); }
.rev-bars span:last-child { background: var(--accent); }

/* ── ROADMAP tile ── */
.road-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.road-col .rc-h { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: var(--ls-cap); font-weight: 600; color: var(--mute); margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
.road-card { background: var(--cream-soft); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 8px 9px; font-size: var(--fs-xs); font-weight: 500; margin-bottom: 6px; line-height: 1.3; cursor: default; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.road-card:hover { transform: translateY(-2px); box-shadow: var(--sh-soft); }
.road-card .foll { display: flex; align-items: center; gap: 4px; margin-top: 5px; color: var(--mute-2); font-size: var(--fs-2xs); font-family: var(--font-mono); }

/* ══ generic section ══ */
section.band { padding: clamp(3.5rem, 7vw, 6rem) 0; }   /* fluid rhythm: 56px tight on mobile → 96px airy on wide screens */
section.band.alt { background: var(--cream-2); border-top: var(--border); border-bottom: var(--border); }
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto; }
.sec-head .eyebrow { justify-content: center; }
.sec-head h2 { font-family: var(--font-display); font-size: clamp(1.875rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 0; text-wrap: balance; }
.sec-head p { text-wrap: pretty; }
.sec-head p { font-size: var(--fs-lg); color: var(--mute); margin: 14px auto 0; line-height: 1.55; max-width: 56ch; }

/* ══ three acts ══ */
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.act { background: var(--surface); border: var(--border); border-radius: var(--r-2xl); padding: 26px 24px; position: relative; transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.act:hover { box-shadow: var(--sh-soft); transform: translateY(-3px); }
.act .n { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--accent-deep); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent); border-radius: var(--r-pill); }
.act h3 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.01em; margin: 18px 0 8px; text-wrap: balance; }
.act p { font-size: var(--fs-md); color: var(--text-2); line-height: 1.55; }
.act .seq { position: absolute; top: 26px; right: 24px; color: var(--mute-2); }

/* ══ loop / email ══ */
.loop { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.loop h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 0; text-wrap: balance; }
.loop p { text-wrap: pretty; }
.loop p { color: var(--mute); font-size: var(--fs-lg); line-height: 1.6; margin: 16px 0 0; max-width: 44ch; }
.loop .steps { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.loop .steps .s { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-md); color: var(--text-2); }
.loop .steps .s .k { width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--ember-soft); color: var(--accent-deep); display: grid; place-items: center; flex: 0 0 auto; }
.email { background: var(--paper); border: var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-pop); overflow: hidden; }
.email .ehead { padding: 14px 18px; border-bottom: var(--border); display: flex; align-items: center; gap: 10px; }
.email .ehead .from b { font-weight: 600; font-size: var(--fs-md); }
.email .ehead .from span { color: var(--mute); font-size: var(--fs-md); }
.email .ehead .when { margin-left: auto; font-size: var(--fs-sm); color: var(--mute-2); font-family: var(--font-mono); }
.email .ebody { padding: 22px 20px; }
.email .ebody .sub { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.01em; }
.email .ebody p { font-size: var(--fs-md); color: var(--text-2); line-height: 1.6; margin: 12px 0 0; }
.email .ship { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-md); color: var(--green); font-weight: 500; padding: 8px 12px; background: var(--green-soft); border-radius: var(--r-md); }
.email .ebtn { display: inline-flex; margin-top: 18px; background: var(--ember-deep); color: #fff; font-size: var(--fs-md); font-weight: 600; padding: 10px 16px; border-radius: var(--r-sm); }

/* ══ integrations ══ */
.integ-logos { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.integ-chip { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border: var(--border); border-radius: var(--r-lg); background: var(--surface); font-size: var(--fs-md); font-weight: 600; color: var(--text-2); transition: box-shadow var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.integ-chip:hover { box-shadow: var(--sh-soft); color: var(--text); transform: translateY(-2px); border-color: var(--hair-strong); }
.integ-chip .gl { color: var(--accent-deep); display: inline-flex; }
.integ-foot { text-align: center; margin-top: 26px; font-size: var(--fs-md); color: var(--mute); display: flex; align-items: center; gap: 8px; justify-content: center; }
.integ-foot .sparkle { color: var(--accent-deep); display: inline-flex; }

/* ══ testimonials ══ */
.tcols { columns: 3; column-gap: 18px; margin-top: 44px; }
.tcard { break-inside: avoid; background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: 18px; margin-bottom: 18px; transition: box-shadow var(--t-base) var(--ease); }
.tcard:hover { box-shadow: var(--sh-soft); }
.tcard .who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tcard .av { width: 34px; height: 34px; border-radius: var(--r-pill); display: grid; place-items: center; font-size: var(--fs-xs); font-weight: 600; flex-shrink: 0; }
.tcard .nm { font-size: var(--fs-body); font-weight: 600; line-height: 1.2; }
.tcard .rl { font-size: var(--fs-xs); color: var(--mute); line-height: 1.2; }
.tcard p { font-size: var(--fs-md); line-height: 1.55; color: var(--text-2); }

/* ══ faq ══ */
.faq { max-width: 760px; margin: 44px auto 0; border-top: var(--border); }
.faq details { border-bottom: var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--text); }
.faq summary:hover .plus { color: var(--accent); }
.faq summary .plus { margin-left: auto; color: var(--accent-deep); transition: transform var(--t-slow) var(--ease); flex-shrink: 0; display: inline-flex; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .ans { padding: 0 4px 22px; font-size: var(--fs-md); line-height: 1.65; color: var(--text-2); max-width: 66ch; }
.faq .ans code { font-family: var(--font-mono); font-size: var(--fs-sm); background: var(--cream-2); padding: 1px 6px; border-radius: var(--r-sm); }

/* ══ cta band — the drenched finale ══
   The page closes by letting the brand's own toasted-brown ink fill the frame:
   cream type, the ember trail catching light, one warm halo of depth. The single
   committed-color moment on an otherwise calm, paper-white site. */
section.band.cta-band { background: var(--brown); border-top: none; border-bottom: none; position: relative; overflow: hidden; }
.cta-band { text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 78% at 50% 24%, rgba(226, 125, 58, 0.18), transparent 72%);
}
.cta-band .wrap { position: relative; }
.cta-band .trail { display: inline-flex; gap: 11px; margin-bottom: 26px; }
.cta-band .trail span { width: 12px; height: 12px; border-radius: var(--r-pill); background: var(--accent); box-shadow: 0 0 20px -2px var(--accent); animation: tp 1.3s cubic-bezier(0.37, 0, 0.63, 1) infinite; }
.cta-band .trail span:nth-child(2){ animation-delay: .15s; } .cta-band .trail span:nth-child(3){ animation-delay: .3s; }
.cta-band .trail span:nth-child(4){ animation-delay: .45s; } .cta-band .trail span:nth-child(5){ animation-delay: .6s; }
@keyframes tp { 0%,100% { transform: scale(1); opacity: .4; } 50% { transform: scale(1.4); opacity: 1; } }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2.375rem, 5.6vw, 3.625rem); font-weight: 700; letter-spacing: -0.03em; margin: 0; color: var(--cream-soft); text-wrap: balance; }
.cta-band p { color: rgba(253, 250, 244, 0.78); font-size: var(--fs-lg); margin: 18px 0 32px; }
.cta-band .cta { display: flex; gap: 13px; justify-content: center; }
/* the everyday outline button inverts for the dark panel */
.cta-band .btn:not(.btn--accent) { background: transparent; border-color: rgba(253, 250, 244, 0.45); color: var(--cream-soft); }
.cta-band .btn:not(.btn--accent):hover { background: var(--cream-soft); border-color: var(--cream-soft); color: var(--brown); transform: translateY(-1px); }

/* ══ footer ══ */
footer { border-top: var(--border); background: var(--cream-2); }
footer .wrap { padding: clamp(2.75rem, 5vw, 3.5rem) 28px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand .logo { margin-bottom: 12px; }
.foot-brand .tag { font-family: var(--font-display); font-style: italic; color: var(--mute); font-size: var(--fs-md); }
.foot-col h5 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-cap); color: var(--mute-2); font-weight: 600; margin: 0 0 14px; }
.foot-col a { display: block; font-size: var(--fs-md); color: var(--mute); margin-bottom: 10px; transition: color var(--t-fast); }
.foot-col a:hover { color: var(--text); }
.foot-bot { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: var(--border); font-size: var(--fs-sm); color: var(--mute-2); flex-wrap: wrap; }
.foot-bot .grow { flex: 1; }

/* ══ scroll reveal ══
   Content is visible by DEFAULT. The hidden-until-seen state is gated behind the
   `.js` class that site.js sets on <html> before paint, so the reveal only ever
   hides content when JS is present to bring it back. Without JS — and under print,
   prerender, or a crawler — every section renders fully. Motion enhances; it never
   decides whether content exists. */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: 0.08s; }
[data-reveal][data-d="2"] { transition-delay: 0.16s; }
[data-reveal][data-d="3"] { transition-delay: 0.24s; }
[data-reveal][data-d="4"] { transition-delay: 0.32s; }
[data-reveal][data-d="5"] { transition-delay: 0.40s; }

@media print {
  [data-reveal], .hero-trail i { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-trail i { opacity: 1; transform: none; }
}

/* ══ responsive ══ */
@media (max-width: 940px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .col-3, .col-4, .col-5 { grid-column: span 6; }
  .col-6, .col-7, .col-8 { grid-column: span 6; }
  .col-12 { grid-column: span 6; }
  .row-2 { grid-row: span 1; }
  .acts { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; gap: 36px; }
  .tcols { columns: 1; }
  nav.top .links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 1; }
  .col-12 { grid-column: span 1; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .road-cols { grid-template-columns: 1fr; }
  /* roomier tap targets for stacked footer links on touch */
  .foot-col a { padding: 9px 0; margin-bottom: 2px; }
}
