.vertical-page {
  background:
    radial-gradient(900px 500px at 82% 4%, rgba(249,115,22,.14), transparent 64%),
    radial-gradient(700px 420px at 5% 30%, rgba(125,211,252,.05), transparent 70%),
    var(--bg);
}

.features-overview-hero { padding-bottom: 46px; }
.features-overview-hero .container { max-width: 860px; text-align: center; }
.features-overview-hero .eyebrow { margin-bottom: 18px; }
.features-overview-hero .vertical-hero__lead { margin-left: auto; margin-right: auto; }
.features-overview-hero .hero-actions { justify-content: center; }
.feature-overview-grid-section { padding-top: 30px; }
.feature-overview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-overview-card { display: block; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature-overview-card:hover,.feature-overview-card:focus-visible { border-color: var(--line-strong); box-shadow: var(--shadow-hover); text-decoration: none; transform: translateY(-3px); }
.feature-overview-card > span { color: var(--accent-strong); font: 700 .8rem var(--font-display); }
.feature-overview-card h2 { margin: 12px 0 8px; font-size: 1.2rem; }
.feature-overview-card strong { display: block; color: var(--text); font-size: 1rem; }
.feature-overview-card p { margin: 10px 0 18px; color: var(--muted); font-size: .92rem; }
.feature-overview-card em { color: var(--accent-strong); font-size: .86rem; font-style: normal; font-weight: 600; }

.nav-current { color: var(--accent-strong) !important; opacity: 1 !important; }

.breadcrumbs { display: flex; align-items: center; gap: 10px; padding-top: 28px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--muted); }

.vertical-hero { padding: 68px 0 100px; overflow: hidden; }
.vertical-hero__grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 72px; align-items: center; }
.vertical-hero h1 { font-size: clamp(2.6rem,5vw,4.5rem); }
.vertical-hero__lead { color: var(--muted); font-size: 1.15rem; max-width: 650px; }

