/*
  ClipReady landing page, round 2: ten layouts of one page.
  Loaded after ../../design/tokens.css and ../styles.css. Every colour, font, size, space,
  radius and shadow here is a token from tokens.css. The buttons, header, phone frame, reels,
  tiles, tags and FAQ rows are the ones in ../styles.css, unchanged.

  HOW TO MIX SECTIONS
  All ten versions carry the same sections with the same HTML inside. A section's layout is
  chosen by one class:

      <section class="section pn pn--lines">    Sound familiar?   (pn--…)
      <section class="section cmp cmp--table">  comparison        (cmp--…)
      <section class="section st st--tiles">    How it works      (st--…)
      <section class="section an an--below">    Analytics         (an--…)
      <section class="section sy sy--grid">     Styles            (sy--…)
      <section class="section fq fq--accordion"> FAQ              (fq--…)

  To give a page another version's layout for a section, change that one class. Its motion
  comes with it. (combined.html is a page put together this way.) The hero and the closing button differ in their HTML too: copy the whole
  <section> for those. Page-wide spacing is set on <body> (lv--tight, lv--bento).

  The plain numbers left in this file are sizes of drawn things (bars, dots, the dashboard
  sketch), widths that belong to one layout, and the breakpoints (560, 760, 1000px).
*/

/* ---------- Motion ----------
   tokens.css has timings for hover, press and small moves only. These longer ones are for the
   scroll motion tried in this round. If a version is chosen, move the ones it uses into tokens.css. */
.lv {
  --lv-rise: .7s;      /* a block settling into place as it scrolls into view */
  --lv-shift: 24px;    /* how far it travels */
  --lv-gap: 70ms;      /* delay between neighbours */
  --lv-fill: 1.1s;     /* a comparison bar filling */
  --lv-lit: .35s;      /* grey text turning to ink */
  --lv-turn: 4s;       /* one step of a set that advances by itself */
  --lv-drift: 60s;     /* one lap of the moving row of reels */
  --lv-ease: cubic-bezier(.2, .7, .2, 1);
  /* From the screen's edge to the content's edge. Rows that run edge to edge start their first item here. */
  --edge: max(var(--cr-gutter), calc((100vw - var(--cr-container)) / 2));
}
@media (min-width: 760px) { .lv { --edge: max(var(--cr-gutter-wide), calc((100vw - var(--cr-container)) / 2)); } }
@keyframes rise { from { opacity: 0; transform: translateY(var(--lv-shift)); } }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
@keyframes drift { to { transform: translateX(calc(-50% - var(--mq-gap) / 2)); } }
@keyframes turn { from { transform: scaleX(0); } }
@keyframes word { from { opacity: 0; transform: translateY(.3em); } }
@keyframes fan-left { from { opacity: 0; transform: translateX(70%); } }
@keyframes fan-right { from { opacity: 0; transform: translateX(-70%); } }

/* ---------- Header ----------
   The header's button shows only while no other "Join the waitlist" button is on screen. */
.js .top.top--lv .btn { opacity: 0; visibility: hidden; }
.js .top.top--lv.is-clear .btn { opacity: 1; visibility: visible; }

/* ---------- Page-wide spacing ---------- */
.lv--tight .section { padding: var(--cr-space-14) 0; }
.lv--tight h2 { font-size: var(--cr-text-title); line-height: var(--cr-leading-title); }
.lv--tight .head { margin-bottom: var(--cr-space-6); }
.lv--bento .section { padding: var(--cr-space-10) 0; }
@media (min-width: 1000px) {
  .lv--tight .section { padding: var(--cr-space-22) 0; }
  .lv--tight .head { margin-bottom: var(--cr-space-8); }
  .lv--bento .section { padding: var(--cr-space-14) 0; }
  .lv--bento .head { margin-bottom: var(--cr-space-8); }
}

/* ---------- Shared pieces ---------- */
/* A label above a heading, with room for a "Coming soon" tag beside it */
.kick { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--cr-space-1) var(--cr-space-3); margin-bottom: var(--cr-space-3); }
.kick .eyebrow { margin: 0; }

/* Placeholders: [REEL] sits in a reel frame, [DASHBOARD] on a sketch of rows */
.ph { padding: var(--cr-space-1) var(--cr-space-3); border-radius: var(--cr-radius-pill); background: var(--cr-scrim); color: var(--cr-white); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-body); white-space: nowrap; }
.dash { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.dash__sk { position: absolute; inset: 9% 8%; display: grid; grid-template-rows: 5% repeat(4, minmax(0, 1fr)); gap: 6%; }
.dash__sk > i { width: 22%; border-radius: var(--cr-radius-pill); background: var(--cr-line); }
.dash__r { display: grid; grid-template-columns: 6% 26% minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4%; min-height: 0; }
.dash__r i { display: block; height: 20%; border-radius: var(--cr-radius-pill); background: var(--cr-line); }
.dash__r i:first-child { height: 100%; border-radius: 4px; background: var(--cr-reel-fallback); }
.dash__r i:nth-child(2) { height: 58%; border-radius: var(--cr-radius-sm); }   /* the lead figure of each row: 3-second hold */
/* Centred by position, which every browser agrees on (iOS 17.0 does not centre a grid item in a frame sized by aspect-ratio) */
.dash .ph, .reel--ph .ph, .h__todo .ph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* Comparison bars: no numbers. "On your own" is the same short bar on every row; ClipReady's fills. */
.bar { display: block; height: 6px; overflow: hidden; border-radius: var(--cr-radius-pill); background: var(--cr-line); }
.bar i { display: block; height: 100%; border-radius: inherit; }
.bar--own i { width: 22%; background: var(--cr-grey-2); }
.bar--us i { width: 100%; background: var(--cr-gradient); }

/* A row that scrolls sideways and snaps, from the page edge to the page edge */
:is(.pn--rail .pn__list, .cmp--rail .cmp__rows, .sy--rail .sy__list, .fq--rail .faq) {
  display: flex; gap: var(--cr-space-4);
  margin-inline: calc(-1 * var(--edge)); padding: var(--cr-space-1) var(--edge) var(--cr-space-2); scroll-padding-inline: var(--edge);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
:is(.pn--rail .pn__list, .cmp--rail .cmp__rows, .sy--rail .sy__list, .fq--rail .faq)::-webkit-scrollbar { display: none; }
:is(.pn--rail .pn__list, .cmp--rail .cmp__rows, .sy--rail .sy__list, .fq--rail .faq) > * { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
:is(.pn--rail, .cmp--rail, .sy--rail, .fq--rail, .an--bleed) { overflow: hidden; }
/* Its arrows, added by landing.js where there is a mouse */
.swipe__nav { display: none; gap: var(--cr-space-3); margin-top: var(--cr-space-6); }
.swipe__btn { display: grid; place-items: center; width: var(--cr-button-height-sm); height: var(--cr-button-height-sm); margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--cr-tile); cursor: pointer; -webkit-appearance: none; appearance: none; transition: opacity var(--cr-duration) var(--cr-ease); }
.swipe__btn::before { content: ""; width: 9px; height: 9px; border: solid var(--cr-ink); border-width: 0 2px 2px 0; transform: translateX(-2px) rotate(-45deg); }
.swipe__btn[data-dir="-1"]::before { transform: translateX(2px) rotate(135deg); }
.swipe__btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (min-width: 760px) { .swipe__nav:not([hidden]) { display: flex; justify-content: flex-end; } }

/* A heading that stays put on the left while its section scrolls past on the right */
@media (min-width: 1000px) {
  :is(.pn--split .pn__in, .st--split .st__in, .sy--side .sy__in, .fq--split .fq__in, .cmp--split .cmp__in) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cr-space-16); align-items: start; }
  :is(.pn--split, .st--split, .sy--side, .fq--split) .head, .cmp--split .cmp__head { position: -webkit-sticky; position: sticky; top: calc(var(--cr-header-height) + var(--cr-space-12)); margin-bottom: 0; }
}

/* The phone frame from ../styles.css, drawn round something other than a hero reel */
:is(.an--phone .an__pic, .sy--phones .sy__frame) { position: relative; padding: var(--phone-bezel); border-radius: var(--phone-corner); background: var(--cr-ink); box-shadow: var(--cr-shadow-device); }
:is(.an--phone .an__pic, .sy--phones .sy__frame)::before { content: ""; position: absolute; left: 50%; top: var(--phone-notch-top); z-index: 2; width: 30%; height: var(--phone-notch); border-radius: var(--phone-notch); background: var(--cr-black); transform: translateX(-50%); pointer-events: none; }


