/* Induct website.
   The app's own surfaces on the web: a grouped grey ground, flat white cards, one blue for actions,
   one ink main button, and the five supervision colours as the only decoration.
   The navigation is a frosted capsule floating at the top of the page. */
:root {
  --bg: #F2F2F7; --card: #FFFFFF; --inset: #F2F2F7;
  --ink: #0B0B0F; --text: #1C1C1E; --secondary: #5F5F66; --on-ink: #FFFFFF;
  --hairline: rgba(60, 60, 67, 0.14); --fill: rgba(118, 118, 128, 0.12); --fill-strong: rgba(118, 118, 128, 0.2);
  --accent: #2E63E8; --on-accent: #FFFFFF; --accent-soft: rgba(46, 99, 232, 0.10);
  --danger: #D92D20; --on-tile: #FFFFFF; --brand: #2E63E8; --pop: cubic-bezier(0.34, 1.3, 0.64, 1);
  --glass: rgba(255, 255, 255, 0.72); --glass-rim: rgba(0, 0, 0, 0.07); --glass-edge: rgba(255, 255, 255, 0.7); --glass-solid: #FFFFFF;
  --shadow: 14, 17, 24;
  --sup-direct: #1E40AF; --sup-local: #0E9F8E; --sup-distant: #D97706; --sup-teaching: #7C3AED; --sup-solo: #8E8E93;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* How long things take: a press going down, press and reset, small fades, the plan switch and questions, moves, entrances, the springy pop */
  --t-tap: 60ms; --t-fast: 150ms; --t-fade: 200ms; --t-slide: 250ms; --t-move: 300ms; --t-enter: 500ms; --t-pop: 600ms;
  --spring: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --card: #1C1C1E; --inset: #2C2C2E;
    --ink: #FFFFFF; --text: #F2F2F7; --secondary: #A1A1AA; --on-ink: #0B0B0F;
    --hairline: rgba(120, 120, 128, 0.32); --fill: rgba(118, 118, 128, 0.24); --fill-strong: rgba(118, 118, 128, 0.36);
    --accent: #6E9BFF; --on-accent: #0B1A3D; --accent-soft: rgba(110, 155, 255, 0.16);
    --danger: #FF6B5E; --on-tile: #0B0B0F;
    --glass: rgba(44, 44, 46, 0.72); --glass-rim: rgba(255, 255, 255, 0.12); --glass-edge: rgba(255, 255, 255, 0.10); --glass-solid: #2C2C2E;
    --shadow: 0, 0, 0;
    --sup-direct: #7FA6FF; --sup-local: #3DD6C2; --sup-distant: #F5B544; --sup-teaching: #B08CFF; --sup-solo: #98989D;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --card: #1C1C1E; --inset: #2C2C2E;
  --ink: #FFFFFF; --text: #F2F2F7; --secondary: #A1A1AA; --on-ink: #0B0B0F;
  --hairline: rgba(120, 120, 128, 0.32); --fill: rgba(118, 118, 128, 0.24); --fill-strong: rgba(118, 118, 128, 0.36);
  --accent: #6E9BFF; --on-accent: #0B1A3D; --accent-soft: rgba(110, 155, 255, 0.16);
  --danger: #FF6B5E; --on-tile: #0B0B0F;
  --glass: rgba(44, 44, 46, 0.72); --glass-rim: rgba(255, 255, 255, 0.12); --glass-edge: rgba(255, 255, 255, 0.10); --glass-solid: #2C2C2E;
  --shadow: 0, 0, 0;
  --sup-direct: #7FA6FF; --sup-local: #3DD6C2; --sup-distant: #F5B544; --sup-teaching: #B08CFF; --sup-solo: #98989D;
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Anything scrolled to (a section link, a control reached with Tab) stops clear of the floating bar */
html { scroll-padding-top: 80px; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-optical-sizing: auto; font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
a { color: inherit; text-decoration: none; }
a, button, summary, label { touch-action: manipulation; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; }
/* Read by screen readers, not drawn */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.wrap { max-width: 1120px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.head { max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.display { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.lede { margin-top: 16px; font-size: clamp(1.125rem, 1.9vw, 1.3125rem); line-height: 1.45; color: var(--secondary); max-width: 32em; }
.note { font-size: 0.875rem; letter-spacing: 0.005em; color: var(--secondary); }

/* Press feedback, as in the app: quick, without bounce */
.press { transition: scale var(--t-fast) var(--spring), opacity var(--t-fast); user-select: none; -webkit-user-select: none; }
.press:active { scale: 0.97; opacity: 0.9; transition-duration: var(--t-tap); }
.links a:active, .seg button:active, .qs summary:active, .foot nav a:active { opacity: 0.6; transition-duration: var(--t-tap); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 60; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Floating bar: clear at the top of the landing page, frosted once the page moves */
.bar-holder { position: fixed; inset: 0 0 auto; z-index: 50; padding: calc(env(safe-area-inset-top, 0px) + 12px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.bar { pointer-events: auto; max-width: 1120px; margin-inline: auto; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid transparent; position: relative; isolation: isolate; transition: translate var(--t-move) var(--spring); }
/* The glass is its own layer behind the bar's contents: it fades in by opacity, so nothing repaints as it appears */
.bar::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--glass); border: 1px solid var(--glass-rim); box-shadow: 0 12px 32px -16px rgba(var(--shadow), 0.35), inset 0 1px 0 var(--glass-edge); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); opacity: 0; transition: opacity var(--t-move) ease; }
.scrolled .bar::before, .inner .bar::before { opacity: 1; }
@media (max-width: 820px) { .bar-hidden .bar { translate: 0 -140%; } }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.1875rem; letter-spacing: -0.02em; font-weight: 600; color: var(--ink); }
.brand .mark { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; }
.brand .mark img { display: block; width: 100%; height: 100%; }
.links { display: flex; align-items: center; gap: 4px; font-size: 0.9375rem; }
.links a { padding: 8px 12px; border-radius: 999px; color: var(--secondary); transition: color var(--t-fade), background-color var(--t-fade); }
@media (hover: hover) and (pointer: fine) { .links a:hover { color: var(--ink); background: var(--fill); } }
.links a[aria-current="true"] { color: var(--ink); background: var(--fill); }
@media (max-width: 820px) { .links { display: none; } }
/* Download, as the app's Save button: a flat capsule in the accent */
.get { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 1rem; transition: opacity var(--t-fast); }
@media (hover: hover) and (pointer: fine) { .get:hover { opacity: 0.88; } }
.bar-end { display: flex; align-items: center; gap: 4px; }
.theme { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; color: var(--secondary); transition: color var(--t-fade), background-color var(--t-fade); }
@media (hover: hover) and (pointer: fine) { .theme:hover { color: var(--ink); background: var(--fill); } }
.theme .moon, .dark-on .theme .sun { display: none; }
.dark-on .theme .moon { display: block; }

/* Buttons: one ink capsule per view */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 600; font-size: 1.0625rem; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn { transition: scale var(--t-fast) var(--spring), opacity var(--t-fast); }
@media (hover: hover) and (pointer: fine) { .btn:hover { opacity: 0.88; } }
.btn.block { width: 100%; }
.btn .i { font-size: 1.125rem; stroke-width: 2.2; }

/* Hero: a few words on the left, the app on the right */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + clamp(104px, 11vw, 136px)); padding-bottom: clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero h1 { font-size: clamp(2.75rem, 6.6vw, 4.75rem); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
@media (max-width: 480px) { .hero h1 { font-size: 2.5rem; } .hero h1 em { white-space: normal; } }
.hero .lede { margin-top: 20px; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; } .hero .lede { margin-inline: auto; } .hero .actions { justify-content: center; } }

/* The stage: the app's blue, one phone playing a case being logged, and stickers that react to it */
.stage { position: relative; width: min(440px, 100%); margin-inline: auto; padding: 40px 0; border-radius: 48px; background: var(--brand); display: flex; justify-content: center; animation: stage-in var(--t-pop) var(--spring) both; }
.demo-phone { position: relative; width: min(264px, 62%); aspect-ratio: 1470 / 3000; }
.demo-phone::before { content: ""; position: absolute; inset: 0.6% 1.2%; border-radius: 15% / 7.4%; box-shadow: 0 24px 32px rgba(6, 20, 60, 0.45); }
.demo-phone video { position: absolute; left: 5.1%; top: 2.2%; width: 89.8%; height: 95.6%; object-fit: cover; border-radius: 11% / 5%; background: #F2F2F7; }
.demo-phone img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Shown only when the browser will not start the recording itself (Low Power Mode, Reduce Motion) */
.play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-size: 1.75rem; box-shadow: 0 12px 24px -8px rgba(6, 20, 60, 0.5); }
.play[hidden] { display: none; }
/* Pause and resume for the recording and the bobbing stickers, in the corner of the stage */
.motion { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #FFFFFF; display: grid; place-items: center; font-size: 1.125rem; transition: scale var(--t-fast) var(--spring), opacity var(--t-fast), background-color var(--t-fade); }
@media (hover: hover) and (pointer: fine) { .motion:hover { background: rgba(255, 255, 255, 0.28); } }
.motion:focus-visible { outline-color: #FFFFFF; }
.motion .pause { stroke-width: 2.6; }
.motion .resume { fill: currentColor; translate: 1px 0; }
.motion .resume, .stage.is-playing .motion .pause { display: block; }
.motion .pause, .stage.is-playing .motion .resume { display: none; }
.play .i { fill: currentColor; translate: 1px 0; }
@keyframes stage-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } }

.sticker { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 20px; background: var(--card); color: var(--ink); font-size: 0.9375rem; font-weight: 600; text-align: left; white-space: nowrap; box-shadow: 0 16px 32px -12px rgba(6, 20, 60, 0.45); animation: sticker-in var(--t-pop) var(--pop) both, bob 5s ease-in-out infinite alternate; animation-delay: var(--in, 0.4s), var(--bob, 0s); }
.sticker small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--secondary); }
.sticker .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--c); color: var(--on-tile); display: grid; place-items: center; font-size: 1rem; flex: none; }
@keyframes sticker-in { from { opacity: 0; scale: 0.9; } }
.stage.resting .sticker, .stage.stopped .sticker { animation-play-state: paused; }
@keyframes bob { from { translate: 0 4px; } to { translate: 0 -6px; } }

