
/* Solutions · Overview (Sherlock Flow / Mastery / Speed).
   Tokens, nav, CTA and footer come from the home page (assets/site.css).
   Pacing: one idea per fold, type does the work, very few boxes. */

.so {
  --t-h1: clamp(40px, calc(var(--u) * 78), 118px);
  --t-h2: clamp(30px, calc(var(--u) * 52), 78px); /* every section title one size, the same as the home page's */
  --t-h3: clamp(28px, calc(var(--u) * 40), 60px);
  --t-big: clamp(22px, calc(var(--u) * 30), 44px);
  --t-lead: clamp(18px, calc(var(--u) * 22), 32px);
  --t-body: clamp(16px, calc(var(--u) * 18), 26px);
  --t-small: clamp(14px, calc(var(--u) * 15), 22px);
  --t-label: clamp(12px, calc(var(--u) * 13), 18px);
  --s2: clamp(12px, calc(var(--u) * 16), 24px);
  --s3: clamp(16px, calc(var(--u) * 24), 36px);
  --s4: clamp(24px, calc(var(--u) * 32), 48px);
  --s5: clamp(32px, calc(var(--u) * 48), 72px);
  --s6: clamp(40px, calc(var(--u) * 72), 108px);
  --s7: clamp(64px, calc(var(--u) * 120), 180px);
  --s8: clamp(96px, calc(var(--u) * 176), 260px);
  --wrap: calc(var(--u) * 1206); /* home's content grid: 80 to 1286 of 1366, at every width */
  /* rhythm: generous between sections, tight inside a group */
  --sp-section: var(--s8);   /* between unrelated sections */
  --sp-chapter: var(--s7);   /* between chapters of one section (Flow / Mastery / Speed) */
  --sp-block: var(--s6);     /* between blocks inside a chapter */
  --sp-group: var(--s3);     /* inside a group: heading > lead > body */
  --side: 3fr; --main: 8fr;  /* the page grid: a narrow label column and a wide content column */
  --hl: #d4405a;                 /* coral as text on the off-white */
  --hair: rgba(20, 18, 16, .1);
  --beige: #efe9e6;
}
.wrap { width: var(--wrap); margin: 0 auto; }
.so main section { position: relative; }
.ico { width: 1em; height: 1em; flex: none; fill: currentColor; }
.serif { font-family: var(--sans); font-weight: 500; letter-spacing: -0.035em; } /* headings in Figtree, like the home hero */
.label { font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }

/* reveal: rises out of a soft blur, as on the home page */
[data-r] { opacity: 0; transform: translateY(32px); filter: blur(10px); transition: opacity 1s var(--ease-out), transform 1.25s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1s); }
[data-r].on { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { [data-r] { opacity: 1; transform: none; filter: none; transition: none; } }

/* sizes for CTAs inside the page (the nav keeps its own) */
main .cta { height: clamp(46px, calc(var(--u) * 52), 72px); font-size: clamp(14px, calc(var(--u) * 15), 21px); }
main .cta { padding: 0 clamp(7px, calc(var(--u) * 8), 11px) 0 clamp(22px, calc(var(--u) * 26), 36px); }
main .cta .cta-arrow { width: clamp(32px, calc(var(--u) * 37), 51px); height: clamp(32px, calc(var(--u) * 37), 51px); font-size: clamp(15px, calc(var(--u) * 17), 23px); }

/* a quiet text link with an arrow that slides */
.tlink { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-body); font-weight: 500; color: var(--ink); padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .25s ease, background-size .4s var(--ease-out); }
.tlink .ico { transition: transform .4s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tlink:hover { color: var(--hl); } .tlink:hover .ico { transform: translateX(4px); } }
.tlink:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* ---------- 1 · Hero ---------- */
.hero { isolation: isolate; min-height: max(660px, 100svh); display: flex; align-items: center; text-align: center; padding: calc(var(--bar-h) + var(--s7)) 0 var(--s7); overflow: hidden; }
/* the glow: an ellipse whose two ends sit at 10% and 90% of the width (80% wide),
   centred on the fold's bottom edge so the hero clips its lower half */