/* ==========================================================================
   1. HERO
   ========================================================================== */
.h .lede { text-wrap: balance; }
.h__cta { margin-top: var(--cr-space-8); }

/* h--center: centred copy over three floating phones (the current page's arrangement) */
.h--center .shot { padding-top: 10px; }

/* h--split: copy on the left, one phone on the right */
.h--split { text-align: left; }
.h--split .lede { margin-inline: 0; }
.h--split .h__visual { display: flex; justify-content: center; align-items: flex-start; height: 372px; margin-top: var(--cr-space-14); padding-top: 10px; overflow: hidden; }

/* h--tile: the whole hero in one tile, with a reel inside it */
.h--tile { padding-top: var(--cr-space-4); overflow: visible; text-align: left; }
.h__tile { display: grid; gap: var(--cr-space-10); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.h--tile h1 { font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); letter-spacing: var(--cr-tracking-heading); }
.h--tile .lede { margin-inline: 0; }
.h--tile .reel { width: min(100%, 210px); margin-inline: auto; }

/* h--type: type only, as tall as the screen; the headline at the top, the rest at the bottom */
.h--type { padding: 0; text-align: left; }
.h--type .wrap { display: flex; flex-direction: column; justify-content: space-between; gap: var(--cr-space-12); min-height: calc(100vh - var(--cr-header-height)); min-height: calc(100svh - var(--cr-header-height)); padding-block: var(--cr-space-10) var(--cr-space-8); }
.h--type .lede, .h--type .h__cta { margin: 0; }
.h--type .h__foot { display: grid; gap: var(--cr-space-6); }
.h--type .w { display: inline-block; }

/* h--marquee: centred copy over a row of reels that drifts sideways */
.h--marquee { padding-bottom: var(--cr-space-4); }
.mq { --mq-gap: var(--cr-space-4); margin-top: var(--cr-space-14); overflow-x: auto; scrollbar-width: none; }
.mq::-webkit-scrollbar { display: none; }
.mq__track { display: flex; gap: var(--mq-gap); width: max-content; }
.mq .reel { flex: none; width: 150px; }

/* h--reelfirst: three reels first, fanned, then the copy under them */
.h--reelfirst { padding: var(--cr-space-8) 0 var(--cr-space-14); }
.h--reelfirst h1 { max-width: 13em; margin-inline: auto; font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); letter-spacing: var(--cr-tracking-heading); }
.fan { display: flex; justify-content: center; align-items: flex-end; gap: var(--cr-space-4); margin-bottom: var(--cr-space-10); }
.fan .reel { flex: none; width: 96px; }
.fan .reel:nth-child(2) { width: 118px; }
.fan .reel:first-child { rotate: -6deg; transform-origin: 100% 100%; }
.fan .reel:last-child { rotate: 6deg; transform-origin: 0 100%; }

/* h--pinned: the copy holds still while a phone rises over it */
.h--pinned { padding: 0; overflow: visible; }
.h__pin { display: grid; align-items: center; min-height: calc(100vh - var(--cr-header-height)); min-height: calc(100svh - var(--cr-header-height)); padding-block: var(--cr-space-10); }
.h__rise { position: relative; z-index: 1; display: flex; justify-content: center; padding-bottom: 18vh; }
.h--pinned .phone { animation: none; }

/* h--masthead: a newspaper top: headline, a rule, then the line and the button, over a strip of reels */
.h--masthead { padding-bottom: 0; text-align: left; }
.h--masthead .h__foot { position: relative; display: grid; gap: var(--cr-space-6); margin-top: var(--cr-space-8); padding-top: var(--cr-space-6); }
.h--masthead .h__foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); transform-origin: 0 50%; }
.h--masthead .lede, .h--masthead .h__cta { margin: 0; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cr-space-2); margin-top: var(--cr-space-12); }

/* h--dark: the hero on black, with one word in the gradient */
.h--dark { padding-bottom: 0; }
.h--dark .lede { color: var(--cr-on-dark-muted); }
.stage { display: flex; justify-content: center; align-items: flex-start; gap: var(--cr-space-4); height: 300px; margin-top: var(--cr-space-14); overflow: hidden; }
.stage .reel { flex: none; width: 190px; }
.stage .reel:first-child, .stage .reel:last-child { width: 150px; margin-top: var(--cr-space-12); opacity: .4; }

/* h--todo: no hero yet (combined.html). A marked space about a screen tall, until one is chosen from heroes/. */
.h--todo { padding-top: var(--cr-space-4); overflow: visible; }
.h__todo { position: relative; min-height: 70vh; min-height: calc(100svh - var(--cr-header-height) - var(--cr-space-14)); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }

/* h--compact: a short hero with no picture, so the next section starts on the first screen */
.h--compact { padding: var(--cr-space-12) 0 var(--cr-space-4); }
.h--compact h1 { max-width: 13em; margin-inline: auto; font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); letter-spacing: var(--cr-tracking-heading); }

@media (min-width: 560px) {
  .h--split .h__visual { height: 420px; }
}
@media (min-width: 760px) {
  .h__tile { grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: var(--cr-space-12); padding: var(--cr-space-12) var(--cr-space-10); }
  .h--tile .reel { width: 100%; }
  .h--type .h__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--cr-space-10); padding-top: var(--cr-space-8); border-top: var(--cr-border) solid var(--cr-line); }
  .mq { --mq-gap: var(--cr-space-5); }
  .mq .reel { width: 200px; }
  .fan { gap: var(--cr-space-6); }
  .fan .reel { width: 150px; }
  .fan .reel:nth-child(2) { width: 180px; }
  .h--masthead .h__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--cr-space-10); }
  .strip { gap: var(--cr-space-5); height: 300px; overflow: hidden; }
  .stage { gap: var(--cr-space-8); height: 420px; }
  .stage .reel { width: 280px; }
  .stage .reel:first-child, .stage .reel:last-child { width: 230px; margin-top: var(--cr-space-16); }
}
@media (min-width: 1000px) {
  .h--split { padding: 0; }
  .h--split .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: var(--cr-space-16); min-height: calc(100vh - var(--cr-header-height)); padding-block: var(--cr-space-12); }
  .h--split h1 { font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); letter-spacing: var(--cr-tracking-heading); }
  .h--split .h__visual { height: auto; margin: 0; padding: var(--cr-space-4) 0 var(--cr-space-8); overflow: visible; }
  .h--tile { padding-top: var(--cr-space-5); }
  .h__tile { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--cr-space-16); padding: var(--cr-space-14) var(--cr-space-16); }
  .h--type .wrap { padding-block: var(--cr-space-16) var(--cr-space-12); }
  .h--reelfirst { padding: var(--cr-space-12) 0 var(--cr-space-24); }
  .h--compact { padding: var(--cr-space-22) 0 var(--cr-space-8); }
}
@media (prefers-reduced-motion: no-preference) {
  /* On arrival: the copy settles in, one piece after another */
  :is(.h--center, .h--split, .h--marquee, .h--dark, .h--compact, .h--reelfirst, .h--masthead) :is(h1, .lede, .h__cta) { animation: rise var(--lv-rise) var(--lv-ease) both; }
  .h .lede { animation-delay: .1s; }
  .h .h__cta { animation-delay: .2s; }
  .h__tile { animation: pop .9s var(--lv-ease) both; }
  /* h--type: the headline arrives a word at a time (landing.js wraps the words) */
  .js .h--type h1 { visibility: hidden; }
  .js .h--type h1.is-split { visibility: visible; }
  .h--type .w { animation: word .6s var(--lv-ease) both; animation-delay: calc(var(--i) * 55ms); }
  .h--type .h__foot { animation: rise var(--lv-rise) var(--lv-ease) .5s both; }
  /* h--marquee */
  .mq.is-moving { overflow: hidden; }
  .mq.is-moving .mq__track { animation: drift calc(var(--lv-drift) * var(--mq-sets, 1)) linear infinite; }
  /* h--reelfirst: the side reels fan out from behind the middle one */
  .fan .reel:first-child { animation: fan-left 1s var(--lv-ease) both; }
  .fan .reel:last-child { animation: fan-right 1s var(--lv-ease) both; }
  /* h--pinned: landing.js sets --p from 0 to 1 as the phone rises */
  .js .h__pin { position: -webkit-sticky; position: sticky; top: var(--cr-header-height); }
  .js .h__pin .wrap { opacity: calc(1 - var(--p, 0) * 1.8); transform: scale(calc(1 - var(--p, 0) * .08)); }
  .js .h--pinned.is-faded .h__pin { visibility: hidden; }
  /* h--masthead: the rule draws itself */
  .h--masthead .h__foot::before { animation: turn 1s var(--lv-ease) .2s both; }
  /* h--dark: the reels come up from below */
  .stage .reel { animation: rise 1s var(--lv-ease) .25s both; }
  .stage .reel:nth-child(2) { animation-delay: .15s; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .mq.is-moving:hover .mq__track { animation-play-state: paused; }
}


/* ==========================================================================
   2. SOUND FAMILIAR?  (the pain list)
   ========================================================================== */
.pn__n { font-variant-numeric: tabular-nums; }
.pn__cta { margin-top: var(--cr-space-10); }

/* pn--lines: one column, a number then the line, rules between */
.pn--lines .wrap { max-width: var(--cr-container-narrow); }
.pn--lines li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline; padding: var(--cr-space-5) 0; border-top: var(--cr-border) solid var(--cr-line); }
.pn--lines li:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
.pn--lines li > * { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }
.pn--lines .pn__n { color: var(--cr-grey-2); }

