/* Kerbrank homepage v2 (premium pass, 22 Sep 2026). Loaded on / only.
   Decided with Jev: dark glowing hero, bold sans headlines with serif italic
   accents, bento product grid, two big photo cards, honest stat band.
   Motion: transform/opacity only, and only with reduced-motion consent. */

.home {
  --h-radius: 22px;
  --h-night: #07170F;
  --h-night-2: #0B2219;
  --h-cream: #F4F1E8;
  --h-cream-2: #B9C8C0;
  --h-amber: #E9B869;
  --h-mint: #4FD1A0;
  --h-line-d: rgba(244, 241, 232, .12);
}

/* ---------- type: bold sans headlines, serif italic accents */
.home main h1, .home main h2, .home .h-tile h3, .home .h-who-body h3 {
  font-family: var(--sans); font-weight: 760; letter-spacing: -.035em; text-wrap: balance;
}
.home main h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.04; }
.home main h1 em, .home main h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--brand-2); }
.home .section-head.h-center { margin-inline: auto; text-align: center; }
.home .section-head.h-center p { margin-inline: auto; }
.home .fineprint { margin: 18px 0 0; }
.h-center-note { text-align: center; }
.h-kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-eyebrow); margin-bottom: 10px; }

/* ---------- header sits on the dark hero */
.home .s-head { background: var(--h-night); border-bottom-color: var(--h-line-d); transition: background .25s ease; }
.home .s-head.is-scrolled { background: rgb(7 23 15 / .78); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.home .s-head .logo, .home .s-head .s-link { color: var(--h-cream); }
.home .s-head .s-link:hover { color: #fff; }
.home .s-head .logo-mark rect { fill: var(--h-cream); }
.home .s-head .logo-mark path { stroke: var(--h-night); }
.home .s-head .btn-ghost { color: var(--h-cream); border-color: var(--h-line-d); background: transparent; }
.home .s-head .btn-ghost:hover { background: var(--h-line-d); }
.home .s-head .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); }

/* ---------- hero */
.h-hero { position: relative; overflow: hidden; color: var(--h-cream); padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(50% 60% at 78% 30%, rgba(46, 154, 99, .28), transparent 70%),
    radial-gradient(35% 45% at 95% 85%, rgba(200, 134, 43, .20), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(46, 154, 99, .14), transparent 70%),
    var(--h-night); }
.h-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--h-line-d) 1px, transparent 1px), linear-gradient(90deg, var(--h-line-d) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 75%); }
.h-hero-grid { position: relative; display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .h-hero-grid { grid-template-columns: minmax(0, 5.3fr) minmax(0, 6fr); } }
.h-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--h-line-d); border-radius: 999px; background: rgba(244, 241, 232, .05); font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--h-cream); margin-bottom: 26px; }
.h-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--h-mint); box-shadow: 0 0 0 4px rgba(79, 209, 160, .18); }
.home .h-hero h1 { font-size: clamp(2.9rem, 6.8vw, 5.8rem); line-height: .96; letter-spacing: -.045em; color: var(--h-cream); margin-bottom: .32em; max-width: 13.5ch; }
.home .h-hero h1 em { display: block; color: var(--h-amber); font-size: 1.04em; letter-spacing: -.02em; }
.h-hero .lede { color: var(--h-cream-2); margin-bottom: 32px; }
.h-hero .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.h-hero .btn:not(.btn-ghost):hover { background: #fff; }
.h-hero .btn-ghost { color: var(--h-cream); border-color: rgba(244, 241, 232, .28); background: rgba(244, 241, 232, .04); }
.h-hero .btn-ghost:hover { background: rgba(244, 241, 232, .1); }
.h-hero-note { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--h-cream-2); }
.h-hero-note li { display: inline-flex; align-items: center; gap: 7px; }
.h-hero-note li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--h-mint); border-bottom: 2px solid var(--h-mint); transform: rotate(-45deg) translate(1px, -2px); }