.s-tpl { left: -28px; top: 14%; rotate: -4deg; --in: 0.5s; --bob: -1s; }
.s-count { right: -32px; top: 24%; flex-direction: column; align-items: flex-start; gap: 0; rotate: 3deg; --in: 0.65s; --bob: -2.5s; }
.s-count b { display: block; height: 2.25rem; overflow: hidden; font-size: 2rem; line-height: 2.25rem; letter-spacing: -0.03em; }
.roll { display: block; transition: transform var(--t-fast) var(--spring); }
.roll i { display: block; font-style: normal; height: 2.25rem; }
.is-saved .roll { transform: translateY(-2.25rem); transition: transform var(--t-pop) var(--pop); }
.s-sup { left: -36px; bottom: 16%; flex-direction: column; align-items: flex-start; gap: 8px; rotate: 2deg; --in: 0.8s; --bob: -4s; }
.mini { display: flex; align-items: flex-end; gap: 4px; width: 96px; height: 44px; }
.mini i { flex: 1; height: var(--h); border-radius: 4px; background: var(--c); transform-origin: bottom; transition: transform var(--t-fast) var(--spring); }
.is-saved .mini .grow { transform: scaleY(1.22); transition: transform var(--t-pop) var(--pop); }
.s-saved { right: -20px; bottom: 9%; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-ink); rotate: -3deg; animation: bob 5s ease-in-out infinite alternate; animation-delay: -3s; opacity: 0; scale: 0.9; transition: opacity var(--t-fast) ease, scale var(--t-fast) var(--spring); }
.s-saved .i { font-size: 1.125rem; stroke-width: 2.6; }
.s-saved { transform-origin: 15% 50%; }
.is-saved .s-saved { opacity: 1; scale: 1; transition: opacity var(--t-fade) ease, scale var(--t-enter) var(--pop); }
@media (max-width: 900px) {
  .stage { border-radius: 40px; }
  .s-tpl { left: 8px; } .s-count { right: 8px; } .s-sup { left: 8px; } .s-saved { right: 8px; }
  .sticker { padding: 8px 12px; border-radius: 16px; font-size: 0.875rem; }
}
@media (max-width: 420px) { .s-sup { display: none; } }