/* pn--split: the heading stays on the left, big lines pass on the right */
.pn--split li { padding: var(--cr-space-6) 0; border-top: var(--cr-border) solid var(--cr-line); }
.pn--split .pn__n { display: block; margin-bottom: var(--cr-space-2); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.pn--split li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }

/* pn--tiles: six tiles, wide and narrow in turn */
.pn--tiles .pn__list { display: grid; gap: var(--cr-space-4); }
.pn--tiles li { display: grid; align-content: space-between; gap: var(--cr-space-8); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.pn--tiles .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.pn--tiles li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* pn--run: the six lines run on as one large paragraph, and turn from grey to ink as they are read */
.pn--run .pn__list { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-statement); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
.pn--run li, .pn--run li p { display: inline; }
.pn--run .pn__n { margin-right: .3em; font-size: var(--cr-text-sm); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-body); vertical-align: top; color: var(--cr-grey); }
.pn--run .pn__cta { margin-top: var(--cr-space-12); }

/* pn--rail: a row of tiles to swipe through */
.pn--rail li { display: grid; align-content: space-between; gap: var(--cr-space-12); min-height: 250px; padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.pn--rail .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-heading); color: var(--cr-grey-2); }
.pn--rail li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* pn--centre: a grey band, everything centred, the lines joined by a short rule */
.pn--centre { background: var(--cr-tile); text-align: center; }
.pn--centre .head { margin-inline: auto; }
.pn--centre li { display: grid; justify-items: center; gap: var(--cr-space-2); padding-bottom: var(--cr-space-5); }
.pn--centre li + li::before { content: ""; width: var(--cr-border); height: var(--cr-space-8); margin-bottom: var(--cr-space-3); background: var(--cr-line); }
.pn--centre .pn__n { background: var(--cr-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: var(--cr-weight-semibold); }
.pn--centre li p { max-width: 20em; font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); text-wrap: balance; }

/* pn--pin: on a wide screen the section holds still while the lines light up one by one;
   on a phone they light as they are scrolled past */
.pn--pin .wrap { max-width: var(--cr-container-narrow); }
.pn--pin li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: baseline; padding: var(--cr-space-3) 0; }
.pn--pin li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
.pn--pin .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }

/* pn--cols: two ruled columns, three lines in each */
.pn--cols li { position: relative; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); align-items: baseline; padding: var(--cr-space-5) 0; }
.pn--cols li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); transform-origin: 0 50%; }
.pn--cols .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.pn--cols li p { font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); }

/* pn--figures: no boxes; a big grey number over each line */
.pn--figures .pn__list { display: grid; gap: var(--cr-space-10) var(--cr-space-8); }
.pn--figures li { display: grid; align-content: start; gap: var(--cr-space-3); }
.pn--figures .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-figure-lg); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-display); color: var(--cr-grey-2); }
.pn--figures li p { max-width: 16em; font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* pn--compact: heading, lines and button together in one tile, in body-size type */
.pn--compact .pn__in { padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.pn--compact .pn__list { display: grid; gap: var(--cr-space-4) var(--cr-space-10); }
.pn--compact li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: baseline; }
.pn--compact .pn__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.pn--compact .pn__cta { margin-top: var(--cr-space-8); }

@media (min-width: 560px) {
  .pn--figures .pn__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .pn--tiles .pn__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pn--tiles li { grid-column: span 3; min-height: 200px; padding: var(--cr-space-10); }
  .pn--rail li { min-height: 300px; padding: var(--cr-space-10); }
  .pn--cols .pn__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: var(--cr-space-12); }
  .pn--compact .pn__in { padding: var(--cr-space-12); }
  .pn--compact .pn__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; }
}
@media (min-width: 1000px) {
  .pn__cta { margin-top: var(--cr-space-12); }
  .pn--tiles .pn__list { gap: var(--cr-space-5); }
  .pn--tiles li { grid-column: span 2; min-height: 260px; }
  .pn--tiles li:nth-child(4n + 1), .pn--tiles li:nth-child(4n) { grid-column: span 4; }
  .pn--tiles li:nth-child(4n + 1) p, .pn--tiles li:nth-child(4n) p { max-width: 17em; font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
  .pn--figures .pn__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-16) var(--cr-space-12); }
  .pn--cols .pn__list { column-gap: var(--cr-space-16); }
  .pn--compact .pn__in { padding: var(--cr-space-14) var(--cr-space-16); }
}
@media (prefers-reduced-motion: no-preference) {
  .js :is(.pn--run, .pn--pin) li p { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js :is(.pn--run, .pn--pin) li.is-lit p { color: var(--cr-ink); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) and (min-height: 820px) {
  .js .pn--pin { height: 260vh; padding: 0; }
  .js .pn--pin .wrap { height: 100%; }
  .js .pn--pin .pn__in { position: -webkit-sticky; position: sticky; top: var(--cr-header-height); display: grid; align-content: center; height: calc(100vh - var(--cr-header-height)); }
}


/* ==========================================================================
   3. ON YOUR OWN vs WITH CLIPREADY  (the comparison)
   Inside: .cmp__head (the two column titles), .cmp__rows (one .cmp__row per job), .cmp__close.
   ========================================================================== */
.cmp__title { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }
.cmp__title.cmp__own { color: var(--cr-grey-2); }
.cmp__title .bar { display: none; }
.cmp__job { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.cmp__row > div { display: flex; flex-direction: column; min-width: 0; }
.cmp__row > div > p { margin-bottom: var(--cr-space-3); }
.cmp__row .cmp__own > p { color: var(--cr-grey); }
.cmp__row .tag { margin: calc(-1 * var(--cr-space-2)) 0 var(--cr-space-3); }
.cmp__row .bar { margin-top: auto; }
.cmp__close { margin-top: var(--cr-space-10); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); text-wrap: balance; }
.cmp__close span { color: var(--cr-grey-2); }
/* The closing line as a bar: a tile across the full width */
:is(.cmp--table, .cmp--cards, .cmp--rail, .cmp--dense, .cmp--duo) .cmp__close { padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); text-align: center; }
/* The column titles as a key: each title over a sample of its bar. For layouts whose rows stack. */
:is(.cmp--split, .cmp--cards, .cmp--type, .cmp--rail, .cmp--spine) .cmp__head { display: flex; flex-wrap: wrap; gap: var(--cr-space-4) var(--cr-space-10); margin-bottom: var(--cr-space-8); }
:is(.cmp--split, .cmp--cards, .cmp--type, .cmp--rail, .cmp--spine) .cmp__head .cmp__job { display: none; }
:is(.cmp--split, .cmp--cards, .cmp--type, .cmp--rail, .cmp--spine) .cmp__title { display: grid; gap: var(--cr-space-2); min-width: 9em; }
:is(.cmp--split, .cmp--cards, .cmp--type, .cmp--rail, .cmp--spine) .cmp__title .bar { display: block; }

/* cmp--table: a table. Three columns on a wide screen; on a phone the job sits above its two cells. */
.cmp--table .cmp__head, .cmp--table .cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--cr-space-5); }
.cmp--table .cmp__head { align-items: end; padding-bottom: var(--cr-space-4); }
.cmp--table .cmp__head .cmp__job { display: none; }
.cmp--table .cmp__row { padding: var(--cr-space-5) 0; border-top: var(--cr-border) solid var(--cr-line); }
.cmp--table .cmp__row:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
.cmp--table .cmp__row .cmp__job { grid-column: 1 / -1; margin-bottom: var(--cr-space-2); }