/* the product, lit */
.h-stage { position: relative; }
.h-stage::before { content: ""; position: absolute; inset: 8% 6% 12%; background: radial-gradient(closest-side, rgba(79, 209, 160, .35), transparent); filter: blur(30px); z-index: 0; }
.h-frame { position: relative; z-index: 1; margin: 0; border-color: rgba(255, 255, 255, .5); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }
.h-map-wrap { position: relative; overflow: hidden; }
.h-map { display: block; }
.h-scan { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; pointer-events: none; opacity: 0; will-change: transform;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--brand-2) 16%, transparent) 70%, color-mix(in oklab, var(--brand-2) 38%, transparent) 97%, transparent); }
.h-float { position: relative; z-index: 2; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .45); padding: 16px 18px; font-size: .9rem; margin-top: 14px; }
.h-float-k { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.h-ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-2) 18%, transparent); }
.h-q { margin: 0 0 10px; color: var(--ink); line-height: 1.4; }
.h-ai-row { display: flex; align-items: baseline; gap: 8px; }
.h-ai-row b { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.h-ai-row span { color: var(--ink-2); font-size: .84rem; }
.h-float .dots { margin-top: 10px; gap: 4px; }
.h-float .dots i { width: 12px; height: 12px; }
.h-job { margin: 0 0 6px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.h-job-meta { font-size: .8rem; color: var(--ink-2); }
.h-float-job { border-left: 3px solid var(--accent); }
@media (min-width: 640px) and (max-width: 1199px) { .h-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .h-frame { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .h-stage { padding: 0 0 150px 64px; perspective: 1600px; }
  .h-frame { transform: rotateY(-5deg) rotateX(3deg); transform-origin: 60% 50%; }
  .h-float { position: absolute; margin: 0; width: 244px; }
  .h-float-ai { left: 0; top: 46%; }
  .h-float-job { right: 0; bottom: 0; width: 300px; }
}

/* facts strip, still on the dark */
.h-facts { background: var(--h-night); border-top: 1px solid var(--h-line-d); color: var(--h-cream); }
.h-facts-list { list-style: none; margin: 0 auto; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: .92rem; font-weight: 520; }
.h-facts-list li { display: inline-flex; align-items: center; gap: 9px; }
.h-facts-list svg { width: 19px; height: 19px; fill: none; stroke: var(--h-mint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.h-facts-list a { color: inherit; text-decoration: underline; text-decoration-color: rgba(244, 241, 232, .35); text-underline-offset: 3px; }
.h-facts-list a:hover { text-decoration-color: currentColor; }

/* ---------- the problem: street photo with the grid laid over it */
.h-street { padding: clamp(72px, 10vw, 128px) 0 0; }
.h-street-media { position: relative; border-radius: var(--h-radius); overflow: hidden; background: var(--s-land); aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.h-street-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-street-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 17, .42)); }
.h-street-grid { position: absolute; inset: 22% 7% 18% 7%; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(8px, 3.4vw, 46px) clamp(8px, 4vw, 60px); z-index: 1; }
.h-street-grid i { width: clamp(10px, 1.7vw, 22px); aspect-ratio: 1; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .55), 0 6px 16px rgba(0, 0, 0, .25); }
.h-street-grid .g1 { background: #137A4E; } .h-street-grid .g2 { background: #5BA84B; } .h-street-grid .g3 { background: #C9A22B; } .h-street-grid .g4 { background: #D2802C; } .h-street-grid .g5 { background: #D2CEC4; }
.h-street-tag { position: absolute; z-index: 2; left: 4%; bottom: 7%; background: rgba(251, 250, 247, .94); color: #0F1A16; border-radius: 999px; padding: 7px 14px; font-size: clamp(.72rem, 1.2vw, .9rem); box-shadow: var(--shadow); }
.h-street-tag b { color: #137A4E; margin-right: 4px; }
.h-street-tag-far { left: auto; right: 4%; }
.h-street-tag-far b { color: #A32F25; }
.h-street-copy { display: grid; gap: 8px 64px; padding-top: clamp(32px, 5vw, 56px); }
.h-street-copy h2 { max-width: 15ch; }
.h-street-copy p { color: var(--ink-2); font-size: 1.08rem; max-width: 56ch; margin: 0; }
.h-street-copy .fineprint { margin: 0; }
@media (min-width: 960px) { .h-street-copy { grid-template-columns: 1fr 1fr; align-items: end; } .h-street-copy .eyebrow { grid-column: 1 / -1; } .h-street-copy .fineprint { grid-column: 2; } }
@media (max-width: 640px) { .h-street-media { aspect-ratio: 4 / 3; } .h-street-grid { inset: 18% 5% 22% 5%; } }
@media (max-width: 520px) { .h-street-tag { max-width: 46%; line-height: 1.3; padding: 6px 10px; } }

/* ---------- how it works */
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 860px) { .h-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.h-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--h-radius); padding: 28px 26px 26px; }
.h-step-n { display: block; font-family: var(--serif); font-style: italic; font-size: 2.8rem; line-height: 1; color: var(--brand-2); margin-bottom: 26px; }
.h-steps h3 { font-size: 1.14rem; margin: 0 0 8px; letter-spacing: -.01em; }
.h-steps p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 759px) { .h-steps li { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 22px 20px; } .h-step-n { margin: 0; font-size: 2.1rem; grid-row: span 2; } }

/* ---------- stat band */
.h-stats { background: var(--h-night); color: var(--h-cream); padding: clamp(48px, 6vw, 72px) 0; }
.h-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
@media (min-width: 860px) { .h-stats-grid { grid-template-columns: repeat(4, 1fr); } }
.h-stats-grid div { border-left: 1px solid var(--h-line-d); padding-left: 20px; }
.h-stats-grid b { display: block; font-family: var(--sans); font-weight: 760; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -.045em; color: var(--h-cream); }
.h-stats-grid b small { font-size: .45em; letter-spacing: 0; margin-left: 3px; color: var(--h-amber); }
.h-stats-grid span { display: block; margin-top: 10px; color: var(--h-cream-2); font-size: .95rem; max-width: 22ch; }

/* ---------- bento */
.h-features { background: var(--s-wash); border-bottom: 1px solid var(--line); }
.h-bento { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .h-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .h-t-map { grid-column: span 7; grid-row: span 2; }
  .h-t-ai { grid-column: span 5; }
  .h-t-fix { grid-column: span 5; }
  .h-t-comp, .h-t-demand, .h-t-site { grid-column: span 4; }
}
.h-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--h-radius); padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 1px 2px rgba(15, 26, 22, .04); }
.h-tile h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.15; margin: 0 0 8px; }
.h-t-map h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.h-tile p { color: var(--ink-2); margin: 0; font-size: .96rem; max-width: 52ch; }
.h-tile-viz { background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; padding: 16px; margin-top: auto; }
.h-t-map .h-tile-viz { padding: clamp(16px, 2.4vw, 28px); }
.h-t-map .mini-heat { max-width: 520px; margin-inline: auto; gap: 5px; }
.h-t-map .mini-legend { margin-top: 14px; justify-content: center; }
.h-tile-dark { background: var(--h-night-2); border-color: var(--h-night-2); color: var(--h-cream); }
.h-tile-dark h3 { color: var(--h-cream); }
.h-tile-dark p { color: var(--h-cream-2); }
.h-tile-dark .h-kicker { color: var(--h-amber); }
.h-chat { display: grid; gap: 12px; margin-top: auto; }
.h-bubble { border-radius: 16px; padding: 11px 15px; font-size: .92rem; line-height: 1.5; max-width: 90%; }
.h-bubble-q { justify-self: end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.h-bubble-a { background: var(--paper); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; color: var(--ink-2); }
.h-bubble-a b { color: var(--ink); font-weight: 600; }
.h-bubble-a mark { background: color-mix(in oklab, var(--accent) 22%, transparent); color: var(--ink); font-weight: 650; padding: 0 3px; border-radius: 4px; }
.h-chat-foot { border-top: 1px solid var(--line-2); padding-top: 12px; }
.h-chat-foot .ai-rate b { font-size: 2rem; }
.h-fixes { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 10px; }
.h-fixes li { display: flex; gap: 12px; align-items: flex-start; background: rgba(244, 241, 232, .05); border: 1px solid var(--h-line-d); border-radius: 12px; padding: 12px 14px; font-size: .92rem; color: var(--h-cream); }
.h-fixes b { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--h-mint); margin-bottom: 2px; }
.h-fixes li:not(.done) b { color: var(--h-amber); }
.h-fix-tick { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: rgba(79, 209, 160, .16); color: var(--h-mint); }
.h-fix-next { background: rgba(233, 184, 105, .16); color: var(--h-amber); }
.h-tile .mini-table { width: 100%; font-size: .86rem; }
.h-tile .mini-table td:first-child { white-space: nowrap; }
.h-tile .bars { margin-top: auto; }

