/*
  Failshot website, brand v2 (matches the iOS app).
  Light only, "Cloud and Blue", whatever the visitor's system setting (owner's decision).
  Plus Jakarta Sans, self-hosted. Radius 16 small, 24 cards, pill buttons. 8-point spacing.
  CSP: no inline scripts, no external anything. Everything here works without JavaScript;
  site.js only adds reveal-on-scroll and closes the mobile menu.
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Latin.woff2") format("woff2"),
       url("/fonts/PlusJakartaSans-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #F4F6FB;
  --surface: #FFFFFF;
  --line: #E3E8F2;
  --ink: #0B1220;
  --muted: #5B6475;
  --accent: #1F5BFF;
  --on-accent: #FFFFFF;
  --alert: #FF4438;
  --shadow: 0 4px 16px rgba(11, 18, 32, 0.06);
  --gradient: linear-gradient(135deg, #1F5BFF, #7B4DFF);
  --tint: rgba(31, 91, 255, 0.08);
  --nav-bg: rgba(244, 246, 251, 0.72);
  --frame: #0B1220;
  --frame-ring: rgba(11, 18, 32, 0.08);
  --mark-bg: linear-gradient(135deg, #1F5BFF, #7B4DFF);
  --mark-ring: transparent;
  --statement-bg: linear-gradient(135deg, #1F5BFF, #7B4DFF);
  --statement-ink: #FFFFFF;
  --statement-strong: #FFFFFF;
  --statement-line: transparent;

  --r-sm: 16px;
  --r-card: 24px;
  --gutter: 16px;
  --max: 1120px;
  --nav-h: 56px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* One type scale for every page. Phones get the low end of each clamp. */
  --fs-display: clamp(2.5rem, 1.4rem + 5.2vw, 6.25rem);  /* page headlines */
  --fs-h2: clamp(2rem, 1.25rem + 3.4vw, 4.5rem);         /* section headings */
  --fs-h3: clamp(1.75rem, 1.2rem + 2.4vw, 3.5rem);       /* panel headlines */
  --fs-h4: clamp(1.375rem, 1.2rem + 0.8vw, 2rem);        /* card titles */
  --fs-line: clamp(1.75rem, 1.1rem + 3vw, 4rem);         /* story and statement lines */
  --fs-lead: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  --safe-l: max(var(--gutter), env(safe-area-inset-left));
  --safe-r: max(var(--gutter), env(safe-area-inset-right));
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --nav-h: 60px; } }
@media (max-height: 500px) and (orientation: landscape) { :root { --nav-h: 48px; } }

/* Base */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-synthesis: none;
  /* Plus Jakarta Sans swaps a hyphen between figures for a wide dash (2026-10-07 reads like en dashes);
     its contextual alternates are off so every hyphen looks like a hyphen. */
  font-variant-ligatures: no-contextual;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
picture { display: contents; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
/* Plus Jakarta Sans has a narrow space (0.17em); tight display tracking would close the gaps
   between words, so display type gets the space back. */
h1, h2, h3, .statement .line, .story-line, .alert-title, .story-email-title, .faq summary { word-spacing: 0.08em; }
.hero h1, .story-intro h1, .statement .line-big { word-spacing: 0.12em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--on-accent); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -120px;
  z-index: 100;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--safe-l) var(--safe-r);
}

/* The mark: rounded square with the brand gradient, white ring, red dot. */