/* cmp--split: the two titles stay on the left as a key; each job stacks its two answers on the right */
.cmp--split .cmp__head { flex-direction: column; }
.cmp--split .cmp__title .bar { width: 180px; }
.cmp--split .cmp__row { display: grid; gap: var(--cr-space-5); padding: var(--cr-space-6) 0; border-top: var(--cr-border) solid var(--cr-line); }
.cmp--split .cmp__us > p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }
.cmp--split .cmp__close { font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); }

/* cmp--cards: a tile for each job */
.cmp--cards .cmp__rows { display: grid; gap: var(--cr-space-4); }
.cmp--cards .cmp__row { display: grid; gap: var(--cr-space-5); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }

/* cmp--type: big type. "On your own" stays grey; ClipReady's answer turns to ink as it is read. */
.cmp--type .cmp__row { display: grid; gap: var(--cr-space-5); padding: var(--cr-space-8) 0; border-top: var(--cr-border) solid var(--cr-line); }
.cmp--type .cmp__row > div > p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
.cmp--type .cmp__row .cmp__own > p { color: var(--cr-grey-2); }
.cmp--type .cmp__close { padding-top: var(--cr-space-10); border-top: var(--cr-border) solid var(--cr-line); font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); }

/* cmp--rail: a card for each job, in a row to swipe through */
.cmp--rail .cmp__head { margin-bottom: var(--cr-space-6); }
.cmp--rail .cmp__row { display: grid; grid-template-rows: auto auto 1fr; gap: var(--cr-space-5); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }

/* cmp--spine: the jobs run down a centre line. "On your own" to its left, ClipReady to its right,
   each bar growing away from the line. On a phone the line moves to the left edge. */
.cmp--spine .cmp__head { justify-content: center; text-align: center; }
.cmp--spine .cmp__rows { display: grid; gap: var(--cr-space-8); padding-left: var(--cr-space-6); border-left: var(--cr-border) solid var(--cr-line); }
.cmp--spine .cmp__row { display: grid; gap: var(--cr-space-4); }
.cmp--spine .cmp__row .cmp__job { justify-self: start; margin-left: calc(-1 * var(--cr-space-6) - var(--cr-space-3)); padding: var(--cr-space-1) var(--cr-space-3); border-radius: var(--cr-radius-pill); background: var(--cr-tile); color: var(--cr-ink); }
.cmp--spine .cmp__close { margin-top: var(--cr-space-16); text-align: center; font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); }

/* cmp--sticky: the two titles stay under the header while the rows scroll beneath them */
.cmp--sticky .cmp__head { position: -webkit-sticky; position: sticky; top: var(--cr-header-height); z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--cr-space-5); align-items: end; padding: var(--cr-space-3) 0; border-bottom: var(--cr-border) solid var(--cr-line); background: var(--cr-header-bg); -webkit-backdrop-filter: var(--cr-header-blur); backdrop-filter: var(--cr-header-blur); }
.cmp--sticky .cmp__head .cmp__job { display: none; }
.cmp--sticky .cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--cr-space-5); padding: var(--cr-space-6) 0; border-bottom: var(--cr-border) solid var(--cr-line); }
.cmp--sticky .cmp__row .cmp__job { grid-column: 1 / -1; margin-bottom: var(--cr-space-2); }
.cmp--sticky .cmp__close { margin-top: var(--cr-space-16); text-align: center; font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); }

/* cmp--column: a table whose ClipReady column stands on a tile */
.cmp--column .cmp__in { position: relative; isolation: isolate; padding: var(--cr-space-6) 0 var(--cr-space-2); }
.cmp--column .cmp__in::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 58%; border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.cmp--column .cmp__head, .cmp--column .cmp__row { display: grid; grid-template-columns: 42% 58%; }
.cmp--column .cmp__head { padding-bottom: var(--cr-space-4); }
.cmp--column .cmp__head .cmp__job { display: none; }
.cmp--column .cmp__row { position: relative; padding: var(--cr-space-5) 0; }
.cmp--column .cmp__row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); transform-origin: 0 50%; }
.cmp--column .cmp__row .cmp__job { grid-column: 1 / -1; margin-bottom: var(--cr-space-2); }
.cmp--column .cmp__own { padding-right: var(--cr-space-4); }
.cmp--column .cmp__us { padding-inline: var(--cr-space-4); }
.cmp--column .cmp__close { position: relative; padding-top: var(--cr-space-8); }
.cmp--column .cmp__close::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); }

/* cmp--duo: two tiles side by side, one for each column */
.cmp--duo .cmp__in { position: relative; isolation: isolate; padding: var(--cr-space-6) 0 var(--cr-space-3); }
.cmp--duo .cmp__in::before, .cmp--duo .cmp__in::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.cmp--duo .cmp__in::before { left: 0; width: calc(42% - var(--cr-space-1)); }
.cmp--duo .cmp__in::after { right: 0; width: calc(58% - var(--cr-space-1)); }
.cmp--duo .cmp__head, .cmp--duo .cmp__row { display: grid; grid-template-columns: 42% 58%; }
.cmp--duo .cmp__head { padding-bottom: var(--cr-space-3); }
.cmp--duo .cmp__head .cmp__job { display: none; }
.cmp--duo .cmp__row { grid-template-rows: auto 1fr; padding: var(--cr-space-4) 0; }
.cmp--duo .cmp__row .cmp__job { grid-column: 1; grid-row: 1; margin-bottom: var(--cr-space-1); padding-inline: var(--cr-space-4); }
.cmp--duo .cmp__row .cmp__own { grid-column: 1; grid-row: 2; }
.cmp--duo .cmp__row .cmp__us { grid-column: 2; grid-row: 1 / span 2; padding-top: calc(var(--cr-text-sm) * 1.55 + var(--cr-space-1)); }
.cmp--duo .cmp__own { padding-inline: var(--cr-space-4); }
.cmp--duo .cmp__us { padding-inline: var(--cr-space-5) var(--cr-space-4); }