.vertical-hero__visual { position: relative; padding: 18px 22px 70px 0; }
.mini-browser { overflow: hidden; padding-top: 34px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-4deg); }
.mini-browser b { position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: #ef4444; }
.mini-browser b:first-child { left: 14px; }
.mini-browser b:nth-child(2) { left: 29px; background: #f59e0b; }
.mini-browser b:nth-child(3) { left: 44px; background: #22c55e; }
.mini-browser img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; display: block; border-top: 1px solid var(--line); }
.mini-phone { position: absolute; right: 0; bottom: 0; width: 25%; min-width: 135px; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 27px; background: #040609; box-shadow: 0 30px 70px rgba(0,0,0,.7); transform: rotate(2deg); }
.mini-phone span { position: absolute; z-index: 2; top: 10px; left: 50%; width: 34%; height: 8px; border-radius: 99px; background: #020304; transform: translateX(-50%); }
.mini-phone img { display: block; width: 100%; height: auto; border-radius: 20px; object-fit: contain; }

.vertical-problems { background: var(--bg-soft); border-block: 1px solid var(--line); }
.vertical-problem-grid { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.vertical-problem-card { min-height: 250px; padding: 34px 30px; }
.vertical-problem-card + .vertical-problem-card { border-left: 1px solid var(--line); }
.vertical-problem-card > span { color: var(--accent-strong); font: 700 .78rem/1 var(--font-display); letter-spacing: .12em; }
.vertical-problem-card h3 { margin-top: 46px; font-size: 1.25rem; }
.vertical-problem-card p { color: var(--muted); margin: 0; }

.vertical-outcome-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.vertical-outcome-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg,rgba(249,115,22,.07),transparent 42%),var(--surface); }
.vertical-outcome-card h3 { font-size: 1.2rem; }
.vertical-outcome-card p { color: var(--muted); margin: 0; }
.vertical-outcomes blockquote { max-width: 900px; margin: 56px auto 0; padding: 30px 36px; border-left: 3px solid var(--accent); background: rgba(249,115,22,.06); color: #d8dee7; font: 500 clamp(1.15rem,2.5vw,1.55rem)/1.5 var(--font-display); }

.vertical-product { background: var(--bg-soft); border-block: 1px solid var(--line); }
.vertical-product > .container { display: grid; grid-template-columns: .68fr 1.32fr; gap: 52px; align-items: center; }
.vertical-product__copy p:last-child { color: var(--muted); font-size: 1.05rem; }
.vertical-product__screens { display: flex; align-items: center; gap: 18px; }
.vertical-product__screens img:first-child { width: 78%; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.vertical-product__screens img:last-child { display: block; width: 22%; height: auto; margin-left: -72px; border: 7px solid #05070a; border-radius: 26px; box-shadow: var(--shadow); object-fit: contain; }

.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.related-grid a { display: flex; flex-direction: column; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); }
.related-grid a:hover { transform: translateY(-3px); border-color: var(--line-strong); text-decoration: none; }
.related-grid span { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.related-grid strong { margin: 22px 0; font: 600 1.15rem/1.35 var(--font-display); }
.related-grid em { margin-top: auto; color: var(--accent-strong); font-size: .88rem; font-style: normal; }

.vertical-footer { border-top: 1px solid var(--line); }
.vertical-footer .footer-grid { text-align: left; }

.onboarding-hero { padding-bottom: 108px; }
.onboarding-hero__visual { position: relative; padding: 18px 42px 80px 0; }
.onboarding-hero__visual .mini-browser { transform: perspective(1200px) rotateY(-3deg); }
.onboarding-hero__visual .mini-phone { width: 27%; right: 12px; }
.onboarding-steps-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head > p:last-child { max-width: 650px; color: var(--muted); font-size: 1.02rem; }
.onboarding-steps { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.onboarding-step { min-height: 290px; padding: 32px 28px; }
.onboarding-step + .onboarding-step { border-left: 1px solid var(--line); }
.onboarding-step > span { color: var(--accent-strong); font: 700 .78rem/1 var(--font-display); letter-spacing: .12em; }
.onboarding-step h3 { margin-top: 52px; font-size: 1.2rem; }
.onboarding-step p { margin: 0; color: var(--muted); }
.onboarding-connected { border-bottom: 1px solid var(--line); }
.onboarding-connected__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 72px; align-items: center; }
.onboarding-connected__grid p:last-child { color: var(--muted); font-size: 1.05rem; }
.onboarding-connected ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.onboarding-connected li { min-height: 132px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.onboarding-connected strong,.onboarding-connected span { display: block; }
.onboarding-connected strong { font: 600 1.1rem/1.3 var(--font-display); }
.onboarding-connected span { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.onboarding-product__screens { position: relative; min-height: 360px; padding: 16px 70px 16px 0; }
.onboarding-product__screens img { display: block; height: auto; object-fit: contain; }
.onboarding-product__screens img:first-child { width: 100%; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.onboarding-product__screens img:last-child { position: absolute; right: 0; bottom: 0; width: 25%; border: 7px solid #05070a; border-radius: 26px; box-shadow: var(--shadow); }

@media (max-width: 960px) {
  .vertical-hero__grid { grid-template-columns: 1fr; }
  .vertical-hero__visual { max-width: 760px; margin: 0 auto; }
  .onboarding-connected__grid { grid-template-columns: 1fr; gap: 32px; }
  .vertical-product > .container { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .feature-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-cta .btn { padding: 11px 14px; font-size: .84rem; }
  .breadcrumbs { padding-top: 20px; }
  .vertical-hero { padding: 44px 0 72px; }
  .vertical-hero h1 { font-size: clamp(2.25rem,12vw,3.4rem); }
  .vertical-problem-grid,.vertical-outcome-grid { grid-template-columns: 1fr; }
  .vertical-problem-card { min-height: auto; }
  .vertical-problem-card + .vertical-problem-card { border-left: 0; border-top: 1px solid var(--line); }
  .vertical-problem-card h3 { margin-top: 28px; }
  .onboarding-hero { padding-bottom: 72px; }
  .onboarding-hero__visual { padding-right: 20px; }
  .onboarding-hero__visual .mini-phone { right: 0; width: 31%; min-width: 118px; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .onboarding-step { min-height: auto; }
  .onboarding-step + .onboarding-step { border-left: 0; border-top: 1px solid var(--line); }
  .onboarding-step h3 { margin-top: 28px; }
  .onboarding-connected ul { grid-template-columns: 1fr; }
  .onboarding-connected li { min-height: auto; }
  .onboarding-product__screens { min-height: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .onboarding-product__screens img:first-child { width: 100%; }
  .onboarding-product__screens img:last-child { position: static; width: min(250px, 72%); border-width: 6px; }
  .vertical-outcomes blockquote { margin-top: 36px; padding: 24px; }
  .vertical-product__screens { flex-direction: column; align-items: center; gap: 28px; }
  .vertical-product__screens img:first-child { width: 100%; }
  .vertical-product__screens img:last-child { width: min(260px,75%); margin-left: 0; }
}

/* ── Editorial case study ─────────────────────────────────────────── */
.cs-col { max-width: 920px; margin-left: auto; margin-right: auto; }
.cs-hero { padding-bottom: 44px; }
.cs-hero h1 { font-size: clamp(2.8rem,6vw,5.2rem); line-height: 1.04; letter-spacing: -0.02em; }
.cs-hero__lead { margin: 26px 0 0; max-width: 62ch; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.cs-hero__meta { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; margin-top: 30px; }
.cs-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.cs-chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 600 .8rem var(--font-display); letter-spacing: .04em; }
.cs-chip--accent { border-color: var(--accent-soft); background: var(--accent-soft); color: var(--accent-strong); }

.cs-shot { display: block; margin: 0 auto 26px; }
.cs-shot__frame { max-width: 1160px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 80px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(251,146,60,.05); }
.cs-shot__frame img { display: block; width: 100%; height: auto; }
.cs-shot figcaption { max-width: 920px; margin: 14px auto 0; color: var(--muted); font-size: .88rem; }
.cs-shots { padding-top: 0; }
.cs-shots__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cs-shot--half { margin: 0; }
.cs-shot--half .cs-shot__frame { max-width: none; }

.cs-story { padding-top: 46px; }
.cs-chapter { position: relative; padding-left: 78px; }
.cs-chapter + .cs-chapter { margin-top: 54px; }
.cs-chapter__no { position: absolute; left: 0; top: 6px; color: var(--accent-soft); font: 700 3.4rem/1 var(--font-display); letter-spacing: -0.04em; -webkit-text-stroke: 1px rgba(251,146,60,.4); }
.cs-chapter h2 { font-size: clamp(1.5rem,2.6vw,2rem); margin-top: 10px; }
.cs-chapter__body { max-width: 68ch; color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.cs-chapter:first-of-type .cs-chapter__body::first-letter { float: left; margin: 8px 12px 0 0; color: var(--accent-strong); font: 700 3.1rem/0.9 var(--font-display); }

.cs-quote { padding-top: 30px; }
.cs-quote blockquote { position: relative; max-width: 30ch; margin: 0 0 22px; padding-left: 56px; font: 500 clamp(1.5rem,3vw,2.2rem)/1.35 var(--font-display); letter-spacing: -0.01em; }
.cs-quote blockquote::before { content: "„"; position: absolute; left: 0; top: -0.12em; color: rgba(251,146,60,.4); font: 700 3.4em/1 var(--font-display); pointer-events: none; }
.cs-quote p strong { display: block; color: var(--text); }
.cs-quote p span { color: var(--muted); font-size: .92rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cs-reveal { animation: cs-reveal linear both; animation-timeline: view(); animation-range: entry 5% entry 55%; }
    @keyframes cs-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  }
}

@media (max-width: 860px) {
  .cs-shots__grid { grid-template-columns: 1fr; }
  .cs-quote blockquote { padding-left: 0; padding-top: 54px; }
  .cs-quote blockquote::before { top: -0.3em; }
  .cs-chapter { padding-left: 0; padding-top: 42px; }
  .cs-chapter__no { top: 0; font-size: 2.6rem; }
  .cs-hero__meta { flex-direction: column; align-items: flex-start; }
}

/* ── Nav: mega-menu case study link ───────────────────────────────── */
.nav-mega-case { display: inline-block; margin-top: 14px; color: var(--accent-strong); font: 600 .84rem var(--font-display); }
.nav-mega-case:hover { text-decoration: underline; }