.hero::before { content: ""; position: absolute; left: 10%; width: 80%; height: 64%; bottom: -32%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgba(255, 102, 102, .42), rgba(236, 69, 141, .26) 55%, rgba(236, 69, 141, 0) 100%);
  filter: blur(24px); animation: glow 7s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .8; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
.hero h1 { margin: 0 auto; max-width: 22ch; font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.045em; text-wrap: balance; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--hl); }
.hero .foot-row { margin-top: var(--s4); display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
.hero .sub { max-width: none; margin: 0; font-size: var(--t-lead); line-height: 1.5; color: var(--grey); }

/* ---------- 2 · The problem: the home page's "People problems" stack ----------
   Pinned and scrubbed. Left: the statement slides in and its words turn from
   grey to ink, then the "Human coaching works" block arrives under it. Right:
   the three gaps arrive one at a time on their own ruled lines. Figtree for
   the words, Noto Serif for the numbers, sizes as on home. */
.problem { position: relative; z-index: 2; isolation: isolate; background: var(--surface); }
.pp-pin { min-height: max(640px, 100svh); display: flex; align-items: center; padding: var(--sp-chapter) 0; } /* a full fold, like the hero */
.pp-wrap { flex: none; width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: calc(var(--u) * 560) 1fr; column-gap: calc(var(--u) * 96); align-items: start; }
.pp-head { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, calc(var(--u) * 40), 60px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.pp-say .w { color: rgba(20, 18, 16, .18); transition: color 160ms ease; }
.pp-say .w[data-on="1"] { color: var(--ink); }
.pp-sub { margin-top: var(--s4); max-width: none; font-size: var(--t-body); line-height: 1.65; color: var(--grey); text-wrap: pretty; } /* lines break by the container */
.pp-list { list-style: none; position: relative; }
.pp-row { position: relative; padding: clamp(14px, calc(var(--u) * 16.8), 24px) 0; display: grid; grid-template-columns: clamp(44px, calc(var(--u) * 56), 80px) 1fr; align-items: baseline; }
.pp-row::before, .pp-list::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(20, 18, 16, .14); transform-origin: 0 50%; transform: scaleX(var(--rule, 1)); }
.pp-list::after { top: auto; bottom: 0; }
.pp-num, .pp-body h3 { font-size: clamp(16px, calc(var(--u) * 20), 40px); line-height: 1.3; } /* 20px at 1366, scales with the width */
.pp-num { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.pp-body h3 { font-family: var(--sans); font-weight: 400; letter-spacing: -0.015em; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pp-say .w { color: var(--ink); transition: none; } }

/* ---------- 3 · How Sherlock solves it: home's "Real support" section, as is ---------- */
/* ---------- Real support: product cards run sideways (pinned) ---------- */

/* tucks under "Sherlock solves it all" so that fold's curved bottom shows dark in its corners */
.solves {
  --uu: max(var(--u), 0.75px);
  --tuck: calc(var(--uu) * 160);
  position: relative;
  z-index: 1;
  margin-top: calc(var(--tuck) * -1);
  padding-top: var(--tuck);
  background: var(--dark);
  color: var(--surface);
}
/* heading, line and the four cards as one block on the 80 to 1286 grid,
   with the same room above and below (the 40px under it is the curve's) */
.solves-pin { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--uu) * 120) 0 calc(var(--uu) * 80); }
.sup-head { width: var(--wrap); margin: 0 auto; text-align: center; }
.sup-sub { max-width: none; margin: calc(var(--uu) * 16) auto 0; font-size: calc(var(--uu) * 18); line-height: 1.5; color: rgba(250, 248, 248, .62); }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: calc(var(--uu) * 24);
  width: var(--wrap);
  margin: calc(var(--uu) * 48) auto 0;
}
/* one product per card, copy only (the mock-up panels were removed); the
   four share the grid width and the height of the tallest one */
/* faint frosted glass: a translucent dark sheet, a light blur and grain,
   and the CTA's coral-to-magenta glowing faintly out of the bottom-right corner.
   A 1px inner hairline for the edge; no drop shadow. */