/* cmp--dense: read as a chart: each cell leads with its bar, the words under it; no rules */
.cmp--dense .cmp__head, .cmp--dense .cmp__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--cr-space-5); }
.cmp--dense .cmp__head { padding-bottom: var(--cr-space-2); }
.cmp--dense .cmp__head .cmp__job { display: none; }
.cmp--dense .cmp__row { padding: var(--cr-space-4) 0; }
.cmp--dense .cmp__row .cmp__job { grid-column: 1 / -1; margin-bottom: var(--cr-space-2); }
.cmp--dense .cmp__row .bar { order: -1; margin: 0 0 var(--cr-space-3); }
.cmp--dense .cmp__row > div > p, .cmp--dense .cmp__row .tag { margin-bottom: 0; }
.cmp--dense .cmp__row .tag { margin-top: var(--cr-space-1); }
.cmp--dense .cmp__title { font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }
.cmp--dense .cmp__close { font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

@media (min-width: 760px) {
  .cmp__title { font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
  :is(.cmp--table, .cmp--cards, .cmp--rail, .cmp--dense, .cmp--duo) .cmp__close { padding: var(--cr-space-10); }
  :is(.cmp--cards, .cmp--type, .cmp--spine) .cmp__title { min-width: 0; }

  .cmp--table .cmp__head, .cmp--table .cmp__row { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--cr-space-10); }
  .cmp--table .cmp__head .cmp__job { display: block; }
  .cmp--table .cmp__row { padding: var(--cr-space-6) 0; }
  .cmp--table .cmp__row .cmp__job { grid-column: auto; margin: 0; padding-top: 3px; }

  .cmp--cards .cmp__head { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--cr-space-10); margin-bottom: var(--cr-space-5); padding-inline: var(--cr-space-10); }
  .cmp--cards .cmp__head .cmp__job { display: block; }
  .cmp--cards .cmp__title .bar { display: none; }
  .cmp--cards .cmp__row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--cr-space-10); padding: var(--cr-space-8) var(--cr-space-10); }
  .cmp--cards .cmp__row .cmp__job { padding-top: 3px; }

  .cmp--type .cmp__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--cr-space-12); }
  .cmp--type .cmp__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--cr-space-12); row-gap: var(--cr-space-3); }
  .cmp--type .cmp__row .cmp__job { grid-column: 1 / -1; }

  .cmp--rail .cmp__row { padding: var(--cr-space-10); }

  .cmp--spine .cmp__head { display: grid; grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); gap: var(--cr-space-8); margin-bottom: var(--cr-space-10); text-align: left; }
  .cmp--spine .cmp__head .cmp__job { display: block; grid-column: 2; grid-row: 1; }
  .cmp--spine .cmp__title.cmp__own { grid-column: 1; grid-row: 1; justify-items: end; text-align: right; }
  .cmp--spine .cmp__title.cmp__us { grid-column: 3; grid-row: 1; }
  .cmp--spine .cmp__title .bar { display: none; }
  .cmp--spine .cmp__rows { position: relative; gap: var(--cr-space-10); padding-left: 0; border-left: 0; }
  .cmp--spine .cmp__rows::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: var(--cr-border); background: var(--cr-line); }
  .cmp--spine .cmp__row { grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr); gap: var(--cr-space-8); align-items: start; }
  .cmp--spine .cmp__row .cmp__job { position: relative; grid-column: 2; grid-row: 1; justify-self: center; margin: 0; text-align: center; }
  .cmp--spine .cmp__row .cmp__own { grid-column: 1; grid-row: 1; text-align: right; }
  .cmp--spine .cmp__row .cmp__us { grid-column: 3; grid-row: 1; }
  .cmp--spine .cmp__row .cmp__own .bar i { margin-left: auto; }

  .cmp--sticky .cmp__head, .cmp--sticky .cmp__row { column-gap: var(--cr-space-12); }
  .cmp--sticky .cmp__row { padding: var(--cr-space-8) 0; }
  .cmp--sticky .cmp__row > div > p { font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); }

  .cmp--column .cmp__in { padding: var(--cr-space-8) 0 var(--cr-space-4); }
  .cmp--column .cmp__in::before { width: 46%; }
  .cmp--column .cmp__head, .cmp--column .cmp__row { grid-template-columns: 18% 36% 46%; }
  .cmp--column .cmp__head .cmp__job { display: block; }
  .cmp--column .cmp__row { padding: var(--cr-space-6) 0; }
  .cmp--column .cmp__row .cmp__job { grid-column: auto; margin: 0; padding-top: 3px; }
  .cmp--column .cmp__own { padding-right: var(--cr-space-10); }
  .cmp--column .cmp__us { padding-inline: var(--cr-space-10); }

  .cmp--duo .cmp__in { padding: var(--cr-space-10) 0 var(--cr-space-6); }
  .cmp--duo .cmp__in::before, .cmp--duo .cmp__in::after { width: calc(50% - var(--cr-space-2)); }
  .cmp--duo .cmp__head, .cmp--duo .cmp__row { grid-template-columns: 50% 50%; }
  .cmp--duo .cmp__row { padding: var(--cr-space-5) 0; }
  .cmp--duo .cmp__row .cmp__job, .cmp--duo .cmp__own { padding-inline: var(--cr-space-10); }
  .cmp--duo .cmp__us { padding-inline: calc(var(--cr-space-10) + var(--cr-space-2)) var(--cr-space-10); }

  .cmp--dense .cmp__head, .cmp--dense .cmp__row { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); column-gap: var(--cr-space-8); }
  .cmp--dense .cmp__head .cmp__job { display: block; }
  .cmp--dense .cmp__row .cmp__job { grid-column: auto; margin: 0; }
}
@media (min-width: 1000px) {
  .cmp__close { margin-top: var(--cr-space-16); }
  :is(.cmp--table, .cmp--cards, .cmp--rail, .cmp--dense, .cmp--duo) .cmp__close { margin-top: var(--cr-space-5); }
  .cmp--table .cmp__close, .cmp--dense .cmp__close { margin-top: var(--cr-space-12); }
  .cmp--split .cmp__head { margin-bottom: 0; }
  .cmp--split .cmp__row:first-child { padding-top: 0; border-top: 0; }
  .cmp--cards .cmp__rows { gap: var(--cr-space-5); }
  .cmp--type .cmp__close { margin-top: 0; padding-top: var(--cr-space-16); font-size: var(--cr-text-display); line-height: var(--cr-leading-display); letter-spacing: var(--cr-tracking-display); }
}
@media (prefers-reduced-motion: no-preference) {
  /* The bars fill when their row scrolls into view */
  .js .cmp__row .bar i { transform: translateX(-101%); transition: transform var(--lv-fill) var(--lv-ease); }
  .js .cmp__row .bar--us i { transition-delay: .15s; }
  .js .cmp__row.is-in .bar i { transform: none; }
  .js .cmp--spine .cmp__row:not(.is-in) .cmp__own .bar i { transform: translateX(101%); }
  .js .cmp--type .cmp__row .cmp__us > p { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js .cmp--type .cmp__row.is-lit .cmp__us > p { color: var(--cr-ink); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
  .js .cmp--spine .cmp__row:not(.is-in) .cmp__own .bar i { transform: translateX(-101%); }
}


/* ==========================================================================
   4. HOW IT WORKS  (three steps)
   ========================================================================== */
/* st--tiles: three tiles in a row */
.st--tiles .st__list { display: grid; gap: var(--cr-space-4); }
.st--tiles li { display: grid; align-content: start; gap: var(--cr-space-6); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.st--tiles .st__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-heading); color: var(--cr-grey-2); }
.st--tiles li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* st--split: the heading stays on the left; a big number beside each step on the right */
.st--split li { display: grid; grid-template-columns: 1.4em minmax(0, 1fr); align-items: baseline; padding: var(--cr-space-6) 0; border-top: var(--cr-border) solid var(--cr-line); font-size: var(--cr-text-figure-lg); }
.st--split li:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
.st--split .st__n { font-weight: var(--cr-weight-semibold); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-display); color: var(--cr-grey-2); }
.st--split li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* st--cells: one tile, three cells with a rule between */
.st--cells .st__list { padding: var(--cr-space-2) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.st--cells li { display: grid; gap: var(--cr-space-3); padding: var(--cr-space-6) 0; }
.st--cells li + li { border-top: var(--cr-border) solid var(--cr-line); }
.st--cells .st__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.st--cells li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* st--big: three very large sentences, turning from grey to ink as they are read */
.st--big li { display: grid; grid-template-columns: 1.5em minmax(0, 1fr); align-items: baseline; padding: var(--cr-space-8) 0; border-top: var(--cr-border) solid var(--cr-line); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-statement); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
.st--big .st__n { color: var(--cr-grey-2); }

/* st--line: three numbered dots joined by a line */
.st--line .st__list { position: relative; display: grid; gap: var(--cr-space-8); }
.st--line .st__list::before { content: ""; position: absolute; left: 21px; top: var(--cr-space-2); bottom: var(--cr-space-2); width: var(--cr-border); background: var(--cr-line); transform-origin: 50% 0; }
.st--line li { position: relative; display: grid; grid-template-columns: var(--cr-button-height-sm) minmax(0, 1fr); gap: var(--cr-space-5); align-items: start; }
.st--line .st__n, .st--timeline .st__n { display: grid; place-items: center; width: var(--cr-button-height-sm); height: var(--cr-button-height-sm); border-radius: 50%; background: var(--cr-ink); color: var(--cr-white); font-weight: var(--cr-weight-semibold); }
.st--line li p { padding-top: var(--cr-space-2); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* st--timeline: a centre line that fills as the page scrolls; the steps sit on alternate sides */
.st--timeline .head { margin-inline: auto; text-align: center; }
.st--timeline .st__list { position: relative; display: grid; gap: var(--cr-space-12); }
.st--timeline .st__list::before, .st--timeline .st__list::after { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--cr-line); }
.st--timeline .st__list::after { background: var(--cr-ink); transform-origin: 50% 0; }
.st--timeline li { position: relative; z-index: 1; display: grid; grid-template-columns: var(--cr-button-height-sm) minmax(0, 1fr); gap: var(--cr-space-5); align-items: start; }
.st--timeline li:last-child { background: var(--cr-white); }   /* so the line ends at the last dot */
.st--timeline li p { padding-top: var(--cr-space-1); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }

/* st--auto: three steps side by side; each takes its turn, with a line that fills above it */
.st--auto .st__list { display: grid; gap: var(--cr-space-8); }
.st--auto li { position: relative; display: grid; align-content: start; gap: var(--cr-space-3); padding-top: var(--cr-space-5); }
.st--auto li::before, .st--auto li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--cr-line); }
.st--auto li::after { background: var(--cr-ink); transform-origin: 0 50%; }
.st--auto .st__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); color: var(--cr-grey); }
.st--auto li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }

