/* MyOneClick sales funnel (/sf/sf.html). Mobile-first, no frameworks, no web fonts. */
:root {
  --indigo: #4f46e5; --indigo-2: #6366f1; --purple: #8b5cf6; --pink: #ec4899; --cyan: #06b6d4;
  --green: #16a34a; --amber: #f59e0b; --ink: #0f172a; --muted: #475569; --line: #e2e8f0;
  --bg: #ffffff; --tint: #f6f7fe; --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --grad: linear-gradient(120deg, #6366f1, #8b5cf6 45%, #ec4899);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6rem; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.15rem; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: .75rem; top: -3rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem .9rem; border-radius: 10px; }
.skip:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px;
  padding: .7rem 1.2rem; border-radius: 12px; font-weight: 750; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.45rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--indigo), #7c3aed); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(79, 70, 229, .45); }
.btn-ghost { background: #fff; color: var(--indigo); border-color: #c7d2fe; }
.btn-ghost:hover { border-color: var(--indigo); }
.btn-white { background: #fff; color: var(--indigo); }
.btn-outline-white { color: #fff; border-color: rgba(255, 255, 255, .85); background: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 .6rem; }
.cta-center { justify-content: center; }
.link-quiet { color: var(--ink); font-weight: 650; text-decoration: none; padding: .5rem .4rem; }
.link-quiet:hover { color: var(--indigo); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px);
}
.top-in { display: flex; align-items: center; gap: 1rem; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); }
.brand b { font-size: 1.2rem; }
.brand b span { color: var(--purple); }
.brand-sm b { font-size: 1rem; }
.top-nav { display: none; gap: .3rem; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 650; padding: .45rem .7rem; border-radius: 10px; }
.top-nav a:hover { background: #eef2ff; color: var(--indigo); }
.top-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
@media (min-width: 900px) { .top-nav { display: flex; } .top-actions { margin-left: .5rem; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 2.6rem 0 3rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(99, 102, 241, .22), transparent 60%),
    radial-gradient(700px 380px at 95% 0%, rgba(236, 72, 153, .16), transparent 60%),
    radial-gradient(800px 400px at 60% 110%, rgba(6, 182, 212, .14), transparent 60%),
    #fbfbff;
}
.hero-grid { display: grid; gap: 2.4rem; justify-items: center; }
.hero-copy { text-align: center; max-width: 56rem; }
.hero-copy .cta-row, .hero-copy .chips { justify-content: center; }
@media (min-width: 900px) { .hero { padding: 4rem 0 4.2rem; } }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--indigo); background: #eef2ff; border: 1px solid #c7d2fe; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.05rem, 5.4vw, 3.7rem); margin-bottom: 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; margin-left: auto; margin-right: auto; }
.hero-demo { color: var(--muted); font-size: .98rem; }
.hero-demo a { font-weight: 700; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.2rem 0 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; font-size: .9rem; font-weight: 650; box-shadow: 0 2px 8px rgba(15, 23, 42, .04); }

.hero-shot { margin: 0; width: 100%; max-width: 1100px; border-radius: 18px; background: #fff; box-shadow: 0 30px 70px rgba(79, 70, 229, .22); border: 1px solid #e0e7ff; overflow: hidden; }
.shot-chrome { display: flex; align-items: center; gap: .4rem; padding: .55rem .8rem; background: #0f172a; }
.shot-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.shot-chrome i:nth-child(2) { background: #f59e0b; } .shot-chrome i:nth-child(3) { background: #22c55e; }
.shot-chrome span { margin-left: .5rem; flex: 1; background: #1e293b; color: #94a3b8; font-size: .75rem; padding: .15rem .6rem; border-radius: 6px; }
.shot-frame { aspect-ratio: 960 / 345; background: #e0e7ff; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.hero-shot figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .8rem; }
.shot-note { font-size: .82rem; color: var(--muted); }

/* small phones: keep the main call to action in the first screen */
@media (max-width: 360px) {
  .hero { padding-top: 1.4rem; }
  .hero h1 { font-size: 1.72rem; }
  .lede { font-size: 1rem; }
  .eyebrow { font-size: .74rem; margin-bottom: .7rem; }
  .cta-row { margin-top: 1rem; }
}

/* segmented toggle (hero screenshot, before/after) */
.seg { display: inline-flex; background: #eef2ff; border-radius: 12px; padding: 4px; gap: 4px; }
.seg-btn {
  min-height: 40px; border: 0; background: transparent; color: var(--indigo); font: inherit; font-weight: 700; font-size: .92rem;
  padding: .4rem .85rem; border-radius: 9px; cursor: pointer;
}
.seg-btn.is-on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.seg-lg .seg-btn { min-height: 46px; font-size: 1rem; padding: .5rem 1.1rem; }

/* ---------- sections ---------- */
.sec { padding: 4rem 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: radial-gradient(900px 400px at 20% 0%, #312e81, transparent 70%), #0f172a; color: #e2e8f0; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.kicker { font-weight: 800; color: var(--pink); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: .4rem; }
.kicker-light { color: #f9a8d4; }
.sec-lede { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }
.two-col { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.1fr; align-items: start; } }

/* problem: colorful scattered tiles (echo the board's pastel cards) */
.scatter { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.scatter li { border-radius: var(--radius); padding: 1.1rem 1.15rem; border: 1px solid rgba(15, 23, 42, .06); border-top: 4px solid; display: grid; gap: .2rem; }
.scatter .ico { font-size: 1.6rem; }
.scatter b { font-size: 1.05rem; }
.scatter span:last-child { color: var(--muted); font-size: .97rem; }
.c1 { background: #eef2ff; border-top-color: #6366f1 !important; } .c2 { background: #fdf2f8; border-top-color: #ec4899 !important; }
.c3 { background: #ecfdf5; border-top-color: #10b981 !important; } .c4 { background: #fff7ed; border-top-color: #f59e0b !important; }
.c5 { background: #ecfeff; border-top-color: #06b6d4 !important; } .c6 { background: #f5f3ff; border-top-color: #8b5cf6 !important; }

.costs { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.costs li { background: #fff; border-radius: 14px; padding: 1rem 1.1rem 1rem 3rem; position: relative; box-shadow: var(--shadow); }
.costs li::before { content: "⏳"; position: absolute; left: 1rem; top: 1rem; }
.costs b { color: var(--ink); }

/* before / after */
.ba { margin-top: 1.6rem; }
.ba-panels { margin-top: 1.2rem; }
.ba-panel ul { list-style: none; padding: 1.4rem; margin: 0; border-radius: 18px; display: grid; gap: .7rem; }
.ba-panel li { padding-left: 2rem; position: relative; font-weight: 600; }
.ba-before ul { background: #fff1f2; border: 1px solid #fecdd3; }
.ba-before li::before { content: "✗"; position: absolute; left: .3rem; color: #e11d48; font-weight: 900; }
.ba-after ul { background: linear-gradient(135deg, #eef2ff, #f0fdf4); border: 1px solid #c7d2fe; }
.ba-after li::before { content: "✓"; position: absolute; left: .3rem; color: var(--green); font-weight: 900; }

/* how it works */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border-radius: 18px; padding: 1.5rem 1.3rem; box-shadow: var(--shadow); border-top: 5px solid; }
.s1 { border-top-color: var(--indigo-2); } .s2 { border-top-color: var(--pink); } .s3 { border-top-color: var(--cyan); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-weight: 900; margin-bottom: .7rem; background: var(--grad); }
.step p { color: var(--muted); margin: 0; }

/* interactive example */
.demo { margin-top: 2.2rem; background: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow); border: 1px solid #e0e7ff; }
.demo-sub { color: var(--muted); font-size: .95rem; margin: 0 0 .9rem; }
.demo-search { display: flex; align-items: center; gap: .5rem; border: 2px solid #c7d2fe; border-radius: 12px; padding: 0 .8rem; background: #fbfbff; }
.demo-search:focus-within { border-color: var(--indigo); }
.demo-search input { flex: 1; border: 0; background: transparent; font: inherit; padding: .75rem 0; min-width: 0; outline: none; }
.demo-count { font-size: .9rem; color: var(--muted); min-height: 1.4em; margin: .5rem 0; }
.demo-board { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.dcat { border-radius: 14px; padding: .8rem .9rem; border-top: 4px solid; }
.dcat h4 { margin: 0 0 .4rem; font-size: 1rem; }
.dcat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.dcat li { background: #fff; border-radius: 9px; padding: .45rem .6rem; font-size: .93rem; border: 1px solid rgba(15, 23, 42, .06); }
.dcat li.hit { border-color: var(--indigo); box-shadow: 0 0 0 2px rgba(99, 102, 241, .25); }
.dcat li[hidden], .dcat[hidden] { display: none; }
.d1 { background: #eef2ff; border-top-color: #6366f1; } .d2 { background: #fdf2f8; border-top-color: #ec4899; }
.d3 { background: #ecfdf5; border-top-color: #10b981; } .d4 { background: #fff7ed; border-top-color: #f59e0b; }

/* tabs */
.tabs { margin-top: 1.6rem; }
.tablist { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
.tablist [role="tab"] {
  flex: 0 0 auto; min-height: 46px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 750;
  padding: .5rem 1rem; border-radius: 12px; cursor: pointer;
}
.tablist [role="tab"][aria-selected="true"] { border-color: transparent; color: #fff; background: linear-gradient(135deg, var(--indigo), #7c3aed); }
.tabpanel { margin-top: 1rem; background: var(--tint); border-radius: 18px; padding: 1.5rem; }
.tabpanel .btn { margin: .3rem .5rem 0 0; }
.tp-plan { color: var(--muted); }

/* proof */
.proof-grid { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; } }
.proof { margin: 0; background: #111827; border: 1px solid #334155; border-radius: 16px; overflow: hidden; }
.proof figcaption { padding: .8rem 1rem; color: #cbd5e1; font-size: .95rem; }
.story { display: grid; gap: 1.2rem; align-items: center; margin-top: 2rem; background: rgba(255, 255, 255, .05); border: 1px solid #334155; border-radius: 18px; padding: 1.3rem; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1.4fr; } }
.story p { color: #cbd5e1; margin: 0; }
.story video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; }

/* capabilities */
.caps { display: grid; gap: 1rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cap { border-radius: 18px; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid; box-shadow: var(--shadow); }
.cap p { color: var(--muted); margin: 0; }
.k1 { border-left-color: #6366f1; } .k2 { border-left-color: #06b6d4; } .k3 { border-left-color: #ec4899; } .k4 { border-left-color: #f59e0b; }
.k5 { border-left-color: #8b5cf6; } .k6 { border-left-color: #10b981; } .k7 { border-left-color: #ef4444; } .k8 { border-left-color: #0ea5e9; }

/* pricing */
.plans { display: grid; gap: 1rem; margin-top: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); align-items: stretch; }
.plan { position: relative; background: #fff; border-radius: 18px; padding: 1.4rem 1.2rem; border: 2px solid var(--line); display: flex; flex-direction: column; }
.plan-hi { border-color: var(--purple); box-shadow: 0 18px 44px rgba(139, 92, 246, .25); }
.ribbon { position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap; background: var(--grad); color: #fff; font-size: .74rem; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; }
.price { font-size: 1rem; color: var(--muted); margin: .2rem 0 .3rem; }
.price b { font-size: 2.1rem; color: var(--ink); }
.plan-for { font-weight: 700; color: var(--indigo); font-size: .93rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; flex: 1; align-content: start; }
.plan li { padding-left: 1.5rem; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.fine { color: var(--muted); font-size: .92rem; margin-top: 1.3rem; text-align: center; }

/* FAQ */
.faq { margin-top: 1.6rem; display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
.faq summary { cursor: pointer; font-weight: 750; padding: 1rem 3rem 1rem 1.15rem; position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: .75rem; font-size: 1.4rem; color: var(--indigo); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.15rem 1.1rem; margin: 0; color: var(--muted); }

/* final CTA */
.final { padding: 4.2rem 0; text-align: center; color: #fff; background: linear-gradient(120deg, #4f46e5, #7c3aed 50%, #db2777); }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .95); font-size: 1.12rem; }

/* footer */
.foot { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: .3rem 0; }
.foot nav a:hover { color: var(--indigo); }
.foot p { margin: 0; color: var(--muted); font-size: .9rem; }

/* mobile sticky CTA */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .mbar { display: none !important; } }

/* ---------- journey: six-stage visual funnel ---------- */
.journey { background: radial-gradient(1200px 400px at 50% 0%, #eef2ff 0%, transparent 70%), #fff; }
.jr { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.jr-stage { --c: #1d4ed8; --c2: #3b82f6; --soft: #eff6ff; display: flex; flex-direction: column; min-width: 0; }
.j2 { --c: #15803d; --c2: #22c55e; --soft: #f0fdf4; }
.j3 { --c: #b45309; --c2: #f59e0b; --soft: #fffbeb; }
.j4 { --c: #c2410c; --c2: #f97316; --soft: #fff7ed; }
.j5 { --c: #b91c1c; --c2: #ef4444; --soft: #fef2f2; }
.j6 { --c: #6d28d9; --c2: #8b5cf6; --soft: #f5f3ff; }
.jr-head { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 82%, var(--c2))); color: #fff; border-radius: 14px 14px 0 0;
  padding: .85rem 1rem; display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; }
.jr-n { grid-row: span 2; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.55);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
.jr-t { font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.15; }
.jr-s { font-size: .9rem; opacity: .95; }
.jr-body { background: #fff; border: 1px solid var(--line); border-top: 0; padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .8rem; }
.jr-p { margin: 0; color: var(--muted); font-size: .95rem; margin-top: auto; }
.jr-icons { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.jr-icons li { display: grid; grid-template-columns: 2.1rem 1fr; gap: .55rem; align-items: center; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.jr-icons b { display: block; color: var(--ink); font-size: .92rem; }
.ji { width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-size: 1.05rem; }
.jr-shot { margin: 0; border-radius: 10px; overflow: hidden; border: 6px solid #1e293b; border-bottom-width: 10px; box-shadow: var(--shadow); }
.jr-shot img { display: block; width: 100%; height: auto; }
.jr-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.jr-checks li { position: relative; padding-left: 1.7rem; font-size: .93rem; }
.jr-checks li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 900; display: grid; place-items: center; }
.jr-links { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; font-weight: 700; }
.jr-links a, .jr-more { color: var(--c); }
.jr-form { display: grid; gap: .35rem; }
.jr-form span { border: 1px solid var(--line); border-radius: 8px; padding: .4rem .6rem; font-size: .8rem; color: #64748b; background: #f8fafc; }
.jr-cta { padding: .6rem 1rem; }
.jr-plans { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.jr-plans span { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .45rem; text-align: center; font-size: .85rem; font-weight: 700; line-height: 1.3; }
.jr-plans span.hi { border: 2px solid var(--amber); background: #fffbeb; }
.jr-plans b { display: block; font-size: .82rem; color: var(--muted); }
.jr-plans small { display: block; font-weight: 400; color: var(--muted); font-size: .74rem; margin-top: .15rem; }
.jr-more { margin-top: auto; font-weight: 700; font-size: .92rem; }
.jr-band { background: var(--soft); border: 1px solid color-mix(in srgb, var(--c2) 35%, #fff); border-top: 3px solid var(--c2); border-radius: 0 0 14px 14px;
  padding: .8rem 1rem 1rem; text-align: center; }
.jr-band b { display: block; color: var(--c); font-size: 1.12rem; }
.jr-band span { color: var(--muted); font-size: .85rem; }

.jr-loop { position: relative; margin-top: 2.6rem; border: 2px solid var(--indigo); border-radius: 22px; padding: 2rem 1rem 1.2rem; }
.jr-loop-pill { position: absolute; top: 0; left: 50%; transform: translate(-50%, -55%); background: var(--grad); color: #fff; font-weight: 800;
  padding: .45rem 1.3rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px rgba(99, 102, 241, .35); }
.jr-loop ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .9rem; }
.jr-loop li { display: grid; grid-template-columns: auto 1fr; column-gap: .55rem; align-items: center; position: relative; }
.jl-i { grid-row: span 2; font-size: 1.6rem; }
.jr-loop b { color: var(--ink); }
.jr-loop small { color: var(--muted); font-size: .82rem; }

@media (min-width: 640px) {
  .jr { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .jr { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1180px) {
  .journey .wrap { max-width: 1400px; }
  .journey .wrap > .kicker, .journey .wrap > h2, .journey .wrap > .sec-lede { max-width: calc(1180px - 2.3rem); margin-left: auto; margin-right: auto; }
  /* subgrid keeps every header, body and band on the same row lines */
  .jr { grid-template-columns: repeat(6, 1fr); grid-template-rows: auto 1fr auto; gap: 0 .35rem; }
  .jr-stage { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .jr-loop li { justify-content: center; }
  /* chevron headers that point into the next stage */
  .jr-head { border-radius: 0; padding-right: 1.4rem; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 10px 50%); padding-left: 1.4rem; }
  .j1 .jr-head { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); border-radius: 14px 0 0 0; padding-left: 1rem; }
  .j6 .jr-head { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 10px 50%); border-radius: 0 14px 0 0; }
  .jr-t { font-size: 1.15rem; }
  .jr-body { border-radius: 0; margin: 0 .2rem; }
  /* funnel-shaped outcome bands */
  .jr-band { border: 0; border-radius: 0; padding: 1rem .9rem 1.5rem; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%);
    background: linear-gradient(180deg, color-mix(in srgb, var(--c2) 22%, #fff), var(--soft)); min-height: 6.2rem; }
  .js .jr-stage.reveal:nth-child(2) { transition-delay: .08s; }
  .js .jr-stage.reveal:nth-child(3) { transition-delay: .16s; }
  .js .jr-stage.reveal:nth-child(4) { transition-delay: .24s; }
  .js .jr-stage.reveal:nth-child(5) { transition-delay: .32s; }
  .js .jr-stage.reveal:nth-child(6) { transition-delay: .4s; }
  .jr-loop li:not(:last-child)::after { content: "→"; position: absolute; right: -.75rem; color: var(--indigo-2); font-weight: 800; font-size: 1.2rem; }
  .jr-loop ol { grid-template-columns: repeat(5, 1fr); }
}

/* reveal on scroll (only when JS is running and motion is OK) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}