.ptile {
  --tab: calc(var(--uu) * 41.4); /* depth of the Learn More tab (46, less 10%); reserved under the card, clipped away at rest */
  position: relative;
  will-change: transform, filter;
  border-radius: calc(var(--uu) * 18);
  padding-bottom: var(--tab);
  background:
    radial-gradient(calc(120% * var(--g)) calc(90% * var(--g)) at 100% calc(100% - var(--tab)), rgba(255, 102, 102, .22), rgba(236, 69, 141, .09) 50%, rgba(236, 69, 141, 0) 78%),
    rgba(36, 32, 30, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  scale: 1; /* the CSS scale property, so it stacks on GSAP's scroll transform */
  transition: scale 420ms var(--ease-out), --g 520ms var(--ease-out), --edge-a 420ms ease, --edge-b 420ms ease;
}
.ptile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grain);
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* the edge: a 1px hairline in the old faint white that turns coral as it
   reaches the bottom-right corner, where the glow sits; it grows with the glow */
@property --g { syntax: "<number>"; inherits: true; initial-value: 1; }
/* the edge's corner colours: faint white at rest, coral only on hover */
@property --edge-a { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .07); }
@property --edge-b { syntax: "<color>"; inherits: true; initial-value: rgba(255, 255, 255, .07); }
/* the words inside the tab */
.ptile-more {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  height: var(--tab);
  translate: -50% calc(var(--uu) * -4); /* sits a little high in the tab: more room below the words, less above */
  display: flex;
  align-items: center;
  padding: 0 calc(var(--uu) * 18);
  font-family: var(--sans);
  font-size: calc(var(--uu) * 15);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--surface);
  opacity: 0;
  transition: opacity 260ms ease;
}
.ptile { cursor: pointer; }
.ptile-more { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity 260ms ease, text-decoration-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .ptile-more:hover { text-decoration-color: currentColor; } }
.ptile-more:focus-visible { text-decoration-color: currentColor; }
.ptile-more:focus-visible { outline: 2px solid var(--surface); outline-offset: -4px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  /* !important: GSAP writes an inline scale: none on the card for its scroll tween */
  .ptile:hover { scale: 1.06 !important; --g: 1.45; --edge-a: #ff6666; --edge-b: rgba(255, 102, 102, .55); z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ptile { transition: none; }
  .ptile:hover { scale: none !important; }
}
.ptile-copy { position: relative; }
@media (prefers-reduced-transparency: reduce) {
  .ptile { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--dark-2); }
}
/* copy hangs from the card's top-left corner, the same inset on both sides */
.ptile-copy { align-self: start; padding: calc(var(--uu) * 24) calc(var(--uu) * 24) calc(var(--uu) * 32); }
.ptile h3 { font-family: var(--sans); font-weight: 600; font-size: calc(var(--uu) * 24); line-height: 1.15; letter-spacing: -0.02em; white-space: nowrap; color: var(--surface); } /* one line, all four */
.ptile-body { margin-top: calc(var(--uu) * 12); font-size: calc(var(--uu) * 14); line-height: 1.5; color: rgba(250, 248, 248, .78); }
.ptile .for { margin-top: calc(var(--uu) * 18); font-size: calc(var(--uu) * 12); line-height: 1.45; color: rgba(250, 248, 248, .5); }

