/* ═══════════════════════════════════════════════════════════════════════════
   Caijo v4 — subpage components. Loaded after caijo-v4.css by every page
   except the homepage.

   Part 1 is the v3 component stylesheet with the old chrome removed (reset,
   paper background, blobs, buttons, nav, footer, sticky bar): the subpages keep
   their v3 markup and content exactly, so they keep the rules that lay it out.
   Part 2, at the end, re-dresses those components in the v4 language.
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
  --bg:var(--paper);
  --card:rgba(255,255,255,.62);
  --card-solid:#fbf9f3;
  --ink-2:#3b3833;
  --radius:26px;
  --radius-sm:16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Caijo by PrivacyDesigner — v2 site (warm paper + pastel blobs + display type)
   Design language carried over from the brand-refresh concept:
     · cream paper background, soft radial light
     · pastel decorative blobs (yellow / lilac / peach / sage / sky / rose)
     · very heavy, very tight display sans + high-contrast serif italic accents
     · translucent white cards with hairline borders and 22px radii
   Fonts are self-hosted (Inter woff2). No Google Fonts, no external requests,
   no tracking, no cookies.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Paper + decorative blobs ─────────────────────────────────────────────── */

/* ── Typography ───────────────────────────────────────────────────────────── */
h1,h2,h3,h4{margin:0;font-weight:700;letter-spacing:-.05em;line-height:.94}
em{font-style:italic}
.serif,h1 em,h2 em,h3 em,.section-title em{
  font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.015em;
}
h1 em,h2 em,.section-title em{color:var(--muted)}
p{margin:0}

.display{-webkit-text-stroke:.012em currentColor}

