/* Pulse AI home page. Shared tokens live in styles.css. */

.home { font-size: 16px; line-height: 1.6; }
.home h1, .home h3 { text-wrap: balance; }
.home h2 { text-wrap: pretty; }
.home h1, .home h2, .home h3 { letter-spacing: -0.025em; }
.home h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.1; }
.home h3 { font-weight: 600; }
.home section { padding: 112px 0; }
.home .muted { color: var(--sub); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* buttons */
.home .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; font-weight: 600; letter-spacing: -0.005em; transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease; }
.home .btn:hover { transform: translateY(-1px); }
.home .btn:active { transform: translateY(0); }
.home .btn .i { width: 17px; height: 17px; transition: transform .2s ease; }
.home .btn:hover .i { transform: translateX(2px); }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.home .btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 1px 2px rgba(13,23,20,.05); }
.home .btn-ghost:hover { border-color: var(--sub); }
.btn-light { background: var(--lime); color: #0d1714; }
.btn-light:hover { filter: brightness(1.05); }
.btn-outline-light { background: transparent; color: var(--panel-ink); border: 1px solid var(--panel-line); }
.btn-outline-light:hover { border-color: var(--panel-sub); }
.home .btn-block { width: 100%; }

.home .logo { font-weight: 700; letter-spacing: -0.02em; }
.home .logo .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* section heads */
.h-head { max-width: 840px; margin-bottom: 56px; }
.h-head p { margin-top: 16px; font-size: 18px; }
.h-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.h-head-row h2 { max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s ease; }
a:hover > .link-arrow .i, .link-arrow:hover .i { transform: translateX(3px); }

/* ── hero ─────────────────────────────────────────────── */
.home .h-hero { padding: 72px 0 104px; position: relative; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%); }
.h-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center; }
.h-tag { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 500; color: var(--sub); margin-bottom: 28px; transition: border-color .15s ease, color .15s ease; }
.h-tag:hover { border-color: var(--accent); color: var(--ink); }
.h-tag .i { width: 15px; height: 15px; }
.h-tag-new { background: var(--accent); color: var(--btn-ink); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.home .h-hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; }
.h-lead { font-size: 19px; color: var(--sub); margin: 26px 0 36px; max-width: 54ch; line-height: 1.6; }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.h-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14.5px; color: var(--sub); }
.h-facts li { display: inline-flex; align-items: center; gap: 8px; }
.h-facts .i { width: 17px; height: 17px; color: var(--accent); }

/* the sample call, the signature moment */
.h-call { position: relative; margin: 0; padding-bottom: 46px; }
.call-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; }
.call-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.call-who { display: flex; gap: 12px; align-items: center; }
.call-who strong { display: block; font-size: 16px; line-height: 1.2; }
.call-who span { font-size: 13px; color: var(--sub); }
.call-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--lime); font-weight: 700; font-size: 17px; box-shadow: 0 0 0 4px var(--accent-soft); }
.call-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 6px 11px; border-radius: 999px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rec 1.6s ease-in-out 3; }
@keyframes rec { 50% { opacity: .3; } }

.wave { display: flex; align-items: center; gap: 4px; height: 56px; margin: 18px 4px 6px; }
.wave i { flex: 1; height: 100%; border-radius: 3px; background: var(--accent); opacity: .85; transform-origin: center; transform: scaleY(.18); animation: wave 1.3s ease-in-out 3; }
.wave i:nth-child(3n) { animation-duration: 1.05s; }
.wave i:nth-child(4n+1) { animation-duration: 1.55s; }
.wave i:nth-child(5n+2) { animation-delay: -.4s; }
.wave i:nth-child(odd) { animation-delay: -.7s; }
.wave i:nth-child(7n) { animation-delay: -.2s; }
@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(.95); } }