/* Features: a board of cards, not rows */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile-card { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tile-card, .plan { transition: transform var(--t-move) var(--spring); }
@media (hover: hover) and (pointer: fine) { .tile-card:hover, .plan:hover { transform: translateY(-4px); } }
.tile-card h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
.tile-card p { margin-top: 8px; color: var(--secondary); max-width: 30em; }
.tile-card p a, .more-link { color: var(--accent); font-weight: 600; }
.c7 { grid-column: span 7; } .c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c8 { grid-column: span 8; } .c12 { grid-column: span 12; }
@media (max-width: 900px) { .c7, .c5, .c4, .c8 { grid-column: span 12; } }

/* Living cards: each feature card holds a small scene built from HTML and CSS, no video.
   A scene runs on one clock (--T); every part has its own keyframes on that clock and acts during its own slice,
   so nothing needs JavaScript to stay in step. To retime a scene, change the percentages below.
   Scenes rest while off screen (.rest) or when the visitor pauses them (.board.stopped). */
.scenes-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--fill); color: var(--secondary); display: grid; place-items: center; font-size: 1.125rem; }
.scenes-toggle .pause { stroke-width: 2.6; }
.scenes-toggle .resume { fill: currentColor; translate: 1px 0; display: none; }
.stopped-scenes .scenes-toggle .pause { display: none; }
.stopped-scenes .scenes-toggle .resume { display: block; }
.scene { position: relative; height: 232px; margin-top: 24px; border-radius: 16px; background: var(--inset); overflow: hidden; font-size: 0.8125rem; line-height: 1.4; --T: 9s; }
.scene *, .scene *::after { animation-duration: var(--T); animation-iteration-count: infinite; animation-timing-function: var(--spring); animation-fill-mode: both; }
.scene.rest *, .scene.rest *::after, .stopped-scenes .scene *, .stopped-scenes .scene *::after { animation-play-state: paused; }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 600; white-space: nowrap; }
.sc-chip.blue { background: var(--accent); color: var(--on-accent); }
.sc-chip.dark { background: var(--ink); color: var(--on-ink); }
.sc-tick { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* 1. The form */
.sc-form { position: absolute; inset: 16px 16px auto; display: flex; flex-direction: column; gap: 8px; }
.sc-top { display: flex; justify-content: space-between; align-items: center; }
.sc-rows { background: var(--card); border-radius: 12px; padding: 0 12px; }
.sc-row { position: relative; display: flex; justify-content: space-between; align-items: center; height: 28px; border-bottom: 1px solid var(--hairline); color: var(--secondary); }
.sc-row:last-child { border-bottom: 0; }
.sc-row b { color: var(--ink); font-weight: 600; }
.sc-flash { position: absolute; inset: 0 -12px; background: var(--accent-soft); opacity: 0; }
.sc-asa { display: flex; gap: 4px; }
.sc-asa i { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; font-style: normal; font-size: 0.6875rem; font-weight: 600; color: var(--secondary); overflow: hidden; }
.sc-asa .on::after, .sc-asa .next::after { content: "2"; position: absolute; inset: 0; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); animation-name: f-asa; }
.sc-asa .next::after { content: "3"; animation-name: f-asa2; }
.sc-sup { display: flex; gap: 6px; }
.sc-sup span { position: relative; flex: 1; height: 28px; border-radius: 999px; background: var(--card); display: grid; place-items: center; font-weight: 600; color: var(--secondary); overflow: hidden; }
.sc-sup .pick::after { content: "Local"; position: absolute; inset: 0; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); animation-name: f-pick; }
.sc-save { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 36px; border-radius: 999px; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; font-weight: 600; }
.sc-saved { position: absolute; right: 16px; top: 16px; }
.sc-tap { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 22%, transparent); border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); opacity: 0; }
.sc-tap.t1 { left: 62px; top: 30px; }
.sc-tap.t2 { left: auto; right: 47px; margin-left: 0; top: 122px; }
.sc-tap.t3 { left: 50%; top: 198px; }
/* 2. The report */
.sc-rep { position: absolute; inset: 14px 16px auto; display: flex; flex-direction: column; gap: 7px; }
.sc-line { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 1.4em; align-items: center; gap: 8px; color: var(--secondary); }
.sc-track { height: 12px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.sc-track i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--c); transform-origin: left center; }
.sc-line b { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.sc-total { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--hairline); font-weight: 600; color: var(--ink); }
.sc-total span + span { color: var(--secondary); }
.sc-pdf { position: absolute; right: 20px; bottom: 10px; width: 78px; height: 56px; border-radius: 8px; background: var(--card); padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 6px 16px rgba(var(--shadow), 0.16); }
.sc-pdf i { height: 3px; border-radius: 2px; background: var(--fill-strong); }
.sc-pdf i:first-child { width: 50%; background: var(--accent); }
.sc-pdf b { position: absolute; right: 6px; bottom: 5px; font-size: 0.625rem; color: var(--accent); }
/* 3. Private */
.sc-own { position: absolute; inset: 0 0 24px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.sc-phone { width: 84px; height: 150px; border-radius: 20px; border: 2px solid var(--ink); padding: 14px 8px 8px; display: flex; flex-direction: column; gap: 6px; background: var(--card); }
.sc-phone i { height: 14px; border-radius: 5px; background: var(--fill); }
.sc-phone i.new { background: var(--accent); }
.sc-wire { position: relative; width: 64px; height: 0; border-top: 2px dashed var(--secondary); margin-bottom: 24px; }
.sc-dot { position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); opacity: 0; }
.sc-cloud { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--secondary); font-weight: 600; white-space: nowrap; }
.sc-cloud svg { width: 72px; height: 48px; fill: var(--card); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.sc-none { position: absolute; left: 50%; bottom: 12px; translate: -50% 0; background: transparent; border: 1.5px dashed var(--secondary); color: var(--secondary); }
/* 4. Import */
.scene.imp { --T: 10s; }
.sc-zone { position: absolute; left: 16px; top: 16px; bottom: 16px; width: 44%; border-radius: 14px; border: 2px dashed var(--secondary); display: grid; place-items: center; color: var(--secondary); font-weight: 600; text-align: center; }
.sc-zone::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; border: 2px solid var(--accent); background: var(--accent-soft); opacity: 0; animation-name: i-zone; }
.sc-file { position: absolute; left: calc(16px + 22% - 56px); top: 50%; margin-top: -14px; width: 112px; justify-content: center; box-shadow: 0 6px 16px rgba(var(--shadow), 0.16); }
.sc-file em { font-style: normal; font-size: 0.625rem; padding: 2px 4px; border-radius: 4px; background: var(--fill-strong); }
.sc-cols { position: absolute; right: 16px; top: 16px; width: calc(56% - 44px); display: flex; flex-direction: column; gap: 6px; }
.sc-cols .sc-chip { justify-content: space-between; color: var(--secondary); font-weight: 500; padding: 0 10px; }
.sc-cols .sc-tick { color: var(--sup-local); }
.sc-result { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 6px; }
.sc-out { position: absolute; left: calc(16px + 22% - 30px); top: 50%; margin-top: -14px; opacity: 0; }
@media (max-width: 480px) { .sc-result .sc-undo { display: none; } }
/* 1. Form, 9 s: tap Repeat last and yesterday's case fills the form, tap the one thing that differs (ASA 2 becomes 3), tap save */
@keyframes f-t1 { 0%, 2% { opacity: 0; transform: scale(1.5); } 5% { opacity: 1; transform: scale(1); } 6.5% { opacity: 1; transform: scale(.72); } 11%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes f-tpl { 0%, 5% { transform: none; } 6.5% { transform: scale(.94); } 10%, 100% { transform: none; } }
@keyframes f-f1 { 0%, 9% { opacity: 0; } 11% { opacity: 1; } 21%, 100% { opacity: 0; } }
@keyframes f-r1 { 0%, 9% { opacity: 0; transform: translateY(6px) scale(.97); } 12%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes f-f2 { 0%, 14% { opacity: 0; } 16% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes f-r2 { 0%, 14% { opacity: 0; transform: translateY(6px) scale(.97); } 17%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes f-f3 { 0%, 19% { opacity: 0; } 21% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes f-asa { 0%, 19% { opacity: 0; } 22%, 33% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes f-pick { 0%, 23% { opacity: 0; } 26%, 90% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes f-t2 { 0%, 31% { opacity: 0; transform: scale(1.5); } 34% { opacity: 1; transform: scale(1); } 35.5% { opacity: 1; transform: scale(.72); } 40%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes f-asa2 { 0%, 35% { opacity: 0; } 38%, 90% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes f-t3 { 0%, 47% { opacity: 0; transform: scale(1.5); } 50% { opacity: 1; transform: scale(1); } 51.5% { opacity: 1; transform: scale(.72); } 56%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes f-save { 0%, 50% { transform: none; } 51.5% { transform: scale(.94); } 55%, 100% { transform: none; } }
@keyframes f-saved { 0%, 56% { opacity: 0; transform: translateY(-4px) scale(.9); } 59%, 88% { opacity: 1; transform: none; } 91%, 100% { opacity: 0; transform: none; } }
/* 2. Report, 9 s: the bars grow in turn, then the PDF slides up and leaves */
@keyframes r-b1 { 0%, 4% { transform: scaleX(0); } 13%, 88% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes r-b2 { 0%, 9% { transform: scaleX(0); } 18%, 88% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes r-b3 { 0%, 14% { transform: scaleX(0); } 23%, 88% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes r-b4 { 0%, 19% { transform: scaleX(0); } 28%, 88% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes r-b5 { 0%, 24% { transform: scaleX(0); } 33%, 88% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes r-pdf { 0%, 44% { opacity: 0; transform: translateY(40px) rotate(4deg); } 50%, 70% { opacity: 1; transform: rotate(-4deg); } 80%, 100% { opacity: 0; transform: translate(60px, -90px) rotate(10deg) scale(.8); } }
/* 3. Private, 9 s: a new case appears on the phone, then a copy travels to the visitor's own iCloud */
@keyframes o-new { 0%, 10% { opacity: 0; transform: scale(.6); } 13%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes o-dot { 0%, 26% { opacity: 0; transform: translateX(0); } 30% { opacity: 1; transform: translateX(0); } 46% { opacity: 1; transform: translateX(64px); } 50%, 100% { opacity: 0; transform: translateX(64px); } }
/* 4. Import, 10 s: the file drops in, the columns are matched, the result appears, a CSV leaves */
@keyframes i-hint { 0%, 6% { opacity: 1; } 12%, 92% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes i-file { 0% { opacity: 0; transform: translate(150px, -120px) rotate(14deg); } 4% { opacity: 1; } 14% { transform: translate(-3px, 4px) rotate(-4deg); } 18%, 66% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes i-zone { 0%, 10% { opacity: 0; } 15%, 22% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes i-c1 { 0%, 22% { opacity: 0; transform: translateX(12px); } 25%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-c2 { 0%, 28% { opacity: 0; transform: translateX(12px); } 31%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-c3 { 0%, 34% { opacity: 0; transform: translateX(12px); } 37%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-c4 { 0%, 40% { opacity: 0; transform: translateX(12px); } 43%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-done { 0%, 50% { opacity: 0; transform: translateY(8px) scale(.9); } 53%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-undo { 0%, 55% { opacity: 0; transform: translateY(8px) scale(.9); } 58%, 90% { opacity: 1; transform: none; } 93%, 100% { opacity: 0; transform: none; } }
@keyframes i-out { 0%, 70% { opacity: 0; transform: scale(.8); } 74%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translate(40px, 120px) rotate(8deg); } }

/* The rest, as one quiet row */
/* What is built in: one line of numbers, then a slow ribbon of operation names across the whole page.
   The list is written twice in the page, so sliding it by half its width loops without a seam. */
.built-in { margin-top: clamp(32px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.built-in p { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; color: var(--secondary); text-wrap: balance; }
.built-in b { color: var(--ink); font-weight: 600; }
#features { padding-bottom: clamp(32px, 4vw, 56px); }
.ribbon { margin-top: 16px; overflow: hidden; }
.lane { display: flex; gap: 8px; width: max-content; animation: ribbon 70s linear infinite; }
.lane span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
@keyframes ribbon { to { transform: translateX(calc(-50% - 4px)); } }
.ribbon.rest .lane, .stopped-scenes .lane { animation-play-state: paused; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { border-radius: var(--radius); padding: clamp(24px, 3.4vw, 36px); background: var(--card); }
.plan h3 { font-size: 1.375rem; letter-spacing: -0.02em; font-weight: 600; }
.price { margin-top: 16px; font-size: 3.25rem; line-height: 1; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.price small { font-size: 1.0625rem; font-weight: 500; letter-spacing: 0; color: var(--secondary); }
.plan .sub { margin-top: 20px; min-height: 1.5em; color: var(--secondary); }
.checks { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { margin-top: 4px; font-size: 1.125rem; color: var(--secondary); stroke-width: 2; }
.plan.pro { background: var(--accent); color: var(--on-accent); }
.plan.pro h3, .plan.pro .price { color: var(--on-accent); }
.plan.pro .price small, .plan.pro .sub { color: var(--on-accent); }
.plan.pro :focus-visible { outline-color: var(--on-accent); }
.plan.pro .checks .i { color: var(--on-accent); }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.seg { position: relative; display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; border-radius: 999px; background: color-mix(in srgb, #000000 12%, transparent); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--on-accent); transition: transform var(--t-slide) var(--ease-in-out); }
.seg button { position: relative; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--on-accent); transition: color var(--t-fade) ease; }
.seg button[aria-pressed="true"] { color: var(--accent); }
#plan-price, #plan-per, #plan-sub { transition: opacity 120ms ease, filter 120ms ease; }
.plan.swapping #plan-price, .plan.swapping #plan-per, .plan.swapping #plan-sub { opacity: 0; filter: blur(2px); }

/* Questions */
.narrow { max-width: 760px; margin-inline: auto; }
.qs { background: var(--card); border-radius: var(--radius); padding: 4px 24px; }
.qs details { border-bottom: 1px solid var(--hairline); }
.qs details:last-child { border-bottom: 0; }
.qs summary { transition: opacity var(--t-fast); list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .i { font-size: 1.25rem; color: var(--secondary); transition: transform var(--t-fade) var(--spring); }
.qs details[open] summary .i { transform: rotate(180deg); }
.qs details p { padding: 0 32px 20px 0; color: var(--secondary); }
.qs details p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.qs { interpolate-size: allow-keywords; }
.qs details::details-content { height: 0; overflow: clip; opacity: 0; transition: height var(--t-slide) var(--spring), opacity var(--t-fade) ease, content-visibility var(--t-slide) allow-discrete; }
.qs details[open]::details-content { height: auto; opacity: 1; }
.more-help { margin-top: 20px; text-align: center; color: var(--secondary); }
.more-help a { color: var(--accent); font-weight: 600; }

/* Closing */
.closing { text-align: center; padding-block: clamp(24px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.closing img { width: 92px; height: 92px; border-radius: 22px; }
.closing h2 { margin-top: 24px; }
.closing .lede { margin-inline: auto; }
.closing .btn { margin-top: 32px; }

/* Footer: the name, three short lists, one quiet line */
footer { margin-top: clamp(24px, 4vw, 48px); background: var(--card); font-size: 0.9375rem; color: var(--secondary); }
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px 24px; padding-block: clamp(40px, 5vw, 64px) 32px; }
.foot-brand p { margin-top: 12px; max-width: 16em; }
.foot nav { display: flex; flex-direction: column; align-items: flex-start; }
.foot nav b { margin-bottom: 4px; font-weight: 600; color: var(--ink); }
.foot nav a { padding-block: 4px; transition: color var(--t-fade); }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--accent); } }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(env(safe-area-inset-bottom, 0px) + 24px); border-top: 1px solid var(--hairline); font-size: 0.8125rem; }
/* The link to the other version of the site (American or British English) */
.foot-end a { text-decoration: underline; text-underline-offset: 2px; transition: color var(--t-fade); }
.foot-end a:active { opacity: 0.6; transition-duration: var(--t-tap); }
@media (hover: hover) and (pointer: fine) { .foot-end a:hover { color: var(--accent); } }
@media (max-width: 720px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Inner pages: privacy, terms, support */
.page { padding-top: calc(env(safe-area-inset-top, 0px) + 120px); padding-bottom: clamp(48px, 7vw, 88px); }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.page .updated { margin-top: 12px; font-size: 0.9375rem; color: var(--secondary); }
.prose { margin-top: 32px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 600; }
.prose p, .prose li { color: var(--secondary); line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); font-weight: 600; }
.contact { margin-top: 32px; background: var(--card); border-radius: 24px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact b { display: block; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--ink); user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; }
.contact span { color: var(--secondary); font-size: 0.9375rem; }
.page .qs { margin-top: 16px; border-radius: 24px; }
.page h2.group { margin-top: 48px; font-size: 1.375rem; letter-spacing: -0.015em; font-weight: 600; }

/* Guides: numbered steps and the two ways in */
.crumb { margin-bottom: 12px; font-size: 0.9375rem; }
.crumb a { color: var(--accent); font-weight: 600; }
.guides { margin-top: 32px; display: grid; gap: 12px; }
.guide { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-radius: 24px; background: var(--card); }
.guide b { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.guide small { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--secondary); }
.guide .i { font-size: 1.25rem; color: var(--accent); }
.steps { list-style: none; margin: 32px 0 0; padding: 8px 24px; border-radius: 24px; background: var(--card); counter-reset: step; }
.steps li { position: relative; padding: 16px 0 16px 48px; border-bottom: 1px solid var(--hairline); counter-increment: step; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); display: grid; place-items: center; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps b { display: block; font-weight: 600; color: var(--ink); }
.steps p { margin-top: 4px; color: var(--secondary); }
.steps p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.page h2.group + .steps { margin-top: 16px; }
.cols { margin: 16px 0 0; padding: 8px 24px; border-radius: 24px; background: var(--card); }
.cols div { display: grid; grid-template-columns: 11rem 1fr; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.cols div:last-child { border-bottom: 0; }
.cols dt { font-weight: 600; color: var(--ink); }
.cols dd { margin: 0; color: var(--secondary); }
@media (max-width: 560px) { .cols div { grid-template-columns: 1fr; } }

/* Scroll-in motion: only with scripts, only for what starts below the fold */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-enter) var(--spring), transform var(--t-enter) var(--spring); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* Light and dark cross-fade as one snapshot (View Transitions), so the page is not repainted frame by frame */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--t-move); }

/* Less motion: things still arrive and change, as a fade, without travelling or bouncing */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity var(--t-move) ease; }
  .press, .bar, .tile-card, .plan { transition: none; }
  .press:active { scale: 1; }
  /* Scenes stand still in their finished state: fields filled, bars drawn, columns matched */
  .scene *, .scene *::after { animation: none !important; }
  .sc-tap, .sc-flash, .sc-asa .on::after, .sc-file, .sc-out, .sc-dot, .sc-zone::after, .scenes-toggle { display: none; }
  /* The ribbon becomes a still, centred handful of names */
  .lane { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding-inline: 16px; }
  .lane .again, .lane span:nth-child(n+11) { display: none; }
  .stage { animation: none; }
  .sticker { animation: fade-in var(--t-move) ease both; }
  .s-saved { animation: none; scale: 1; transition: opacity var(--t-move) ease; }
  .roll, .mini i { transition: none; }
  .is-saved .roll, .is-saved .mini .grow { transition: none; }
  .is-saved .s-saved { transition: opacity var(--t-move) ease; }
  .qs details::details-content { transition: opacity var(--t-fade) ease, content-visibility var(--t-fade) allow-discrete; }
  .seg-thumb { transition: none; }
  .plan.swapping #plan-price, .plan.swapping #plan-per, .plan.swapping #plan-sub { filter: none; }
  @media (hover: hover) and (pointer: fine) { .tile-card:hover, .plan:hover { transform: none; } }
}
@keyframes fade-in { from { opacity: 0; } }
/* Less transparency or more contrast: the bar becomes a solid surface with a clear edge */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .bar::before { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --hairline: currentColor; --secondary: var(--text); }
  .bar::before, .tile-card, .plan, .qs, .contact { border: 1px solid var(--text); }
}
@media print {
  .bar-holder, .foot nav { display: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
