/* =========================================================
   Zomato+ · case study
   Light, true to the original presentation: white pages,
   Zomato+ blue for labels and actions, pale blue cards,
   Manrope throughout.
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7FB;      /* annotation panels */
  --card: #F7F9FF;      /* pale blue cards */
  --line: #E4E9F2;
  --line-2: #CFDBF3;
  --text: #121826;
  --dim: #556075;
  --faint: #8A93A6;
  --accent: #2F6CF6;
  --accent-deep: #1D4ED8;
  --tint: #EAF1FF;
  --rose: #E5484D;
  --rose-bg: #FFF4F5;
  --mint: #139A4F;
  --ai-a: #8F4DFF;
  --ai-b: #FF4D6A;

  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 99; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Reading progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 80; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #6E9BFF); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(29, 78, 216, .35);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s, color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Section jumper (desktop, Medium-style) ---------- */
.toc { display: none; }
@media (min-width: 1180px) {
  .toc {
    display: block; position: fixed; left: 20px; top: 50%; transform: translateY(-50%); z-index: 50;
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .toc.show { opacity: 1; pointer-events: auto; }
  .toc-handle { display: none; }
  .toc-list { display: grid; gap: 2px; padding: 10px; border-radius: 16px; border: 1px solid transparent; transition: background .18s ease .14s, border-color .18s ease .14s, box-shadow .18s ease .14s; }
  .toc-list a { display: flex; align-items: center; gap: 12px; height: 26px; color: var(--faint); font-size: 13px; font-weight: 500; white-space: nowrap; }
  .toc-list a::before { content: ""; flex: none; width: 16px; height: 2px; border-radius: 2px; background: currentColor; opacity: .5; transition: width .25s, opacity .25s, background .25s; }
  /* labels take no room until opened, so the hover area is just the lines */
  .toc-list a span { display: block; max-width: 0; overflow: hidden; opacity: 0; transform: translateX(-6px); transition: max-width .3s cubic-bezier(.2, .8, .2, 1), opacity .12s, transform .12s; }
  .toc-list a { gap: 0; transition: gap .3s cubic-bezier(.2, .8, .2, 1); }
  .toc-list a[aria-current="true"] { color: var(--text); }
  .toc-list a[aria-current="true"]::before { width: 24px; opacity: 1; background: var(--accent); }
  .toc:hover .toc-list, .toc:focus-within .toc-list { background: var(--bg); border-color: var(--line); box-shadow: 0 20px 50px -20px rgba(18, 24, 38, .25); }
  /* a passing cursor does nothing: opening waits a beat, then box and labels grow together */
  .toc:hover .toc-list, .toc:focus-within .toc-list { transition: background .2s ease .12s, border-color .2s ease .12s, box-shadow .25s ease .12s; }
  .toc:hover .toc-list a, .toc:focus-within .toc-list a { gap: 12px; transition: gap .3s cubic-bezier(.2, .8, .2, 1) .12s; }
  .toc:hover .toc-list a span, .toc:focus-within .toc-list a span { max-width: 220px; opacity: 1; transform: none; transition: max-width .3s cubic-bezier(.2, .8, .2, 1) .12s, opacity .2s ease .26s, transform .2s ease .26s; }
  .toc-list a:hover { color: var(--accent); }
}

/* ---------- Chapter dock (phones and tablets) ---------- */
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; transform: translate(-50%, 180%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.dock.show { transform: translate(-50%, 0); }
@media (min-width: 1180px) { .dock { display: none; } }
.dock-btn, .dock-list { background: rgba(255,255,255,.94); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px -12px rgba(18,24,38,.28); }
.dock-btn { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px; white-space: nowrap; max-width: calc(100vw - 110px); }
.ring { width: 32px; height: 32px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--tint); stroke-width: 3; }
.ring .ring-fill { stroke: var(--accent); stroke-dasharray: 97.4; stroke-dashoffset: 97.4; stroke-linecap: round; }
.dock-num { font-size: 11px; font-weight: 600; color: var(--accent); margin-left: -38px; width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.dock-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.dock-hint { font-size: 12px; color: var(--faint); }
.dock-list { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(320px, 90vw); border-radius: 20px; padding: 8px; }
.dock-list a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--dim); }
.dock-list a span { color: var(--faint); font-variant-numeric: tabular-nums; }
.dock-list a:hover, .dock-list a[aria-current="true"] { background: var(--tint); color: var(--text); }
.dock-list a[aria-current="true"] span { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding-bottom: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 14px; }
.topbar span { color: var(--faint); font-size: 13px; }
.home { font-weight: 600; }
.home:hover { color: var(--accent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1680px; margin: 0 auto; }
.hero-scene { grid-column: 1 / -1; grid-row: 1; width: 100%; height: min(86vh, 70vw, 900px); object-fit: cover; object-position: 50% 18%; }
@media (min-width: 1680px) { .hero-scene { -webkit-mask: linear-gradient(90deg, transparent, #000 7%); mask: linear-gradient(90deg, transparent, #000 7%); } }
.hero-side {
  position: relative; z-index: 1; display: grid; gap: 14px; justify-self: center;
  width: min(100% - 32px, 440px); margin-top: -22vw; margin-bottom: 32px; padding: clamp(24px, 3vw, 36px);
  border-radius: 28px; background: rgba(255, 255, 255, .3); border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(9px) saturate(1.4); backdrop-filter: blur(9px) saturate(1.4);
  box-shadow: 0 30px 60px -30px rgba(18, 24, 38, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) min(36vw, 480px); }
  .hero-side { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; width: auto; margin: 0 var(--pad) clamp(24px, 4vw, 72px) 0; }
}
.hero-side .brand { width: 56px; height: 56px; border-radius: 14px; }
.hero-side .wordmark { width: 130px; opacity: .85; }
.hero-side h1 { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--accent); }
.hero-side p { color: var(--dim); font-size: 16px; line-height: 1.5; max-width: 26ch; }
.meta-strip { background: var(--bg-2); border-block: 1px solid var(--line); }
.meta-strip dl { display: flex; flex-wrap: wrap; gap: 20px clamp(28px, 6vw, 96px); padding-block: 26px; }
.meta-strip dt { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.meta-strip dd { font-size: 15px; font-weight: 700; margin-top: 4px; }
.meta-strip .tools { display: flex; gap: 8px; }
.meta-strip .tools img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-side.reveal { animation-delay: .15s; }
@keyframes rise { from { opacity: .001; transform: translateY(20px); } }

/* ---------- Editorial rows ---------- */
.sec { padding-top: clamp(96px, 11vw, 150px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 48px; margin-top: 88px; }
.row:first-child { margin-top: 0; }
@media (min-width: 900px) { .row { grid-template-columns: repeat(12, minmax(0, 1fr)); } .row > .label { grid-column: 1 / span 3; } .row > .body { grid-column: 4 / -1; min-width: 0; } }
.label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding-top: .7em; }
.label b { display: block; font-weight: 600; letter-spacing: .04em; color: var(--faint); margin-top: 4px; }
.statement { font-size: clamp(1.7rem, 3.1vw, 2.75rem); line-height: 1.18; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.statement span { color: #A3ABBB; }
.lead { font-size: 18px; line-height: 1.6; color: var(--dim); max-width: 62ch; }
.cols-2 { display: grid; gap: 24px 40px; }
@media (min-width: 760px) { .cols-2 { grid-template-columns: 1fr 1fr; } }
.cols-2 > p { color: var(--dim); }
h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* Problem / solution pair */
.ps { display: grid; gap: 14px; }
@media (min-width: 760px) { .ps { grid-template-columns: 1fr 1fr; } }
.ps > div { padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--card); }
.ps h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ps .p h4 { color: var(--rose); }
.ps .s h4 { color: var(--accent); }
.ps p { color: var(--dim); }

/* Design process */
.approach { display: grid; gap: 10px; }
@media (min-width: 900px) { .approach { grid-template-columns: repeat(5, 1fr); } }
.approach li { padding: 20px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); display: grid; gap: 10px; align-content: start; }
.approach span { font-weight: 700; color: var(--accent); }
.approach p { color: var(--dim); font-size: 14px; line-height: 1.7; }

/* Gantt */
.gantt { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--bg); overflow-x: auto; }
.g-weeks, .gantt li { display: grid; grid-template-columns: repeat(12, minmax(48px, 1fr)); min-width: 640px; }
.g-weeks { font-size: 11px; color: var(--faint); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.gantt ol { display: grid; gap: 8px; min-width: 640px; background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px) calc(100% / 12)); }
.gantt b {
  grid-column: var(--s) / var(--e); display: flex; align-items: center; white-space: nowrap;
  font-weight: 600; font-size: 12.5px; color: #fff; padding: 7px 14px; border-radius: 999px; background: var(--accent);
}
.gantt li:nth-child(odd) b { background: var(--accent-deep); }
.gantt li.late b { justify-content: flex-end; }
.gantt em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) {
  .gantt { overflow: visible; padding: 16px; }
  .g-weeks { display: none; }
  .gantt ol, .gantt li { min-width: 0; background: none; }
  .gantt li { grid-template-columns: 1fr; gap: 4px; margin-left: calc((var(--s) - 1) * 4%); }
  .gantt b { grid-column: auto; white-space: normal; }
  .gantt li.late b { justify-content: flex-start; }
  .gantt em { position: static; width: auto; height: auto; clip: auto; font-style: normal; font-size: 12px; color: var(--faint); padding-left: 14px; }
}