.mark {
  display: inline-block;
  flex: none;
  width: 32px; height: 32px;
  border-radius: 23%;
  background: var(--mark-bg);
  box-shadow: inset 0 0 0 1px var(--mark-ring);
}
.mark svg { width: 100%; height: 100%; }
.mark-ring { fill: none; stroke: #FFFFFF; stroke-width: 7; }
.mark-dot { fill: var(--alert); }

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: var(--bg); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav > .brand { margin-right: auto; }
.brand .mark { width: 30px; height: 30px; }

.nav-links { display: none; list-style: none; gap: 4px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }

.menu summary {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: -10px;
  border-radius: 999px;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ""; }

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), background-color 0.25s;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.menu-links {
  position: absolute;
  left: 0; right: 0; top: 100%;
  list-style: none;
  padding: 8px var(--safe-r) 24px var(--safe-l);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-links a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu-links li:last-child a { border-bottom: 0; }
.menu-links a[aria-current="page"] { color: var(--accent); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu { display: none; }
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s var(--ease);
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; filter: none; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.more::after {
  content: "";
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.more:hover { text-decoration: underline; }

/* Sections */

.section { padding-block: 72px; }
@media (min-width: 880px) { .section { padding-block: 112px; } }

.section-head { max-width: 800px; margin: 0 auto 40px; text-align: center; }
@media (min-width: 880px) { .section-head { margin-bottom: 64px; } }

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head h2,
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lead {
  color: var(--muted);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.section-head .lead { max-width: 36ch; margin: 20px auto 0; }

.center-link { margin-top: 40px; text-align: center; }

/* Cards share one look: white, hairline, one soft shadow. */

.card,
.step, .panel, .tile, .fact, .plan, .org, .offer, .qa, .enquiry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

/* Page hero for the organisations page (.hero .hero-plain). The homepage uses the story below. */

.hero { padding-top: 56px; text-align: center; }
@media (min-width: 880px) { .hero { padding-top: 96px; } }
.hero h1 {
  max-width: 10em;
  margin-inline: auto;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero .lead { max-width: 30ch; margin: 24px auto 0; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 32px;
}
.hero-note { margin-top: 16px; color: var(--muted); font-size: 1rem; }

/* Hero story: the homepage's first section, one self-contained block (index.html between the Hero
   comments, js/story-mode.js, js/story.js and js/story-scene.js).
   By default it is a static sequence: headline, four frames with their lines, then the call to action.
   With .story-3d on <html> (set before first paint) it becomes a pinned stage, 300svh of scroll long,
   where the 3D phone plays the story and the lines fade in turn. */

.story { padding-top: 56px; }
@media (min-width: 880px) { .story { padding-top: 96px; } }

.story-intro { text-align: center; }
.story-intro h1 {
  max-width: 10em;
  margin-inline: auto;
  font-size: var(--fs-display);
  line-height: 1;
  letter-spacing: -0.045em;
}
.story-intro .lead { max-width: 30ch; margin: 24px auto 0; }
/* Short screens (a phone held sideways, the smallest phones): keep the form in the first screen. */
@media (max-height: 500px) and (orientation: landscape) {
  .story { padding-top: 24px; }
  .story-intro h1 { max-width: none; font-size: clamp(2rem, 11svh, 3rem); }
  .story-intro .lead { max-width: 46ch; margin-top: 12px; font-size: 1.0625rem; }
  .story-intro .early { margin-top: 16px; }
}
@media (max-height: 600px) and (orientation: portrait) {
  .story { padding-top: 32px; }
  .story-intro .lead { margin-top: 16px; }
  .story-intro .early { margin-top: 20px; }
}

.story-visual { display: none; }

.story-beats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
  margin-top: 48px;
  list-style: none;
}
@media (min-width: 900px) { .story-beats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 72px; } }
.story-frame { width: 100%; height: auto; aspect-ratio: 9 / 16; }
.story-line {
  margin-top: 4px;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}
.story-sub { margin-top: 8px; color: var(--muted); font-size: 1rem; text-align: center; text-wrap: pretty; }
.story-end { padding-top: 40px; text-align: center; }
.story-end .hero-ctas { margin-top: 0; }

/* The pinned 3D stage. The scroll it pins for is shorter on phones held upright. */
.story-3d .story-intro { padding-bottom: 8px; }
.story-3d .story-track {
  --story-scroll: 300svh;
  position: relative;
  height: calc(400vh - var(--nav-h));
  height: calc(100svh + var(--story-scroll) - var(--nav-h));
}
@media (max-width: 959px) and (max-aspect-ratio: 5/4) { .story-3d .story-track { --story-scroll: 240svh; } }
.story-3d .story-stage {
  position: sticky;
  top: var(--nav-h);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  padding-block: 16px 24px;
  overflow: hidden;
}
.story-3d .story-copy { min-height: 0; }
.story-3d .story-beats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; }
.story-3d .story-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-area: 1 / 1;
  text-align: center;
  will-change: opacity, transform;
}
.story-3d .story-beat { opacity: 0; }
.story-3d .story-frame { display: none; }
.story-3d .story-line {
  max-width: 15ch;
  margin: 0;
  font-size: var(--fs-line);
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.story-3d .story-line, .story-3d .story-sub { text-align: inherit; }
.story-3d .story-sub { max-width: 32ch; margin-top: 12px; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); }
@media (max-height: 700px) {
  .story-3d .story-line { font-size: clamp(1.5rem, 5.2svh, 2.75rem); }
  .story-3d .story-sub { font-size: 1rem; }
}
@media (max-height: 460px) {
  .story-3d .story-line { font-size: clamp(1.375rem, 6.2svh, 2rem); }
  .story-3d .story-sub { margin-top: 8px; }
}

.story-3d .story-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  container-type: size;
}
.story-box { position: relative; height: min(100cqh, 177.8cqw); width: min(100cqw, min(100cqh, 177.8cqw) * 0.75); }
.story-poster, .story-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-poster { object-fit: contain; }
.story-canvas { opacity: 0; transition: opacity 0.5s var(--ease); }
.story-box.is-live .story-canvas { opacity: 1; }
.story-box.is-live .story-poster { opacity: 0; transition: opacity 0.1s 0.5s; }