.chat { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg b { display: block; font-size: 12px; font-weight: 600; margin-bottom: 2px; opacity: .7; }
.msg.a { background: var(--bg2); border-bottom-left-radius: 4px; }
.msg.u { justify-self: end; background: var(--panel); color: var(--panel-ink); border-bottom-right-radius: 4px; }

.win-chip { position: absolute; left: -28px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.win-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; }
[data-theme="dark"] .win-icon { background: var(--lime); color: #0d1714; }
.win-chip div span { display: block; font-size: 12px; color: var(--sub); line-height: 1.3; }
.win-chip strong { font-size: 15px; line-height: 1.3; }
.win-chip em { font-style: normal; font-weight: 600; font-size: 14px; color: var(--good); padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--line); white-space: nowrap; }
.h-call figcaption { position: absolute; right: 4px; top: -26px; font-size: 12px; color: var(--sub); }

/* one authored entrance: the conversation plays once, then the win lands */
@media (prefers-reduced-motion: no-preference) {
  .chat .msg { animation: msg-in .5s cubic-bezier(.16, 1, .3, 1) both; }
  .chat .msg:nth-child(1) { animation-delay: .35s; }
  .chat .msg:nth-child(2) { animation-delay: 1.5s; }
  .chat .msg:nth-child(3) { animation-delay: 2.8s; }
  .win-chip { animation: chip-in .7s cubic-bezier(.16, 1, .3, 1) 3.7s both; }
}
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { .wave i, .rec, .home .logo .dot { animation: none; } .wave i { transform: scaleY(.5); } }

/* ── the gap ──────────────────────────────────────────── */
.h-gap { background: var(--bg2); border-block: 1px solid var(--line); }
.h-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.h-split p { font-size: 18px; max-width: 52ch; }
.gap-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.gap-list li { padding: 32px 32px 0 0; }
.gap-list li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.gap-list .i { width: 24px; height: 24px; color: var(--accent); margin-bottom: 18px; }
.gap-list h3 { font-size: 20px; margin-bottom: 8px; }

/* ── how it works ─────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 17px; margin-bottom: 24px; }
.steps li:first-child .step-n { background: var(--accent); color: var(--btn-ink); }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { font-size: 15.5px; }

/* ── the report ───────────────────────────────────────── */
.h-report { background: var(--bg2); border-block: 1px solid var(--line); }
.h-report-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.h-report-copy > p { font-size: 18px; margin: 18px 0 30px; }
.ticks { list-style: none; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 3; margin-top: 2px; }

.doc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.doc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 22px; background: var(--panel); color: var(--panel-ink); }
.doc-head h3 { font-size: 24px; margin: 0 0 6px; }
.doc-for { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--panel-sub); }
.doc-for .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.doc-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--panel-line); color: var(--panel-sub); }
.doc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.doc-stats div { padding: 20px 24px; }
.doc-stats div + div { border-left: 1px solid var(--line); }
.doc-stats span { display: block; font-size: 13px; color: var(--sub); line-height: 1.35; }
.doc-stats strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.doc-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--sub); text-transform: uppercase; letter-spacing: .05em; padding: 16px 24px 8px; }
.doc-table td { padding: 11px 24px; border-top: 1px solid var(--line); }
.doc-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.eff { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.eff.low { background: var(--accent-soft); color: var(--accent); }
.eff.med { background: rgba(180, 120, 20, .12); color: #8a5a06; }
[data-theme="dark"] .eff.med { color: #f0c46b; background: rgba(240, 196, 107, .12); }
.doc-plan { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); background: var(--bg2); font-size: 13px; font-weight: 600; color: var(--sub); flex-wrap: wrap; }
.doc-plan ol { list-style: none; display: flex; gap: 6px; flex: 1; }
.doc-plan li { flex: 1; text-align: center; padding: 6px 0; border-radius: 6px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-weight: 500; min-width: 54px; }
.doc-plan li:first-child { background: var(--accent); border-color: var(--accent); color: var(--btn-ink); }
.doc-note { font-size: 12px; color: var(--sub); padding: 10px 24px 14px; border-top: 1px solid var(--line); }

/* ── offerings ────────────────────────────────────────── */
.lanes { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.lane { border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.lane .btn { margin-top: 8px; align-self: flex-start; }
.lane h3 { font-size: 26px; line-height: 1.15; }
.lane-h .i { display: block; width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.lane-diy { background: var(--card); border: 1px solid var(--line); }
.lane-diy .ticks { margin-bottom: 12px; }
.lane-dfy { background: var(--panel); color: var(--panel-ink); box-shadow: var(--shadow-lg); }
.lane-dfy .lane-h .i { color: var(--lime); }
.lane-sub { color: var(--panel-sub); }
.svc { list-style: none; margin: 6px 0 14px; border-top: 1px solid var(--panel-line); }
.svc li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--panel-line); }
.svc-i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-line); color: var(--lime); }
.svc strong { display: block; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.svc span { font-size: 14px; color: var(--panel-sub); }
.svc em { font-style: normal; font-weight: 600; font-size: 15px; white-space: nowrap; text-align: right; }
.svc em.soon { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(182, 238, 92, .14); color: var(--lime); }

/* ── case studies ─────────────────────────────────────── */
.h-cases { background: var(--bg2); border-block: 1px solid var(--line); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.case:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.case h3 { font-size: 22px; line-height: 1.25; }
.case-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.case-tags li.kind { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.case-tags li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); color: var(--sub); }
.case .link-arrow { margin-top: auto; }

/* ── pricing ──────────────────────────────────────────── */
.price-panel { display: grid; grid-template-columns: 1fr 1.15fr; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.price-main { padding: 44px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.price-name { font-weight: 600; margin: -6px 0 16px; }
.price-num { font-size: clamp(56px, 7vw, 76px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 20px; font-variant-numeric: tabular-nums; }
.price-num small { font-size: 17px; font-weight: 500; color: var(--sub); letter-spacing: 0; margin-left: 10px; }
.price-guar { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 28px; }
.price-guar .i { color: var(--accent); margin-top: 3px; }
.price-side { padding: 44px; background: var(--bg2); display: grid; gap: 22px; align-content: start; }
.price-side > p:first-child { font-size: 18px; font-weight: 500; }
.home .fine { font-size: 13.5px; margin-top: 0; }
.price-main .fine { margin-top: 14px; }

/* ── start / form ─────────────────────────────────────── */
.h-start { background: var(--bg2); border-block: 1px solid var(--line); }
.h-start-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; }
.h-start-copy { position: sticky; top: 110px; }
.h-start-copy > p { font-size: 18px; margin: 16px 0 36px; }
.next { list-style: none; display: grid; gap: 24px; }
.next li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; }
.next li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font-weight: 700; color: var(--accent); }
.next strong { display: block; margin-bottom: 2px; }
.next p { font-size: 15px; }
.start-mail { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 15px; color: var(--sub); }
.start-mail .i { color: var(--accent); }

.home .lead-form { max-width: none; margin: 0; padding: 36px; border-radius: 20px; box-shadow: var(--shadow-lg); gap: 16px; }
.home .lead-form label { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: -8px; }
.home .lead-form label .muted { font-weight: 400; }
.home .lead-form input, .home .lead-form select, .home .lead-form textarea { caret-color: var(--accent); background: var(--card); border-color: var(--line); border-radius: 10px; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.home .lead-form input:hover, .home .lead-form select:hover, .home .lead-form textarea:hover { border-color: var(--sub); }
.home .lead-form input:focus, .home .lead-form select:focus, .home .lead-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.home .lead-form ::placeholder { color: var(--sub); opacity: .75; }
.home .lead-form .choice legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.home .lead-form .opt { padding: 14px 16px; border-radius: 12px; transition: border-color .15s ease, background .15s ease; }
.home .lead-form .opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.home .lead-form .check { font-size: 14px; font-weight: 400; color: var(--sub); margin: 0; }
.home .lead-form button[type="submit"] { margin-top: 6px; }
.home .lead-form button[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ── faq ──────────────────────────────────────────────── */
.h-faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; }
.h-faq-grid > div:first-child p { margin-top: 16px; font-size: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.home details { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0; margin: 0; }
.home details summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.home details summary .i { width: 20px; height: 20px; color: var(--sub); transition: transform .25s cubic-bezier(.16, 1, .3, 1), color .2s ease; }
.home details summary:hover .i { color: var(--accent); }
.home details[open] summary { color: var(--ink); }
.home details[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.home details p { margin: -6px 0 24px; max-width: 64ch; font-size: 16px; }

/* ── final cta ────────────────────────────────────────── */
.home .h-final { padding: 0 0 112px; }
.final-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--panel); color: var(--panel-ink); border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.final-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--panel-line); box-shadow: 0 0 0 60px rgba(255,255,255,.015), 0 0 0 120px rgba(255,255,255,.012); pointer-events: none; }
.final-band h2 { max-width: 18ch; }
.final-band p { color: var(--panel-sub); margin-top: 12px; font-size: 18px; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── footer ───────────────────────────────────────────── */
.h-foot { border-top: 1px solid var(--line); padding: 64px 0 36px; color: var(--sub); font-size: 15px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand .logo { color: var(--ink); margin-bottom: 10px; }
.foot-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.foot-cols a:hover { color: var(--ink); }
.foot-base { padding-top: 24px; font-size: 13.5px; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1020px) {
  .h-hero-grid, .h-report-grid, .h-start-grid, .h-faq-grid, .h-split { grid-template-columns: 1fr; gap: 48px; }
  .h-split { gap: 20px; margin-bottom: 48px; }
  .h-call { max-width: 560px; }
  .win-chip { left: 16px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .lanes, .price-panel { grid-template-columns: 1fr; }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .h-start-copy { position: static; }
}
@media (max-width: 720px) {
  .home section { padding: 80px 0; }
  .home .h-hero { padding: 40px 0 72px; }
  .wrap { padding: 0 20px; }
  .h-lead { font-size: 17.5px; }
  .h-cta .btn { flex: 1 1 100%; }
  .gap-list { grid-template-columns: 1fr; }
  .gap-list li, .gap-list li + li { padding: 28px 0; border-left: 0; }
  .gap-list li + li { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .cases { grid-template-columns: 1fr; }
  .lane, .case, .price-main, .price-side, .home .lead-form { padding: 26px; }
  .doc-head { padding: 22px; }
  .doc-stats { grid-template-columns: 1fr 1fr 1fr; }
  .doc-stats div { padding: 16px 14px; }
  .doc-stats strong { font-size: 20px; }
  .doc-table th, .doc-table td { padding-left: 14px; padding-right: 14px; }
  .doc-plan, .doc-note { padding-left: 14px; padding-right: 14px; }
  .svc li { grid-template-columns: auto 1fr; }
  .svc em { grid-column: 2; text-align: left; justify-self: start; }
  .final-band { padding: 36px 26px; }
  .final-actions .btn { flex: 1 1 100%; }
  .foot-cols { gap: 40px; }
  .win-chip { left: 8px; right: 8px; }
  .win-chip em { margin-left: auto; }
  .h-call figcaption { position: static; text-align: right; margin-top: 10px; }
  .h-call { padding-bottom: 0; }
  .win-chip { position: relative; left: 0; right: 0; margin: -18px 10px 0; }
}

[data-theme="dark"] .lane-dfy, [data-theme="dark"] .final-band, [data-theme="dark"] .doc-head { border: 1px solid var(--panel-line); }
html { scrollbar-color: var(--line) var(--bg); }
@media (max-width: 720px) { .h-call figcaption { position: static; } }
/* waveform rest shape once the entrance settles */
.wave i:nth-child(odd) { transform: scaleY(.42); }
.wave i:nth-child(3n) { transform: scaleY(.7); }
.wave i:nth-child(4n+1) { transform: scaleY(.28); }
.wave i:nth-child(5n+2) { transform: scaleY(.9); }
.wave i:nth-child(7n) { transform: scaleY(.55); }

/* ── shared page components (scan, community, case studies) ──
   These pages keep their older markup classes; restyle them into the home page's world. */
.home .alt { background: var(--bg2); border-block: 1px solid var(--line); }
.home .grid { gap: 24px; }
.home .card { border-radius: 18px; padding: 30px; }
.home .card h3 { font-size: 20px; margin-bottom: 10px; }
.home .card p + p { margin-top: 10px; }
.home h2.narrow, .home .narrow { max-width: 840px; margin: 0 0 16px; }
.home .narrow-p { max-width: 62ch; margin: 0 0 48px; font-size: 18px; }
.home .center .narrow-p, .home .narrow-p.center { margin-left: auto; margin-right: auto; }
.home .space-b { margin-bottom: 48px; }

.home .hero { padding: 72px 0 96px; position: relative; overflow: hidden; background: none; }
.home .hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 10%, transparent 70%); }
.home .hero .wrap { position: relative; }
.home .hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; max-width: 16ch; }
.home .hero.center h1, .home .hero .center h1 { margin: 0 auto; }
.home .hero .lead { font-size: 19px; color: var(--sub); margin: 24px 0 34px; max-width: 58ch; }
.home .hero .center .lead { margin-left: auto; margin-right: auto; }
.home .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.home .step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 17px; margin-bottom: 20px; }
.home .path-card { padding: 36px; gap: 14px; }
.home .path-card h3 { font-size: 24px; line-height: 1.2; }
.home .path-card.featured { background: var(--panel); color: var(--panel-ink); border-color: transparent; box-shadow: var(--shadow-lg); }
.home .path-card.featured .muted { color: var(--panel-sub); }
.home .path-card.featured .btn-primary, .home .final-cta .btn-primary { background: var(--lime); color: #0d1714; box-shadow: none; }
.home .cert-num { background: var(--accent-soft); color: var(--accent); border-radius: 50%; width: 32px; }
.home .cert-list strong { font-weight: 600; }
.home .note-card { border-left: 1px solid var(--line); }
.home .note-card h3 { font-size: 18px; }

.home .final-cta { padding: 0 0 112px; background: none; border: 0; }
.home .final-cta.alt { padding-top: 112px; background: none; border: 0; }
.home .final-cta > .wrap { max-width: calc(var(--maxw) - 48px); background: var(--panel); color: var(--panel-ink); border-radius: 24px; padding: 64px 40px; }
.home .final-cta .muted { color: var(--panel-sub); max-width: 56ch; margin-left: auto; margin-right: auto; }
[data-theme="dark"] .home .final-cta > .wrap, [data-theme="dark"] .home .path-card.featured { border: 1px solid var(--panel-line); }

.home .case-study { max-width: 720px; margin: 0 0 88px; padding-top: 48px; border-top: 1px solid var(--line); font-size: 17px; }
.home .case-study:first-child { border-top: 0; padding-top: 0; }
.home .case-study h2 { margin: 0 0 14px; }
.home .case-study .case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.home .case-meta span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--sub); }
.home .case-meta span:first-child { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }
.home .case-cta { margin-top: 32px; }

.home .h-facts.center { justify-content: center; }
.track-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.grade { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
@media (max-width: 720px) {
  .home .hero { padding: 40px 0 64px; }
  .home .card, .home .path-card { padding: 24px; }
  .home .final-cta > .wrap { padding: 40px 22px; max-width: calc(100% - 40px); }
}