/* ---------- who it's for: two big photo cards */
.h-who-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .h-who-grid { grid-template-columns: 1fr 1fr; } }
.h-who-card { position: relative; border-radius: var(--h-radius); overflow: hidden; min-height: clamp(420px, 44vw, 560px); display: flex; align-items: flex-end; background: var(--h-night); isolation: isolate; }
.h-who-card picture { position: absolute; inset: 0; z-index: -2; }
.h-who-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.h-who-card:hover img { transform: scale(1.035); }
.h-who-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 23, 15, 0) 30%, rgba(7, 23, 15, .55) 55%, rgba(7, 23, 15, .92) 100%); }
.h-who-body { padding: clamp(22px, 3vw, 36px); color: var(--h-cream); max-width: 46ch; }
.h-who-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.05; margin: 0 0 10px; color: var(--h-cream); }
.h-who-body p { margin: 0 0 18px; color: #D9E2DD; font-size: 1rem; }
.h-who-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--h-cream); color: var(--h-night); font-weight: 650; font-size: .92rem; text-decoration: none; }
.h-who-link:hover { background: #fff; }

/* ---------- comparison on a wash */
.h-compare { background: var(--s-wash); border-block: 1px solid var(--line); }

/* ---------- pricing */
.h-plans { display: grid; gap: 18px; max-width: 1040px; margin-inline: auto; }
@media (min-width: 860px) { .h-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.h-plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--h-radius); padding: 30px 26px 26px; display: flex; flex-direction: column; }
.h-plan h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.h-plan .for { font-size: .9rem; color: var(--ink-2); margin: 0 0 20px; min-height: 2.8em; }
.h-price { font-family: var(--sans); font-weight: 760; font-size: 3.4rem; line-height: 1; letter-spacing: -.05em; }
.h-price small { font-size: .9rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 4px; }
.h-plan .tick { margin: 22px 0 26px; font-size: .95rem; }
.h-plan .btn { margin-top: auto; width: 100%; }
.h-plan-pick { background: var(--h-night-2); color: var(--h-cream); border-color: var(--h-night-2); box-shadow: 0 30px 60px -20px rgba(7, 23, 15, .5); }
.h-plan-pick .for, .h-plan-pick .h-price small { color: var(--h-cream-2); }
.h-plan-pick .tick li::before { border-color: var(--h-mint); }
.h-plan-pick .btn { background: var(--h-cream); color: var(--h-night); }
.h-plan-pick .btn:hover { background: #fff; }
.h-plan-pick .plan-flag { background: var(--h-amber); color: var(--h-night); }
@media (min-width: 860px) { .h-plan-pick { margin-top: -12px; margin-bottom: 12px; } }
.h-plans-more { text-align: center; margin: 32px auto 6px; color: var(--ink-2); }
.h-plans-more b { color: var(--ink); }
.h-plans-more a { margin-left: 6px; font-weight: 600; }
.h-plans-note { text-align: center; margin: 0; font-size: .88rem; color: var(--ink-2); }

/* ---------- principle band and final CTA use the night green */
.home .band { background: var(--h-night); }
.home .band .h-principle { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.02; color: var(--h-cream); margin: 0; }
.home .band .h-principle em { color: var(--h-amber); }
.home .cta h2 { color: var(--h-cream); }
.home .cta h2 em { color: var(--h-amber); }

/* ---------- FAQ side column */
.h-guides { display: grid; gap: 4px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.h-guides a { padding: 7px 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.h-guides a:hover { text-decoration-color: currentColor; }

/* ---------- motion */
@media (prefers-reduced-motion: no-preference) {
  .h-hero-copy > * { animation: h-lift .8s cubic-bezier(.2, .7, .2, 1) both; }
  .h-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .h-hero-copy > :nth-child(3) { animation-delay: .12s; }
  .h-hero-copy > :nth-child(4) { animation-delay: .18s; }
  .h-hero-copy > :nth-child(5) { animation-delay: .24s; }
  .h-stage { animation: h-rise 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
  .h-map .m-pins { animation: h-fade 1.2s .5s ease-out both; }
  .h-scan { animation: h-sweep 1.5s .35s cubic-bezier(.5, 0, .2, 1) both; }
  .h-float-ai { animation: h-rise .8s 1.3s cubic-bezier(.2, .7, .2, 1) both; }
  .h-float-job { animation: h-rise .8s 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
  .h-steps li:nth-child(2), .h-who-card:nth-child(2), .h-plan:nth-child(2), .h-stats-grid div:nth-child(2) { transition-delay: .08s; }
  .h-steps li:nth-child(3), .h-plan:nth-child(3), .h-stats-grid div:nth-child(3) { transition-delay: .16s; }
  .h-stats-grid div:nth-child(4) { transition-delay: .24s; }
}
@keyframes h-lift { from { transform: translateY(14px); } to { transform: none; } }
@keyframes h-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes h-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes h-sweep { 0% { opacity: 1; transform: translateX(-100%); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(340%); } }
@media (min-width: 640px) and (max-width: 999px) { .h-stage { max-width: 620px; margin-inline: auto; width: 100%; } }


/* ---------- v3 polish (22 Sep 2026, after the $20k audit) */
.home .h-price, .home .h-stats-grid b, .home .h-ai-row b, .home .mini-table, .home .h-mapstats dd, .home .bars b { font-variant-numeric: tabular-nums; }
.home .btn { transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.home .btn:active { transform: translateY(1px); }
.home .h-hero .btn:not(.btn-ghost) { box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .6); }
.home .h-hero .btn:focus-visible, .home .band .btn:focus-visible, .home .h-plan-pick .btn:focus-visible { outline: 3px solid var(--h-amber); outline-offset: 3px; }
/* a whisper of film grain on the night hero */
.h-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.h-hero .wrap { position: relative; z-index: 1; }
.h-frame .frame-foot { padding-bottom: 11px; }
/* v4: the stage stays centred at tablet widths (the old margin-inline:0 pushed it left). */
.h-street-copy h2 em { display: block; }
.h-street-copy .fineprint { font-size: .8rem; color: var(--ink-3, #5B6D66); }
.h-street-tag { white-space: nowrap; }
.home .cta h2 { text-wrap: balance; }
/* bento: example figures fill the big tile, tiles line up, gentle hover */
.h-mapstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.h-mapstats div { background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.h-mapstats dt { font-size: .72rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.h-mapstats dd { margin: 4px 0 0; font-weight: 760; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -.03em; }
.h-t-map { justify-content: space-between; }
.h-tile-copy { min-height: 0; }
@media (min-width: 960px) { .h-t-comp .h-tile-copy, .h-t-demand .h-tile-copy, .h-t-site .h-tile-copy { min-height: 7.6em; } }
.h-tile { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
@media (hover: hover) { .h-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(7, 23, 15, .35); border-color: color-mix(in oklab, var(--brand-2) 28%, var(--line)); } }
.h-tile .h-tile-viz.bars { display: grid; gap: 12px; }
/* hero keeps breathing: the home pin pulses, the scan returns now and then */
@media (prefers-reduced-motion: no-preference) {
  .h-map .m-home { transform-box: fill-box; transform-origin: center; animation: h-pulse 2.6s 2.2s ease-in-out infinite; }
  .h-scan { animation: h-sweep-loop 9s .35s cubic-bezier(.5, 0, .2, 1) infinite; }
}
@keyframes h-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: .55; } }
@keyframes h-sweep-loop { 0% { opacity: 1; transform: translateX(-100%); } 15% { opacity: 1; transform: translateX(340%); } 15.01%, 100% { opacity: 0; transform: translateX(340%); } }

/* trust strip */
.h-trust { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.h-trust-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .h-trust-grid { grid-template-columns: 1fr auto; grid-template-areas: 'head link' 'list list'; align-items: end; row-gap: 32px; } .h-trust-head { grid-area: head; } .h-trust-link { grid-area: link; } .h-trust-list { grid-area: list; } }
.home main .h-trust-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.h-trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .h-trust-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .h-trust-list { grid-template-columns: repeat(4, 1fr); } }
.h-trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.h-trust-list svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: color-mix(in oklab, var(--brand-2) 10%, var(--surface)); fill: none; stroke: var(--brand-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-trust-list b { display: block; font-size: .96rem; }
.h-trust-list span { display: block; color: var(--ink-2); font-size: .88rem; margin-top: 2px; }
.h-trust-link { font-weight: 600; font-size: .95rem; }

/* help box beside the FAQ */
.h-help { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--h-night-2); color: var(--h-cream); }
.h-help-title { font-weight: 760; font-size: 1.15rem; letter-spacing: -.01em; margin: 0 0 6px; color: var(--h-cream); }
.h-help p { color: var(--h-cream-2); margin: 0 0 16px; font-size: .95rem; }
.h-help .h-help-title { color: var(--h-cream); }
.h-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.h-help .btn:not(.btn-ghost) { background: var(--h-cream); color: var(--h-night); }
.h-help .btn-ghost { color: var(--h-cream); border-color: rgba(244, 241, 232, .28); background: transparent; }
.h-help .btn-ghost:hover { background: rgba(244, 241, 232, .1); }

/* sticky trial bar on phones */
.h-sticky { display: none; }
@media (max-width: 700px) {
  .h-sticky:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; align-items: center; gap: 12px; padding: 10px 84px 10px 14px; background: rgb(7 23 15 / .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--h-cream-2); font-size: .82rem; border-top: 1px solid var(--h-line-d); }
  .h-sticky .btn { background: var(--h-cream); color: var(--h-night); min-height: 44px; display: inline-flex; align-items: center; }
  .h-sticky-on:not(.has-cookie-note) .kr-assist-btn { bottom: 8px; }
  .h-sticky-on.has-cookie-note .h-sticky { display: none; }
}

/* dark mode: give the night sections their own tone so the page keeps its edges */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .home { --h-night: #0B2A1E; --h-night-2: #10362A; }
  :root:not([data-theme="light"]) .home .h-hero, :root:not([data-theme="light"]) .home .h-stats, :root:not([data-theme="light"]) .home .band { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border-block: 1px solid var(--h-line-d); }
  :root:not([data-theme="light"]) .home .mini-heat i.rw { background: repeating-linear-gradient(45deg, #1b2a33 0 3px, transparent 3px 6px); }
  :root:not([data-theme="light"]) .home .h-plan-pick { outline: 1px solid color-mix(in oklab, var(--h-amber) 40%, transparent); }
  :root:not([data-theme="light"]) .home .s-head.is-scrolled { background: rgb(11 42 30 / .8); }
}
/* the Questions button needs to stand out on the night hero as well as on paper */
.home .kr-assist-btn { background: var(--h-amber); color: var(--h-night); }
.home .h-sticky-on .kr-assist-btn { background: var(--h-amber); }

/* ===================== v4, 22 Sep 2026: design-review fixes (Jev-approved) ===================== */
/* Hero entry: search-first form, same one repeated in the final CTA. */
.h-find { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 30px; padding: 10px; max-width: 620px; border: 1px solid var(--h-line-d); border-radius: 20px; background: rgba(244, 241, 232, .06); backdrop-filter: blur(6px); }
.h-find-f { position: relative; }
.h-find label { position: absolute; left: 16px; top: 9px; font-size: .7rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--h-cream-2); pointer-events: none; }
.h-find input { width: 100%; height: 58px; padding: 22px 16px 6px; border: 1px solid transparent; border-radius: 13px; background: rgba(7, 23, 15, .55); color: var(--h-cream); font: 500 1rem/1.2 var(--sans); }
.h-find input::placeholder { color: rgba(185, 200, 192, .6); }
.h-find input:hover { border-color: rgba(244, 241, 232, .18); }
.home .h-find input:focus-visible { outline: 2px solid var(--h-amber); outline-offset: 1px; border-color: transparent; }
.h-find .btn { height: 58px; white-space: nowrap; border-radius: 13px; }
@media (min-width: 560px) { .h-find { grid-template-columns: 1.3fr 1fr; } .h-find .btn { grid-column: 1 / -1; } }
.h-find-alt { margin: 14px 0 0; font-size: .92rem; color: var(--h-cream-2); }
.h-find-alt a { color: var(--h-cream); font-weight: 600; text-underline-offset: 3px; }
.h-cta .h-find { margin-inline: auto; text-align: left; }
.h-cta .h-find-alt { text-align: center; }
.h-hero .h-hero-note { margin-top: 16px; }
.h-hero .lede { margin-bottom: 0; }
.h-hero-note a { color: var(--h-cream); font-weight: 600; text-underline-offset: 3px; }
.h-hero-note li.h-note-link { flex-basis: 100%; }
.h-hero-note li.h-note-link::before { display: none; }

/* Hero fits a 1440x900 laptop: three-line H1, trust ticks above the fold. */
.home .h-hero h1 { max-width: none; font-size: clamp(2.8rem, 5.4vw, 4.2rem); }
@media (min-width: 1000px) { .h-hero-grid { grid-template-columns: minmax(0, 5.8fr) minmax(0, 5.6fr); } }
@media (min-width: 1000px) { .h-hero { padding-top: clamp(40px, 5vw, 76px); } .h-badge { margin-bottom: 20px; } }

/* Support button: always there, but a small round icon while the hero is on screen so it never covers the example cards. */
html:not(.h-past-hero) .home .kr-assist-btn { padding: 0; width: 48px; justify-content: center; }
html:not(.h-past-hero) .home .kr-assist-btn span { display: none; }


/* Bento: never wider than its container (320px overflow), two columns on tablets. */
@media (max-width: 639px) { .h-bento { grid-template-columns: minmax(0, 1fr); } }
.h-mapstats dd { white-space: nowrap; }
@media (max-width: 420px) { .h-mapstats { grid-template-columns: 1fr 1fr; } .h-mapstats div:last-child { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 959px) {
  .h-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-t-map, .h-t-site { grid-column: 1 / -1; }
  .h-t-map .mini-heat, .h-t-map svg { max-width: 420px; margin-inline: auto; }
  .h-stage { max-width: 560px; }
}

/* Stat labels: one line where they fit. */
.h-stats-grid span { max-width: 26ch; }

/* Visible focus on every dark surface. */
.home .s-head :focus-visible, .h-hero :focus-visible, .h-facts :focus-visible, .h-stats :focus-visible, .home .band :focus-visible,
.h-who-card :focus-visible, .h-tile-dark :focus-visible, .h-help :focus-visible, .h-plan-pick :focus-visible { outline: 2px solid var(--h-amber); outline-offset: 3px; }

/* Pricing to FAQ: one gap, not two. */
.h-faq { padding-top: calc(var(--s-gap, 120px) * .55); }

/* Comparison: make our column read as ours. */
.home .compare thead th.us { box-shadow: inset 0 3px 0 var(--brand-2); }
.home .compare td.us { background: color-mix(in oklab, var(--brand-2) 9%, var(--surface)); }

/* Hover that you can actually see. */
.h-plan .btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.home .faq summary { transition: color .15s ease; }
.home .faq summary:hover { color: var(--brand-2); }

/* Awkward wraps. */
.h-plans-more a { white-space: nowrap; }
.home .mini-table th { white-space: nowrap; }
/* Phones, first visit: while the cookie note and the hero are both on screen there is no free corner, so the button waits one tap. */
@media (max-width: 700px) { html:not(.h-moved) .home .kr-assist-btn { opacity: 0; visibility: hidden; } }
.h-ai-row b, .ai-rate b { white-space: nowrap; }
/* Small laptops: keep the example cards clear of the support button's corner. */
@media (min-width: 1000px) and (max-width: 1199px) { .h-stage { margin-right: 44px; } }

/* v4.1: new who-card photos (café owner, agency team). Keep the people clear of the text and the text readable on busy frames. */
.h-who-card:first-child img { object-position: 64% 38%; }
.h-who-card:last-child img { object-position: 62% 30%; }
.h-who-card::after { background: linear-gradient(180deg, rgba(7, 23, 15, 0) 26%, rgba(7, 23, 15, .6) 54%, rgba(7, 23, 15, .94) 100%), linear-gradient(90deg, rgba(7, 23, 15, .5) 0%, rgba(7, 23, 15, 0) 62%); }
.h-who-body h3, .h-who-body p { text-shadow: 0 1px 14px rgba(7, 23, 15, .45); }

/* ===================== v5, 22 Sep 2026: section-by-section review fixes ===================== */
/* FAQ: on phones the questions come straight after the heading; guides and help follow. */
.h-faq-grid { display: grid; gap: 28px; grid-template-areas: "head" "faq" "aside"; }
.h-faq-head { grid-area: head; } .h-faq-grid > .faq { grid-area: faq; } .h-faq-aside { grid-area: aside; }
@media (min-width: 900px) { .h-faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); grid-template-areas: "head faq" "aside faq"; align-items: start; column-gap: clamp(40px, 6vw, 88px); row-gap: 8px; } }

/* "Also in every report" chips replace the grey fineprint. */
.h-chips { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.h-chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .86rem; font-weight: 550; color: var(--ink-2); }
.h-ex { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); font-size: .66rem; letter-spacing: .06em; vertical-align: 1px; }

/* Comparison: a compact, swipeable table on phones instead of 1,500px of stacked cards. */
.h-compare-more { margin: 18px 0 0; font-size: .95rem; color: var(--ink-2); }
.h-compare-more a { font-weight: 600; }
@media (max-width: 700px) {
  .home .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .home .compare.compare-3 { display: table; min-width: 620px; font-size: .86rem; }
  .home .compare.compare-3 thead { display: table-header-group; }
  .home .compare.compare-3 tbody { display: table-row-group; }
  .home .compare.compare-3 tr { display: table-row; padding: 0; }
  .home .compare.compare-3 th, .home .compare.compare-3 td { display: table-cell; width: auto; padding: 12px 12px; border-bottom: 1px solid var(--line-2); }
  .home .compare.compare-3 td::before { display: none; }
  .home .compare.compare-3 td.us { background: color-mix(in oklab, var(--brand-2) 9%, var(--surface)) !important; }
  .home .compare.compare-3 tbody th { position: sticky; left: 0; z-index: 1; width: 128px; min-width: 128px; background: var(--surface); font-size: .84rem; padding: 12px; box-shadow: 1px 0 0 var(--line); }
  .home .compare.compare-3 thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
}
@media (max-width: 700px) { .home .h-compare .compare-wrap + .h-compare-more::before { content: "Swipe to see both competitors. "; } }

/* Hero on phones: map plus the ChatGPT card; the job card waits for the report section. */
@media (max-width: 639px) {
  .h-float-job { display: none; }
  .h-stage { max-width: 360px; margin-inline: auto; }
}

/* The sticky trial bar is gone (header CTA only, Jev 0.5): make sure nothing reserves space for it. */
.h-sticky { display: none !important; }
.h-frame .frame-foot { gap: 6px 12px; font-size: .74rem; letter-spacing: -.005em; }
.h-frame .frame-foot i { margin-right: 4px; }