.story-email { display: none; }
.story-3d .story-end { padding-top: 32px; }

/* Line beside the phone: wide screens that aren't upright, and any screen held sideways.
   Upright tablets stack the line above a tall phone instead. */
@media (min-width: 960px) and (min-aspect-ratio: 1/1), (min-aspect-ratio: 5/4) {
  .story-3d .story-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 32px;
    padding-block: 24px;
  }
  .story-3d .story-copy { align-self: center; }
  .story-3d .story-panel { align-items: flex-start; text-align: left; }
}
@media (min-width: 1600px) and (min-aspect-ratio: 1/1) {
  .story-3d .story-stage.wrap { max-width: calc(1440px + 2 * var(--gutter)); }
}
@media (min-width: 960px) and (min-aspect-ratio: 1/1) {
  .story-3d .story-stage { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .story-3d .story-email {
    display: block;
    position: absolute;
    right: -12px;
    top: 54%;
    width: min(300px, 50%);
    opacity: 0;
    will-change: opacity, transform;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  .story-3d .story-stage { padding-block: 12px; gap: 24px; }
}

/* The email card that slides in beside the phone (decorative; the line beside it says the same) */
.story-email-label { margin-bottom: 8px; color: var(--muted); font-size: 1rem; font-weight: 700; }
.story-email-card {
  position: relative;
  padding: 20px 96px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.story-email-from { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.story-email-from .mark { width: 24px; height: 24px; }
.story-email-title { margin-top: 12px; font-size: 1.125rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.story-email-body { margin-top: 4px; color: var(--muted); font-size: 1rem; line-height: 1.4; }
.story-email-photo {
  position: absolute;
  right: 20px; top: 20px;
  width: 60px; height: 60px;
  overflow: hidden;
  border-radius: 12px;
  background: #DDE3EE;
}
.story-email-photo::before,
.story-email-photo::after { content: ""; position: absolute; left: 50%; border-radius: 50%; background: #B3BED2; }
.story-email-photo::before { top: 15px; width: 20px; height: 20px; margin-left: -10px; }
.story-email-photo::after { bottom: -16px; width: 46px; height: 36px; margin-left: -23px; }

/* The phone frame round the real screenshots */

.phone {
  --w: clamp(232px, 66vw, 300px);
  position: relative;
  width: var(--w);
  margin-inline: auto;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.16);
  background: var(--frame);
  box-shadow: 0 0 0 1px var(--frame-ring), var(--shadow);
}
.phone img {
  width: 100%;
  aspect-ratio: 552 / 1200;
  border-radius: calc(var(--w) * 0.128);
  background: var(--bg);
}

/* Statement: the one place the brand gradient is used */

.statement {
  padding: 64px 24px;
  border-radius: var(--r-card);
  background: var(--statement-bg);
  color: var(--statement-ink);
  box-shadow: inset 0 0 0 1px var(--statement-line);
  text-align: center;
}
@media (min-width: 600px) { .statement { padding: 96px 48px; } }
@media (min-width: 880px) { .statement { padding: 136px 64px; } }

.statement .line {
  max-width: 17ch;
  margin-inline: auto;
  font-size: var(--fs-line);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.statement .line + .line { margin-top: 24px; }
@media (min-width: 880px) { .statement .line + .line { margin-top: 32px; } }
.statement .line-big {
  margin-top: 48px !important;
  color: var(--statement-strong);
  font-size: min(var(--fs-display), calc((100vw - 80px) / 7.6));
  letter-spacing: -0.05em;
  line-height: 1;
}

/* How it works */

.steps { display: grid; gap: 16px; list-style: none; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { padding: 32px 24px; }
@media (min-width: 600px) { .step { padding: 40px 32px; } }
.step-num {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.25rem;
  font-weight: 800;
}
.step h3 { margin-top: 24px; font-size: var(--fs-h4); letter-spacing: -0.03em; }
.step p { margin-top: 12px; color: var(--muted); }

/* Feature panels: text beside a product shot or diagram, alternating sides */

.panels { display: grid; gap: 24px; }
.panel {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 40px 24px;
  overflow: hidden;
}
@media (min-width: 600px) { .panel { padding: 56px 48px; } }
@media (min-width: 960px) {
  .panel { grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px; }
  .panel-flip .panel-media { order: -1; }
}

.panel-title {
  font-size: var(--fs-h3);
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.panel-text > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
}
.panel-media { display: grid; place-items: center; min-width: 0; }

.points { display: grid; gap: 12px; margin-top: 24px; list-style: none; }
.points li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 500;
}
.points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.2em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--tint);
}
.points li::after {
  content: "";
  position: absolute;
  left: 8px; top: calc(0.2em + 5px);
  width: 6px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

/* Lockdown: three things to switch off */

.stage {
  width: 100%;
  max-width: 440px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
}
@media (min-width: 600px) { .stage { padding: 24px; } }
.keys { display: grid; gap: 12px; list-style: none; }
.key {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--accent);
}
.icon svg { width: 26px; height: 26px; }
.key-label { flex: 1; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
.tick {
  position: relative;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
}
.tick::after {
  content: "";
  position: absolute;
  left: 9px; top: 6px;
  width: 6px; height: 11px;
  border-right: 2px solid var(--on-accent);
  border-bottom: 2px solid var(--on-accent);
  transform: rotate(45deg);
}
.stage-caption { margin-top: 16px; color: var(--muted); font-weight: 700; text-align: center; }

/* Email alert: the one "someone unlocked" moment, so the dot is red */

.alert {
  width: 100%;
  max-width: 440px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
}
@media (min-width: 600px) { .alert { padding: 32px; } }
.alert-from { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; }
.alert-from .mark { width: 28px; height: 28px; }
.alert-label { margin-left: auto; color: var(--muted); font-size: 1rem; font-weight: 500; }
.alert-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.alert-dot {
  position: relative;
  flex: none;
  width: 14px; height: 14px;
  margin-top: 0.32em;
  border-radius: 50%;
  color: var(--alert);
  background: currentColor;
}
.alert-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
}
.alert-time { margin-top: 12px; color: var(--muted); }

/* Smaller tiles */

.tiles { display: grid; gap: 24px; }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { padding: 40px 24px; }
@media (min-width: 600px) { .tile { padding: 48px 40px; } }
.tile .icon { width: 56px; height: 56px; border-radius: var(--r-sm); margin-bottom: 24px; }
.tile .icon svg { width: 30px; height: 30px; }
.tile h3 { font-size: var(--fs-h4); letter-spacing: -0.035em; }
.tile p { margin-top: 12px; color: var(--muted); font-size: 1.125rem; }

/* Privacy facts and other card grids */

.facts { display: grid; gap: 16px; list-style: none; }
@media (min-width: 700px) { .facts { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1000px) { .facts-3 { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 32px 24px; }
@media (min-width: 600px) { .fact { padding: 40px 32px; } }
.fact h3 { margin-top: 24px; font-size: var(--fs-h4); letter-spacing: -0.03em; }
.fact p { margin-top: 8px; color: var(--muted); }

/* Pricing */

.plans {
  display: grid;
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
  list-style: none;
}
@media (min-width: 700px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; padding: 40px 24px; }
@media (min-width: 600px) { .plan { padding: 48px 40px; } }
.plan-best { border: 2px solid var(--accent); }
.plan h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.badge {
  position: absolute;
  top: 36px; right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
@media (min-width: 600px) { .badge { top: 44px; right: 40px; } }
.price {
  margin-top: 24px;
  font-size: clamp(3rem, 2.4rem + 2vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.per { margin-top: 8px; color: var(--muted); font-weight: 500; }
.plan .points { margin-top: 32px; }

.fine { max-width: 640px; margin: 40px auto 0; color: var(--muted); font-size: 1rem; text-align: center; }
.fine p + p { margin-top: 8px; }
.fine strong { color: var(--ink); }

/* Organisations teaser */

.org { display: grid; gap: 32px; padding: 40px 24px; }
@media (min-width: 600px) { .org { padding: 56px 48px; } }
@media (min-width: 960px) { .org { grid-template-columns: 1.5fr 1fr; align-items: center; gap: 64px; padding: 72px; } }
.org .h2 { font-size: var(--fs-h3); }
.org .lead { margin-top: 20px; }
.org-cta { margin-top: 32px; }
.org .points { margin-top: 0; }
.org .points li { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }

/* FAQ */

.faq { max-width: 800px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 20px 0;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-wrap: balance;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-right: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq-a { padding-bottom: 24px; color: var(--muted); max-width: 64ch; }
.faq-a p + p { margin-top: 12px; }

/* Footer */

.site-footer { padding: 56px 0 max(40px, calc(env(safe-area-inset-bottom) + 24px)); border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.footer-brand p:first-of-type { margin-top: 16px; color: var(--ink); font-weight: 700; }
.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0 32px;
  list-style: none;
}
@media (min-width: 760px) { .footer-links ul { grid-template-columns: repeat(3, auto); } }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

/* Organisations page */

.hero-plain { padding-bottom: 8px; }
.hero-plain h1 { max-width: 11em; }

.offers { display: grid; gap: 16px; list-style: none; }
@media (min-width: 700px) { .offers { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1000px) { .offers { grid-template-columns: repeat(3, 1fr); } }
.offer { padding: 32px 24px; }
@media (min-width: 600px) { .offer { padding: 40px 32px; } }
.offer h3 { font-size: var(--fs-h4); letter-spacing: -0.03em; }
.offer p { margin-top: 8px; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.enquiry { display: grid; gap: 40px; padding: 40px 24px; }
@media (min-width: 600px) { .enquiry { padding: 56px 48px; } }
@media (min-width: 1000px) { .enquiry { grid-template-columns: 1fr 1.4fr; gap: 64px; padding: 72px; } }
.enquiry .lead { margin-top: 20px; }
.enquiry-aside { margin-top: 24px; color: var(--muted); }

.form { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field-wide { grid-column: 1 / -1; }
}
.form-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 1rem; font-weight: 700; }
.field .optional { color: var(--muted); font-weight: 500; }
.input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  scroll-margin-block: 24px 120px;
}
textarea.input { min-height: 152px; resize: vertical; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); border-radius: var(--r-sm); }
.input[aria-invalid="true"] { border-color: var(--alert); box-shadow: inset 4px 0 0 var(--alert); }
.select { position: relative; }
.select select { padding-right: 48px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field-error { color: var(--ink); font-size: 1rem; font-weight: 600; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; color: var(--alert); font-weight: 800; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { color: var(--muted); font-size: 1rem; }

.notice {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
}
.notice:empty { display: none; }
.notice-error { box-shadow: inset 4px 0 0 var(--alert); }

.done {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
}
.done:focus { outline: none; }
.done:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.done .tick { display: block; width: 40px; height: 40px; }
.done .tick::after { left: 15px; top: 10px; width: 8px; height: 15px; border-width: 0 3px 3px 0; }
.done h3 { margin-top: 20px; font-size: var(--fs-h4); letter-spacing: -0.03em; }
.done p { margin-top: 8px; color: var(--muted); }

/* Legal and help pages */

.doc { padding-block: 48px 88px; }
@media (min-width: 880px) { .doc { padding-block: 88px 120px; } }
.prose { max-width: 680px; margin-inline: auto; }
.prose h1 {
  font-size: clamp(1.6875rem, 1rem + 3.6vw, 4rem);
  text-wrap: pretty;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.prose .meta { margin-top: 16px; color: var(--muted); font-size: 1rem; }
.prose h2 {
  margin-top: 56px;
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  text-wrap: pretty;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.prose h3 { margin-top: 32px; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-top: 16px; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--accent); }
.prose .card { margin-top: 24px; padding: 24px; }
@media (min-width: 600px) { .prose .card { padding: 32px; } }
.prose .card > :first-child { margin-top: 0; }
.prose .qa { margin-top: 16px; padding: 24px; }
@media (min-width: 600px) { .prose .qa { padding: 28px 32px; } }
.prose .qa h3 { margin-top: 0; }
.prose .qa p { margin-top: 8px; color: var(--muted); }

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
.table-wrap table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { color: var(--muted); font-weight: 700; }
td { overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .table-wrap.is-labelled { overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; }
  .table-wrap.is-labelled table, .table-wrap.is-labelled tbody, .table-wrap.is-labelled tr, .table-wrap.is-labelled td { display: block; width: auto; min-width: 0; }
  .table-wrap.is-labelled tr:first-child { display: none; }
  .table-wrap.is-labelled tr { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
  .table-wrap.is-labelled tr + tr { margin-top: 16px; }
  .table-wrap.is-labelled td { padding: 0; border: 0; }
  .table-wrap.is-labelled td + td { margin-top: 12px; }
  .table-wrap.is-labelled td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; color: var(--muted); font-size: 1rem; font-weight: 700; }
}
@media (min-width: 900px) {
  .prose .table-wrap { margin-inline: calc((100% - min(1056px, 100vw - 64px)) / 2); }
}

/* Motion: only when JS is on and motion is welcome. Without JS everything is simply visible. */

.js .reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(32px); }
.reveal.is-pending.is-in { opacity: 1; transform: none; }

.js .line { transition: opacity 0.7s var(--ease); }
.line.is-pending { opacity: 0.5; }
.line.is-pending.is-in { opacity: 1; }


.is-in .alert-dot::after { animation: ping 1.6s var(--ease) 0.6s 3; }
@keyframes ping {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 0; transform: scale(2.8); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal.is-pending, .line.is-pending { opacity: 1; transform: none; }
}

@media print {
  .site-header, .skip, .menu { display: none; }
  .reveal, .line { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------------ Phase 3 (web playbook) */

/* Smaller pill, for the header */
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }

/* Header CTA: hidden while the hero form or the closing form is on screen (site.js). The .js guard
   keeps it visible if the script never runs. */
.nav-cta { flex: none; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
.js .nav-cta:not([data-show]) { opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nav-cta { transition: none; transform: none; } }
@media (max-width: 379px) {
  .has-cta .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-cta { padding: 0 14px; }
}

/* Segmented choice: iPhone or Android */
.seg-group { display: inline-flex; gap: 2px; margin: 0; padding: 3px; min-width: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  pointer-events: none;
}
.seg input:checked + span { background: var(--tint); color: var(--accent); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }

/* Get early access (hero and closing band share one component) */
.early { width: 100%; max-width: 560px; margin: 32px auto 0; }
.early-platform { display: flex; width: fit-content; margin: 0 auto 12px; }
.early-row { display: grid; gap: 12px; }
@media (min-width: 600px) { .early-row { grid-template-columns: minmax(0, 1fr) auto; } }
.early-email { min-height: 56px; padding: 0 22px; border-radius: 999px; }
.early-email:focus-visible { border-radius: 999px; }
.early-btn { min-height: 56px; }
.early-status { margin-top: 12px; font-weight: 600; text-align: center; }
.early-status:empty { display: none; }
.early-status:focus { outline: none; }
.early-status[data-kind="error"] { color: var(--ink); }
.early-status[data-kind="error"]::before { content: "! "; color: var(--alert); font-weight: 800; }
.early-status[data-kind="done"] { padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.early.is-sent .early-row, .early.is-sent .early-platform { display: none; }
.early-note { margin-top: 12px; color: var(--muted); font-size: 1rem; text-align: center; text-wrap: balance; }
.early .input[aria-invalid="true"] { box-shadow: none; border-color: var(--alert); }

.story-links { margin-top: 8px; text-align: center; }
.more-down::after { transform: rotate(135deg); margin-top: -4px; }

/* "Skip the animation": out of sight until it has keyboard focus */
.skip-story { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-story:focus { position: static; width: auto; height: auto; clip-path: none; display: inline-flex; margin-top: 8px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.story-intro { position: relative; }

/* How it works: the steps for the visitor's phone (both show without JavaScript) */
.switch { display: none; width: fit-content; margin: 0 auto 32px; }
.js .switch { display: flex; }
@media (max-width: 599px) {
  .js .switch { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; width: 100%; box-shadow: var(--shadow); }
  .switch .seg { flex: 1; }
}
.steps-title { margin: 0 0 16px; font-weight: 800; font-size: var(--fs-h4); letter-spacing: -0.02em; }
.steps-set + .steps-set { margin-top: 48px; }
.js .steps-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.js .steps-set + .steps-set { margin-top: 0; }
[data-how] .steps-set { display: none; }
[data-how="mac"] .steps-set[data-for="mac"],
[data-how="iphone"] .steps-set[data-for="iphone"],
[data-how="android"] .steps-set[data-for="android"] { display: block; }

/* Try it */
.demo { display: grid; gap: 32px; justify-items: center; }
@media (min-width: 880px) { .demo { grid-template-columns: auto minmax(0, 400px); justify-content: center; align-items: center; gap: 72px; } }
.demo-phone { width: min(320px, 100%); padding: 10px; border-radius: 48px; background: var(--frame); box-shadow: 0 0 0 1px var(--frame-ring), var(--shadow); }
.demo-screen { padding: 28px 16px 24px; border-radius: 38px; background: var(--bg); text-align: center; transition: filter 0.12s; }
.demo-screen.is-wrong { filter: brightness(0.8); }
.demo-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.01em; }
.demo-brand .mark { width: 26px; height: 26px; }
.demo-title { margin-top: 16px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.demo-sub { max-width: 24ch; margin: 6px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.demo-dots { display: flex; justify-content: center; gap: 14px; margin: 20px 0 22px; }
.demo-dots span { width: 13px; height: 13px; border: 1.6px solid var(--ink); border-radius: 50%; }
.demo-dots span.is-on { background: var(--ink); }
.demo-keys { display: grid; grid-template-columns: repeat(3, 60px); gap: 12px 20px; justify-content: center; }
.demo-keys button {
  width: 60px; height: 60px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
}
.demo-keys button:active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.demo-keys .demo-del { display: grid; place-items: center; border-color: transparent; background: none; }
.demo-keys .demo-del svg { width: 26px; height: 26px; }
.demo-side { width: 100%; max-width: 400px; }
.demo-count { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.02em; }
.demo-strip { display: grid; gap: 8px; margin-top: 16px; list-style: none; }
.demo-strip li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 500; }
.demo-photo, .demo-alert .alert-dot { flex: none; }
.demo-photo { position: relative; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: #DDE3EE; }
.demo-photo::before, .demo-photo::after { content: ""; position: absolute; left: 50%; border-radius: 50%; background: #B3BED2; }
.demo-photo::before { top: 9px; width: 15px; height: 15px; margin-left: -7.5px; }
.demo-photo::after { bottom: -12px; width: 34px; height: 26px; margin-left: -17px; }
.demo-message { margin-top: 16px; font-weight: 600; }
.demo-message:empty { display: none; }
.demo-alert { margin-top: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
.demo-alert-from { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.demo-alert-from .mark { width: 24px; height: 24px; }
.demo-alert-from span:last-child { margin-left: auto; color: var(--muted); font-weight: 500; }
.demo-alert-title { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.demo-alert .alert-dot { margin-top: 0.3em; }
.demo-alert-body { margin-top: 6px; color: var(--muted); }
.demo-alert-note { margin: 16px 0; font-weight: 600; }
.demo-reset { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.demo-note { margin-top: 32px; color: var(--muted); font-size: 1rem; text-align: center; }

/* Privacy you can check */
.flow { margin-top: 24px; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); }
@media (min-width: 600px) { .flow { padding: 40px 32px; } }
.flow-title { font-size: var(--fs-h4); font-weight: 800; letter-spacing: -0.02em; text-align: center; text-wrap: balance; }
.flow-steps { display: grid; gap: 32px; margin-top: 24px; list-style: none; }
@media (min-width: 880px) { .flow-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.flow-step { position: relative; padding: 18px 16px; border-radius: var(--r-sm); background: var(--bg); text-align: center; }
.flow-step strong { display: block; font-size: 1.125rem; letter-spacing: -0.01em; }
.flow-step span { display: block; margin-top: 2px; color: var(--muted); font-size: 1rem; }
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: 50%; top: -22px;
  width: 10px; height: 10px;
  margin-left: -5px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
@media (min-width: 880px) {
  .flow-step + .flow-step::before { left: -26px; top: 50%; margin: -5px 0 0; transform: rotate(-45deg); }
}
.never { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; list-style: none; }
.never li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; }
.check-line { max-width: 60ch; margin: 24px auto 0; color: var(--muted); text-align: center; text-wrap: balance; }

/* Pricing: the CTA on each card, the trial in three steps */
.plan-cta { width: 100%; margin-top: 32px; }
.timeline { display: grid; gap: 12px; max-width: 880px; margin: 32px auto 0; list-style: none; }
@media (min-width: 700px) { .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.timeline li { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.timeline strong { display: block; margin-bottom: 2px; color: var(--accent); }

/* Closing band and the organisations strip */
.band { padding: 56px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); text-align: center; }
@media (min-width: 880px) { .band { padding: 88px 64px; } }
.band .early { margin-top: 32px; }
.org-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.org-strip p { color: var(--muted); }
.org-strip strong { color: var(--ink); }
.faq-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }

/* Scroll-lit statement lines where the browser can drive them from scroll alone */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement .line { animation: line-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes line-in { from { opacity: 0.5; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* Confirm and leave pages */
.token { max-width: 560px; margin-inline: auto; text-align: center; }
.token h1 { font-size: var(--fs-h2); line-height: 1.04; letter-spacing: -0.04em; }
.token .lead { margin-top: 16px; }
.token .btn { margin-top: 32px; }
.token-status { margin-top: 16px; font-weight: 600; }
.token-leave, .token-back { margin-top: 24px; }
.token-leave { color: var(--muted); }
.token-leave[hidden] { display: none; }
.token-status:empty { display: none; }
.token [data-when] { display: none; }
.token [data-when]:focus { outline: none; }
.token[data-state="ready"] [data-when="ready"],
.token[data-state="sending"] [data-when="ready"],
.token[data-state="done"] [data-when="done"],
.token[data-state="expired"] [data-when="expired"],
.token[data-state="missing"] [data-when="missing"] { display: block; }
.token .card { margin-top: 32px; padding: 32px 24px; }

/* Vault login: a clear button in the header on every width, beside the main call to action. */
.nav-login {
  margin-right: 8px;
  gap: 8px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.nav-login:hover { filter: none; background: var(--bg); color: var(--accent); }
.nav-login-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* On a phone the header keeps the brand, Vault login and the menu; the early-access form is right below in the hero. */
@media (max-width: 599px) { .site-header .nav-cta { display: none !important; } .nav-login { padding: 0 14px; } }
@media (min-width: 1024px) { .nav-login { margin-left: 8px; } }

/* A feature that's on its way: same tile, marked as coming soon. */
.tile-soon .eyebrow { color: var(--accent); }
@media (min-width: 760px) { .tiles .tile-soon:nth-child(3):last-child { grid-column: 1 / -1; } }

/* Mac launch: the download button and early-bird line in the hero, and the early-bird note in Pricing. */
.hero-download { margin-top: 28px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.hero-offer { margin-inline: auto; }
.nav-links a { white-space: nowrap; }
.nav-login span { white-space: nowrap; }
.hero-mac { font-size: 1.1rem; padding: 16px 28px; }
.hero-offer { color: var(--muted); font-size: 0.95rem; max-width: 34rem; }
.early-heading { margin-top: 28px; font-weight: 700; }
.earlybird { margin: 0 auto 24px; max-width: 46rem; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: center; }

/* Cookie choice: a small card at the bottom; Decline sits beside Accept, equally easy. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; margin: 0 auto; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(11, 18, 32, 0.12); display: grid; gap: 12px; }
.consent p { font-size: 0.95rem; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; }
.consent-no { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.consent-no:hover { filter: none; background: var(--bg); }

/* The regular price beside an early-bird one. */
.price .was { font-size: 0.55em; font-weight: 600; color: var(--muted); margin-left: 6px; }

/* The closing call to action that replaced the pricing cards. */
.get-inner { max-width: 44rem; text-align: center; }
.get-inner .lead { margin-top: 16px; }
.get-ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; align-items: center; }
.get-note { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* Mac screenshots in feature panels: a plain rounded window, true to the image's own shape. */
.mac-shot { width: min(100%, 420px); margin-inline: auto; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); background: var(--surface); }
.mac-shot img { display: block; width: 100%; height: auto; }

/* Cookie message: compact on phones so it never covers the page. */
@media (max-width: 599px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 12px 14px; gap: 10px; grid-template-columns: 1fr auto; align-items: center; }
  .consent p { font-size: 0.85rem; line-height: 1.35; }
  .consent-actions { flex-direction: column; gap: 6px; }
  .consent .btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.9rem; }
}