/* who it is made for, as pills */
.for-pills { list-style: none; display: flex; flex-wrap: wrap; gap: calc(var(--uu) * 6); margin-top: calc(var(--uu) * 8); }
.for-pills li {
  padding: calc(var(--uu) * 4) calc(var(--uu) * 10);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(250, 248, 248, .16);
  background: rgba(250, 248, 248, .04);
  font-size: calc(var(--uu) * 12);
  line-height: 1.4;
  color: rgba(250, 248, 248, .78);
  white-space: nowrap;
}
/* the dark block keeps clear room under the cards for its curved edge */
.solves { padding-bottom: calc(var(--uu) * 64); }
.solves .sec-title { font-family: var(--sans); font-weight: 500; font-size: clamp(30px, calc(var(--u) * 52), 78px); line-height: 1.12; letter-spacing: -0.035em; text-align: center; color: #fff; }
.sup-sub + .sup-sub { margin-top: calc(var(--uu) * 10); }
/* tablets and phones: the four cards wrap */
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); width: var(--wrap); } .sup-head { width: var(--wrap); } .ptile h3 { white-space: normal; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
/* the card component (as in the Real support panels): no hover tab; "Learn More" with an arrow at the
   bottom left, underlined on hover */
.tiles .ptile { --tab: 0px; --cp: calc(var(--uu) * 24); padding-bottom: 0; display: flex; flex-direction: column; }
/* card titles a step smaller. The edge is a faint 1px ring; on hover it lights up corner to corner:
   a soft white at the top left, turning coral towards the bottom right, where the card's glow sits */
.tiles .ptile h4, .tiles .ptile h3 { font-size: calc(var(--uu) * 21); }
@property --pa { syntax: "<number>"; inherits: false; initial-value: 0; }
.tiles .ptile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background:
    linear-gradient(to bottom right,
      rgb(250 248 248 / calc(.3 * var(--pa))) 0%,
      rgb(250 248 248 / calc(.2 * var(--pa))) 48%,
      rgb(255 102 102 / calc(.85 * var(--pa))) 82%,
      rgb(255 102 102 / var(--pa)) 100%),
    linear-gradient(rgba(250, 248, 248, .09), rgba(250, 248, 248, .09));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  transition: --pa 420ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .tiles .ptile:hover::after { --pa: 1; } }
.tiles .ptile:focus-within::after { --pa: 1; }
@media (prefers-reduced-motion: reduce) { .tiles .ptile::after { transition: none; } }
.tiles .ptile-copy { flex: 1; padding: var(--cp) var(--cp) calc(var(--uu) * 20); }
.tiles .ptile-more {
  position: static; translate: none; height: auto; opacity: 1;
  align-self: flex-start; display: inline-flex; align-items: center; gap: calc(var(--uu) * 6);
  margin: 0 var(--cp) var(--cp); padding: 0;
  font-size: calc(var(--uu) * 14); font-weight: 500; color: var(--surface);
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.tiles .ptile-more .lm-arrow { width: 1.05em; height: 1.05em; fill: currentColor; transition: translate 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tiles .ptile:hover { scale: none !important; }
  .tiles .ptile:hover .ptile-more { text-decoration-color: currentColor; }
  .tiles .ptile:hover .ptile-more .lm-arrow { translate: 3px 0; }
}
.tiles .ptile-more:focus-visible { outline: 2px solid var(--surface); outline-offset: 4px; border-radius: 4px; text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { .tiles .ptile-more .lm-arrow { transition: none; } }


/* ---------- 4 · Flow, Mastery, Speed: a sticky index beside the three ---------- */
.modes { padding: var(--sp-section) 0 0; }
.modes .wrap { display: grid; grid-template-columns: var(--side) var(--main); gap: var(--s6); }
.rail { position: sticky; top: calc(var(--bar-h) + var(--s6)); align-self: start; margin-bottom: var(--sp-chapter); } /* stops short of the next section */
.rail ol { list-style: none; border-left: 1px solid var(--hair); }
.rail a { position: relative; display: flex; align-items: baseline; gap: .8em; padding: .7em 0 .7em var(--s3); font-size: var(--t-small); color: var(--grey); transition: color .3s ease; }
.rail a span { font-size: .85em; font-variant-numeric: tabular-nums; color: rgba(20, 18, 16, .35); transition: color .3s ease; }
.rail a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--ink); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease-out); }
.rail a.on { color: var(--ink); font-weight: 500; }
.rail a.on span { color: var(--hl); }
.rail a.on::before { transform: none; }
@media (hover: hover) and (pointer: fine) { .rail a:hover { color: var(--ink); } }
.mode { scroll-margin-top: calc(var(--bar-h) + 32px); padding-bottom: var(--sp-chapter); }
.mode + .mode { padding-top: var(--sp-chapter); border-top: 1px solid var(--hair); }
.mode:last-child { padding-bottom: var(--sp-section); }
.mode h2 { font-size: clamp(30px, calc(var(--u) * 50), 76px); line-height: 1.06; color: var(--ink); }
.mode h2 .nm { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; } /* the product name in the brand gradient */
.mode h2 .sub { display: block; color: var(--ink); text-wrap: balance; }
.modes .stack { min-width: 0; } /* long subtitles wrap instead of widening the column */
.mode .lead { margin-top: var(--sp-group); max-width: none; font-size: var(--t-body); line-height: 1.7; color: var(--hl); } /* same size as the body below it */
.mode .body { margin-top: var(--sp-group); max-width: none; font-size: clamp(15px, calc(var(--u) * 16), 24px); line-height: 1.7; color: var(--grey); }
.ticks { margin-top: var(--s4); list-style: none; display: flex; flex-direction: column; gap: var(--s2); } /* a plain stack, no rules */ /* one column, ruled */
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .8em; font-size: clamp(15px, calc(var(--u) * 16), 24px); line-height: 1.5; color: var(--ink); } /* 16px at 1366, like the paragraph */
.ticks .ico { margin-top: .28em; font-size: .9em; color: var(--hl); }
/* who it's for, right under the heading: a label and soft glass pills */
.made { margin-top: var(--s3); display: flex; flex-wrap: wrap; align-items: center; gap: max(8px, calc(var(--u) * 10)); }
.made > span { font-size: var(--t-small); font-weight: 500; color: var(--grey); margin-right: .2em; }
.made ul { display: contents; list-style: none; }
.made li { display: inline-flex; align-items: center; min-height: max(34px, calc(var(--u) * 38)); padding: 4px max(14px, calc(var(--u) * 16)); border-radius: 999px; font-size: var(--t-small); font-weight: 500; line-height: 1.25; color: var(--ink);
  background: rgba(255, 253, 253, .78); box-shadow: inset 0 0 0 1px rgba(236, 69, 141, .2), 0 10px 26px -16px rgba(150, 60, 80, .3); }