/* ---------- Research ---------- */
[data-icon] { display: block; background: currentColor; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.quote {
  margin: clamp(72px, 9vw, 120px) auto; max-width: 900px; text-align: center; padding: 32px clamp(20px, 4vw, 48px);
  border-radius: 20px; border: 1px solid var(--line-2); background: var(--card);
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--accent); text-wrap: balance;
}
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.methods li { display: grid; justify-items: center; gap: 14px; padding: 24px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--accent); text-align: center; }
.methods i { width: 52px; height: 52px; color: var(--text); }

.voices { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 760px) { .voices { grid-template-columns: 1fr 1fr; } }
.voice { --c: var(--accent); --cb: var(--tint); display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 22px;
  background: linear-gradient(170deg, var(--cb) 0%, #FFFFFF 46%); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.voice:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(18,24,38,.35); }
.voice.c2 { --c: #7C4DFF; --cb: #F1EBFF; }
.voice.c3 { --c: #F2761D; --cb: #FFF1E6; }
.voice.c4 { --c: #0E9F6E; --cb: #E6F7F0; }
.voice header { display: flex; align-items: center; gap: 12px; }
.v-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; box-shadow: 0 10px 20px -12px var(--c); }
.v-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.v-area { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.voice blockquote { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 700; line-height: 1.35; letter-spacing: -.015em; color: var(--text); text-wrap: pretty; }
.v-wants { display: flex; align-items: baseline; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.v-wants small { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c); padding: 3px 8px; border-radius: 999px; background: var(--cb); }
.voice footer { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.voice .av { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--c); background: var(--cb); }
.voice .who { display: grid; min-width: 0; }
.voice .who b { font-size: 14.5px; font-weight: 700; }
.voice .who small { font-size: 12.5px; color: var(--faint); }
.staff { margin-left: auto; display: grid; justify-items: end; gap: 4px; }
.staff .dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 3px; width: 101px; }
.staff .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--c); opacity: .75; }
.staff small { font-size: 11.5px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }

/* Journey map */
.journey-scroll { overflow-x: auto; margin-top: 28px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg); }
.journey { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.journey th, .journey td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.journey tr:last-child td, .journey tr:last-child th { border-bottom: 0; }
.journey thead th { background: var(--tint); font-weight: 700; color: var(--accent-deep); font-size: 15px; }
.journey thead th small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.journey tbody th { font-weight: 600; font-size: 13px; color: var(--faint); width: 130px; background: var(--bg-2); }
.journey td { color: var(--dim); }
.journey td ul { display: grid; gap: 6px; }
.journey .emo td { color: var(--rose); }
.journey .opp td { color: var(--accent-deep); font-weight: 600; background: #F3F7FF; }
.curve { padding: clamp(18px, 3vw, 28px); }
.curve-title { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.curve-title small { color: var(--faint); font-size: 13px; font-weight: 500; }
.curve-plot { position: relative; height: 160px; margin-top: 18px; }
.curve-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.curve-plot .line { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.curve-plot .base { stroke: var(--line-2); stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.c-dot { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--c); transition: box-shadow .3s, background .3s; }
.c-dot::before { content: ""; position: absolute; inset: -12px; }
.c-dot[aria-pressed="true"] { background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent); }
.c-stages { display: grid; margin-top: 12px; }
.c-stages button { font-size: 12px; line-height: 1.3; color: var(--faint); padding: 6px 4px; text-align: center; border-radius: 8px; }
.c-stages button[aria-pressed="true"] { color: var(--text); font-weight: 700; }
.c-detail { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .c-detail { grid-template-columns: 1fr 1fr; } }
.c-detail p { padding: 16px 18px; border-radius: 14px; font-size: 15px; color: var(--dim); animation: fade .4s ease; }
.c-detail .pain { background: var(--rose-bg); }
.c-detail .fix { background: #EFFAF3; }
.c-detail small { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.c-detail .pain small { color: var(--rose); }
.c-detail .fix small { color: var(--mint); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Secondary research: blue band ---------- */
#validation { padding-bottom: clamp(72px, 9vw, 120px); margin-top: clamp(96px, 11vw, 150px); padding-top: clamp(72px, 9vw, 120px);
  background: linear-gradient(180deg, #FFFFFF 0%, #DCE7FF 18%, #5E8FFF 52%, #2559E6 78%, #1D46C8 100%); }
#validation .statement { color: var(--text); }
.stats { display: grid; gap: 14px; margin-top: 48px; }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat-card img { height: 120px; width: auto; margin: 0 auto; object-fit: contain; }
.stat-card li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.3); font-size: 15px; color: rgba(255,255,255,.9); }
.stat-card li b { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: #fff; }
.stat-card .src { margin-top: auto; font-size: 12px; color: rgba(255,255,255,.75); }
#validation { padding-bottom: 0; }
.loss { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  margin: clamp(56px, 7vw, 96px) calc(50% - 50vw) 0; min-height: clamp(520px, 72vh, 760px); display: grid; align-items: center;
  background: radial-gradient(70% 90% at 22% 50%, rgba(10, 30, 120, .55), transparent 70%), linear-gradient(180deg, #1D46C8 0%, #1638A8 55%, #0E2780 100%); }
.loss-in { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.loss .kick { font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; opacity: .9; }
.loss .big { display: flex; align-items: baseline; gap: .12em; font-size: clamp(4.4rem, 15vw, 13rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; margin: 10px 0 18px;
  text-shadow: 0 20px 60px rgba(5, 15, 70, .55); }
.loss .big small { font-size: .26em; letter-spacing: -.02em; font-weight: 700; }
.loss .why { max-width: 30ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: rgba(255,255,255,.88); }
.rain { position: absolute; inset: 0; z-index: 1; pointer-events: none; container-type: size; perspective: 900px; }
.rain .nt { position: absolute; top: 0; left: var(--x); width: var(--w); aspect-ratio: 2 / 1; z-index: var(--z);
  opacity: var(--o); filter: var(--f); transform: translate3d(0, var(--y0), 0);
  animation: fall var(--d) linear var(--dl) infinite; will-change: transform; }
.rain .nt i { display: block; width: 100%; height: 100%; background: var(--note) center / contain no-repeat;
  animation: flutter var(--fd) ease-in-out var(--dl) infinite alternate; transform-origin: 50% 40%; }
.rain .nt.near { z-index: 3; }
@keyframes fall { from { transform: translate3d(0, -160px, 0); } to { transform: translate3d(var(--dx), var(--H), 0); } }
@keyframes flutter { from { transform: rotate(var(--r0)) rotateX(10deg) rotateY(-25deg); } to { transform: rotate(var(--r1)) rotateX(60deg) rotateY(35deg); } }
@media (prefers-reduced-motion: reduce) { .rain .nt { animation: none; transform: translate3d(0, var(--ys), 0); } .rain .nt i { animation: none; transform: rotate(var(--r0)); } }

/* ---------- Problems ---------- */
.problems { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .problems { grid-template-columns: 1fr 1fr; } }
.problem { --c: var(--accent); --cb: var(--tint); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.problem:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(18,24,38,.4); }
.problem.c2 { --c: #7C4DFF; --cb: #F1EBFF; }
.problem.c3 { --c: #F2761D; --cb: #FFF1E6; }
.problem.c4 { --c: #0E9F6E; --cb: #E6F7F0; }
.pv { position: relative; height: 170px; overflow: hidden; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 1px, transparent 1.5px) 0 0 / 16px 16px, linear-gradient(160deg, var(--cb), #fff 120%); border-bottom: 1px solid var(--line); }
.pb { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.problem .pn { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.problem h3 { font-size: clamp(1.35rem, 2.1vw, 1.65rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--text); }
.problem .pb > p:not(.pstat) { color: var(--dim); font-size: 15.5px; }
.pstat { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-block: 1px dashed var(--line-2); margin-top: 4px; }
.pstat b { font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--c); white-space: nowrap; }
.c4 .pstat b { font-size: 1.5rem; letter-spacing: -.02em; }
.pstat span { font-size: 13.5px; color: var(--dim); }
.problem .chips li { color: var(--c); background: var(--cb); }
.psol { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--c); }
.psol span { display: inline-block; transition: transform .25s; }
.psol:hover span { transform: translateX(4px); }
.pv svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* 1: apps you switch between */
.ap { position: absolute; top: 50%; width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 16px 26px -14px rgba(18,24,38,.5); }
span.ap { display: grid; place-items: center; background: #fff; color: var(--dim); border: 1px solid var(--line); }
span.ap svg { width: 28px; height: 28px; }
.ap1 { left: calc(50% - 120px); transform: translateY(-50%) rotate(-8deg); }
.ap2 { left: calc(50% - 28px); transform: translateY(-62%) rotate(4deg); }
.ap3 { left: calc(50% + 64px); transform: translateY(-46%) rotate(10deg); }
.swap { position: absolute; top: calc(50% - 12px); font-size: 18px; font-weight: 800; color: var(--c); }
.s1 { left: calc(50% - 56px); } .s2 { left: calc(50% + 36px); }
.problem:hover .ap1 { transform: translateY(-56%) rotate(-14deg); } .problem:hover .ap3 { transform: translateY(-40%) rotate(16deg); }
.ap { transition: transform .4s; }
/* 2: tangled chart */
.mini-chart { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 200px; height: 110px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(18,24,38,.4); }
.mini-chart svg { width: 100%; height: 100%; color: var(--c); stroke-width: 1.6; }
.mini-chart path { vector-effect: non-scaling-stroke; }
.mini-chart path:nth-child(2) { stroke: #F2A0C8; } .mini-chart path:nth-child(3) { stroke: #7FC8E8; }
.qm { position: absolute; right: -14px; top: -14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--c); box-shadow: 0 8px 16px -6px var(--c); }
/* 3: hidden ad tools */
.ghost { position: absolute; left: 50%; top: 50%; transform: translate(-60%, -50%); width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; border: 2px dashed color-mix(in srgb, var(--c) 45%, transparent); color: color-mix(in srgb, var(--c) 55%, #fff); }
.ghost svg { width: 40px; height: 40px; }
.off { position: absolute; left: calc(50% + 14px); top: calc(50% - 50px); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c); border: 1px solid var(--line); box-shadow: 0 8px 16px -8px rgba(18,24,38,.4); }
.off svg { width: 18px; height: 18px; }
.toggle { position: absolute; left: calc(50% + 50px); top: calc(50% + 6px); display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--faint); }
.toggle i { width: 28px; height: 16px; border-radius: 999px; background: #D7DCE6; position: relative; }
.toggle i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
/* 4: stalled progress */
.pv4 { display: grid; place-content: center; justify-items: center; gap: 10px; }
.trophy-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #B8C0CC; border: 1px solid var(--line); }
.trophy-ic svg { width: 26px; height: 26px; }
.stuck { width: 200px; height: 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.stuck i { display: block; width: 12%; height: 100%; background: var(--c); border-radius: 999px; }
.pv4 small { font-size: 12px; font-weight: 700; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; color: var(--accent); background: var(--tint); }

.matrix-scroll { overflow-x: auto; margin-top: 28px; border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.matrix { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix .us { background: #F4F8FF; box-shadow: inset 1px 0 0 #D6E3FF, inset -1px 0 0 #D6E3FF; }
.matrix thead th { vertical-align: middle; padding-block: 20px; border-bottom: 1px solid var(--line-2); }
.matrix thead th.us { box-shadow: inset 1px 0 0 #D6E3FF, inset -1px 0 0 #D6E3FF, inset 0 3px 0 var(--accent); }
.vs { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); line-height: 1.5; }
.app-h { display: flex; align-items: center; gap: 12px; }
.app-h img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(18,24,38,.5); }
.app-h b { display: block; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; }
.app-h small { font-size: 12px; font-weight: 600; color: var(--faint); }
.app-h .focus { color: var(--accent); }
.matrix tbody th { width: 200px; font-weight: 700; font-size: 14px; color: var(--text); vertical-align: middle; }
.matrix tbody th { line-height: 1.3; }
.matrix tbody th { white-space: nowrap; }
.fn { display: inline-block; padding-top: 2px; }
.fi { float: left; display: grid; place-items: center; width: 30px; height: 30px; margin: -4px 10px 0 0; border-radius: 9px; background: var(--bg-2); color: var(--dim); }
.fi svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.matrix td { --lc: #E5484D; }
.matrix td.r2 { --lc: #E8A33D; }
.matrix td.r3 { --lc: #12A150; }
.meter { display: flex; gap: 4px; margin-bottom: 8px; }
.meter i { width: 28px; height: 6px; border-radius: 999px; background: #E9EDF4; }
.meter i.on { background: var(--lc); }
.matrix tbody td b { display: block; font-size: 13px; font-weight: 800; color: var(--lc); }
.matrix tbody td small { display: block; font-size: 13.5px; color: var(--dim); margin-top: 2px; }
.matrix tfoot > tr > * { border-top: 1px solid var(--line-2); border-bottom: 0; background: var(--bg-2); vertical-align: middle; }
.matrix tfoot th { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.matrix tfoot td.us { background: #EAF1FF; }
.score { display: block; font-size: 13px; font-weight: 700; color: var(--faint); white-space: nowrap; }
.score b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.sbar { display: block; height: 6px; margin-top: 8px; border-radius: 999px; background: #E3E8F1; overflow: hidden; }
.sbar i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.m-note { margin-top: 12px; font-size: 13px; color: var(--faint); }

/* ---------- Introducing ---------- */
.intro-scene { position: relative; margin-top: 44px; border-radius: 24px; overflow: hidden; }
.intro-scene img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.intro-scene p { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: #fff; }
.features { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features a { display: grid; gap: 18px; padding: 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; }
.features a:hover { border-color: var(--accent); box-shadow: 0 12px 30px -16px rgba(47,108,246,.5); }
.features small { font-size: 12px; font-weight: 700; color: var(--accent); }
.features b { font-weight: 700; font-size: 17px; line-height: 1.3; }
.features span { font-size: 13px; color: var(--accent); }

/* ---------- Solutions ---------- */
.callout { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; max-width: 820px; margin-inline: auto; padding: 16px 22px; border-radius: 14px; border: 1px solid #F6B8BC; background: var(--rose-bg); }
.callout small { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.callout p { font-size: 16px; font-weight: 600; }

.opener { display: grid; gap: 28px 64px; align-items: center; margin-top: 56px; }
@media (min-width: 900px) { .opener { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.opener .label { padding: 0 0 10px; }

.walk { display: grid; gap: clamp(56px, 8vw, 104px); margin-top: 64px; }
.step { display: grid; gap: 24px 64px; align-items: center; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .step.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .step.flip > .shot { order: 2; }
}
.shot { position: relative; display: flex; justify-content: center; gap: 20px; padding: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 36px); border-radius: 24px; background: var(--bg-2); overflow: hidden; }
.shot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, #D3DDF0 1px, transparent 1.4px); background-size: 22px 22px; opacity: .7; -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.phone { position: relative; width: clamp(200px, 21vw, 268px); flex: none; display: grid; gap: 12px; justify-items: center; }
.phone img {
  width: 100%; aspect-ratio: 720 / 1558; object-fit: cover; object-position: top;
  border-radius: clamp(30px, 3.2vw, 42px); border: clamp(6px, .7vw, 9px) solid #1B1C20; background: #fff;
  box-shadow: 0 0 0 1.5px #5A5C63, 0 40px 60px -28px rgba(18, 24, 38, .45);
}
.phone figcaption { font-size: 13px; font-weight: 600; color: var(--dim); text-align: center; }
.shot .phone { width: clamp(210px, 22vw, 280px); }
.shot.two { gap: 16px; }
.shot.two .phone { width: calc(50% - 8px); max-width: 230px; }
.shot.two .phone + .phone { transform: translateY(-24px); }
.shot.photo { padding: 0; align-items: flex-end; background: var(--tint); }
.shot.photo::before { display: none; }
.shot.photo img { width: min(100%, 520px); }
.copy { min-width: 0; }
.copy h3 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 12px; }
.copy > p { color: var(--dim); font-size: 16.5px; max-width: 56ch; }
.copy .ticks { display: grid; gap: 6px; margin-top: 16px; font-size: 15px; }
.copy .ticks li { display: grid; grid-template-columns: 22px 1fr; }
.copy .ticks li::before { content: ""; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--accent); }
.why { display: grid; gap: 10px; margin-top: 20px; }
.why p { background: var(--bg-2); padding: 16px 18px; border-radius: 14px; font-size: 15px; color: var(--dim); }
.why small { display: block; font-size: 12px; font-weight: 800; margin-bottom: 4px; color: var(--accent); }
.why .im small { color: var(--mint); }
.tip { display: flex; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; color: var(--accent-deep); }
.tip::before { content: "↳"; color: var(--accent); }
.ai-quote { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; background: linear-gradient(135deg, #F5EEFF, #FFEFF2); border: 1px solid #E7D6FF; }
.ai-quote small { display: block; font-size: 12px; font-weight: 800; margin-bottom: 4px; background: linear-gradient(90deg, var(--ai-a), var(--ai-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hands { position: relative; height: clamp(220px, 28vw, 360px); overflow: hidden; }
.hands::before { content: ""; position: absolute; left: -10%; right: -10%; top: 32%; height: 140%; border-radius: 50%; border-top: 6px solid; border-color: #E23744; opacity: .5; }
.hands::after { content: ""; position: absolute; left: 20%; right: -30%; top: 38%; height: 140%; border-radius: 50%; border-top: 6px solid #6A5CFF; opacity: .35; }
.hands ul { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: center; align-items: flex-end; gap: clamp(4px, 2vw, 32px); }
.hands li { width: clamp(80px, 13vw, 170px); transform: translateY(var(--y, 0)) rotate(var(--r, 0deg)); animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
@keyframes bob { 50% { translate: 0 -10px; } }
.hands + p { text-align: center; color: var(--faint); font-size: 14px; margin-top: 14px; }

.notifs { display: grid; gap: 8px; margin-top: 20px; max-width: 380px; }
.notif { padding: 14px 16px; border-radius: 20px; background: #1E1F24; color: #fff; font-size: 13px; box-shadow: 0 20px 40px -20px rgba(18,24,38,.6); }
.notif header { display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 11px; margin-bottom: 6px; }
.notif header b { font-style: italic; font-weight: 800; color: #fff; font-size: 13px; }
.notif h5 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.notif ol { list-style: decimal; padding-left: 18px; color: rgba(255,255,255,.88); }
.notif .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.notif .acts span { text-align: center; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.12); }
.notif .acts span + span { background: var(--accent); }
.notif .more { margin-top: 12px; text-align: center; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.12); }
.notif-note { display: block; font-size: 13px; color: var(--faint); margin: 2px 0 10px 4px; }
.anno { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--dim); }
.anno li { display: flex; gap: 12px; align-items: center; }
.anno li::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }

.cloud { margin-top: 8px; display: grid; gap: 10px; }
@media (min-width: 900px) {
  .cloud { grid-template-columns: 1fr minmax(220px, 300px) 1fr; align-items: center; gap: 14px 28px; }
  .cloud .trophy { grid-column: 2; grid-row: 1; }
  .cloud ul:first-of-type { grid-column: 1; grid-row: 1; }
  .cloud ul:last-of-type { grid-column: 3; grid-row: 1; }
}
.cloud ul { display: grid; gap: 10px; }
.cloud li { padding: 13px 16px; border-radius: 16px 16px 16px 4px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--dim); }
.cloud ul:last-of-type li { border-radius: 16px 16px 4px 16px; }
.cloud .trophy { width: min(260px, 60vw); margin: 0 auto; }

/* ---------- Screen wall ---------- */
.wall { position: relative; height: clamp(480px, 58vw, 760px); overflow: hidden; margin-top: clamp(96px, 11vw, 150px); background: var(--bg-2); }
.wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(var(--bg) 0%, transparent 12%, transparent 86%, var(--bg) 100%); }
.wall-tilt { position: absolute; left: 50%; top: 50%; width: 2400px; transform: translate(-50%, -50%) perspective(2000px) rotateX(22deg) rotateZ(-14deg); display: grid; gap: 28px; }
.wall-row { display: flex; gap: 28px; width: max-content; animation: slide 70s linear infinite; }
.wall-row.rev { animation-direction: reverse; margin-left: -200px; }
.wall-row img { width: 210px; aspect-ratio: 720 / 1558; object-fit: cover; object-position: top; border-radius: 30px; border: 6px solid #1B1C20; box-shadow: 0 30px 50px -24px rgba(18,24,38,.45); }
@keyframes slide { to { transform: translateX(-50%); } }
.wall-title { position: absolute; left: var(--pad); bottom: 48px; z-index: 2; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; padding: 10px 22px; border-radius: 18px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -20px rgba(18,24,38,.4); }

/* ---------- Footer ---------- */
.end { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: 96px; padding: 36px 0 120px; border-top: 1px solid var(--line); color: var(--dim); font-weight: 600; }
.end a:hover { color: var(--accent); }
.end .next { display: grid; text-align: right; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.end .next small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .shot { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; }
  .shot:not(.two) { justify-content: center; }
  .shot .phone, .shot.two .phone { width: 62vw; max-width: 260px; scroll-snap-align: center; }
  .shot.two .phone + .phone { transform: none; }
  .approach { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .approach { grid-template-columns: 1fr; } .methods li { padding: 18px 6px; font-size: 13px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Overview visuals: focus, brief, process ---------- */
.pillars { display: grid; gap: 12px; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars li { display: grid; gap: 4px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, #FFFFFF, var(--card)); border: 1px solid var(--line); }
.pillars .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(47,108,246,.7); }
.pillars b { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.pillars small { font-size: 14px; color: var(--dim); }
.pi svg, .sn svg, .b-arrow svg, .loop svg, .app svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.brief { display: grid; gap: 14px; align-items: stretch; }
@media (min-width: 760px) { .brief { grid-template-columns: 1fr 44px 1fr; } }
.b-side { display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.b-stage { position: relative; height: 220px; overflow: hidden; }
.before .b-stage { background: radial-gradient(circle, #E3E7EF 1px, transparent 1.4px) 0 0 / 18px 18px, #F6F7FA; }
.after .b-stage { background: radial-gradient(60% 70% at 50% 55%, #5B8CFF 0%, #2F6CF6 45%, #1D4ED8 100%); }
.b-side figcaption { padding: 18px 22px 22px; font-size: 16px; font-weight: 600; line-height: 1.45; background: var(--bg); }
.b-side figcaption small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.before figcaption small { color: var(--rose); }
.after figcaption small { color: var(--accent); }
.tangle { position: absolute; inset: 14% 8%; width: 84%; height: 72%; }
.tangle path { fill: none; stroke: #F3A4A8; stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.app { position: absolute; width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 14px 24px -12px rgba(18,24,38,.45); }
span.app { display: grid; place-items: center; background: #fff; color: var(--dim); border: 1px solid var(--line); }
span.app svg { width: 28px; height: 28px; }
.a1 { left: 10%; top: 12%; transform: rotate(-10deg); }
.a2 { left: 42%; top: 46%; transform: rotate(8deg); }
.a3 { right: 10%; top: 10%; transform: rotate(12deg); }
.a4 { left: 16%; bottom: 10%; transform: rotate(6deg); }
.a5 { right: 16%; bottom: 12%; transform: rotate(-8deg); }
.one { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center;
  background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.14), 0 0 0 22px rgba(255,255,255,.07), 0 24px 40px -14px rgba(10,20,60,.6); }
.one b { font-size: 17px; font-weight: 800; font-style: italic; letter-spacing: -.03em; color: var(--accent); }
.tag { position: absolute; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.t1 { left: 8%; top: 16%; } .t2 { right: 8%; top: 30%; } .t3 { left: 14%; bottom: 14%; }
.b-arrow { display: grid; place-items: center; color: var(--accent); }
.b-arrow svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--tint); }
@media (max-width: 759px) { .b-arrow { transform: rotate(90deg); } }

.stepper { position: relative; display: grid; gap: 18px; counter-reset: st; }
@media (min-width: 760px) {
  .stepper { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .stepper::before { content: ""; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--tint), var(--accent), var(--tint)); }
  .stepper li { justify-items: center; text-align: center; }
}
.stepper li { position: relative; display: grid; gap: 4px; align-content: start; counter-increment: st; }
.sn { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: #fff; color: var(--accent); border: 1.5px solid var(--line-2); box-shadow: 0 10px 24px -14px rgba(47,108,246,.6); transition: background .25s, color .25s, transform .25s; }
.sn::after { content: counter(st, decimal-leading-zero); position: absolute; top: -6px; right: -8px; font-size: 10px; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 6px; }
.stepper li:hover .sn { background: var(--accent); color: #fff; transform: translateY(-3px); }
.stepper b { font-size: 16px; font-weight: 700; }
.stepper small { font-size: 13.5px; color: var(--dim); line-height: 1.4; }
@media (max-width: 759px) {
  .stepper li { grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; }
  .stepper .sn { grid-row: span 2; margin: 0; }
  .stepper::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line-2); }
}
.loop { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); background: var(--tint); }
.loop svg { width: 18px; height: 18px; }

/* Hero, single column: the render fills the whole hero behind the glass card */
@media (max-width: 899px) {
  .hero-grid { position: relative; }
  .hero-scene { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 30% 20%; }
  .hero-side { margin-top: max(60vw, 240px); margin-bottom: max(24px, 5vw); }
}

/* ---------- Journey: mood line + stage cards ---------- */
.journey2 { min-width: 900px; padding: 8px clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px); }
.journey-scroll:has(.journey2) { background: linear-gradient(180deg, #FBFCFF, #FFFFFF); }
.mood { position: relative; height: 170px; margin: 0 0 6px; }
.mood > svg { position: absolute; inset: 22px 0 30px; width: 100%; height: calc(100% - 52px); overflow: visible; }
.mood .ml { fill: none; stroke: url(#moodg); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mf { position: absolute; left: var(--x); top: calc(22px + (100% - 52px) * var(--y) / 100); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; }
.mf svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; border-radius: 50%; box-shadow: 0 0 0 5px #fff, 0 10px 20px -8px rgba(18,24,38,.35); }
.mf svg circle:first-child { stroke: none; }
.mf svg circle:not(:first-child) { fill: #fff; stroke: none; }
.mf small { position: absolute; top: calc(100% + 8px); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.m1 svg circle:first-child { fill: #F5A524; } .m1 small { color: #B7791F; }
.m2 svg circle:first-child { fill: #E5484D; } .m2 small { color: var(--rose); }
.m3 svg circle:first-child { fill: #A06CF0; } .m3 small { color: #7C4DFF; }
.m4 svg circle:first-child { fill: var(--accent); } .m4 small { color: var(--accent); }
.jcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jc { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.jc header { display: flex; gap: 12px; align-items: center; }
.j-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--accent); }
.j-ic svg, .j-opp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.jc header small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.jc header b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.j-ex { display: grid; gap: 6px; font-size: 14px; color: var(--dim); }
.j-ex li { display: grid; grid-template-columns: 14px 1fr; }
.j-ex li::before { content: ""; width: 5px; height: 5px; margin-top: .6em; border-radius: 50%; background: var(--faint); }
.j-tp, .j-pain { display: flex; flex-wrap: wrap; gap: 6px; }
.j-tp li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--dim); }
.j-tp img { width: 16px; height: 16px; border-radius: 4px; }
.j-pain li { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--rose); background: var(--rose-bg); }
.j-pain li::before { content: "– "; }
.j-opp { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.35;
  background: linear-gradient(135deg, #3B7BFF, var(--accent-deep)); box-shadow: 0 14px 26px -16px rgba(47,108,246,.9); }
.j-opp svg { flex: none; margin-top: 2px; }
.j-opp small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }

/* Journey cards on one shared row grid, with equal dividers */
.jcards { grid-template-rows: repeat(5, auto); column-gap: 12px; row-gap: 0; }
.jc { display: grid; grid-row: span 5; grid-template-rows: subgrid; gap: 0; padding: 0; overflow: hidden; }
.jc > * { padding: 14px 18px; }
.jc > header { padding-top: 18px; align-items: flex-start; }
.jc > * + * { border-top: 1px solid var(--line); }
.j-ex, .j-tp, .j-pain { align-content: start; }
.j-ex::before, .j-tp::before, .j-pain::before { content: attr(aria-label); flex-basis: 100%; display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
.jc > .j-opp { margin: 14px 18px 18px; border-top: 0; }
.jc > .j-opp::before { content: ""; position: absolute; left: -18px; right: -18px; top: -15px; border-top: 1px solid var(--line); }
.j-opp { position: relative; }
.loss .why, .loss .kick { text-shadow: 0 2px 14px rgba(5, 15, 70, .6); }
@media (max-width: 700px) {
  .rain .nt { width: calc(var(--w) * .62); }
  .rain .nt.near { opacity: .8; }
  .loss { background: radial-gradient(90% 45% at 30% 50%, rgba(8, 24, 100, .7), transparent 75%), linear-gradient(180deg, #1D46C8 0%, #1638A8 55%, #0E2780 100%); }
}

/* ---------- Problem banners before each solution ---------- */
.pbanner { --c: var(--accent); --cb: var(--tint); position: relative; display: grid; gap: 22px 48px; padding: clamp(26px, 4vw, 48px); padding-bottom: clamp(44px, 5vw, 60px);
  border-radius: 28px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 90% at 100% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 70%, #0B1440)); }
.pbanner::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(circle, rgba(255,255,255,.45) 1px, transparent 1.5px); background-size: 18px 18px;
  -webkit-mask: linear-gradient(90deg, transparent 30%, #000); mask: linear-gradient(90deg, transparent 30%, #000); }
.pbanner.c2 { --c: #7C4DFF; } .pbanner.c3 { --c: #EA6A10; } .pbanner.c4 { --c: #0E9F6E; }
@media (min-width: 900px) { .pbanner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }
.pb-tag { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); }
.pb-tag span { padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--c); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pb-title { margin: 14px 0 10px; font-size: clamp(2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.pb-line { max-width: 46ch; font-size: clamp(16px, 1.4vw, 18.5px); line-height: 1.5; color: rgba(255,255,255,.9); }
.pb-side { display: grid; gap: 14px; }
.pb-stat { display: flex; align-items: baseline; gap: 12px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pb-stat b { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.pb-stat span { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: rgba(255,255,255,.9); }
.pb-quote { margin: 0; padding: 16px 20px; border-radius: 18px 18px 18px 6px; background: #fff; color: var(--text); font-size: 17px; font-weight: 700; line-height: 1.4; box-shadow: 0 18px 40px -20px rgba(5,10,40,.6); }
.pb-quote cite { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--c); }
.pb-fix { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.pb-fix span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--c); font-size: 13px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* ---------- What is Zomato ---------- */
.zm { position: relative; display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 760px) {
  .zm { grid-template-columns: 1fr auto 1fr 1fr; align-items: stretch; }
  .zm-core { grid-column: 2; grid-row: 1; }
  .zm::before { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; border-top: 2px dashed var(--line-2); z-index: 0; }
}
.zm > * { position: relative; z-index: 1; }
.zm-side { display: grid; gap: 4px; align-content: start; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.zm-side b { font-size: 16px; font-weight: 800; }
.zm-side small { font-size: 13.5px; color: var(--dim); line-height: 1.4; }
.zm-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; background: var(--bg-2); color: var(--dim); }
.zm-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zm-side.us { background: var(--tint); border-color: #BFD2FF; box-shadow: 0 16px 34px -22px rgba(47,108,246,.7); }
.zm-side.us .zm-ic { background: var(--accent); color: #fff; }
.zm-side em { justify-self: start; margin-top: 8px; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); }
.zm-core { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 10px 16px; }
.zm-core img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 8px #fff, 0 16px 30px -12px rgba(18,24,38,.45); }
.zm-core small { font-size: 12px; font-weight: 700; color: var(--faint); background: var(--bg); padding: 2px 6px; }
@media (max-width: 759px) { .zm-core { order: -1; } }