/* st--cols: three ruled columns, a very large number over each */
.st--cols li { position: relative; display: grid; align-content: start; gap: var(--cr-space-3); padding: var(--cr-space-6) 0; }
.st--cols li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); transform-origin: 0 50%; }
.st--cols .st__n { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-figure-lg); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-display); color: var(--cr-grey-2); }
.st--cols li p { font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); }

/* st--stairs: three tiles, each a step lower than the last, with the number in the gradient */
.st--stairs .st__list { display: grid; gap: var(--cr-space-4); }
.st--stairs li { display: grid; align-content: space-between; gap: var(--cr-space-8); padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.st--stairs li:nth-child(2) { margin-left: var(--cr-space-6); }
.st--stairs li:nth-child(3) { margin-left: var(--cr-space-12); }
.st--stairs .st__n { justify-self: start; background: var(--cr-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-figure); line-height: var(--cr-leading-none); letter-spacing: var(--cr-tracking-display); }
.st--stairs li p { font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-lg); line-height: var(--cr-leading-snug); letter-spacing: var(--cr-tracking-tight); }

/* st--row: small numbered dots and body-size text; the shortest of the ten */
.st--row .st__list { display: grid; gap: var(--cr-space-5); }
.st--row li { display: grid; grid-template-columns: var(--cr-space-8) minmax(0, 1fr); gap: var(--cr-space-3); align-items: start; }
.st--row .st__n { display: grid; place-items: center; width: var(--cr-space-8); height: var(--cr-space-8); border-radius: 50%; background: var(--cr-tile); font-weight: var(--cr-weight-semibold); font-size: var(--cr-text-sm); }
.st--row li p { padding-top: 3px; }

@media (min-width: 760px) {
  .st--tiles li, .st--stairs li { padding: var(--cr-space-10); }
  .st--timeline .st__list { gap: var(--cr-space-16); }
  .st--timeline .st__list::before, .st--timeline .st__list::after { left: calc(50% - 1px); }
  .st--timeline li { grid-template-columns: minmax(0, 1fr) var(--cr-button-height-sm) minmax(0, 1fr); gap: var(--cr-space-10); }
  .st--timeline .st__n { grid-column: 2; grid-row: 1; }
  .st--timeline li p { grid-column: 3; grid-row: 1; }
  .st--timeline li:nth-child(even) p { grid-column: 1; text-align: right; }
}
@media (min-width: 1000px) {
  .st--tiles .st__list, .st--stairs .st__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-5); }
  .st--tiles li { align-content: space-between; gap: var(--cr-space-12); min-height: 300px; }
  .st--split li:first-child { border-top: 0; padding-top: 0; }
  .st--cells .st__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--cr-space-12) 0; }
  .st--cells li { align-content: start; padding: 0 var(--cr-space-10); }
  .st--cells li + li { border-top: 0; border-left: var(--cr-border) solid var(--cr-line); }
  .st--big li { padding: var(--cr-space-10) 0; }
  .st--line .st__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-10); }
  .st--line .st__list::before { left: 0; right: 0; top: 21px; bottom: auto; width: auto; height: var(--cr-border); transform-origin: 0 50%; }
  .st--line li { grid-template-columns: none; gap: var(--cr-space-6); }
  .st--line li p { padding: 0 var(--cr-space-6) 0 0; }
  .st--auto .st__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-10); }
  .st--cols .st__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-12); }
  .st--cols li { padding: var(--cr-space-8) 0 0; gap: var(--cr-space-5); }
  .st--stairs .st__list { align-items: start; }
  .st--stairs li { min-height: 280px; margin-left: 0; }
  .st--stairs li:nth-child(2) { margin: var(--cr-space-14) 0 0; }
  .st--stairs li:nth-child(3) { margin: var(--cr-space-28) 0 0; }
  .st--row .st__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cr-space-10); }
}
@media (prefers-reduced-motion: no-preference) {
  .js .st--big li p { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js .st--big li.is-lit p { color: var(--cr-ink); }
  /* st--timeline: landing.js sets --p from 0 to 1 as the list is scrolled through */
  .js .st--timeline .st__list::after { transform: scaleY(var(--p, 0)); }
  .js .st--timeline .st__n { box-shadow: inset 0 0 0 2px var(--cr-line); background: var(--cr-white); color: var(--cr-grey); transition: background-color var(--lv-lit) var(--cr-ease), color var(--lv-lit) var(--cr-ease), box-shadow var(--lv-lit) var(--cr-ease); }
  .js .st--timeline li.is-lit .st__n { box-shadow: inset 0 0 0 2px var(--cr-ink); background: var(--cr-ink); color: var(--cr-white); }
  .js .st--timeline li p { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js .st--timeline li.is-lit p { color: var(--cr-ink); }
  /* st--auto: landing.js moves is-on from step to step */
  .js .st--auto.is-turning li p { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js .st--auto.is-turning li.is-on p { color: var(--cr-ink); }
  .js .st--auto.is-turning li::after { transform: scaleX(0); }
  .js .st--auto.is-turning li.is-done::after { transform: none; }
  .js .st--auto.is-turning li.is-on::after { transform: none; animation: turn var(--lv-turn) linear both; }
  /* st--line: the line draws itself */
  .js .st--line .st__list::before { transform: scale(0); transition: transform 1.2s var(--lv-ease); }
  .js .st--line .st__list.is-in::before { transform: none; }
}


/* ==========================================================================
   5. ANALYTICS
   Inside: .an__text (label, heading, line) and .an__pic (the dashboard placeholder).
   ========================================================================== */
.an__pic { margin-top: var(--cr-space-10); }
.an__text h2 { max-width: 900px; }

/* an--below: the copy, then the dashboard across the full width under it */

/* an--split: copy on the left, dashboard on the right */

/* an--tile: one large tile; the dashboard rises from its bottom edge */
.an--tile .an__in { padding: var(--cr-space-8) var(--cr-space-6) 0; overflow: hidden; border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.an--tile .dash { border-radius: var(--cr-radius-md) var(--cr-radius-md) 0 0; background: var(--cr-white); }

/* an--wide: heading on the left and its line on the right, over a full-width dashboard */

/* an--bleed: the dashboard runs off the right edge of the screen */
.an--bleed .an__pic { margin-right: calc(-1 * var(--edge)); }
.an--bleed .dash { border-radius: var(--cr-radius-lg) 0 0 var(--cr-radius-lg); }

/* an--mid: centred, with the dashboard between the heading and its line */
.an--mid .an__in { display: grid; justify-items: center; text-align: center; }
.an--mid .an__text { display: contents; }
.an--mid .kick { justify-content: center; }
.an--mid .an__pic { order: 2; width: 100%; max-width: var(--cr-container-narrow); margin-bottom: var(--cr-space-8); }
.an--mid .head__sub { order: 3; margin-top: 0; }

/* an--tilt: centred; the dashboard starts tipped back and stands up as it scrolls into view */
.an--tilt .an__text { text-align: center; }
.an--tilt .an__text h2, .an--tilt .head__sub { margin-inline: auto; }
.an--tilt .kick { justify-content: center; }
.an--tilt .an__pic { max-width: 960px; margin-inline: auto; perspective: 1400px; }

/* an--flip: dashboard on the left, copy on the right */

/* an--phone: the dashboard on a phone */
.an--phone .an__pic { --phone-bezel: 8px; --phone-corner: 44px; --phone-notch: 20px; --phone-notch-top: 18px; width: 250px; margin-inline: auto; }
.an--phone .dash { aspect-ratio: 9 / 16; border-radius: calc(var(--phone-corner) - var(--phone-bezel)); }
.an--phone .dash__sk { inset: 16% 10% 8%; }
.an--phone .dash__r { grid-template-columns: 14% 40% minmax(0, 1fr); gap: 6%; }
.an--phone .dash__r i:nth-child(4) { display: none; }

/* an--band: a grey band; copy on the left, a smaller dashboard on the right */
.an--band { background: var(--cr-tile); }
.an--band .dash { background: var(--cr-white); }

@media (min-width: 760px) {
  .an--tile .an__in { padding: var(--cr-space-12) var(--cr-space-10) 0; }
}
@media (min-width: 1000px) {
  .an__pic { margin-top: var(--cr-space-16); }
  :is(.an--split, .an--bleed, .an--band, .an--flip) .an__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cr-space-16); align-items: center; }
  .an--phone .an__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--cr-space-16); align-items: center; }
  :is(.an--split, .an--bleed, .an--band, .an--flip, .an--phone) .an__pic { margin-top: 0; }
  .an--flip .an__pic { order: -1; }
  .an--tile .an__in { padding: var(--cr-space-16) var(--cr-space-16) 0; }
  .an--tile .an__pic { margin-top: var(--cr-space-12); }
  .an--wide .an__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--cr-space-16); align-items: end; }
  .an--wide .kick { grid-column: 1 / -1; }
  .an--wide .head__sub { margin: 0; padding-bottom: var(--cr-space-2); }
  .an--mid .an__pic { margin-block: var(--cr-space-12); }
  .an--phone .an__pic { --phone-bezel: 10px; --phone-corner: 56px; --phone-notch: 26px; --phone-notch-top: 22px; width: 312px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* an--tilt: landing.js sets --p from 0 to 1 as the dashboard comes up the screen */
  .js .an--tilt .dash { transform: rotateX(calc((1 - var(--p, 1)) * 32deg)) scale(calc(.84 + var(--p, 1) * .16)); transform-origin: 50% 100%; will-change: transform; }
}