/* the Flow example: Sarah, twelve minutes before the meeting */
.story { margin-top: var(--sp-block); }
.story figure { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--beige); }
.story img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.story.on img { transform: none; }
.story figcaption { position: absolute; left: var(--s3); bottom: var(--s3); display: inline-flex; align-items: center; gap: .6em; height: 36px; padding: 0 16px; border-radius: 999px; font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: rgba(250, 248, 248, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.story figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.story p { margin-top: var(--s4); font-size: var(--t-lead); line-height: 1.6; letter-spacing: -0.012em; color: var(--ink); }

/* ---------- 92%: a white fold with Sherlock's speaking glow ---------- */

.stat {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface);
}
.stat-line {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: calc(var(--u) * 56);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-line b { font-family: var(--serif); font-weight: 500; }
/* the brand gradient on the number and on "Sherlock users" */
.stat-num, .stat-hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* the bloom from the conversation film: a soft dome whose flat foot (y 273 of
   373 in the SVG) sits on the fold's bottom edge; home.js breathes it */
.stat-glow {
  position: absolute;
  left: 50%;
  width: calc(var(--u) * 1500);
  height: calc(var(--u) * 760);
  margin-left: calc(var(--u) * -750);
  bottom: calc(var(--u) * -204);
  filter: blur(36px);
  opacity: 0;
  transform-origin: 50% 100%;
  pointer-events: none;
}
.stat-glow svg { display: block; width: 100%; height: 100%; overflow: visible; }


/* ---------- "Work in progress" tag on sections still being designed ---------- */
.wip { display: inline-flex; align-items: center; gap: .5em; height: 28px; padding: 0 12px; margin-bottom: var(--s3); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a5300; background: #fff3dc; box-shadow: inset 0 0 0 1px rgba(196, 128, 20, .35); }
.wip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e59a1a; }
.solves .wip { color: #ffd8a0; background: rgba(229, 154, 26, .14); box-shadow: inset 0 0 0 1px rgba(229, 154, 26, .45); }
.tiles.six { grid-template-columns: repeat(3, 1fr); }
/* when the dark section follows the hero directly, it does not tuck under it */
.hero + .solves { margin-top: 0; padding-top: 0; }
.plain { padding: var(--sp-section) 0; text-align: center; }
.plain h2 { font-size: var(--t-h2); line-height: 1.06; }
.plain p { margin: var(--s3) 0 0; max-width: none; font-size: var(--t-body); line-height: 1.7; color: var(--grey); }
.mode .related { margin-top: var(--s3); font-size: clamp(15px, calc(var(--u) * 16), 24px); color: var(--grey); }
.mode .related b { font-weight: 500; color: var(--ink); }
.mode .body + .body { margin-top: 1em; }
.ticks li b { font-weight: 500; }

/* ---------- 5 · Proven impact ---------- */
.proof { padding: var(--sp-section) 0 var(--sp-chapter); overflow: hidden; border-top: 1px solid var(--hair); }
.proof .wrap { display: grid; grid-template-columns: var(--side) var(--main); gap: var(--s6); }
.proof h2 { font-size: var(--t-h2); line-height: 1.04; }
.proof h2 { position: sticky; top: calc(var(--bar-h) + var(--s6)); align-self: start; }
.case { position: relative; margin-top: 0; padding: var(--s5); border-radius: 24px; background: var(--beige); overflow: hidden; isolation: isolate; }
.case .label { display: block; margin-bottom: var(--s2); }
.case::after { content: ""; position: absolute; right: -15%; bottom: -60%; width: 60%; height: 140%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 102, 102, .2), rgba(255, 102, 102, 0)); filter: blur(10px); }
.case p { font-size: var(--t-big); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }
.case p b { font-weight: 500; color: var(--hl); }
.case .tlink { margin-top: var(--s4); }
.recog { margin-top: var(--s4); display: flex; align-items: center; gap: .8em; font-size: var(--t-small); line-height: 1.5; color: var(--grey); }
.recog i { font-size: 1.2em; color: var(--hl); }

/* ---------- 6 · FAQ ---------- */
.faq { padding: 0 0 var(--sp-section); }
.faq .wrap { padding-top: var(--sp-chapter); }
.faq-title { font-size: var(--t-h2); line-height: 1.04; }
/* the categories run down the side, the questions on the page grid */
.faq-grid { margin-top: var(--sp-block); display: grid; grid-template-columns: var(--side) var(--main); gap: var(--s6); }
.faq-group + .faq-group { margin-top: var(--sp-block); }
.faq-group { scroll-margin-top: calc(var(--bar-h) + 32px); }
.faq-cat { margin-bottom: var(--s3); font-size: var(--t-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--hl); }
.qa { border-bottom: 1px solid var(--hair); }
.faq-cat + .qa { border-top: 1px solid var(--hair); }
.qa h4 { font: inherit; }
.qa button { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: clamp(22px, calc(var(--u) * 28), 40px) 0; cursor: pointer; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.012em; line-height: 1.35; color: var(--ink); transition: color .2s ease; }
.qa button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.qa .pl { flex: none; width: clamp(34px, calc(var(--u) * 38), 52px); height: clamp(34px, calc(var(--u) * 38), 52px); border-radius: 50%; display: grid; place-items: center; font-size: clamp(14px, calc(var(--u) * 15), 20px); box-shadow: inset 0 0 0 1px rgba(20, 18, 16, .16); transition: transform .5s var(--ease-out), background .3s ease, color .3s ease, box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) { .qa button:hover { color: var(--hl); } .qa button:hover .pl { box-shadow: inset 0 0 0 1px rgba(212, 64, 90, .5); } }
.qa.open .pl { transform: rotate(45deg); background: var(--ink); color: #fff; box-shadow: none; }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans-in { max-width: 44em; padding-bottom: clamp(24px, calc(var(--u) * 32), 44px); font-size: var(--t-body); line-height: 1.7; color: var(--grey); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .5s var(--ease-out); }
.qa.open .ans-in { opacity: 1; transform: none; transition-delay: .08s; }
.ans-in > * + * { margin-top: .8em; }
.ans-in b { font-weight: 500; color: var(--ink); }
.ans-in ul { list-style: none; display: grid; gap: .45em; }
.ans-in li { position: relative; padding-left: 1.2em; }
.ans-in li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.ans-in .sub { margin-top: 1.2em; font-weight: 500; color: var(--ink); }
.ans-in a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: reduce) { .qa .ans, .qa .ans p, .qa .pl { transition: none; } }

/* ---------- 7 · Closing CTA: the coral fold ---------- */
/* a plain white section, everything centred */
.closer { padding: calc(var(--sp-section) * 1.3) 0; background: #fff; }
.closer .box { display: flex; flex-direction: column; align-items: center; text-align: center; }
.closer p { max-width: 100%; font-weight: 500; font-size: clamp(26px, calc(var(--u) * 42), 64px); line-height: 1.18; letter-spacing: -0.03em; text-wrap: balance; color: var(--ink); } /* two lines across the content width */
.closer p .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.closer .cta { margin-top: var(--s5); }

/* current page in the nav: the Solutions tab and its Overview item */

/* ---------- tablets and phones ---------- */
@media (max-width: 900px) {
  .hero .foot-row, .pp-wrap, .proof .wrap { grid-template-columns: 1fr; }
  .pp-list { margin-top: var(--s5); }
  .proof h2 { position: static; }
  .proof .wrap, .modes .wrap, .faq .wrap { gap: var(--sp-group); }
  .mode h2 .sub { white-space: normal; }
  .modes .wrap, .faq .wrap { grid-template-columns: 1fr; gap: var(--s5); }
  .rail { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .case { border-radius: 22px; }
  .case { padding: var(--s5) var(--s4); }
  .story figure { border-radius: 18px; aspect-ratio: 4 / 3; }
}
/* phones: headings stay within two lines where a readable size allows */
@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }
  .pp-head { font-size: 27px; }
  .mode h2 { font-size: 26px; }
  .closer p { font-size: 22px; }
}
  
/* ---------- Use cases: the six sections in alternating bands ---------- */
.plain { padding-bottom: var(--s6); background: #fff; } /* white, running straight into the white use-case sections */              /* no doubled gap before the first band */
.plain + .modes.alt { padding-top: 0; }
.modes.alt { isolation: isolate; }
.modes.alt .mode { position: relative; padding: var(--sp-chapter) 0; border-top: 0; }
.modes.alt .mode::before { content: ""; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; z-index: -1; background: #fff; } /* all six on white */
.modes.alt .rail { top: calc(var(--bar-h) + var(--sp-chapter)); margin-top: var(--sp-chapter); }

.faq-rail { margin-bottom: 0; } /* the FAQ index ends level with the last question, as on the Acumen page */
.tm { font-size: .5em; font-weight: 400; letter-spacing: 0; line-height: 0; vertical-align: .72em; margin-left: .03em; }
/* in flex rows (the side index, chips) the gap and vertical-align do not apply to the ™: pull it back and lift it */
.rail a > .tm { margin-left: -1.5em; position: relative; top: -.75em; } /* the index rows have a gap between items */
.nav-menu a > .tm { margin-left: .06em; position: relative; top: -.75em; } /* menu rows have none */ /* the trademark sign: small and raised, at any heading size */

.cta.cta-2 { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20, 18, 16, .14); transition: transform 160ms var(--ease-out), box-shadow .3s ease; }
.cta.cta-2::after { display: none; }
@media (hover: hover) and (pointer: fine) { .cta.cta-2:hover { box-shadow: inset 0 0 0 1px rgba(20, 18, 16, .32); } }
/* ---------- FAQ: this page's own questions in one centred column; the full list lives on the FAQ page ---------- */
.faq-title { text-align: center; }
.faq-grid { margin: var(--sp-block) auto 0; max-width: min(100%, max(680px, calc(var(--u) * 860))); display: block; }
.qa .qa-h { font: inherit; letter-spacing: inherit; }
.faq-more { margin-top: var(--sp-block); display: flex; justify-content: center; }