.section-label{
  display:inline-flex;align-items:center;gap:9px;
  font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin-bottom:20px;
}
.section-label .dot{width:9px;height:9px;border-radius:50%;background:var(--ink);display:inline-block}
.section-label.c-yellow .dot{background:#d8c95f}
.section-label.c-lilac .dot{background:#b0a8d9}
.section-label.c-sage .dot{background:#8fb598}
.section-label.c-rose .dot{background:#e2a1ad}
.section-label.c-sky .dot{background:#93b3ce}
.section-label.c-peach .dot{background:#e0a888}

.section-title{
  font-size:clamp(2rem,4.6vw,3.9rem);line-height:.94;letter-spacing:-.05em;
  max-width:19ch;
}
.center .section-title{margin-left:auto;margin-right:auto}
.section-sub{margin-top:20px;font-size:1.02rem;line-height:1.75;color:var(--muted);max-width:62ch}
.center .section-sub{margin-left:auto;margin-right:auto}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.section{position:relative;padding:104px 24px;overflow:hidden}
.section.alt::before{
  content:'';position:absolute;inset:24px 16px;border-radius:40px;
  background:rgba(255,255,255,.34);border:1px solid var(--line);pointer-events:none;
}
.inner{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.inner-narrow{position:relative;z-index:1;max-width:780px;margin:0 auto}
.center{text-align:center}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

/* Conversion button. The brand yellow at full saturation carries ink text at
   about 9:1, so it reads as an accent without dropping below AA like a
   white-on-pastel button would. */

/* ── Nav ──────────────────────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero{position:relative;padding:172px 24px 96px;text-align:center;overflow:hidden}

.hero-tag{
  display:inline-block;padding:8px 16px;border-radius:999px;
  background:var(--yellow);border:1px solid rgba(28,27,25,.1);
  font-size:.7rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;
  margin-bottom:30px;
}
.hero h1{
  font-size:clamp(2.5rem,6.6vw,5.4rem);line-height:.9;letter-spacing:-.055em;
  max-width:16ch;margin:0 auto 26px;
}
.hero-sub{font-size:1.08rem;line-height:1.75;color:var(--muted);max-width:640px;margin:0 auto}
.hero-actions{margin-top:36px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-sub b,.section-sub b{font-weight:700;color:var(--ink)}

/* The four proof points were one long "·"-separated line, which read as a wall
   of small text under the buttons. As discrete pills they scan in one pass and
   pick up the section-label accent colours. */
.hero-points{
  list-style:none;margin:40px auto 0;padding:0;max-width:980px;
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px;
}
.hero-points li{
  display:inline-flex;align-items:center;gap:9px;
  padding:9px 17px;border-radius:999px;
  background:rgba(255,255,255,.62);border:1px solid var(--line);
  font-size:.84rem;font-weight:600;color:var(--ink-2);white-space:nowrap;
}
.hero-points li::before{content:'';width:8px;height:8px;border-radius:50%;flex:0 0 auto}
.hero-points .hp-lilac::before{background:#b0a8d9}
.hero-points .hp-sage::before{background:#8fb598}
.hero-points .hp-yellow::before{background:#d8c95f}
.hero-points .hp-peach::before{background:#e0a888}

.type-rotate{display:inline-flex;align-items:baseline;vertical-align:baseline}
.type-word{white-space:pre}
.type-caret{display:inline-block;width:.06em;min-width:2px;height:.82em;background:var(--ink);margin-left:.06em;animation:caret 1s steps(1) infinite}
@keyframes caret{0%,49%{opacity:1}50%,100%{opacity:0}}

/* ── Hero app frame (light) ───────────────────────────────────────────────── */
.hero-app{max-width:1000px;margin:64px auto 0}
.app-frame{
  background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;box-shadow:0 30px 70px rgba(28,27,25,.13);text-align:left;
}
.app-titlebar{display:flex;align-items:center;gap:12px;padding:11px 16px;background:rgba(28,27,25,.04);border-bottom:1px solid var(--line)}
.app-dots{display:inline-flex;gap:6px}
.app-dots i{width:9px;height:9px;border-radius:50%;display:block}
.app-dots i:nth-child(1){background:#e2a1ad}
.app-dots i:nth-child(2){background:#d8c95f}
.app-dots i:nth-child(3){background:#8fb598}
.app-url{font-size:.72rem;color:var(--muted);letter-spacing:.04em}
.app-body{display:flex;flex-direction:column}
.app-nav{display:flex;align-items:center;gap:18px;padding:11px 16px;border-bottom:1px solid var(--line);background:#fff}
.app-logo-mark{width:22px;height:22px;filter:invert(1) brightness(.15)}
.app-navlinks{display:flex;gap:16px;flex:1}
.app-navlink{font-size:.76rem;font-weight:600;color:var(--muted);display:inline-flex;align-items:center;gap:4px}
.app-navlink.is-active{color:var(--ink);border-bottom:2px solid var(--ink);padding-bottom:2px}
.app-caret svg{width:12px;height:12px;display:block}
.app-navtools{display:flex;align-items:center;gap:12px}
.app-search{display:inline-flex;align-items:center;gap:7px;background:rgba(28,27,25,.05);border:1px solid var(--line);border-radius:999px;padding:6px 12px}
.app-search-ico{width:13px;height:13px;color:var(--faint)}
.app-search-text{font-size:.72rem;color:var(--faint)}
.app-bell{position:relative;width:18px;height:18px;color:var(--muted)}
.app-bell svg,.app-user svg{width:100%;height:100%}
.app-badge{position:absolute;top:-6px;right:-8px;background:#e2a1ad;color:var(--ink);font-size:.55rem;font-weight:700;border-radius:999px;padding:1px 4px}
.app-user{width:18px;height:18px;color:var(--muted)}
.app-main{display:grid;grid-template-columns:230px 1fr;min-height:400px}
.app-side{border-right:1px solid var(--line);padding:14px 12px;background:rgba(28,27,25,.025);display:flex;flex-direction:column;gap:3px}
.app-side-label{font-size:.6rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);padding:2px 11px 8px}
/* v3: the sidebar rows are the hero's example selector, so they are real
   buttons. Reset the UA button styling and keep the row layout from v2. */
.app-side-item{
  display:block;width:100%;padding:9px 11px;border-radius:11px;
  font:inherit;color:inherit;text-align:left;background:none;border:0;cursor:pointer;
  transition:background .18s var(--ease);
}
.app-side-item:hover{background:rgba(28,27,25,.05)}
.app-side-item .app-side-title,.app-side-item .app-side-date{display:block}
.app-side-item.is-active,.app-side-item[aria-pressed="true"]{background:var(--lilac)}
.app-side-item[aria-pressed="true"]:hover{background:var(--lilac)}
.app-side-title{font-size:.78rem;font-weight:600;letter-spacing:-.015em;line-height:1.3}
.app-side-date{font-size:.66rem;color:var(--muted);margin-top:2px}
.app-chat{display:flex;flex-direction:column;padding:18px;background:#fff}

.chat-header{display:flex;align-items:center;gap:11px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.chat-av{width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fbf9f3;display:grid;place-items:center;font-weight:700;font-size:.9rem}
.chat-who{font-weight:700;font-size:.9rem;letter-spacing:-.02em}
.chat-role{font-size:.7rem;color:var(--muted)}
.chat-ok{margin-left:auto;font-size:.66rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--sage);border-radius:999px;padding:4px 10px}
.chat-log{flex:1;display:flex;flex-direction:column;gap:10px;padding:16px 0;overflow:hidden}
.bubble{
  max-width:86%;padding:10px 14px;border-radius:16px;font-size:.87rem;line-height:1.55;
  opacity:0;transform:translateY(8px);transition:opacity .4s var(--ease),transform .4s var(--ease);
}
.bubble.show{opacity:1;transform:none}
.bubble.in{background:var(--bg);border:1px solid var(--line);align-self:flex-start;border-top-left-radius:5px}
.bubble.out{background:var(--ink);color:#fbf9f3;align-self:flex-end;border-top-right-radius:5px}
.bubble.in strong{font-weight:700;background:var(--yellow);padding:0 3px;border-radius:3px}
.bubble.out strong{font-weight:700;color:var(--yellow)}
.chat-typing{display:flex;align-items:center;gap:9px;min-height:20px}
.chat-typing[hidden]{display:none}
.chat-typing-dots{display:inline-flex;gap:4px}
.chat-typing-dots i{width:6px;height:6px;border-radius:50%;background:var(--faint);display:block;animation:typedot 1.2s infinite ease-in-out}
.chat-typing-dots i:nth-child(2){animation-delay:.15s}
.chat-typing-dots i:nth-child(3){animation-delay:.3s}
.chat-typing-label{font-size:.72rem;color:var(--faint)}
@keyframes typedot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.chat-input{display:flex;align-items:center;gap:12px;margin-top:14px;background:var(--bg);border:1px solid var(--line);border-radius:14px;padding:11px 14px}
.chat-input-text{flex:1;color:var(--faint);font-size:.84rem}
.chat-input-send{width:18px;height:18px;color:var(--ink)}
.chat-input-send svg{width:100%;height:100%}

/* ── Caijo homepage conversation (app frame, fixed height) ──────────────────
   The chrome and the left-hand conversation selector are the v2 application
   frame, reused unchanged: .app-frame, .app-titlebar, .app-nav, .app-main,
   .app-side and .app-chat are all shared with the hero mock, including the
   sidebar's selected state and its responsive collapse to a horizontal strip.

   What is specific to this component is the message styling below. The small
   .bubble style used in the hero cannot render these replies, which carry
   several paragraphs and bold summary labels — and that structure is the
   argument the section is making, so it is not negotiable.

   The frame's height never depends on message count or content: it is set
   once, here, before any script runs. New messages arrive at the bottom and
   older ones scroll off the top, the way the product's own chat behaves.
   Nothing is removed from the DOM, so earlier exchanges stay reachable by
   scrolling back. The playback controls live outside the frame, so real
   buttons are never mistaken for part of the application. */
.caijo-demo{max-width:1180px;margin:56px auto 0;text-align:left}

/* .app-main's 400px min-height suits the hero mock, which has no scrolling
   region. Here it would let a long reply grow the widget and push the page
   down, so the height is fixed outright and the overflow is handed to the
   transcript. */
.caijo-demo .app-main{
  min-height:0;grid-template-rows:minmax(0,1fr);
  block-size:min(38rem,78vh);block-size:min(38rem,78svh);
}
.caijo-demo .app-side{overflow-y:auto}
.caijo-demo .app-chat{min-block-size:0;min-inline-size:0;padding:18px 22px}
.caijo-demo .chat-who{font-size:.95rem}
.caijo-demo .chat-role{font-size:.74rem}
.caijo-demo__messages{
  flex:1 1 auto;min-block-size:0;min-inline-size:0;
  overflow-y:auto;overscroll-behavior-y:contain;
  scrollbar-gutter:stable;overflow-anchor:none;
  padding:20px 2px;display:flex;flex-direction:column;gap:20px;
}
.cd-msg{display:flex;gap:13px;align-items:flex-start;opacity:1;transform:none}
/* Not-yet-revealed messages are removed from layout (not just hidden), so the
   scrollable region's scrollHeight reflects only what is actually shown —
   otherwise auto-follow would scroll into empty reserved space below the
   visible transcript. */
.cd-msg[hidden]{display:none}
/* fill-mode both: the row is in the document before the animation's first
   frame is painted, so without it there is a chance of one frame at full
   opacity before the fade starts. */
.cd-msg.cd-enter{animation:cdMsgIn .4s var(--ease) both}
@keyframes cdMsgIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.cd-msg.user{flex-direction:row}
.cd-msg.caijo{flex-direction:row-reverse}
.cd-av{
  flex:0 0 auto;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  font-weight:700;font-size:.85rem;margin-top:2px;
}
.cd-msg.user .cd-av{background:var(--ink);color:#fbf9f3}
.cd-msg.caijo .cd-av{background:var(--lilac);color:var(--ink)}
.cd-bubble{
  flex:1 1 auto;max-width:80%;padding:16px 20px;border-radius:18px;
  font-size:.98rem;line-height:1.7;
}
.cd-msg.user .cd-bubble{background:rgba(28,27,25,.045);border:1px solid var(--line);border-top-left-radius:6px}
.cd-msg.caijo .cd-bubble{background:rgba(220,216,238,.5);border:1px solid rgba(28,27,25,.08);border-top-right-radius:6px}
.cd-who{display:block;font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.cd-bubble p{margin:0 0 12px;color:var(--ink-2)}
.cd-bubble p:last-child{margin-bottom:0}
.cd-bubble ul{margin:0 0 12px;padding-left:20px}
.cd-bubble li{margin-bottom:6px;color:var(--ink-2)}
.cd-bubble li:last-child{margin-bottom:0}
.cd-bubble strong{font-weight:700;color:var(--ink)}

/* Typing indicator. Inserted by JS before each message — both speakers' — so
   the automatic playback has a beat instead of snapping, and then swapped out
   for the message itself. The row carries the speaker's class, so the dots
   appear on the side the message will arrive on and inherit that bubble's
   colour: it is visible who is about to talk before they do.

   The rhythm is the 1.2s / .15s / .3s bounce from V2, which reads as composing
   rather than as a loading spinner. ease-in-out rather than the house --ease,
   because a pulse that repeats wants to decelerate at both ends, not only on
   the way out.

   One cycle plus the last dot's delay is 1.5s, so TEAM_BEAT and REPLY_BEAT in
   caijo.js must clear *two* of those, not one: a single bounce is a blink, and
   only a repeat reads as someone typing. The travel and the opacity range are
   deliberately wide, because the team's bubble is a 4.5% tint on cream and a
   subtler dot disappears into it. */
.cd-bubble.cd-typing{flex:0 0 auto;max-width:none;display:inline-flex;gap:5px;align-items:center;padding:18px 20px}
.cd-bubble.cd-typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);animation:cdDot 1.2s ease-in-out infinite}
.cd-bubble.cd-typing i:nth-child(2){animation-delay:.15s}
.cd-bubble.cd-typing i:nth-child(3){animation-delay:.3s}
@keyframes cdDot{0%,60%,100%{transform:translateY(0);opacity:.28}30%{transform:translateY(-5px);opacity:1}}

/* ── Conversation meta (use-case pages) ───────────────────────────────────────
   Sits outside .app-frame, never inside it, so a real control is never
   mistaken for part of the mocked application. Absent on the homepage, which
   carries neither element. */
.cd-meta{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:18px}
.cd-caption{font-size:.78rem;line-height:1.6;color:var(--faint);margin:0}
.cd-playtoggle{
  font-size:.78rem;font-weight:600;letter-spacing:-.01em;color:var(--ink-2);
  background:none;border:1px solid var(--line);border-radius:999px;padding:6px 16px;
  cursor:pointer;transition:background .15s var(--ease),color .15s var(--ease);
}
.cd-playtoggle:hover{background:var(--card);color:var(--ink)}
.cd-transcript{max-width:820px;margin:14px auto 0}
.cd-transcript summary{
  font-size:.84rem;font-weight:600;color:var(--ink-2);cursor:pointer;
  text-align:center;list-style:none;text-underline-offset:3px;text-decoration:underline;text-decoration-color:var(--line-2);
}
.cd-transcript summary::-webkit-details-marker{display:none}
.cd-transcript summary:hover{color:var(--ink)}
.cd-transcript-body{margin-top:16px;padding:22px 24px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);max-height:60vh;overflow-y:auto}
.cd-transcript-body p{font-size:.92rem;line-height:1.65;color:var(--ink-2);margin:0 0 10px}
.cd-transcript-body p:last-child{margin-bottom:0}
.cd-transcript-body strong{color:var(--ink);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card{
  position:relative;background:var(--card);border:1px solid var(--line);
  border-radius:var(--radius);padding:34px 30px;
}
.card .dot-tag{position:absolute;top:-16px;left:26px;width:34px;height:34px;border-radius:50%}
.card h3{font-size:1.22rem;letter-spacing:-.035em;line-height:1.1;margin-bottom:12px}
.card p{font-size:.96rem;line-height:1.65;color:var(--ink-2)}

.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:64px}
/* Use-case pages show the four actual assessment deliverables rather than the
   homepage's three pillars, so the grid needs a two-by-two variant. */
.cards-grid.four{grid-template-columns:repeat(2,1fr)}
.pillar .card-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin-bottom:20px}
.pillar:nth-child(1) .card-icon{background:var(--rose)}
.pillar:nth-child(2) .card-icon{background:var(--yellow)}
.pillar:nth-child(3) .card-icon{background:var(--sage)}
.pillar .card-icon svg{width:21px;height:21px}

/* ── Team grid (About page) ──────────────────────────────────────────────── */
/* Portraits are the real, published ones from privacydesigner.com. .team-av
   (an initials circle, same language as .chat-av / .cd-av) remains as the
   fallback for anyone without a photo. .featured gives the first card a
   two-column span, a larger portrait and room for a bio. */
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:48px;align-items:start}
.team-grid.featured{grid-template-columns:repeat(3,1fr)}
.team-grid.featured .team-card:first-child{grid-column:span 2;text-align:left}
.team-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px 22px;text-align:center}
.team-av{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;font-family:var(--serif);font-size:1.5rem;color:var(--ink);letter-spacing:0}
.team-photo{
  width:92px;height:92px;border-radius:50%;object-fit:cover;object-position:center top;
  display:block;margin:0 auto 18px;background:var(--lilac);
}
.team-grid.featured .team-card:first-child .team-photo{width:124px;height:124px;margin:0 0 20px}
.team-card h3{font-size:1.08rem;letter-spacing:-.03em;line-height:1.2;margin-bottom:6px}
.team-role{font-size:.74rem;letter-spacing:.08em;color:var(--muted);text-transform:uppercase;font-weight:600;line-height:1.5}
.team-bio{margin-top:16px;font-size:.88rem;line-height:1.62;color:var(--ink-2);text-align:left}

/* ── Fact row (About page) ───────────────────────────────────────────────── */
/* The flat counterpart to .stat-band: no cards, no display-size numerals, just
   hairline-separated columns. A stat band asserts a benchmark; this reads as a
   company fact sheet, which is what belongs on an About page. */
.factrow-head{
  display:flex;justify-content:space-between;align-items:baseline;gap:20px;flex-wrap:wrap;
  padding-bottom:18px;border-bottom:1px solid var(--line);
}
.factrow-head span{font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-weight:700}
.factrow-head span+span{letter-spacing:.04em;text-transform:none;font-weight:400;color:var(--faint);text-align:right}
.factrow{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:30px}
.factrow .fact{padding:4px 26px}
.factrow .fact+.fact{border-left:1px solid var(--line)}
.factrow .fact:first-child{padding-left:0}
.fact b{display:block;font-size:1.45rem;letter-spacing:-.035em;line-height:1.15;color:var(--ink);font-weight:700}
.fact span{display:block;margin-top:9px;font-size:.84rem;line-height:1.6;color:var(--ink-2)}

/* ── Photo frame (About page) ────────────────────────────────────────────── */
/* Holds a photograph, or renders as an intentional empty panel until one is
   supplied. Deliberately NO min-height: see the .flowmap note further down —
   a min-height plus an aspect-ratio implies a width floor that can exceed a
   phone column. Width leads, the ratio follows. */
.photo-frame{
  position:relative;background:var(--card-solid);border:1px solid var(--line);
  border-radius:26px;padding:12px;
}
.photo-frame .pf-inner{
  width:100%;aspect-ratio:4/3;border-radius:16px;background:var(--lilac);
  display:grid;place-items:center;overflow:hidden;
}
.photo-frame.tone-sage .pf-inner{background:var(--sage)}
.photo-frame img{width:100%;height:100%;object-fit:cover;display:block;border-radius:16px}
.photo-frame .pf-mark{width:38px;height:38px;color:var(--muted);opacity:.42}
/* Small card overhanging the frame, following .preview-doc .illus-tag's
   parent-relative / child-absolute pattern. Goes static when stacked. */
.photo-badge{
  position:absolute;left:-18px;bottom:-22px;max-width:228px;
  background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:14px 16px;box-shadow:0 18px 40px rgba(28,27,25,.10);
}
.photo-badge b{display:block;font-size:.88rem;letter-spacing:-.02em;line-height:1.35;color:var(--ink)}
.photo-badge span{display:block;margin-top:4px;font-family:var(--serif);font-style:italic;font-size:.88rem;color:var(--muted)}

/* ── Paired product cards (About page) ───────────────────────────────────── */
.pairs{display:grid;grid-template-columns:1fr auto 1fr;align-items:stretch;gap:22px;margin-top:46px}
/* Stretch keeps the two cards the same height regardless of copy length;
   the connector opts out so it stays a 34px circle on the centre line. */
.pair-link{align-self:center}
.pair-card{background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:28px 26px}
.pair-card h3{font-size:1.14rem;letter-spacing:-.03em;margin-bottom:5px}
.pair-card .pc-kicker{font-size:.66rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.pair-card p{margin-top:14px;font-size:.94rem;line-height:1.66;color:var(--ink-2)}
.pair-link{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--card-solid);border:1px solid var(--line);color:var(--muted);flex:none}
.pair-link svg{width:17px;height:17px}

/* ── Feature quote (About page) ──────────────────────────────────────────── */
/* Revives .quote / .q-mark, which have been defined but unused site-wide.
   .feature-quote is the two-column host: label left, quotation right. */
.feature-quote{
  display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:center;
  background:rgba(220,216,238,.42);border:1px solid var(--line);
  border-radius:var(--radius);padding:40px 38px;
}
.feature-quote h2{font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:-.04em;line-height:1.08}
.feature-quote .fq-label{margin-top:14px;font-size:.68rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.feature-quote blockquote{
  margin:0;font-family:var(--serif);font-style:italic;
  font-size:clamp(1.1rem,2vw,1.42rem);line-height:1.5;letter-spacing:-.01em;color:var(--ink);
}
.feature-quote cite{display:block;margin-top:20px;font-style:normal;font-size:.8rem;line-height:1.5;color:var(--muted)}
.feature-quote cite b{display:block;font-size:.88rem;color:var(--ink);letter-spacing:-.01em}

/* ── EU funding acknowledgement ──────────────────────────────────────────── */
/* Required publicity for the project funding; kept quiet but intact. */
.eu-note{display:grid;grid-template-columns:auto 1fr;gap:26px;align-items:start;max-width:860px;margin:0 auto;padding-top:34px;border-top:1px solid var(--line)}
.eu-note img{width:156px;height:auto;display:block}
.eu-note h2{font-size:1.02rem;letter-spacing:-.025em;margin-bottom:10px}
.eu-note p{font-size:.86rem;line-height:1.7;color:var(--ink-2);margin-bottom:10px}
.eu-note p:last-child{margin-bottom:0}

/* ── Stat band ────────────────────────────────────────────────────────────── */
/* Used once, in "What changes". The numbers are set in the serif at display
   size because they are the one place on the page where a figure is the
   argument; .stat-note underneath keeps them attributed to pilot feedback
   rather than reading as an asserted benchmark. */
.stat-band{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:900px;margin:56px auto 0}
.stat-band.four{grid-template-columns:repeat(4,1fr)}
.stat{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:28px 24px;text-align:center;
}
.stat-num{
  font-family:var(--serif);font-size:3.1rem;line-height:1;color:var(--ink);
  letter-spacing:-.02em;display:flex;align-items:baseline;justify-content:center;gap:4px;
}
.stat-unit{font-size:1.35rem;color:var(--muted);letter-spacing:0}
.stat-label{margin-top:14px;font-size:.9rem;line-height:1.55;color:var(--ink-2)}
.stat-note{
  max-width:900px;margin:18px auto 0;text-align:center;
  font-size:.78rem;line-height:1.6;color:var(--faint);
}

/* ── Benefit cards (claim + the quote that proves it) ─────────────────────── */
.benefits-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:56px}
.benefit{display:flex;flex-direction:column}
.benefit .card-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin-bottom:20px}
.benefit:nth-child(1) .card-icon{background:var(--rose)}
.benefit:nth-child(2) .card-icon{background:var(--yellow)}
.benefit:nth-child(3) .card-icon{background:var(--sage)}
.benefit:nth-child(4) .card-icon{background:var(--sky)}
.benefit .card-icon svg{width:21px;height:21px}
/* margin-top:auto pushes the quote to the bottom of the card, so the quotes in
   a row end on the same baseline however long the claims above them run. The
   hairline itself still sits higher on a card whose quote wraps to more lines. */
.benefit-quote{
  margin:26px 0 0;padding-top:22px;margin-top:auto;
  border-top:1px solid var(--line-2);
}
.benefit-quote blockquote{
  margin:0;font-size:.95rem;line-height:1.62;color:var(--ink);
  letter-spacing:-.015em;font-style:italic;
}
.benefit-quote cite{
  display:block;margin-top:14px;font-style:normal;font-size:.72rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;
}

/* ── Problem block ────────────────────────────────────────────────────────── */
.pain-inner{position:relative;z-index:1;max-width:860px;margin:0 auto;text-align:center}
.pain-inner p{margin-top:26px;font-size:1.15rem;line-height:1.72;color:var(--ink-2)}
.pain-inner p strong{font-weight:700;background:var(--yellow);padding:1px 6px;border-radius:5px}

.closing-line{
  margin-top:44px;text-align:center;font-size:1.12rem;line-height:1.6;
  color:var(--ink);font-weight:600;letter-spacing:-.025em;
}
.closing-line em{font-family:var(--serif);font-style:italic;font-weight:400;color:var(--muted);letter-spacing:0}

.hl{font-weight:700;background:var(--lilac);padding:1px 6px;border-radius:5px}

/* ── Carousel ─────────────────────────────────────────────────────────────── */
.carousel{margin-top:52px}
.carousel-stage{position:relative}
.carousel-viewport{overflow:hidden;border-radius:var(--radius)}
.carousel-track{display:flex;transition:transform 480ms var(--ease)}
.cslide{flex:0 0 100%;min-width:0;margin:0}
.shot-frame{background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:12px;box-shadow:0 24px 56px rgba(28,27,25,.12)}
.shot-frame img{display:block;width:100%;height:auto;border-radius:12px}
.carousel-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:46px;height:46px;border-radius:50%;border:1px solid var(--line-2);
  background:rgba(255,255,255,.85);color:var(--ink);cursor:pointer;display:grid;place-items:center;
  backdrop-filter:blur(6px);
}
.carousel-arrow:hover{background:#fff}
.carousel-arrow svg{width:21px;height:21px}
.carousel-arrow.prev{left:-16px}
.carousel-arrow.next{right:-16px}
.carousel-status{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px}
.carousel-dots{display:inline-flex;gap:9px}
.cdot{width:9px;height:9px;border-radius:50%;padding:0;border:1px solid var(--line-2);background:transparent;cursor:pointer}
.cdot.is-active{background:var(--ink);border-color:var(--ink)}
.carousel-count{font-size:.74rem;color:var(--muted);letter-spacing:.12em}
.carousel-count b{color:var(--ink)}
.carousel-tabs{margin-top:26px}
.carousel-tabs-label{text-align:center;font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;color:var(--faint);font-weight:600;margin-bottom:14px}
.carousel-tabs-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ctab{
  display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;
  border:1px solid var(--line-2);background:rgba(255,255,255,.5);color:var(--muted);
  font:inherit;font-size:.8rem;font-weight:600;letter-spacing:-.01em;cursor:pointer;
  transition:background .18s var(--ease),color .18s var(--ease);
}
.ctab:hover{background:#fff;color:var(--ink)}
.ctab.is-active{background:var(--ink);border-color:var(--ink);color:#fbf9f3}
.ctab-num{font-family:var(--serif);font-style:italic;font-size:1rem;line-height:1}
.ctab-ico{display:inline-flex;width:15px;height:15px}
.ctab-ico svg{width:100%;height:100%}

/* Slide captions. On the homepage the carousel shows what the product holds,
   so the screenshots stand alone. On /how-caijo-works/ the same seven slides
   answer a narrower question — what this one interview put into each module —
   and that sentence cannot be carried by alt text alone. */
.cslide figcaption{
  margin-top:16px;padding:0 6px;text-align:center;
  font-size:.88rem;line-height:1.66;color:var(--muted);
}
.cslide figcaption b{color:var(--ink);font-weight:700}

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:60px;position:relative}
.steps::before{content:'';position:absolute;left:6%;right:6%;top:28px;height:2px;background:var(--line-2)}
.step{position:relative}
.step-num{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;
  font-family:var(--serif);font-style:italic;font-size:1.7rem;
  border:3px solid var(--bg);margin-bottom:18px;position:relative;z-index:1;
}
.step:nth-child(1) .step-num{background:var(--sky)}
.step:nth-child(2) .step-num{background:var(--yellow)}
.step:nth-child(3) .step-num{background:var(--sage)}
.step h4{font-size:1.2rem;letter-spacing:-.035em;margin-bottom:10px}
.step p{font-size:.95rem;line-height:1.65;color:var(--ink-2)}

/* ── Testimonials ─────────────────────────────────────────────────────────── */
.social-lead{text-align:center;max-width:760px;margin:0 auto}
.social-lead p{margin-top:24px;font-size:1.02rem;line-height:1.75;color:var(--muted)}
.testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px}
.quote{position:relative;margin:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:34px 28px 28px}
.quote:nth-child(1){background:rgba(220,216,238,.42)}
.quote:nth-child(2){background:rgba(236,228,164,.36)}
.quote:nth-child(3){background:rgba(211,223,207,.42)}
.q-mark{font-family:var(--serif);font-style:italic;font-size:3.4rem;line-height:.6;color:var(--muted);opacity:.5;margin-bottom:8px}
.quote blockquote{margin:0;font-size:1rem;line-height:1.65;color:var(--ink);letter-spacing:-.015em}
.quote cite{display:block;margin-top:18px;font-style:normal;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}

/* ── Mid CTA ──────────────────────────────────────────────────────────────── */
.midcta{position:relative;padding:24px;overflow:hidden}
.midcta-inner{
  position:relative;z-index:1;max-width:1120px;margin:0 auto;text-align:center;
  background:var(--peach);border:1px solid rgba(28,27,25,.1);border-radius:40px;
  padding:76px 32px;
}
.midcta-inner h2{font-size:clamp(1.8rem,4vw,3.1rem);letter-spacing:-.05em;max-width:16ch;margin:0 auto}
.midcta-inner p{margin:20px auto 32px;max-width:52ch;color:var(--ink-2);font-size:1.02rem;line-height:1.7}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-inner{position:relative;z-index:1;max-width:820px;margin:0 auto}
.faq-item{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  margin-top:12px;overflow:hidden;
}
.faq-inner .faq-item:first-of-type{margin-top:44px}
.faq-item summary{
  list-style:none;cursor:pointer;padding:20px 56px 20px 24px;position:relative;
  font-weight:700;font-size:1.02rem;letter-spacing:-.025em;line-height:1.35;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-plus{position:absolute;right:22px;top:50%;transform:translateY(-50%);width:18px;height:18px}
.faq-plus::before,.faq-plus::after{content:'';position:absolute;background:var(--ink);transition:transform .2s var(--ease)}
.faq-plus::before{left:0;top:8px;width:18px;height:2px}
.faq-plus::after{left:8px;top:0;width:2px;height:18px}
.faq-item[open] .faq-plus::after{transform:rotate(90deg)}
.faq-body{padding:0 24px 22px;font-size:.96rem;line-height:1.75;color:var(--ink-2)}

/* ── CTA / form ───────────────────────────────────────────────────────────── */
.cta-section{position:relative;padding:112px 24px;text-align:center;overflow:hidden;border-top:1px solid var(--line)}

.cta-section h2{font-size:clamp(2rem,4.6vw,3.6rem);letter-spacing:-.05em;max-width:17ch;margin:0 auto 46px}
.ea-form{
  max-width:520px;margin:32px auto 0;text-align:left;
  background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px;box-shadow:0 24px 56px rgba(28,27,25,.1);
}
.ea-field{margin-bottom:18px}
.ea-label{display:block;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
/* Rose tones darkened from v2's #c0687a / #b3596b, which were 3.62:1 and
   4.38:1 on this background. An error message is the one string on the page a
   visitor has to be able to read, so it does not get to be the lowest-contrast
   text in the build. Both now clear 4.5:1 on the page and on the form card. */
.ea-label .req{color:#a15767}
.ea-label .opt{font-weight:500;letter-spacing:.04em;text-transform:none;color:var(--faint)}
.ea-input{
  width:100%;padding:13px 15px;border-radius:12px;border:1px solid var(--line-2);
  background:#fff;font:inherit;font-size:.95rem;color:var(--ink);
}
.ea-input::placeholder{color:var(--faint)}
.ea-input:focus{outline:none;border-color:var(--ink)}
/* A 1px border-colour change is too weak to be the only keyboard indicator,
   so the global outline is restored for keyboard focus specifically. */
.ea-input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ea-input.error{border-color:#c0687a;background:rgba(242,204,210,.25)}
.ea-error{color:#a85364;font-size:.8rem;margin-top:6px;min-height:1px}
.ea-captcha{display:flex;gap:12px;align-items:center}
.ea-captcha .ea-input{flex:1 1 auto;min-width:112px}
.ea-captcha-img{flex:0 0 auto;height:46px;max-width:150px;border-radius:10px;border:1px solid var(--line);background:#fff}
.ea-submit-wrap{margin-top:24px}
.ea-submit-wrap .btn{width:100%;justify-content:center}
.ea-note{margin-top:14px;font-size:.8rem;color:var(--muted);text-align:center;line-height:1.6}
.ea-confirm{display:none;max-width:520px;margin:32px auto 0;background:var(--sage);border:1px solid rgba(28,27,25,.1);border-radius:var(--radius);padding:36px 30px}
.ea-confirm h3{font-size:1.4rem;letter-spacing:-.04em;margin-bottom:12px}
.ea-confirm p{color:var(--ink-2);line-height:1.7}
.ea-signoff{margin-top:14px;font-family:var(--serif);font-style:italic;color:var(--muted)}

/* ── Footer ───────────────────────────────────────────────────────────────── */
/* A quiet terminal slab. --card-solid rather than a dark panel: a dark footer
   would fight both the pastel blob language above it and the near-black
   .sticky-cta pill that sits over it on mobile. The inner container matches
   .inner's 1120px so the footer finally aligns with the sections above.
   Nothing here uses --faint; every string is --muted (7.04:1) or darker. */

/* Head typography is lifted from .related h3 — the site's existing idiom for a
   micro-caps label over a cluster of links. */

/* No permanent underline: nine of them at this density reads as noise. The
   underline arrives on hover instead. */

/* Emblem sits at its native 156x37 and is never scaled down: the grant's
   minimum-display-size requirement is still an open question in LEGAL-REVIEW. */

/* ── Sticky mobile CTA ────────────────────────────────────────────────────── */

/* ── Reveal ───────────────────────────────────────────────────────────────── */
.reveal{opacity:0;transform:translateY(14px)}
.reveal.in{opacity:1;transform:none;transition:opacity .6s var(--ease),transform .6s var(--ease)}

/* ═══ HOW-IT-WORKS PAGE ═══════════════════════════════════════════════════ */
.how-hero{position:relative;padding:164px 24px 96px;overflow:hidden}

.how-hero h1{font-size:clamp(2.4rem,5.8vw,4.6rem);line-height:.92;letter-spacing:-.055em;max-width:15ch;margin:0 auto 24px}
.how-hero-sub{font-size:1.06rem;line-height:1.78;color:var(--muted);max-width:660px;margin:0 auto}
.how-hero-actions{margin-top:34px;display:flex;gap:16px;align-items:center;justify-content:center;flex-wrap:wrap}
.how-hero-scroll{display:inline-flex;align-items:center;gap:7px;color:var(--muted);text-decoration:none;font-size:.9rem;font-weight:600}
.how-hero-scroll:hover{color:var(--ink)}
.how-hero-scroll svg{width:15px;height:15px}

.demo-stage{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch;max-width:1000px;margin:78px auto 0;text-align:left}
.chat-card{
  background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);
  padding:24px;display:flex;flex-direction:column;min-height:440px;
  box-shadow:0 26px 60px rgba(28,27,25,.12);
}
.chat-card .chat-log{overflow-y:auto}
.typing{display:none;align-self:flex-start;gap:4px;padding:11px 14px;background:var(--bg);border:1px solid var(--line);border-radius:16px;border-top-left-radius:5px}
.typing.show{display:flex}
.typing span{width:6px;height:6px;border-radius:50%;background:var(--faint);animation:typedot 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}
.typing span:nth-child(3){animation-delay:.4s}

.report-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;display:flex;flex-direction:column;box-shadow:0 26px 60px rgba(28,27,25,.1);
}
.report-head{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:4px}
.report-head .doticon{width:38px;height:38px;border-radius:11px;background:var(--lilac);display:grid;place-items:center}
.report-head .doticon svg{width:18px;height:18px}
.report-title{font-weight:700;font-size:.98rem;letter-spacing:-.025em}
.report-status{font-size:.74rem;color:var(--muted)}
.report-block{padding:16px 0;border-bottom:1px solid var(--line);opacity:0;transform:translateY(8px);transition:opacity .5s var(--ease),transform .5s var(--ease)}
.report-block.show{opacity:1;transform:none}
.report-block:last-child{border-bottom:none}
.rb-label{font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:7px}
.rb-body{font-size:.87rem;color:var(--ink-2);line-height:1.6}
.rb-body .muted{color:var(--faint)}
.risk-pill{display:inline-block;font-size:.7rem;font-weight:700;padding:4px 10px;border-radius:999px;margin:3px 5px 0 0}
.risk-high{background:#e9b3bc}
.risk-med{background:var(--yellow)}
.risk-low{background:#c8dcc3}

.demo-arc{position:relative;z-index:1;max-width:1120px;margin:118px auto 0;display:flex;flex-direction:column;gap:118px}
.demo-act{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:center;text-align:left}
.demo-act.rev .demo-act-copy{order:2}
.demo-act h3{font-size:clamp(1.7rem,3.3vw,2.8rem);letter-spacing:-.05em;line-height:.98;margin:0 0 18px}
.demo-act-sub{font-size:1.02rem;color:var(--muted);line-height:1.75;max-width:520px}
.demo-act-visual{display:flex;justify-content:center}

/* Flow map */
.flowmap{position:relative;width:100%;max-width:600px;aspect-ratio:5/4;min-height:280px;background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:0 24px 56px rgba(28,27,25,.12)}
.flowmap svg{width:100%;height:100%;overflow:visible}
.fm-node{opacity:0;transform:translateY(4px);transform-box:fill-box;transform-origin:center}
.demo-act.in-view .fm-node{animation:fm-fade 500ms var(--ease) forwards}
@keyframes fm-fade{to{opacity:1;transform:translateY(0)}}
.fm-node .icon-bg{stroke:rgba(28,27,25,.18);stroke-width:1}
.fm-node.subject .icon-bg{fill:var(--lilac)}
.fm-node.system .icon-bg{fill:var(--yellow)}
.fm-node.sub .icon-bg{fill:var(--sage)}
.fm-node.sub.warn .icon-bg{fill:var(--rose)}
.fm-node.store .icon-bg{fill:var(--sky)}
.fm-node .glyph{fill:var(--ink)}
.trust-boundary{fill:rgba(28,27,25,.035);stroke:rgba(28,27,25,.18);stroke-width:1;stroke-dasharray:5 4}
.trust-boundary-label{fill:rgba(28,27,25,.5);font-family:inherit;font-size:8.5px;font-weight:600;text-transform:uppercase;letter-spacing:.08em}
.trust-boundary-group{opacity:0}
.demo-act.in-view .trust-boundary-group{animation:fm-fade 500ms var(--ease) forwards}
.fm-node .flag rect.bg{fill:#fff;stroke:var(--ink);stroke-width:.4}
.fm-node .num-badge circle{fill:var(--ink);stroke:#fbf9f3;stroke-width:1}
.fm-node .num-badge text{fill:#fbf9f3;font-family:inherit;font-size:8px;font-weight:700;text-anchor:middle;dominant-baseline:central}
.fm-node .label{fill:var(--ink);font-family:inherit;font-size:10px;font-weight:600;text-anchor:middle}
.fm-node .sub-label{fill:var(--muted);font-family:inherit;font-size:8.5px;font-weight:500;text-anchor:middle}
.fm-arrow{fill:none;stroke:rgba(28,27,25,.65);stroke-width:1;stroke-linecap:round;stroke-dasharray:300;stroke-dashoffset:300;opacity:0}
.fm-arrow.hot{stroke:#c0687a;stroke-width:1.8}
.fm-arrow.dashed{stroke:rgba(28,27,25,.35);stroke-dasharray:4 3;stroke-dashoffset:0}
.demo-act.in-view .fm-arrow{animation:fm-draw 900ms linear forwards}
.demo-act.in-view .fm-arrow.dashed{animation:fm-draw-dashed 900ms linear forwards}
@keyframes fm-draw{0%{opacity:0;stroke-dashoffset:300}10%{opacity:1}100%{opacity:1;stroke-dashoffset:0}}
@keyframes fm-draw-dashed{0%{opacity:0}40%{opacity:.4}100%{opacity:1}}
.demo-act.in-view .trust-boundary-group.b1{animation-delay:80ms}
.demo-act.in-view .trust-boundary-group.b2{animation-delay:160ms}
.demo-act.in-view .trust-boundary-group.b3{animation-delay:240ms}
.demo-act.in-view .fm-node.n1{animation-delay:400ms}
.demo-act.in-view .fm-node.n2{animation-delay:550ms}
.demo-act.in-view .fm-node.n3{animation-delay:700ms}
.demo-act.in-view .fm-arrow.a1{animation-delay:1050ms}
.demo-act.in-view .fm-arrow.a2{animation-delay:1200ms}
.demo-act.in-view .fm-arrow.a3{animation-delay:1350ms}
.demo-act.in-view .fm-node.n4{animation-delay:1600ms}
.demo-act.in-view .fm-node.n5{animation-delay:1750ms}
.demo-act.in-view .fm-node.n6{animation-delay:1900ms}
.demo-act.in-view .fm-arrow.a4{animation-delay:2250ms}
.demo-act.in-view .fm-arrow.a5{animation-delay:2400ms}
.demo-act.in-view .fm-arrow.a6{animation-delay:2550ms}
.demo-act.in-view .fm-arrow.a7{animation-delay:2700ms}
.demo-act.in-view .fm-node.n7{animation-delay:2900ms}
.demo-act.in-view .fm-node.n8{animation-delay:3050ms}
.demo-act.in-view .fm-node.n9{animation-delay:3200ms}
.demo-act.in-view .fm-arrow.a8{animation-delay:3350ms}
.demo-act.in-view .fm-arrow.a9{animation-delay:3500ms}
.demo-act.in-view .fm-node.n10{animation-delay:3650ms}
.demo-act.in-view .fm-node.n11{animation-delay:3800ms}

/* Risk cards */
.risk-stack{display:flex;width:100%;max-width:520px;flex-direction:column;gap:14px}
.risk-card{display:grid;grid-template-columns:6px 1fr;gap:16px;background:var(--card-solid);border:1px solid var(--line);border-radius:18px;padding:18px 20px 18px 0;overflow:hidden;opacity:0;transform:translateY(12px)}
.demo-act.in-view .risk-card{animation:risk-in 500ms var(--ease) forwards}
@keyframes risk-in{to{opacity:1;transform:none}}
.demo-act.in-view .risk-card:nth-of-type(1){animation-delay:300ms}
.demo-act.in-view .risk-card:nth-of-type(2){animation-delay:650ms}
.demo-act.in-view .risk-card:nth-of-type(3){animation-delay:1000ms}
.risk-card.sev-high .bar{background:#e9b3bc}
.risk-card.sev-med .bar{background:var(--yellow)}
.risk-card.sev-low .bar{background:#c8dcc3}
.risk-card .body{padding:2px 0 2px 16px}
.risk-card .head{display:flex;align-items:center;gap:10px;margin-bottom:9px;flex-wrap:wrap}
.risk-card .pill{font-size:.64rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;padding:4px 10px;border-radius:999px}
.risk-card.sev-high .pill{background:#e9b3bc}
.risk-card.sev-med .pill{background:var(--yellow)}
.risk-card.sev-low .pill{background:#c8dcc3}
/* A proposed severity is a suggestion, not a finding, so it must not read as
   just another filled Recorded-risk pill of the same colour. The dashed
   border reuses the trackmap's own convention for "not yet established" — a
   solid pill for what is recorded, a dashed one for what is proposed.
   Specificity (0,4,0) beats .risk-card.sev-med/high/low .pill (0,3,0)
   regardless of source order, so this survives whichever severity class the
   card carries. */
.risk-card .head .pill.pill-proposed{background:var(--card-solid);border:1.5px dashed var(--ink-2);color:var(--ink-2)}
.risk-card .statement{font-size:.95rem;font-weight:700;letter-spacing:-.025em;line-height:1.4;margin-bottom:11px}
.risk-card .rec{display:flex;gap:8px;padding:11px 13px;background:var(--bg);border:1px solid var(--line);border-radius:12px;font-size:.83rem;color:var(--ink-2);line-height:1.55}
.risk-card .rec .rec-label{font-weight:700;white-space:nowrap}
/* Marks the split between the one risk worked through closely enough for a
   proposed severity and the others that have only been recorded, so the
   difference reads as intentional rather than an unfinished card. Reuses the
   .e-col h4 type scale rather than introducing a new one. */
.risk-stack-divider{font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:4px 2px}
.risk-stack-divider:not(:first-child){margin-top:6px}
/* Neutral variant. Caijo records a risk; how severe it is for a given
   organisation is the reviewer's judgement, so these cards carry no severity
   colour or High/Medium/Low pill. */
.risk-card.sev-open .bar{background:var(--lilac)}
.risk-card.sev-open .pill{background:var(--lilac)}

.proddemo-cta{position:relative;z-index:1;text-align:center;margin-top:96px}

/* ── Assessments list (illustration) ──────────────────────────────────────────
   Step 3 needs to show that every assessment lands in one reviewable queue
   with a visible state. The only screenshot of that view still carries the
   retired brand and a part-Finnish UI, so this is drawn in markup instead —
   the same choice already made for the trackmap, the risk cards and the
   document preview, and it carries the same .illus-tag as those do.

   The status words are deliberately about where a document sits in a review
   queue — Draft, In review, Approved — and not about whether anything is
   lawful. Nothing here should ever read as Caijo having cleared an
   assessment; approval is the reviewer's act, which is the page's whole
   argument. */
.assess-list{width:100%}
.assess-head{
  display:grid;grid-template-columns:1fr 128px 104px;gap:16px;align-items:center;
  padding:11px 20px;border-bottom:1px solid var(--line);background:rgba(28,27,25,.025);
  font-size:.6rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);
}
.assess-row{
  display:grid;grid-template-columns:1fr 128px 104px;gap:16px;align-items:center;
  padding:15px 20px;border-bottom:1px solid var(--line);
}
.assess-row:last-child{border-bottom:0}
/* The row the rest of the page follows. Tinted so the reader can find the
   thread they have been following through every earlier section. */
.assess-row.is-current{background:rgba(220,216,238,.34)}
.assess-title{font-size:.86rem;font-weight:600;letter-spacing:-.02em;line-height:1.35}
.assess-meta{font-size:.68rem;color:var(--muted);margin-top:3px}
.assess-frame{font-size:.72rem;color:var(--ink-2);line-height:1.4}
.assess-status{
  display:inline-flex;align-items:center;gap:7px;justify-self:start;
  font-size:.64rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-2);border-radius:999px;padding:5px 11px;border:1px solid rgba(28,27,25,.12);
}
.assess-status::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.55}
.assess-status.st-draft{background:rgba(28,27,25,.05)}
.assess-status.st-review{background:var(--yellow)}
.assess-status.st-approved{background:var(--sage)}

/* ═══ V2 COMPONENTS ═══════════════════════════════════════════════════════ */

/* ── Nav dropdown (hub menus) ─────────────────────────────────────────────── */
/* flex, not block: a block wrapper adds a line box around the inline-flex
   button and pushes the two hub triggers ~1px below the plain nav links. */

/* The menu floats 14px below the trigger. Without a hoverable bridge over that
   gap the pointer leaves .nav-item on the way down and the menu closes before
   any item can be reached. */

/* ── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero{position:relative;padding:152px 24px 76px;overflow:hidden;text-align:center}

.page-hero h1{font-size:clamp(2.2rem,5.4vw,4.3rem);line-height:.92;letter-spacing:-.055em;max-width:17ch;margin:0 auto 22px}
.page-hero .lede{font-size:1.06rem;line-height:1.78;color:var(--muted);max-width:660px;margin:0 auto}
.page-hero .hero-actions{margin-top:34px}
.cta-support{margin-top:14px;font-size:.86rem;color:var(--muted)}
.breadcrumb{position:relative;z-index:1;max-width:1120px;margin:0 auto 26px;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--faint);font-weight:600}
.breadcrumb a{text-decoration:none;color:var(--muted)}
.breadcrumb a:hover{color:var(--ink)}
.breadcrumb .sep{margin:0 8px;opacity:.6}

/* ── Prose ────────────────────────────────────────────────────────────────── */
.prose{max-width:720px;margin:0 auto;text-align:left}
.prose h2{font-size:clamp(1.7rem,3.4vw,2.6rem);letter-spacing:-.05em;line-height:1;margin:56px 0 18px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:1.2rem;letter-spacing:-.035em;margin:34px 0 12px}
.prose p{font-size:1rem;line-height:1.78;color:var(--ink-2);margin-bottom:16px}
.prose ul{margin:0 0 18px;padding-left:22px;color:var(--ink-2)}
.prose li{font-size:1rem;line-height:1.72;margin-bottom:9px}
.prose .lead{font-size:1.1rem;line-height:1.72;color:var(--ink)}
.prose a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-2)}
.prose a:hover{text-decoration-color:var(--ink)}

/* ── Link cards (hubs) ────────────────────────────────────────────────────── */
.link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:52px}
.link-grid.two{grid-template-columns:repeat(2,1fr)}
.link-card{
  display:flex;flex-direction:column;text-align:left;text-decoration:none;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;
  transition:transform .2s var(--ease),box-shadow .2s var(--ease),background .2s var(--ease);
}
.link-card:hover{transform:translateY(-3px);background:rgba(255,255,255,.78);box-shadow:0 18px 40px rgba(28,27,25,.1)}
.link-card .lc-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin-bottom:18px}
.link-card .lc-icon svg{width:21px;height:21px}
.link-card:nth-child(3n+1) .lc-icon{background:var(--sky)}
.link-card:nth-child(3n+2) .lc-icon{background:var(--peach)}
.link-card:nth-child(3n+3) .lc-icon{background:var(--sage)}
.link-card h2,.link-card h3{font-size:1.18rem;letter-spacing:-.035em;line-height:1.15;margin-bottom:11px}
.link-card p{font-size:.94rem;line-height:1.65;color:var(--ink-2);flex:1}
.link-card .lc-go{margin-top:18px;font-size:.86rem;font-weight:600;letter-spacing:-.01em;display:inline-flex;align-items:center;gap:7px}
.link-card .lc-go .arrow{transition:transform .18s var(--ease)}
.link-card:hover .lc-go .arrow{transform:translateX(3px)}
.link-card .lc-tag{align-self:flex-start;font-size:.6rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:var(--lilac);margin-bottom:14px}
/* v3: the use-case cards carried four stacked questions each, which read as a
   wall of text rather than a choice. They now carry the outcome, then one
   representative question, so a visitor can recognise their situation. */
.link-card .lc-q{
  margin-top:16px;padding:14px 15px;border-radius:14px;
  background:rgba(28,27,25,.035);border:1px solid var(--line);
  font-family:var(--serif);font-style:italic;font-size:.95rem;line-height:1.6;color:var(--ink-2);
}
/* --muted, not --faint: this label sits on an inset that is tinted *darker*
   than the card (rgba(28,27,25,.035)) inside an already translucent card, and
   --faint lands at 4.27:1 once those layers composite. It is the one place in
   the build where the faint tier runs out of room. */
.link-card .lc-q b{
  display:block;font-family:var(--sans);font-style:normal;
  font-size:.58rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);margin-bottom:6px;
}
.link-card.custom{background:rgba(220,216,238,.4);border-color:rgba(28,27,25,.14)}
.link-card.custom .lc-icon{background:var(--lilac)}

.group-label{margin:64px 0 0;font-size:.7rem;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);font-weight:700;text-align:left}
.group-label+.link-grid{margin-top:22px}

/* ── Follow-up example switcher ───────────────────────────────────────────── */
.exchange-tabs{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:44px}
.xtab{
  padding:10px 18px;border-radius:999px;border:1px solid var(--line-2);background:rgba(255,255,255,.6);
  font:inherit;font-size:.88rem;font-weight:600;letter-spacing:-.015em;color:var(--muted);cursor:pointer;
  transition:background .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease);
}
.xtab:hover{background:#fff;color:var(--ink)}
.xtab.is-active{background:var(--ink);border-color:var(--ink);color:#fbf9f3}
.exchange-panels{margin-top:26px}
.exchange-panel{
  max-width:760px;margin:0 auto;background:var(--card-solid);border:1px solid var(--line);
  border-radius:var(--radius);padding:32px 30px;text-align:left;box-shadow:0 18px 44px rgba(28,27,25,.08);
}
.exchange-panel[hidden]{display:none}
.xr{display:grid;grid-template-columns:132px 1fr;gap:18px;padding:16px 0;border-bottom:1px solid var(--line)}
.xr:last-of-type{border-bottom:0}
.xr .xr-who{font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);padding-top:3px}
.xr .xr-what{font-size:1rem;line-height:1.66;color:var(--ink)}
.xr.ask .xr-what{font-weight:600;letter-spacing:-.02em}
.xr.ask .xr-who{color:var(--ink)}

/* ── Old way / new way comparison ─────────────────────────────────────────
   Two columns of deliberately parallel statements. The rows are not forced
   into a shared grid: matching the phrasing carries the comparison, and a
   shared grid would leave ragged gaps wherever one side wraps and the other
   does not. */
.compare{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:52px;text-align:left;align-items:start}
.cmp-col{border-radius:20px;padding:30px 28px;border:1px solid var(--line)}
.cmp-col.old{background:rgba(255,255,255,.5)}
.cmp-col.new{background:rgba(211,223,207,.34);border-color:rgba(143,181,152,.42)}
.cmp-eyebrow{font-size:.64rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--faint);margin-bottom:12px}
.cmp-col.new .cmp-eyebrow{color:#4d6a55}
.cmp-title{font-size:1.28rem;letter-spacing:-.035em;line-height:1.15}
.cmp-sub{font-size:.84rem;color:var(--muted);margin-top:7px;margin-bottom:8px}
.cmp-list{margin:0;padding:0;list-style:none}
.cmp-list li{
  display:flex;gap:12px;align-items:flex-start;padding:15px 0;
  border-top:1px solid var(--line);font-size:.94rem;line-height:1.62;color:var(--ink-2);
}
.cmp-mark{
  flex:0 0 auto;width:21px;height:21px;border-radius:50%;
  display:grid;place-items:center;margin-top:1px;
}
.cmp-col.old .cmp-mark{background:rgba(28,27,25,.06);color:var(--faint)}
.cmp-col.new .cmp-mark{background:#8fb598;color:#fbf9f3}
.cmp-mark svg{width:11px;height:11px;display:block}

/* ── Illustrative labelling (brief §1.3, gate B) ──────────────────────────── */
.illus-tag{
  display:inline-flex;align-items:center;gap:8px;font-size:.64rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-2);
  background:var(--yellow);border:1px solid rgba(28,27,25,.12);border-radius:999px;padding:5px 12px;
}
.illus-note{margin-top:18px;font-size:.84rem;line-height:1.65;color:var(--muted);font-family:var(--serif);font-style:italic;font-size:.95rem}
.center .illus-note{max-width:60ch;margin-left:auto;margin-right:auto}

/* ── Conversation block (use-case pages) ──────────────────────────────────── */
.convo{background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 18px 44px rgba(28,27,25,.08)}
.convo .line{display:flex;flex-direction:column;gap:5px;padding:13px 0;border-bottom:1px solid var(--line)}
.convo .line:last-child{border-bottom:0}
.convo .who{font-size:.64rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.convo .line.caijo .who{color:var(--ink)}
.convo .said{font-size:.98rem;line-height:1.62;color:var(--ink-2)}
.convo .line.caijo .said{color:var(--ink);font-weight:600;letter-spacing:-.02em}
.reveals{margin-top:20px;padding:18px 20px;background:rgba(220,216,238,.4);border:1px solid var(--line);border-radius:16px;font-size:.92rem;line-height:1.66;color:var(--ink-2)}
.reveals b{font-weight:700;color:var(--ink)}

/* ── Themes table ─────────────────────────────────────────────────────────── */
.themes{width:100%;border-collapse:collapse;margin:26px 0 6px;text-align:left}
.themes th{font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);padding:0 16px 12px 0;border-bottom:1px solid var(--line-2)}
.themes td{padding:16px 16px 16px 0;border-bottom:1px solid var(--line);vertical-align:top;font-size:.95rem;line-height:1.62;color:var(--ink-2)}
.themes td:first-child{font-weight:700;color:var(--ink);letter-spacing:-.02em;width:30%}
.themes td a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-2)}
.themes td a:hover{text-decoration-color:var(--ink)}
/* A status badge broken across two lines reads as two separate words. Give the
   column enough room to keep the pill intact. */
.themes td .tp-pending{white-space:nowrap}
.table-scroll{overflow-x:auto}

/* ── Callouts ─────────────────────────────────────────────────────────────── */
.callout{margin:28px 0;padding:24px 26px;border-radius:18px;background:var(--card);border:1px solid var(--line)}
.callout .co-label{font-size:.64rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
/* A callout whose subject is an unresolved decision carries the same badge as
   the framework table, so the two read as one status vocabulary. */
.callout .co-label:has(.tp-pending){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.callout .co-label .tp-pending{letter-spacing:.1em;white-space:nowrap}
.callout p{font-size:.96rem;line-height:1.72;color:var(--ink-2);margin:0}
.callout p+p{margin-top:12px}
.callout.legal{background:rgba(205,217,230,.35)}
.callout.boundary{background:rgba(242,204,210,.3)}
.callout.policy{background:rgba(220,216,238,.4)}

/* ── Output row ───────────────────────────────────────────────────────────── */
.output-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:34px}
.output-row .chip{display:inline-flex;align-items:center;gap:9px;padding:11px 18px;border-radius:999px;background:var(--card-solid);border:1px solid var(--line);font-size:.9rem;font-weight:600;letter-spacing:-.02em}
.output-row .chip .bullet{width:9px;height:9px;border-radius:50%}
.output-row .chip:nth-child(1) .bullet{background:var(--sky)}
.output-row .chip:nth-child(2) .bullet{background:var(--lilac)}
.output-row .chip:nth-child(3) .bullet{background:var(--yellow)}
.output-row .chip:nth-child(4) .bullet{background:var(--sage)}

/* ── Numbered flow (method / policy-to-assessment) ────────────────────────── */
.flow-line{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:34px 0}
.flow-line .fl-step{padding:12px 20px;border-radius:999px;background:var(--card-solid);border:1px solid var(--line);font-size:.9rem;font-weight:600;letter-spacing:-.02em}
.flow-line .fl-arrow{color:var(--faint)}

.method{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:58px;text-align:left}
.method.three{grid-template-columns:repeat(3,1fr)}
.method .m-step{position:relative;padding-top:24px;border-top:2px solid var(--line-2)}
.method .m-step:nth-child(1){border-top-color:var(--sky)}
.method .m-step:nth-child(2){border-top-color:var(--lilac)}
.method .m-step:nth-child(3){border-top-color:var(--yellow)}
.method .m-step:nth-child(4){border-top-color:var(--sage)}
.method .m-num{font-family:var(--serif);font-style:italic;font-size:1.5rem;color:var(--muted);line-height:1;margin-bottom:12px}
.method h3,.method h4{font-size:1.1rem;letter-spacing:-.035em;margin-bottom:10px;line-height:1.2}
.method p{font-size:.94rem;line-height:1.66;color:var(--ink-2)}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.price-card{
  max-width:520px;margin:52px auto 0;background:var(--card-solid);border:1px solid var(--line-2);
  border-radius:30px;padding:44px 38px;text-align:center;box-shadow:0 30px 70px rgba(28,27,25,.13);
}
.price-label{display:inline-block;padding:6px 15px;border-radius:999px;background:var(--yellow);border:1px solid rgba(28,27,25,.12);font-size:.66rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-bottom:24px}
.price-card h2{font-size:1.5rem;letter-spacing:-.04em;margin-bottom:18px}
.price-amount{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.price-amount .qual{font-family:var(--serif);font-style:italic;font-size:1.6rem;color:var(--muted)}
.price-amount .figure{font-size:clamp(2.6rem,7vw,3.8rem);font-weight:700;letter-spacing:-.055em;line-height:1}
.price-amount .per{font-size:1.05rem;color:var(--muted);font-weight:600}
.price-card .price-what{font-size:1rem;line-height:1.7;color:var(--ink-2);max-width:36ch;margin:0 auto 28px}
.price-card .btn{width:100%;justify-content:center}
.price-secondary{margin-top:18px;font-size:.9rem}
.price-secondary a{color:var(--muted)}

/* ── Try / topic chooser ──────────────────────────────────────────────────── */
.topics{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}
.topic{
  padding:9px 16px;border-radius:999px;border:1px solid var(--line-2);background:rgba(255,255,255,.6);
  font:inherit;font-size:.86rem;font-weight:600;letter-spacing:-.015em;color:var(--muted);cursor:pointer;
  transition:background .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease);
}
.topic:hover{background:#fff;color:var(--ink)}
.topic.is-active{background:var(--ink);border-color:var(--ink);color:#fbf9f3}
.context-note{margin-top:14px;font-size:.84rem;color:var(--muted);line-height:1.6}
.expect{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:44px;text-align:left}
.expect .e-item{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px 22px}
.expect .e-num{font-family:var(--serif);font-style:italic;font-size:1.4rem;color:var(--muted);margin-bottom:10px}
.expect h3,.expect h4{font-size:1.02rem;letter-spacing:-.03em;margin-bottom:9px}
.expect p{font-size:.9rem;line-height:1.62;color:var(--ink-2)}

/* ── Sample assessment ────────────────────────────────────────────────────── */
.sample-doc{max-width:840px;margin:52px auto 0;background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:44px 42px;text-align:left;box-shadow:0 26px 62px rgba(28,27,25,.11)}
.sample-doc .sd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid var(--line-2);margin-bottom:8px}
.sample-doc .sd-title{font-size:1.5rem;letter-spacing:-.04em;line-height:1.1}
.sample-doc .sd-meta{font-size:.82rem;color:var(--muted);margin-top:6px}
.sd-section{padding:26px 0;border-bottom:1px solid var(--line)}
.sd-section:last-child{border-bottom:0;padding-bottom:0}
.sd-section h3{font-size:.68rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.sd-section p{font-size:.98rem;line-height:1.75;color:var(--ink-2);margin-bottom:12px}
.sd-section p:last-child{margin-bottom:0}
.sd-list{margin:0;padding:0;list-style:none}
.sd-list li{position:relative;padding:8px 0 8px 22px;font-size:.96rem;line-height:1.66;color:var(--ink-2);border-bottom:1px solid var(--line)}
.sd-list li:last-child{border-bottom:0}
.sd-list li::before{content:'';position:absolute;left:0;top:16px;width:9px;height:9px;border-radius:50%;background:var(--lilac);border:1px solid rgba(28,27,25,.18)}
.sd-list.todo li::before{background:var(--yellow)}
.sd-list.done li::before{background:var(--sage)}
.status-line{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:6px;font-size:.9rem;color:var(--ink-2)}
.status-pill{font-size:.64rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;padding:5px 12px;border-radius:999px;background:var(--yellow);border:1px solid rgba(28,27,25,.12)}

/* ── Tracking-flow diagram (how-caijo-works) ──────────────────────────────────
   Restyled to echo the real data-flow-map module (see assets/dataflow.png,
   used verbatim in the module carousel further down this same page): a
   toolbar-style role legend, node "cards" with a coloured round icon badge
   plus a two-line label/sub-label, and orthogonal (right-angle) connectors
   instead of the old plain colour-block boxes and curved lines. Still an
   illustrative diagram, not a screenshot — the <title>/<desc> inside the SVG
   say so for assistive tech, and nothing here claims to be product UI. */
.trackmap{position:relative;width:100%;max-width:640px;aspect-ratio:460/284;min-height:230px;background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius);padding:16px;box-shadow:0 24px 56px rgba(28,27,25,.12)}
.trackmap svg{width:100%;height:100%;overflow:visible}
.tm-legend-dot{stroke:rgba(28,27,25,.12);stroke-width:.6}
.tm-legend-dot.role-user{fill:#71916c}
.tm-legend-dot.role-system{fill:#5c7fa3}
.tm-legend-dot.role-external{fill:#948f87}
.tm-legend-label{fill:var(--faint);font-family:inherit;font-size:8.6px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}
.tm-node{opacity:0}
.demo-act.in-view .tm-node{animation:fm-fade 500ms var(--ease) forwards}
.tm-node .bg{fill:var(--card-solid);stroke:var(--line-2);stroke-width:1}
.tm-badge{stroke:rgba(28,27,25,.12);stroke-width:.6}
.tm-badge.role-user{fill:#71916c}
.tm-badge.role-system{fill:#5c7fa3}
.tm-badge.role-external{fill:#948f87}
.tm-glyph{fill:#fff}
.tm-node .label{fill:var(--ink);font-family:inherit;font-size:10px;font-weight:600;text-anchor:start}
.tm-node .sub-label{fill:var(--muted);font-family:inherit;font-size:8.3px;font-weight:500;text-anchor:start}
.tm-arrow{fill:none;stroke:rgba(28,27,25,.6);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:300;stroke-dashoffset:300;opacity:0}
.tm-arrow.q{stroke:#c0687a;stroke-width:1.8;stroke-dasharray:5 4;stroke-dashoffset:0}
.demo-act.in-view .tm-arrow{animation:fm-draw 900ms linear forwards}
.demo-act.in-view .tm-arrow.q{animation:fm-draw-dashed 900ms linear forwards}
.tm-caption{fill:var(--muted);font-family:inherit;font-size:8.5px;font-weight:600;text-anchor:middle}
.demo-act.in-view .tm-node.t1{animation-delay:150ms}
.demo-act.in-view .tm-node.t2{animation-delay:350ms}
.demo-act.in-view .tm-node.t3{animation-delay:900ms}
.demo-act.in-view .tm-node.t4{animation-delay:1400ms}
.demo-act.in-view .tm-arrow.q1{animation-delay:600ms}
.demo-act.in-view .tm-arrow.q2{animation-delay:1150ms}
.demo-act.in-view .tm-arrow.q3{animation-delay:1650ms}

/* ── Established / to-establish summary ───────────────────────────────────── */
.estab{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px;text-align:left}
.estab .e-col{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px 20px}
.estab .e-col.reported{background:rgba(211,223,207,.38)}
.estab .e-col.open{background:rgba(236,228,164,.34)}
.estab .e-col h4{font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.estab ul{margin:0;padding:0;list-style:none}
.estab li{font-size:.9rem;line-height:1.6;color:var(--ink-2);padding:7px 0 7px 18px;position:relative}
.estab li::before{content:'';position:absolute;left:0;top:15px;width:7px;height:7px;border-radius:50%;background:rgba(28,27,25,.35)}

/* ── Related links strip ──────────────────────────────────────────────────── */
.related{border-top:1px solid var(--line);padding:34px 0 0;margin-top:56px}
.related h3,.related h4{font-size:.66rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.related-links{display:flex;flex-wrap:wrap;gap:10px}
.related-links a{text-decoration:none;font-size:.88rem;font-weight:600;letter-spacing:-.015em;padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.62);border:1px solid var(--line-2)}
.related-links a:hover{background:#fff}

/* ── v3: data-handling question blocks ───────────────────────────────────────
   Each question shows what is settled and, separately, what is not. The two
   are visually distinct so that a skim cannot mistake an open item for an
   answer. */
.dh-item{padding:34px 0;border-bottom:1px solid var(--line)}
.dh-item:last-child{border-bottom:0}
.dh-item h3{font-size:1.34rem;letter-spacing:-.04em;line-height:1.16;margin-bottom:14px}
.dh-state{font-size:1rem;line-height:1.78;color:var(--ink-2)}
.dh-open{margin-top:20px;padding:20px 22px;border-radius:16px;background:rgba(236,228,164,.3);border:1px solid var(--line)}
.dh-open-label{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:.64rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:11px}
.dh-open p{font-size:.95rem;line-height:1.72;color:var(--ink-2);margin:0}
.dh-open p+p{margin-top:12px}
.dh-evi{color:var(--muted)!important}
.dh-evi b{color:var(--ink)}

/* ── v3: free-test request layout ────────────────────────────────────────────
   The plan puts the form immediately after the introduction with the approved
   test facts beside it, so the page hero is shortened and the form section is
   a two-column grid instead of a centred CTA band. */
.page-hero.tight{padding-bottom:34px}
.page-hero.tight .cta-support{margin-top:20px}
.trial-section{padding-top:34px}
.trial-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:start}
.trial-form-col{min-width:0}
.trial-form-col .ea-form,.trial-form-col .ea-confirm{max-width:none;margin:0}
.ea-form-title{font-size:1.5rem;letter-spacing:-.045em;line-height:1.1;margin-bottom:22px}
.ea-hint{margin-top:7px;font-size:.82rem;line-height:1.6;color:var(--muted)}
.ea-hint a{color:var(--ink)}
.ea-group-label{font-size:.66rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin:16px 0 8px}
.ea-group-label:first-of-type{margin-top:0}

/* Optional disclosure: nine topic buttons and an organisation field are one
   optional question, not three visible decisions on the main path. */
.ea-more{margin:0 0 18px;border:1px solid var(--line-2);border-radius:14px;background:rgba(255,255,255,.5)}
.ea-more>summary{
  position:relative;list-style:none;cursor:pointer;
  padding:15px 46px 15px 16px;font-size:.9rem;font-weight:600;letter-spacing:-.015em;
}
.ea-more>summary::-webkit-details-marker{display:none}
.ea-more>summary .faq-plus{right:16px;width:14px;height:14px}
.ea-more>summary .faq-plus::before{top:6px;width:14px}
.ea-more>summary .faq-plus::after{left:6px;height:14px}
.ea-more[open]>summary{border-bottom:1px solid var(--line)}
.ea-more[open]>summary .faq-plus::after{transform:rotate(90deg)}
.ea-more-body{padding:18px 16px}

.ea-captcha-refresh{
  display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;
  padding:9px 12px;border-radius:999px;border:1px solid var(--line-2);
  background:rgba(255,255,255,.7);font:inherit;font-size:.78rem;font-weight:600;
  color:var(--ink);cursor:pointer;
}
.ea-captcha-refresh:hover{background:#fff}
.ea-captcha-refresh svg{width:14px;height:14px}
.ea-submit-wrap .ea-note+.ea-note{margin-top:10px}

.trial-panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:32px 28px;text-align:left}
.tp-title{font-size:1.25rem;letter-spacing:-.04em;line-height:1.14}
.tp-intro{margin-top:9px;font-size:.9rem;line-height:1.65;color:var(--muted)}
.tp-item{padding:18px 0;border-bottom:1px solid var(--line)}
.tp-item:first-of-type{border-top:1px solid var(--line);margin-top:20px}
.tp-k{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:.88rem;font-weight:700;letter-spacing:-.02em;margin-bottom:7px}
.tp-v{font-size:.92rem;line-height:1.7;color:var(--ink-2)}
.tp-v a{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-2)}
/* An open decision is labelled as one. The plan forbids filling these rows
   with an invented trial length, card policy or framework list. */
.tp-pending{
  font-size:.6rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  background:var(--yellow);border-radius:999px;padding:3px 9px;color:var(--ink);
}
.tp-foot{margin-top:20px;font-size:.85rem;line-height:1.7;color:var(--muted)}

/* ── v3: hero example controls ────────────────────────────────────────────────
   v2 advanced the hero interview on a timer. v3 only changes it on a click, so
   the frame needs a visible control and a position indicator. */
.hero-app-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}

.hero-app-count{font-size:.72rem;color:var(--faint);letter-spacing:.04em}
.hero-app-count b{font-weight:700;color:var(--ink-2)}

/* ── v3: output preview (one excerpt + what it connects to) ───────────────── */
.preview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:24px;align-items:start;margin-top:56px;text-align:left}
.preview-doc{
  position:relative;background:var(--card-solid);border:1px solid var(--line);
  border-radius:var(--radius);padding:38px 34px 34px;
  box-shadow:0 26px 62px rgba(28,27,25,.11);
}
.preview-doc .illus-tag{position:absolute;top:18px;right:18px}
.pd-head{padding-bottom:20px;border-bottom:1px solid var(--line-2);margin-bottom:22px;padding-right:104px}
.pd-title{font-size:1.28rem;font-weight:700;letter-spacing:-.035em;line-height:1.15}
.pd-meta{font-size:.78rem;color:var(--muted);margin-top:7px}
.pd-h{font-size:.68rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:14px}
.preview-doc p{font-size:.98rem;line-height:1.78;color:var(--ink-2);margin-bottom:14px}
.pd-open{
  margin-top:22px;padding:16px 18px;border-radius:14px;
  background:rgba(236,228,164,.36);border:1px solid var(--line);
  font-size:.94rem;line-height:1.66;color:var(--ink-2);
}
.pd-open-label{display:block;font-size:.62rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:7px}

.preview-side{display:flex;flex-direction:column;gap:20px}
.preview-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px 22px}
.preview-card.action{background:rgba(198,214,198,.32)}
.pc-label{font-size:.62rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:9px}
.pc-title{font-size:1.04rem;font-weight:700;letter-spacing:-.03em;line-height:1.2;margin-bottom:12px}
.preview-card p{font-size:.92rem;line-height:1.7;color:var(--ink-2);margin:0}
.pc-list{margin:0;padding:0;list-style:none}
.pc-list li{padding:9px 0;border-bottom:1px solid var(--line);font-size:.89rem;line-height:1.6;color:var(--ink-2)}
.pc-list li:last-child{border-bottom:0;padding-bottom:0}
.pc-list b{display:block;font-size:.62rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:3px}
.pc-foot{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted);line-height:1.55}

/* ── v3: trust and offer clarity ─────────────────────────────────────────── */
.trust-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:56px;text-align:left}
.trust-card{
  display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);border-radius:18px;padding:28px 26px;
}
.tc-label{font-size:.62rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.trust-card h3{font-size:1.16rem;font-weight:700;letter-spacing:-.035em;line-height:1.22;margin-bottom:11px}
.trust-card p{font-size:.95rem;line-height:1.72;color:var(--ink-2);margin:0}
.tc-link{
  margin-top:auto;padding-top:18px;align-self:flex-start;
  display:inline-flex;align-items:center;gap:7px;
  font-size:.88rem;font-weight:600;letter-spacing:-.015em;color:var(--ink);text-decoration:none;
}
.tc-link .arrow{transition:transform .18s var(--ease)}
.tc-link:hover .arrow{transform:translateX(3px)}

/* ── v3: shareable assessment sections ───────────────────────────────────────
   The plan asks for the example's sections to be shareable, so the chips above
   the draft are now links into it and each section heading carries a permalink.
   scroll-margin-top clears the fixed nav when one of those links is followed. */
.output-row a.chip{color:inherit;text-decoration:none;transition:background .18s var(--ease),border-color .18s var(--ease)}
.output-row a.chip:hover{background:#fff;border-color:var(--line-2)}
.sd-section{scroll-margin-top:96px}
.sd-section>h3{display:flex;align-items:baseline;gap:10px}
.sd-anchor{
  font-size:.8rem;font-weight:700;letter-spacing:0;text-transform:none;
  color:var(--faint);text-decoration:none;opacity:0;transition:opacity .18s var(--ease);
}
.sd-section:hover .sd-anchor,.sd-anchor:focus-visible{opacity:1}
.sd-anchor:hover{color:var(--ink)}

/* The example's own summary: what this page contains, before the long draft. */
.ex-summary{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px;margin-top:34px;text-align:left}
.ex-summary h2{font-size:1.2rem;letter-spacing:-.04em;line-height:1.16;margin-bottom:14px}
.ex-summary p{font-size:.96rem;line-height:1.75;color:var(--ink-2);margin-bottom:12px}
.ex-summary p:last-child{margin-bottom:0}
.ex-contents{margin:18px 0 0;padding:18px 0 0;border-top:1px solid var(--line);list-style:none;display:grid;grid-template-columns:repeat(2,1fr);gap:8px 22px}
.ex-contents a{font-size:.92rem;line-height:1.6;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line-2)}
.ex-contents a:hover{text-decoration-color:var(--ink)}

/* ── v3: researcher input beside reviewer output ──────────────────────────────
   The research page asked the visitor to take on trust that a plain-language
   description becomes something a reviewer can work from. Showing the two side
   by side lets them judge it. The left column is deliberately unstructured
   prose and the right column deliberately structured, because that contrast is
   the whole claim. */
.io-pair{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:38px;text-align:left;align-items:start}
.io-col{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px 24px}
.io-col.said{background:rgba(255,255,255,.52)}
.io-col.got{background:rgba(211,223,207,.3)}
.io-col>h3{font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.io-who{font-size:.8rem;line-height:1.55;color:var(--faint);margin-bottom:16px}
.io-said{font-family:var(--serif);font-style:italic;font-size:1rem;line-height:1.72;color:var(--ink-2);margin:0}
.io-rows{margin:0;padding:0;list-style:none}
.io-rows li{padding:12px 0;border-top:1px solid var(--line)}
.io-rows li:first-child{border-top:0;padding-top:0}
.io-rows b{
  display:block;font-size:.58rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--faint);margin-bottom:5px;
}
.io-rows span{display:block;font-size:.9rem;line-height:1.62;color:var(--ink-2)}
/* The task rows are the ones the interview could not answer. They are tinted
   so a skim cannot read an assigned question as a settled finding. */
.io-rows li.task{background:rgba(236,228,164,.42);border-radius:12px;padding:12px 14px;margin-top:12px;border-top:0}
.io-foot{
  grid-column:1 / -1;margin:0;padding-top:6px;
  font-size:.82rem;line-height:1.65;color:var(--muted);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width:1024px){
  .preview-grid{grid-template-columns:1fr}
  /* Single column, and the facts panel first: the visitor should read the test
     terms before the fields, not after scrolling past them. */
  .trial-grid{grid-template-columns:1fr;gap:26px}
  .trial-panel{order:-1}
}
@media (max-width:980px){
  .app-main{grid-template-columns:1fr}
  /* v2 hid the sidebar here. In v3 it is the example selector, so keep it and
     lay it out as a horizontal strip above the interview instead. */
  .app-side{flex-direction:row;overflow-x:auto;gap:8px;border-right:0;border-bottom:1px solid var(--line);padding:12px}
  .app-side-label{display:none}
  .app-side-item{width:auto;flex:0 0 auto;max-width:200px}
  .app-side-date{display:none}
  /* The strip is now a row of its own above the chat, so the fixed height has
     to be split between the two rather than handed to a single cell. */
  .caijo-demo .app-main{grid-template-rows:auto minmax(0,1fr)}
  .caijo-demo .app-side{overflow-y:hidden}
  .cards-grid,.testimonials{grid-template-columns:1fr}
  .cards-grid.four{grid-template-columns:1fr}
  .stat-band.four{grid-template-columns:1fr}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  /* Release the featured span before the grid narrows further, or the first
     card would try to span both remaining columns and crowd out the rest. */
  .team-grid.featured{grid-template-columns:repeat(2,1fr)}
  .team-grid.featured .team-card:first-child{grid-column:span 2}
  .factrow{grid-template-columns:repeat(2,1fr);row-gap:26px}
  .factrow .fact{padding:0 20px}
  .factrow .fact:nth-child(odd){padding-left:0}
  .factrow .fact:nth-child(3){border-left:0}
  /* The connector reads as a join between side-by-side cards; once they stack
     it is pointing the wrong way, so turn it a quarter and let it sit between. */
  .pairs{grid-template-columns:1fr;gap:18px;justify-items:stretch}
  .pair-link{transform:rotate(90deg);margin:0 auto}
  .feature-quote{grid-template-columns:1fr;gap:26px;padding:34px 30px}
  .benefits-grid{grid-template-columns:1fr}
  
  
  /* Quote hairlines no longer need to align across a row once stacked. */
  .benefit-quote{margin-top:26px}
  .link-grid,.link-grid.two{grid-template-columns:1fr}
  .method{grid-template-columns:1fr 1fr;gap:30px}
  .method.three{grid-template-columns:1fr;gap:26px}
  .expect{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:34px}
  .steps::before{display:none}
  .demo-stage{grid-template-columns:1fr}
  .demo-act{grid-template-columns:minmax(0,1fr);gap:34px}
  /* The 280px min-height and the 5:4 ratio together imply a 350px floor on the
     width, which is wider than the column on a narrow phone. Let width lead. */
  .trackmap{min-height:0}
  .demo-act.rev .demo-act-copy{order:0}
  .demo-arc{gap:88px;margin-top:88px}
}
@media (max-width:768px){
  
  
  
  
  .section{padding:76px 20px}
  .hero{padding:132px 20px 72px}
  .how-hero{padding:126px 20px 72px}
  .carousel-arrow.prev{left:-4px}
  .carousel-arrow.next{right:-4px}
  .midcta-inner{padding:56px 22px;border-radius:30px}
  .section.alt::before{inset:12px 6px;border-radius:26px}
  /* The base bar is the last element now, so the .sticky-cta clearance has to
     live there. Left on footer it pads below the bar and the pill still covers
     the copyright line. */
  
  
  
  .cta-section{padding:84px 20px}
  .page-hero{padding:120px 20px 60px}
  .method{grid-template-columns:1fr;gap:26px}
  .team-grid,.team-grid.featured{grid-template-columns:1fr}
  .team-grid.featured .team-card:first-child{grid-column:auto;text-align:center}
  .team-grid.featured .team-card:first-child .team-photo{margin:0 auto 18px}
  .team-grid.featured .team-card:first-child .team-bio{text-align:left}
  .factrow{grid-template-columns:1fr;row-gap:22px}
  .factrow .fact{padding:0}
  .factrow .fact+.fact{border-left:0;border-top:1px solid var(--line);padding-top:22px}
  .factrow-head span+span{text-align:left}
  .feature-quote{padding:28px 22px}
  .eu-note{grid-template-columns:1fr;gap:18px}
  .stat-band{grid-template-columns:1fr;gap:14px;margin-top:44px}
  .stat{padding:22px 20px}
  .stat-num{font-size:2.5rem}
  .estab{grid-template-columns:1fr}
  /* Stacked, the two columns lose their side-by-side reading. The order still
     carries the argument — what was said, then what came back. */
  .io-pair{grid-template-columns:1fr}
  .io-col{padding:24px 20px}
  .xr{grid-template-columns:1fr;gap:5px}
  /* Three columns will not hold at phone width. Drop the header row and stack
     each row into title → framework → status, which is the reading order the
     header was labelling anyway. */
  .assess-head{display:none}
  .assess-row{grid-template-columns:1fr;gap:9px;padding:15px 18px}
  .sample-doc{padding:30px 22px}
  .trust-grid{grid-template-columns:1fr}
  .ex-summary{padding:26px 20px}
  .ex-contents{grid-template-columns:1fr}
  /* Touch has no hover, so the permalinks would never appear. */
  .sd-anchor{opacity:1}
  .trial-panel{padding:26px 20px}
  .ea-captcha{flex-wrap:wrap}
  .ea-captcha .ea-input{flex:1 1 100%}
  .preview-doc{padding:30px 22px}
  .pd-head{padding-right:0;padding-top:12px}
  .preview-doc .illus-tag{position:static;display:inline-flex}
  .exchange-panel{padding:24px 20px}
  .price-card{padding:34px 24px;border-radius:24px}
  .themes td:first-child{width:auto}
  .themes,.themes tbody,.themes tr,.themes td{display:block;width:100%}
  .themes thead{display:none}
  .themes tr{padding:14px 0;border-bottom:1px solid var(--line)}
  .themes td{border-bottom:0;padding:2px 0}
  /* Side by side, each column would be too narrow to keep a statement on one
     or two lines. Stacked, the old-way column still reads first. */
  .compare{grid-template-columns:1fr;gap:16px;margin-top:38px}
  .cmp-col{padding:26px 22px}
  .caijo-demo{margin-top:40px}
  .caijo-demo .app-main{block-size:min(32rem,74vh);block-size:min(32rem,74svh)}
  .caijo-demo .app-chat{padding:14px 16px}
  .caijo-demo__messages{padding:16px 0;gap:16px}
  .cd-bubble{max-width:90%;font-size:.94rem;padding:14px 16px}
  /* Flex-wrapped, each pill claims its own row and pushes the demo far down
     the page. Two columns keeps the proof points inside one screen. */
  .hero-points{
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    margin-top:30px;text-align:left;
  }
  .hero-points li{font-size:.76rem;padding:9px 13px;white-space:normal;align-items:flex-start}
  .hero-points li::before{margin-top:.38em}
}
/* ── Converge diagram (custom-framework page) ─────────────────────────────
   Several control sources feeding one assessment. Built from the existing
   tokens; no new colours. The rail is decorative and hidden from assistive
   tech — the source cards read as a plain list, which is the correct order. */
.converge{margin-top:52px}
.cv-sources{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.cv-src{
  background:var(--card-solid);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:18px 16px 16px;border-top:3px solid var(--line-2);text-align:left;
}
.cv-src:nth-child(1){border-top-color:var(--sky)}
.cv-src:nth-child(2){border-top-color:var(--lilac)}
.cv-src:nth-child(3){border-top-color:var(--sage)}
.cv-src:nth-child(4){border-top-color:var(--yellow)}
.cv-src:nth-child(5){border-top-color:var(--peach)}
.cv-src b{display:block;font-size:.95rem;letter-spacing:-.025em;margin-bottom:6px}
.cv-src span{font-size:.82rem;line-height:1.5;color:var(--muted)}
.cv-rail{position:relative;height:56px}
.cv-rail::before{content:'';position:absolute;left:10%;right:10%;top:22px;height:1px;background:var(--line-2)}
.cv-rail::after{content:'';position:absolute;left:50%;top:22px;width:1px;height:34px;background:var(--line-2)}
.cv-hub{
  max-width:520px;margin:0 auto;text-align:center;background:var(--ink);color:#fbf9f3;
  border-radius:var(--radius);padding:24px 28px;
}
.cv-hub b{display:block;font-size:1.05rem;letter-spacing:-.03em}
.cv-hub span{display:block;margin-top:6px;font-size:.88rem;line-height:1.6;opacity:.78}
.cv-drop{position:relative;height:38px}
.cv-drop::after{content:'';position:absolute;left:50%;top:0;width:1px;height:38px;background:var(--line-2)}
@media (max-width:860px){
  .cv-sources{grid-template-columns:repeat(2,1fr)}
  .cv-rail{height:30px}
  .cv-rail::before{display:none}
  .cv-rail::after{top:0;height:30px}
}

@media (max-width:520px){ .cv-sources{grid-template-columns:1fr} }

/* ── Harvested from the DPIA design study (6 October 2026) ────────────────
   Structure and interaction were taken from a standalone design study; every
   value is re-expressed in this file's tokens. The study's own palette, its
   Georgia serif and its px type scale were deliberately not imported — its
   secondary text sat at 5.44:1 where ours is 7.04:1. The study file has since
   been deleted; see NOTES.md for what was taken and what was not. */

/* Split hero — a variant of .page-hero, not a replacement. */
.page-hero.split{text-align:left;padding:132px 24px 60px}
.page-hero.split h1{max-width:none;margin:0 0 22px}
.page-hero.split h1 em{display:block}
.page-hero.split .lede{margin:0;max-width:52ch}
/* The About hero runs two lede paragraphs; the rule above zeroes their
   margins, so they need re-separating. A single lede is unaffected. */
.page-hero.split .lede+.lede{margin-top:16px}
.page-hero.split .hero-actions{justify-content:flex-start}
.page-hero.split .cta-support{margin-left:0;text-align:left}
.page-hero.split .breadcrumb,.page-hero.split .section-label{justify-content:flex-start}
.hero-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:60px}
.hero-visual{background:var(--card-solid);border:1px solid var(--line);border-radius:28px;padding:24px}
.case-note{font-size:.64rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--faint);margin-bottom:14px}
.case-quote{background:var(--lilac);border-radius:var(--radius-sm);padding:18px 20px}
.case-quote .byline{display:flex;align-items:center;gap:9px;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.case-quote .avatar{width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--card-solid);display:grid;place-items:center;font-size:.64rem;font-weight:700;letter-spacing:0}
.case-quote blockquote{margin:0;font-size:1.02rem;line-height:1.5;letter-spacing:-.02em;color:var(--ink)}
.case-reveal{margin-top:18px}
.case-reveal h3{font-size:1.08rem;letter-spacing:-.03em;line-height:1.25;margin:10px 0 14px}
.signal{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 0;border-top:1px solid var(--line)}
.signal b{font-size:.95rem;letter-spacing:-.02em}
.signal span{font-size:.82rem;color:var(--muted);text-align:right}
.hero-foot{max-width:1120px;margin:46px auto 0;padding-top:24px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 24px}
.hero-foot span{display:inline-flex;align-items:center;gap:8px;font-size:.76rem;color:var(--muted)}
.hero-foot svg{width:15px;height:15px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Pain row — three quoted objections with a coloured left rule. */
.pain-row{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:44px}
.pain{border-left:2px solid var(--lilac);padding-left:20px}
.pain:nth-child(2){border-left-color:var(--yellow)}
.pain:nth-child(3){border-left-color:var(--sage)}
.pain h3{font-size:1.12rem;line-height:1.25;letter-spacing:-.03em;margin-bottom:10px}
.pain p{font-size:.94rem;line-height:1.7;color:var(--ink-2)}

/* Chaptered walkthrough — a tablist over the app frame. */
.chapter-rail{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:44px 0 26px}
.chapter-button{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border-radius:999px;border:1px solid transparent;background:transparent;font:inherit;font-size:.84rem;font-weight:600;letter-spacing:-.015em;color:var(--muted);cursor:pointer;transition:background .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease)}
.chapter-button b{display:inline-grid;place-items:center;width:22px;height:22px;border:1px solid var(--line-2);border-radius:50%;font-family:var(--serif);font-style:italic;font-size:.72rem;font-weight:400}
.chapter-button:hover{color:var(--ink)}
.chapter-button[aria-selected=true]{color:var(--ink);background:var(--card-solid);border-color:var(--line-2);box-shadow:0 3px 10px rgba(28,27,25,.05)}
.chapter-button[aria-selected=true] b{background:var(--ink);border-color:var(--ink);color:var(--card-solid)}

/* Vertical tab rail for long output panels. */
.output-grid{display:grid;grid-template-columns:300px 1fr;gap:40px;align-items:start;margin-top:46px}
.output-grid .exchange-tabs{flex-direction:column;align-items:stretch;margin-top:0}
.output-grid .xtab{text-align:left}
.output-grid .exchange-panels{margin-top:0}
.output-grid .exchange-panel{max-width:none;margin:0}

/* No-JS: a tab panel that no script has hidden must stay readable. */
.no-js [role=tabpanel]{display:block!important}
.no-js .chapter-rail,.no-js .output-grid .exchange-tabs{display:none}

@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .page-hero.split{padding:116px 24px 48px}
  /* Stacked, an overhanging badge would sit on top of the photograph and the
     copy below it. Return it to the flow. */
  .photo-badge{position:static;max-width:none;margin-top:16px;box-shadow:none}
  .photo-frame .pf-inner{aspect-ratio:16/10}
  .pain-row{grid-template-columns:1fr;gap:24px}
  .output-grid{grid-template-columns:1fr;gap:26px}
  .output-grid .exchange-tabs{flex-direction:row;flex-wrap:wrap;justify-content:center}
}
@media (max-width:768px){
  .hero-foot{justify-content:flex-start;gap:12px 20px}
  .chapter-button{padding:8px 12px;font-size:.78rem;gap:6px}
  .chapter-button b{width:19px;height:19px;font-size:.66rem}
}

@media (prefers-reduced-motion:reduce){
  
  
  /* No autoplay, no typing indicator and no scroll animation. The opening
     exchange is shown at rest and Restart/Previous/Next still work, so the
     rest is read by choice rather than played at anyone. */
  .cd-msg{opacity:1!important;transform:none!important}
}

/* The diagram and scroll-reveal content start at opacity:0 and are only made
   visible by an animation or an IntersectionObserver. Neither runs when
   printing, so force the resting state so nothing prints blank. */
@media print{
  
  .reveal{opacity:1!important;transform:none!important}
  .tm-node,.fm-node,.risk-card,.trust-boundary-group{opacity:1!important;transform:none!important}
  .tm-arrow,.fm-arrow{opacity:1!important;stroke-dashoffset:0!important}
  /* The fixed-height rule is a screen-only affordance; on paper, unroll the
     whole conversation and drop the playback controls. */
  .caijo-demo .app-frame{box-shadow:none}
  .caijo-demo .app-main{block-size:auto!important;grid-template-columns:1fr}
  .caijo-demo__messages{overflow:visible!important}
  .cd-msg{opacity:1!important;transform:none!important}
  /* Playback only appends the exchanges it has reached, so caijo.js unrolls
     the selected scenario on beforeprint. Nothing left to unhide here — only
     the typing dots to drop, which mean nothing when nothing is arriving. */
  .cd-msg.cd-typing-row{display:none!important}
  /* On paper there is no conversation to select, and the fake message box is
     decoration. The transcript itself prints in full — see beforeprint in
     caijo.js, which unrolls it first. */
  .caijo-demo .app-side,.caijo-demo .chat-input{display:none}
  /* The carousel shows one module at a time by translating a flex row. On
     paper there is nothing to click, so stack all seven screenshots and drop
     the controls — same treatment as the scrolling document above. */
  .carousel-viewport{overflow:visible}
  .carousel-track{display:block;transform:none!important}
  .cslide{break-inside:avoid;margin-bottom:18px}
  .shot-frame{box-shadow:none}
  .carousel-arrow,.carousel-status,.carousel-tabs{display:none}
  .cv-rail,.cv-drop{height:14px}
  [role=tabpanel]{display:block!important}
  .chapter-rail,.exchange-tabs{display:none}
  .cv-hub{background:none;color:var(--ink);border:1px solid var(--line-2)}
}


/* ═══════════════════════════════════════════════════════════════════════════
   v4 theme for the carried-over components.
   Everything above this line is the v3 component CSS, unchanged, so each
   subpage keeps its exact markup and content. Everything below re-dresses
   those components in the v4 language: larger display type, colour stages,
   pill buttons, line-drawn FAQ, ink closing section.
   ═══════════════════════════════════════════════════════════════════════════ */

/* SVG diagram labels share a class name with the v4 micro-label. */
svg .label{letter-spacing:normal;text-transform:none}

/* ── Type ─────────────────────────────────────────────────────────────────── */
h1 em,h2 em,.section-title em{display:block;letter-spacing:-.02em}
.display{-webkit-text-stroke:0}
.section-title{font-size:clamp(2.2rem,5vw,4.5rem);line-height:.94;letter-spacing:-.057em;max-width:18ch}
.section-sub{font-size:clamp(1rem,1.15vw,1.1rem);line-height:1.7}
.section-label{font-size:.74rem;letter-spacing:.2em;color:var(--ink);gap:11px;margin-bottom:22px}
.section-label .dot{width:13px;height:13px;box-shadow:0 0 0 1.5px var(--ink)}
.closing-line{font-size:clamp(1.9rem,4.4vw,4rem);letter-spacing:-.055em;line-height:.98}
.closing-line em{display:block}

/* ── Buttons (v3 names, v4 look) ──────────────────────────────────────────── */
.btn-primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.btn-primary:hover{background:var(--pop);border-color:var(--pop);color:var(--ink)}
.btn-accent{background:var(--pop);border-color:var(--pop);color:var(--ink);box-shadow:0 10px 30px -12px rgba(160,140,0,.55)}
.btn-accent:hover{background:var(--ink);border-color:var(--ink);color:var(--pop)}
.hero-actions{gap:10px}

/* ── Page hero ────────────────────────────────────────────────────────────── */
.page-hero{padding:clamp(132px,18vh,190px) var(--pad) clamp(56px,7vw,96px)}
.page-hero h1{font-size:clamp(2.6rem,6.6vw,6.2rem);line-height:.9;letter-spacing:-.06em;max-width:16ch;margin-bottom:clamp(20px,2.4vw,32px)}
.page-hero h1 em{line-height:.98;margin-top:.06em}
.page-hero .lede{font-size:clamp(1.02rem,1.25vw,1.18rem);line-height:1.65;max-width:62ch}
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;width:fit-content;max-width:100%;margin:0 auto 28px;padding:8px 16px;border-radius:999px;background:var(--ink);color:var(--on-ink);letter-spacing:.08em}
.breadcrumb a{color:var(--on-ink-muted)}
.breadcrumb a:hover{color:var(--pop)}

/* ── Framework heroes ─────────────────────────────────────────────────────
   These heroes are a two-column grid, and on most framework pages only the
   text column is filled — v3 let decorative blobs occupy the other half. Here
   the text block itself is split: headline on the left, the supporting copy and
   buttons on the right, so the hero uses its width and fits one screen. */
.page-hero.split{padding:clamp(112px,15vh,146px) var(--pad) clamp(40px,5vw,68px)}
.page-hero.split .breadcrumb{margin:0 0 24px max(0px,calc((100% - 1120px)/2))!important}
.page-hero.split .hero-grid{align-items:start;gap:clamp(28px,5vw,72px)}
.page-hero.split h1{font-size:clamp(2.4rem,5.1vw,4.8rem);line-height:.92;max-width:none;margin:0}
.page-hero.split .hero-grid>div:not(:only-child) h1{font-size:clamp(2.3rem,4.3vw,4rem);margin-bottom:6px}
.page-hero.split .section-label{margin-bottom:18px}
.page-hero.split .hero-grid>div:only-child{
  grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  column-gap:clamp(28px,5vw,72px);align-items:start;
}
.page-hero.split .hero-grid>div:only-child>.section-label{grid-column:1/-1;justify-self:start}
.page-hero.split .hero-grid>div:only-child>h1{grid-column:1;grid-row:2/span 9}
.page-hero.split .hero-grid>div:only-child>:not(.section-label):not(h1){grid-column:2}
.page-hero.split .hero-grid>div:only-child>p:first-of-type{margin-top:.35em!important}
.page-hero.split .hero-actions{margin-top:26px}
@media (max-width:860px){
  .page-hero.split .hero-grid>div:only-child{display:block}
  .page-hero.split h1,.page-hero.split .hero-grid>div:not(:only-child) h1{margin-bottom:18px}
}

/* ── Chapter tabs over the example frame ──────────────────────────────────
   One row of equal columns, however long the labels are, so the tabs always
   line up with the frame beneath them instead of wrapping one onto a row of
   its own. */
.chapter-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;margin:clamp(28px,4vw,44px) 0 14px}
.output-grid .chapter-rail{margin-top:0}
.chapter-rail+.caijo-demo{margin-top:0}
.chapter-button{
  display:flex;align-items:center;gap:10px;min-height:60px;padding:11px 14px;border-radius:18px;
  border:1.5px solid var(--line-2);background:rgba(255,255,255,.4);
  text-align:left;line-height:1.2;font-size:.86rem;color:var(--ink);
}
.chapter-button b{flex:0 0 auto;width:26px;height:26px;border:1.5px solid var(--ink);font-size:.78rem}
.chapter-button:hover{border-color:var(--ink)}
.chapter-button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:var(--paper);box-shadow:none}
.chapter-button[aria-selected=true] b{background:var(--pop);border-color:var(--pop);color:var(--ink)}
.output-grid{gap:clamp(20px,3vw,40px)}
/* A grid child will not shrink below its widest content unless told it may;
   without this the example frame pushes past a phone screen. */
.output-grid>*{min-width:0}
@media (max-width:640px){
  .chapter-rail{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}
  .chapter-button{min-height:52px;padding:9px 12px;font-size:.8rem}
  .chapter-button b{width:22px;height:22px;font-size:.7rem}
}

/* ── Sections become stages ───────────────────────────────────────────────── */
.section{padding:clamp(76px,9vw,132px) var(--pad)}
.section.alt{--stage:var(--paper-2);--faint:#5c5852}
.section.alt::before{
  inset:6px clamp(8px,1vw,16px);border:0;border-radius:var(--r-xl);
  background:color-mix(in srgb,var(--stage) 62%,var(--paper));
}
.section.alt:has(.section-label.c-lilac){--stage:var(--lilac)}
.section.alt:has(.section-label.c-sky){--stage:var(--sky)}
.section.alt:has(.section-label.c-sage){--stage:var(--sage)}
.section.alt:has(.section-label.c-peach){--stage:var(--peach)}
.section.alt:has(.section-label.c-rose){--stage:var(--rose)}
.section.alt:has(.section-label.c-yellow){--stage:var(--yellow)}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card{border-radius:var(--r-lg)}
.card h3{font-size:1.32rem;letter-spacing:-.04em}
.section.alt .card,.section.alt .faq-item{border-color:transparent}
.card-icon,.pillar .card-icon{width:50px;height:50px}

.link-grid{gap:14px}
.link-card{--c:var(--pop);background:var(--c);border:0;border-radius:var(--r-lg);padding:clamp(24px,2.4vw,32px);transition:transform .45s var(--ease),box-shadow .45s var(--ease)}
.link-card:nth-child(5n+2){--c:var(--lilac)}
.link-card:nth-child(5n+3){--c:var(--peach)}
.link-card:nth-child(5n+4){--c:var(--sage)}
.link-card:nth-child(5n+5){--c:var(--sky)}
.link-card.custom{background:var(--c);border:0}
.link-card:hover{background:var(--c);transform:translateY(-6px) rotate(-.5deg);box-shadow:0 26px 46px -28px rgba(23,22,19,.45)}
.link-card:nth-child(even):hover{transform:translateY(-6px) rotate(.5deg)}
.link-card .lc-icon,.link-card:nth-child(n) .lc-icon,.link-card.custom .lc-icon{width:50px;height:50px;background:rgba(255,255,255,.65)}
.link-card h2,.link-card h3{font-size:clamp(1.3rem,1.9vw,1.75rem);letter-spacing:-.05em;line-height:1.02}
.link-card p{color:var(--ink-3)}
.link-card .lc-go{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase}
.link-card .lc-tag{background:var(--ink);color:var(--paper)}
.link-card .lc-q{background:rgba(255,255,255,.5);border-color:transparent;color:var(--ink-3)}
.link-card .lc-q b{color:var(--ink-3)}

/* ── FAQ: lines, not boxes ────────────────────────────────────────────────── */
.faq-item,.section.alt .faq-item{background:none;border:0;border-bottom:1.5px solid var(--ink);border-radius:0;margin-top:0;overflow:visible}
.faq-inner .faq-item:first-of-type{border-top:1.5px solid var(--ink)}
.faq-item summary{padding:clamp(18px,2vw,26px) 64px clamp(18px,2vw,26px) 4px;font-weight:600;font-size:clamp(1.08rem,1.5vw,1.36rem);letter-spacing:-.035em;line-height:1.2}
.faq-plus{right:4px;width:42px;height:42px;border:1.5px solid var(--ink);border-radius:50%;transition:background .3s,transform .5s var(--ease)}
.faq-plus::before{left:12.5px;top:18.5px;width:14px;height:2px}
.faq-plus::after{left:18.5px;top:12.5px;width:2px;height:14px}
.faq-item summary:hover .faq-plus{background:var(--pop)}
.faq-item[open] .faq-plus{background:var(--ink);transform:translateY(-50%) rotate(180deg)}
.faq-item[open] .faq-plus::before,.faq-item[open] .faq-plus::after{background:var(--paper)}
.faq-body{padding:0 64px 26px 4px;font-size:1.02rem;line-height:1.7;color:var(--muted);max-width:66ch}

/* ── Closing section: ink stage ───────────────────────────────────────────── */
.cta-section{
  --muted:var(--on-ink-muted);--faint:var(--on-ink-muted);
  margin:clamp(8px,1vw,16px);padding:clamp(84px,10vw,150px) var(--pad);border-top:0;border-radius:var(--r-xl);
  background:var(--ink);color:var(--on-ink);
}
.cta-section h2{font-size:clamp(2.4rem,6.2vw,5.6rem);line-height:.92;letter-spacing:-.06em;max-width:16ch;margin-bottom:clamp(26px,3vw,40px)}
.cta-section h2 em{color:var(--pop);font-size:.72em;line-height:1.04;margin-top:.14em}
.cta-section .section-label{color:var(--on-ink)}
.cta-section .section-label .dot{box-shadow:0 0 0 1.5px var(--on-ink)}
.cta-section .btn{border-color:var(--line-ink);color:var(--on-ink)}
.cta-section .btn:hover{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.cta-section .btn-primary,.cta-section .btn-accent{background:var(--pop);border-color:var(--pop);color:var(--ink);box-shadow:none}
.cta-section .btn-primary:hover,.cta-section .btn-accent:hover{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.cta-section .tc-link,.cta-section a:not(.btn){color:var(--on-ink)}
.cta-section .ea-form,.cta-section .ea-confirm{--muted:#54504a;--faint:#6b6760;color:var(--ink)}
.cta-section .ea-form a:not(.btn),.cta-section .ea-confirm a:not(.btn){color:var(--ink)}
.cta-section .ea-form .btn-primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.cta-section .ea-form .btn-primary:hover{background:var(--pop);border-color:var(--pop);color:var(--ink)}

/* ── Benefit cards: three colour tiles in a row, numbered ─────────────────── */
.benefits-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;counter-reset:benefit}
.benefits-grid .benefit{
  counter-increment:benefit;position:relative;border:0;border-radius:var(--r-lg);
  padding:clamp(24px,2.6vw,36px);min-height:clamp(270px,25vw,350px);background:var(--pop);
  transition:transform .45s var(--ease);
}
.benefits-grid .benefit:nth-child(4n+2){background:var(--lilac)}
.benefits-grid .benefit:nth-child(4n+3){background:var(--peach)}
.benefits-grid .benefit:nth-child(4n+4){background:var(--sage)}
.section.alt .benefits-grid .benefit:nth-child(n){background:rgba(255,255,255,.62)}
.benefits-grid .benefit::after{
  content:counter(benefit,decimal-leading-zero);position:absolute;right:clamp(24px,2.6vw,36px);top:clamp(22px,2.4vw,32px);
  font-family:var(--serif);font-style:italic;font-size:2.2rem;line-height:1;color:var(--ink);
}
.benefits-grid .benefit:nth-child(n) .card-icon{width:52px;height:52px;margin-bottom:0;background:rgba(255,255,255,.65)}
.benefits-grid .benefit h3{margin-top:auto;padding-top:38px;font-size:clamp(1.35rem,1.95vw,1.85rem);letter-spacing:-.05em;line-height:1.02;margin-bottom:12px}
.benefits-grid .benefit p{font-size:1rem;line-height:1.6;color:var(--ink-3)}
.benefits-grid .benefit:hover{transform:translateY(-6px) rotate(-.5deg)}
.benefits-grid .benefit:nth-child(even):hover{transform:translateY(-6px) rotate(.5deg)}
.benefits-grid .benefit-quote{border-top-color:rgba(23,22,19,.2)}

/* ── "What you get": numbered rows on rules ───────────────────────────────── */
.get-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(28px,5vw,76px);
  max-width:1040px;margin:clamp(40px,5vw,64px) auto 0;text-align:left;counter-reset:get;
}
.get-item{counter-increment:get;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 22px;align-content:start;padding:26px 0 28px;border-top:1.5px solid var(--ink)}
.get-item::before{content:counter(get,decimal-leading-zero);grid-row:1/span 2;font-family:var(--serif);font-style:italic;font-size:2.1rem;line-height:.95;color:var(--ink)}
.get-item h3{font-size:clamp(1.3rem,1.85vw,1.7rem);letter-spacing:-.045em;line-height:1.05}
.get-item p{font-size:1rem;line-height:1.6;color:var(--ink-3)}

/* ── "How it works" steps ─────────────────────────────────────────────────── */
.method{gap:14px;margin-top:clamp(40px,5vw,64px)}
.method .m-step,.method .m-step:nth-child(n){border-top:0;padding:clamp(22px,2.4vw,32px);border-radius:var(--r-lg);background:var(--card);border:1px solid var(--line)}
.section.alt .method .m-step:nth-child(n){background:rgba(255,255,255,.62);border-color:transparent}
.method .m-num{font-size:2.6rem;color:var(--ink);margin-bottom:clamp(28px,4vw,56px)}
.method h3,.method h4{font-size:clamp(1.25rem,1.75vw,1.6rem);letter-spacing:-.045em;line-height:1.05;margin-bottom:12px}
.method p{font-size:1rem;line-height:1.6;color:var(--ink-3)}

/* ── Free-test band after the worked example ──────────────────────────────── */
.try-band{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 40px;align-items:center;text-align:left;
  margin-top:clamp(28px,4vw,52px);padding:clamp(22px,3vw,38px) clamp(22px,3vw,42px);border-radius:var(--r-lg);
  background:var(--ink);color:var(--on-ink);
}
.try-band-k{font-size:.7rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--on-ink-muted)}
.try-band-t{margin-top:8px;font-size:clamp(1.5rem,2.8vw,2.5rem);font-weight:700;letter-spacing:-.05em;line-height:1}
.try-band-d{margin-top:10px;font-size:.98rem;color:var(--on-ink-muted)}
.try-band .btn-accent{box-shadow:none}
.try-band .btn-accent:hover{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.try-band .btn:focus-visible{outline-color:var(--pop)}

/* ── Hero fact row ────────────────────────────────────────────────────────── */
.hero-foot{margin-top:clamp(28px,4vw,46px);padding-top:20px;border-top:1.5px solid var(--ink);justify-content:flex-start;gap:8px}
.hero-foot span{padding:8px 15px;border-radius:999px;border:1.5px solid var(--line-2);font-size:.84rem;font-weight:500;color:var(--ink)}

@media (max-width:860px){
  .benefits-grid .benefit{min-height:0}
  .benefits-grid .benefit h3{padding-top:28px}
  .get-grid{grid-template-columns:minmax(0,1fr)}
  .method,.method.three{grid-template-columns:minmax(0,1fr)}
  .method .m-num{margin-bottom:22px}
  .try-band{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  .benefits-grid .benefit:hover,.benefits-grid .benefit:nth-child(even):hover{transform:none}
}

/* ── About: the photo frame has no photograph yet ─────────────────────────
   Until a real image is placed in .pf-inner, the frame is shown as a statement
   tile instead of an empty box with a picture icon. */
.photo-frame:has(.pf-mark){display:flex;align-items:flex-end;min-height:clamp(240px,26vw,360px);padding:clamp(26px,3.4vw,44px);border:0;border-radius:var(--r-lg);background:var(--lilac);box-shadow:none}
.photo-frame:has(.pf-mark) .pf-inner{display:none}
.photo-frame:has(.pf-mark) .photo-badge{position:static;max-width:none;margin:0;padding:0;background:none;border:0;box-shadow:none}
.photo-frame:has(.pf-mark) .photo-badge b{display:block;font-size:clamp(1.9rem,3.2vw,3rem);font-weight:700;letter-spacing:-.055em;line-height:.96;color:var(--ink)}
.photo-frame:has(.pf-mark) .photo-badge span{display:block;margin-top:10px;font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,1.7vw,1.5rem);color:var(--ink-3)}

.eu-note img{width:190px}

/* Narrow text sections: heading, prose and callouts share one left edge, and
   the heading gets air before the first paragraph. */
.inner-narrow .section-title{margin-bottom:.45em}
.inner-narrow .prose{max-width:none;margin-left:0;margin-right:0}

/* ── Pricing: three plans ─────────────────────────────────────────────────── */
.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:48px;align-items:stretch}
.price-grid .price-card{
  max-width:none;margin:0;text-align:left;display:flex;flex-direction:column;align-items:flex-start;
  padding:30px 30px 32px;border-radius:var(--r-lg);border:1.5px solid var(--ink);background:var(--card-solid);box-shadow:none;
  transition:transform .45s var(--ease),box-shadow .45s var(--ease);
}
.price-grid .price-card:hover{transform:translateY(-6px);box-shadow:0 26px 50px -28px rgba(23,22,19,.45)}
.price-tag{
  display:inline-block;padding:7px 13px;border-radius:999px;border:1.5px solid var(--ink);
  font-size:.66rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;line-height:1;margin-bottom:clamp(40px,5vw,72px);
}
.price-grid .price-card:nth-child(2) .price-tag{background:var(--sage)}
.price-grid .price-card:nth-child(3) .price-tag{background:var(--lilac)}
.price-grid .price-card h2{font-size:1.5rem;font-weight:700;letter-spacing:-.04em;line-height:1.1;margin:0 0 14px}
.price-grid .price-amount{justify-content:flex-start;align-items:baseline;gap:0 10px;margin-bottom:20px}
.price-grid .price-amount .qual{flex-basis:100%;font-size:1.35rem;line-height:1.1;margin-bottom:2px}
.price-grid .price-amount .figure{font-size:clamp(3.2rem,5.2vw,4.6rem);letter-spacing:-.065em;line-height:.95}
.price-grid .price-card .price-what{max-width:none;margin:0 0 30px;flex:1 0 auto;font-size:.98rem;line-height:1.6;color:var(--ink-3)}
.price-grid .price-card .btn{margin-top:auto}
.price-grid .price-card.is-free{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.price-grid .is-free .price-tag{background:var(--pop);border-color:var(--pop);color:var(--ink)}
.price-grid .is-free .figure{color:var(--pop)}
.price-grid .is-free .qual{color:var(--on-ink-muted)}
.price-grid .price-card.is-free .price-what{color:var(--on-ink-muted)}
.price-grid .is-free .btn-pop:hover{background:var(--paper);border-color:var(--paper);color:var(--ink)}
.price-grid .is-free .btn:focus-visible{outline-color:var(--pop)}
.price-note{margin-top:22px}
@media (max-width:900px){
  .price-grid{grid-template-columns:1fr;gap:14px;margin-top:34px}
  .price-tag{margin-bottom:34px}
  .price-grid .price-card{padding:26px 24px 28px}
}
@media (prefers-reduced-motion:reduce){.price-grid .price-card{transition:none}.price-grid .price-card:hover{transform:none}}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.ea-form{border-radius:var(--r-lg)}
.ea-input{border-radius:14px;border-width:1.5px;padding:14px 16px}

/* ── Small screens ────────────────────────────────────────────────────────── */
@media (max-width:768px){
  .faq-item summary{padding-right:58px}
  .faq-body{padding-right:8px}
  .breadcrumb{font-size:.68rem}
}
@media (prefers-reduced-motion:reduce){
  .link-card:hover,.link-card:nth-child(even):hover{transform:none}
}