/* ==========================================================================
   6. STYLES
   Inside: a .head (label, heading, line) and .sy__list (a reel and its name, four times).
   ========================================================================== */
.sy__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cr-space-8) var(--cr-space-4); }
.sy__list h3 { margin-top: var(--cr-space-3); }

/* sy--grid: four across (two by two on a phone) */

/* sy--side: the heading stays on the left; the reels sit two by two on the right */

/* sy--tiles: a tile for each style */
.sy--tiles .sy__list { gap: var(--cr-space-4); }
.sy--tiles li { padding: var(--cr-space-4) var(--cr-space-4) var(--cr-space-5); border-radius: var(--cr-radius-lg); background: var(--cr-tile); text-align: center; }

/* sy--list: four ruled rows: a small reel, then its name in large type */
.sy--list .sy__list { grid-template-columns: none; gap: 0; }
.sy--list li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--cr-space-6); align-items: center; padding: var(--cr-space-5) 0; border-top: var(--cr-border) solid var(--cr-line); }
.sy--list li:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
.sy--list h3 { margin: 0; font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }

/* sy--rail: a row to swipe through */
.sy--rail .sy__list > li { flex-basis: min(58vw, 260px); }
@media (min-width: 760px) { .sy--rail .sy__list > li { flex-basis: 300px; } }

/* sy--wave: four across, every other one set lower, all drifting gently */
.sy--wave .head { margin-inline: auto; text-align: center; }
.sy--wave .head__sub { margin-inline: auto; }
.sy--wave .kick { justify-content: center; }
.sy--wave li { text-align: center; }
.sy--wave li:nth-child(even) { margin-top: var(--cr-space-10); }

/* sy--pick: the names as a list; the reel beside them changes to the one picked.
   Without landing.js it stays a plain grid. */
.sy--pick { --pick: 200px; }   /* the width of the picked reel */
.js .sy--pick .sy__list { position: relative; display: block; padding-top: calc(var(--pick) * 16 / 9 + var(--cr-space-8)); }
.js .sy--pick li { border-top: var(--cr-border) solid var(--cr-line); }
.js .sy--pick li:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
.js .sy--pick .sy__frame { position: absolute; left: 50%; top: 0; width: var(--pick); margin-left: calc(var(--pick) / -2); opacity: 0; transition: opacity var(--lv-lit) var(--cr-ease); }
.js .sy--pick li.is-on .sy__frame { opacity: 1; }
.js .sy--pick h3 { margin: 0; }
.sy__pick { display: block; width: 100%; min-height: var(--cr-space-16); margin: 0; padding: var(--cr-space-3) 0; border: 0; background: none; color: var(--cr-grey-2); font: inherit; font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; transition: color var(--lv-lit) var(--cr-ease); }
.sy--pick li.is-on .sy__pick { color: var(--cr-ink); }

/* sy--strip: all four inside one wide tile */
.sy--strip .sy__list { gap: var(--cr-space-6) var(--cr-space-4); padding: var(--cr-space-6) var(--cr-space-5); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }

/* sy--phones: each style on a phone */
.sy--phones .sy__frame { --phone-bezel: 6px; --phone-corner: 30px; --phone-notch: 12px; --phone-notch-top: 12px; }
.sy--phones .sy__frame .reel { border-radius: calc(var(--phone-corner) - var(--phone-bezel)); }
.sy--phones li { text-align: center; }
.sy--phones h3 { margin-top: var(--cr-space-4); }

/* sy--row: small reels. On a phone two by two, each with its name beside it; four across from 760px. */
.sy--row .sy__list { gap: var(--cr-space-4) var(--cr-space-2); }
.sy--row li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--cr-space-3); align-items: center; }
.sy--row h3 { margin: 0; font-size: var(--cr-text-sm); overflow-wrap: break-word; }

@media (min-width: 760px) {
  .sy__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cr-space-5); }
  .sy--side .sy__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cr-space-8) var(--cr-space-5); }
  .sy--tiles li { padding: var(--cr-space-5) var(--cr-space-5) var(--cr-space-6); }
  .sy--list li { grid-template-columns: 110px minmax(0, 1fr); gap: var(--cr-space-10); padding: var(--cr-space-6) 0; }
  .sy--wave li:nth-child(even) { margin-top: var(--cr-space-16); }
  .sy--strip .sy__list { padding: var(--cr-space-10); }
  .sy--phones .sy__frame { --phone-bezel: 8px; --phone-corner: 40px; --phone-notch: 16px; --phone-notch-top: 16px; }
  .sy--row .sy__list { gap: var(--cr-space-4); }
  .sy--row li { display: block; }
  .sy--row h3 { margin-top: var(--cr-space-2); font-size: var(--cr-text-base); }
}
@media (min-width: 1000px) {
  .sy--list h3 { font-size: var(--cr-text-h2); line-height: var(--cr-leading-heading); }
  .sy--pick { --pick: 300px; }
  .js .sy--pick .sy__in { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: calc(var(--pick) * 16 / 9); padding-right: calc(var(--pick) + var(--cr-space-22)); }
  .js .sy--pick .sy__list { position: static; padding: 0; }
  .js .sy--pick .sy__frame { left: auto; right: 0; margin: 0; }
  .sy--row .sy__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--cr-space-16); align-items: center; }
  .sy--row .head { margin-bottom: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .sy--wave .sy__frame { animation: lift var(--cr-duration-float) ease-in-out infinite alternate; }
  .sy--wave li:nth-child(even) .sy__frame { animation-delay: -3s; }
}


/* ==========================================================================
   7. FAQ
   Inside: a .head and .faq (four <details>). The rows, arrow and type are from ../styles.css.
   Layouts that show every answer at once are opened, and kept open, by landing.js.
   ========================================================================== */
/* fq--accordion: one narrow column; a question opens its answer */
.fq--accordion .wrap, .fq--centre .wrap { max-width: var(--cr-container-narrow); }

/* fq--split: the heading stays on the left; the questions open on the right */

/* fq--one: not a layout. Added beside a layout whose questions open and close (fq--accordion, fq--split,
   fq--centre, fq--tile, fq--compact), it lets only one answer be open at a time: opening one closes the
   others. landing.js does it; in the HTML each <details> also carries name="faq", which newer browsers
   treat the same way without any script. */

/* Every answer showing: the question is a heading, not a control */
:is(.fq--tiles, .fq--open, .fq--rail, .fq--two) summary { min-height: 0; padding: 0; cursor: default; pointer-events: none; }
:is(.fq--tiles, .fq--open, .fq--rail, .fq--two) summary::after { display: none; }
:is(.fq--tiles, .fq--open, .fq--rail, .fq--two) details p { padding: var(--cr-space-3) 0 0; }

/* fq--tiles: a tile for each question, two by two */
.fq--tiles .faq, .fq--rail .faq { border: 0; }
.fq--tiles .faq { display: grid; gap: var(--cr-space-4); }
:is(.fq--tiles, .fq--rail) details { padding: var(--cr-space-8) var(--cr-space-6); border: 0; border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
:is(.fq--tiles, .fq--rail) details p { color: var(--cr-grey); }

/* fq--open: every answer showing, the questions in large type */
.fq--open details { padding: var(--cr-space-8) 0; }
.fq--open summary { font-size: var(--cr-text-title); line-height: var(--cr-leading-title); letter-spacing: var(--cr-tracking-heading); }
.fq--open details p { max-width: 34em; padding-top: var(--cr-space-4); font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); }

/* fq--rail: a card for each question, in a row to swipe through */

/* fq--centre: one centred column; a question opens its answer */
.fq--centre .head { margin-inline: auto; text-align: center; }
.fq--centre summary { position: relative; justify-content: center; padding-inline: var(--cr-space-10); text-align: center; }
.fq--centre summary::after { position: absolute; right: var(--cr-space-2); top: 50%; margin: -6px 0 0; }
.fq--centre details p { margin-inline: auto; padding-right: 0; text-align: center; }

/* fq--master: on a wide screen the questions are a list and the picked answer shows beside them */

/* fq--two: every answer showing; question in the left column, answer in the right */
.fq--two details { position: relative; padding: var(--cr-space-6) 0; border: 0; }
.fq--two .faq { border: 0; }
.fq--two details::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--cr-border); background: var(--cr-line); transform-origin: 0 50%; }
.fq--two details p { font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); }

/* fq--tile: the questions inside one large tile */
.fq--tile .wrap { max-width: var(--cr-container-narrow); }
.fq--tile .fq__in { padding: var(--cr-space-8) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }

/* fq--compact: two columns of questions on a wide screen */

@media (min-width: 760px) {
  .fq--tiles .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cr-space-5); }
  :is(.fq--tiles, .fq--rail) details { padding: var(--cr-space-10); }
  .fq--rail .faq > details { flex-basis: 400px; }
  .fq--two details { padding: var(--cr-space-8) 0; }
  .fq--two details::after { content: ""; display: block; clear: both; }
  .fq--two summary { float: left; width: 38%; }
  .fq--two details p { max-width: none; margin-left: 44%; padding: 0; }
  .fq--tile .fq__in { padding: var(--cr-space-12) var(--cr-space-14); }
  .fq--compact .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--cr-space-12); align-items: start; border-bottom: 0; }
  .fq--compact details { border-bottom: var(--cr-border) solid var(--cr-line); }
  .fq--compact details:nth-child(n + 3) { border-top: 0; }
}
@media (max-width: 759px) {
  .fq--compact details:last-child { border-bottom: 0; }
}
@media (min-width: 1000px) {
  .js .fq--master .faq { position: relative; min-height: 300px; border-bottom: 0; }
  .js .fq--master details { width: 42%; }
  .js .fq--master details:last-child { border-bottom: var(--cr-border) solid var(--cr-line); }
  .js .fq--master summary { color: var(--cr-grey-2); transition: color var(--lv-lit) var(--cr-ease); }
  .js .fq--master details[open] summary { color: var(--cr-ink); }
  .js .fq--master summary::after, .js .fq--master details[open] summary::after { transform: rotate(-45deg); }
  .js .fq--master details p { position: absolute; left: 50%; top: 0; width: 50%; max-width: none; padding: var(--cr-space-4) 0 0; font-size: var(--cr-text-lg); line-height: var(--cr-leading-lede); color: var(--cr-ink); }
}


/* ==========================================================================
   8. CLOSING  (not written yet: only the button)
   The biggest gap on the page sits above it.
   ========================================================================== */
.end { padding: var(--cr-space-28) 0 var(--cr-space-24); text-align: center; }
.end--left { text-align: left; }
.end--tile { padding-top: var(--cr-space-22); }
.end--tile .end__in { padding: var(--cr-space-22) var(--cr-space-6); border-radius: var(--cr-radius-lg); background: var(--cr-tile); }
.lv--tight .end { padding: var(--cr-space-22) 0 var(--cr-space-16); }
.foot a { text-underline-offset: 3px; }
@media (hover: hover) { .foot a:hover { color: var(--cr-accent-ink); } }
@media (min-width: 1000px) {
  .end { padding: var(--cr-space-50) 0 var(--cr-space-38); }
  .end--tile { padding-top: var(--cr-space-38); }
  .end--tile .end__in { padding: var(--cr-space-38) var(--cr-space-10); }
  .lv--tight .end { padding: var(--cr-space-38) 0 var(--cr-space-24); }
}


/* ==========================================================================
   MOTION ON SCROLL
   landing.js adds is-in to each piece the first time it scrolls into view. What that looks
   like is decided here, by layout, so the motion travels with the layout's class.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Rise: start a little low and faded, then settle */
  .js :is(.pn--lines, .pn--centre, .pn--figures) :is(.head, .pn__list > li, .pn__cta),
  .js :is(.cmp--table, .cmp--spine, .cmp--duo) :is(.cmp__head, .cmp__row, .cmp__close),
  .js :is(.st--tiles, .st--stairs, .st--line) :is(.head, .st__list > li),
  .js :is(.an--below, .an--mid, .an--phone) :is(.an__text > *, .an__pic),
  .js :is(.sy--grid, .sy--wave, .sy--phones) :is(.head, .sy__list > li),
  .js :is(.fq--accordion, .fq--centre, .fq--tile) :is(.head, .faq) {
    transition: opacity var(--lv-rise) var(--lv-ease), transform var(--lv-rise) var(--lv-ease);
  }
  .js :is(.pn--lines, .pn--centre, .pn--figures) :is(.head, .pn__list > li, .pn__cta):not(.is-in),
  .js :is(.cmp--table, .cmp--spine, .cmp--duo) :is(.cmp__head, .cmp__row, .cmp__close):not(.is-in),
  .js :is(.st--tiles, .st--stairs, .st--line) :is(.head, .st__list > li):not(.is-in),
  .js :is(.an--below, .an--mid, .an--phone) :is(.an__text > *, .an__pic):not(.is-in),
  .js :is(.sy--grid, .sy--wave, .sy--phones) :is(.head, .sy__list > li):not(.is-in),
  .js :is(.fq--accordion, .fq--centre, .fq--tile) :is(.head, .faq):not(.is-in) {
    opacity: 0; transform: translateY(var(--lv-shift));
  }

  /* Pop: tiles start slightly small and faded */
  .js .pn--tiles .pn__list > li,
  .js .cmp--cards :is(.cmp__row, .cmp__close),
  .js .st--cells .st__list,
  .js .an--tile .an__in,
  .js .sy--tiles .sy__list > li,
  .js .fq--tiles .faq > details {
    transition: opacity var(--lv-rise) var(--lv-ease), transform var(--lv-rise) var(--lv-ease);
  }
  .js .pn--tiles .pn__list > li:not(.is-in),
  .js .cmp--cards :is(.cmp__row, .cmp__close):not(.is-in),
  .js .st--cells .st__list:not(.is-in),
  .js .an--tile .an__in:not(.is-in),
  .js .sy--tiles .sy__list > li:not(.is-in),
  .js .fq--tiles .faq > details:not(.is-in) {
    opacity: 0; transform: scale(.96);
  }

  /* Fade: the words of a row appear in place, for layouts that draw a rule or hold a heading still */
  .js :is(.cmp--sticky, .cmp--column) .cmp__row > *,
  .js :is(.pn--cols, .st--cols) li > *,
  .js .fq--two details > * {
    transition: opacity var(--lv-rise) var(--cr-ease);
  }
  .js .cmp--sticky .cmp__row > .cmp__us { transition-delay: .2s; }
  .js :is(.cmp--sticky, .cmp--column) .cmp__row:not(.is-in) > *,
  .js :is(.pn--cols, .st--cols) li:not(.is-in) > *,
  .js .fq--two details:not(.is-in) > * {
    opacity: 0;
  }

  /* Draw: a rule grows from the left */
  .js :is(.pn--cols, .st--cols) li::before,
  .js .cmp--column .cmp__row::before,
  .js .fq--two details::before {
    transition: transform 1s var(--lv-ease);
  }
  .js :is(.pn--cols, .st--cols) li:not(.is-in)::before,
  .js .cmp--column .cmp__row:not(.is-in)::before,
  .js .fq--two details:not(.is-in)::before {
    transform: scaleX(0);
  }

  /* Neighbours in a row arrive one after another */
  .js :is(.st--tiles, .st--stairs, .st--line, .st--cols, .sy--grid, .sy--wave, .sy--phones, .sy--tiles, .pn--tiles, .pn--figures, .fq--tiles) :is(.st__list, .sy__list, .pn__list, .faq) > :nth-child(2) { transition-delay: var(--lv-gap); }
  .js :is(.st--tiles, .st--stairs, .st--line, .st--cols, .sy--grid, .sy--wave, .sy--phones, .sy--tiles, .pn--tiles, .pn--figures, .fq--tiles) :is(.st__list, .sy__list, .pn__list, .faq) > :nth-child(3) { transition-delay: calc(var(--lv-gap) * 2); }
  .js :is(.sy--grid, .sy--wave, .sy--phones, .sy--tiles, .fq--tiles) :is(.sy__list, .faq) > :nth-child(4) { transition-delay: calc(var(--lv-gap) * 3); }
}
