/* manpowerledger.com
   The brand is ink on paper: the ultramarine of a ballpoint pen and a company
   stamp, the off-white of a timesheet, and the hi-vis orange of the worksite
   for "look here". One page, no framework. */

/* The headline face, cut down to the widths (84 to 96) and weights (700 to 800) this page uses. */
@font-face { font-family: 'Bricolage'; src: url('/fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 700 800; font-stretch: 84% 96%; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url('/fonts/hanken-grotesk.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Kalam'; src: url('/fonts/kalam-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #1c2ee0;
  --ink-deep: #1423b4;
  --ink-bright: #4a5cff;
  --ink-tint: #e8ebff;
  --night: #0a0e3a;
  --night-2: #131a5e;
  --on-ink: #ffffff;
  --on-ink-soft: #cdd3ff;
  --on-ink-line: rgba(255, 255, 255, 0.2);

  --paper: #f7f5ef;
  --paper-2: #efece2;
  --white: #ffffff;
  --text: #14151c;
  --text-soft: #4a4d5b;
  --text-faint: #6c7082;
  --line: #e3dfd3;
  --line-strong: #cdc8b9;

  --hivis: #ff5b1f;
  --hivis-deep: #b93600;
  --hivis-tint: #fff0e7;
  --hivis-line: #ffc7a9;
  --on-hivis: #1d0b02;

  --sheet: #f6efdc;
  --sheet-2: #efe6cc;
  --sheet-line: #b6ad8d;
  --pen: #1b2a9a;

  --display: 'Bricolage', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Hanken', ui-sans-serif, system-ui, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Kalam', 'Segoe Print', 'Bradley Hand', cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --thunk: cubic-bezier(0.2, 1.5, 0.4, 1);
  --shadow-1: 0 1px 2px rgba(10, 14, 58, 0.06), 0 8px 24px -12px rgba(10, 14, 58, 0.18);
  --shadow-2: 0 2px 4px rgba(10, 14, 58, 0.08), 0 28px 60px -24px rgba(10, 14, 58, 0.45);
  /* The grain of paper, laid very lightly over the large fields of colour. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
table { border-collapse: collapse; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hivis); outline-offset: 3px; border-radius: 6px; }
/* What is marked as hidden stays hidden, whatever else a rule says about its layout. */
[hidden] { display: none !important; }
.defs { position: absolute; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1264px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.skip { position: absolute; left: 12px; top: -64px; z-index: 60; background: var(--hivis); color: var(--on-hivis); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

h2 { font: 800 clamp(2rem, 4.3vw, 3.45rem)/1.03 var(--display); font-stretch: 94%; letter-spacing: -0.012em; text-wrap: balance; max-width: 16em; }
h3 { font: 750 1.2rem/1.22 var(--body); letter-spacing: -0.014em; }
.sub { margin-top: 20px; max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; color: var(--text-soft); }

/* ---------------------------------------------------------------- the logo */
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font: 700 1.24rem/1 var(--display); font-stretch: 94%; letter-spacing: -0.012em; text-decoration: none; white-space: nowrap; }
.mark { width: 25px; height: 39px; flex: none; }
.mark-ink { fill: currentColor; }
.mark-hat { fill: var(--hivis); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap; transition: transform 0.18s var(--ease), background-color 0.18s, box-shadow 0.18s, border-color 0.18s; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-hivis { background: var(--hivis); color: var(--on-hivis); box-shadow: 0 14px 30px -14px rgba(255, 91, 31, 0.85), inset 0 -2px 0 rgba(0, 0, 0, 0.16); }
.btn-hivis:hover { background: #ff7038; transform: translateY(-1px); }
.btn-line { border: 1.5px solid rgba(255, 255, 255, 0.42); color: var(--on-ink); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-white { background: #fff; color: var(--ink-deep); }
.btn-white:hover { background: var(--ink-tint); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; border-radius: 10px; }
.btn-big { min-height: 64px; padding: 0 40px; font-size: 1.16rem; border-radius: 14px; }

/* ---------------------------------------------------------------- the top */
.top { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--on-ink); box-shadow: 0 1px 0 var(--on-ink-line); }
.top-row { display: flex; align-items: center; gap: 30px; min-height: 68px; }
.top-links { display: flex; gap: 28px; margin-left: auto; font-size: 0.97rem; font-weight: 500; color: var(--on-ink-soft); }
.top-links a { text-decoration: none; padding: 10px 0; transition: color 0.15s; }
.top-links a:hover, .top-links a[aria-current] { color: #fff; }
.top-links a[aria-current] { box-shadow: 0 2px 0 var(--hivis); }
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.25s var(--ease), opacity 0.15s; }
.menu summary span { position: relative; }
.menu summary span::before, .menu summary span::after { content: ''; position: absolute; left: 0; }
.menu summary span::before { top: -7px; }
.menu summary span::after { top: 7px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-7px) rotate(-45deg); }
.menu-links { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px clamp(20px, 5vw, 48px) 20px; background: var(--ink-deep); box-shadow: 0 30px 40px -20px rgba(4, 8, 60, 0.7); }
.menu-links a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--on-ink-line); font-weight: 650; font-size: 1.08rem; text-decoration: none; }
.menu-links a[aria-current] { color: #ffd2bd; }
.menu-links a:last-child { justify-content: center; margin-top: 16px; border: 0; border-radius: 12px; background: var(--hivis); color: var(--on-hivis); font-weight: 700; }

/* ---------------------------------------------------------------- the first screen */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-ink); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 76px); align-items: center; margin-top: clamp(22px, 3vw, 44px); }
h1 { font: 800 clamp(2.55rem, 7.3vw, 6rem)/0.95 var(--display); font-stretch: 93%; letter-spacing: -0.014em; text-wrap: balance; }
.lead-more { color: #aab3ff; }
.lead { max-width: 27em; font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.55; color: var(--on-ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.95rem; font-weight: 500; color: var(--on-ink-soft); }
.hero-notes li { position: relative; padding-left: 26px; }
.hero-notes li::before { content: ''; position: absolute; left: 2px; top: 0.36em; width: 13px; height: 7px; border-left: 3px solid var(--hivis); border-bottom: 3px solid var(--hivis); transform: rotate(-45deg); border-radius: 1px; }

/* The desk: the paper sheet, and the system that reads it. */
.desk { position: relative; min-width: 0; }
.paper { position: relative; width: 86%; padding: 22px 22px 16px 38px; background: linear-gradient(170deg, var(--sheet) 0%, var(--sheet-2) 100%); color: #33312a; border-radius: 3px; transform: rotate(-3deg); transform-origin: 26% 70%; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 30px 50px -26px rgba(4, 8, 60, 0.85), 0 4px 10px -4px rgba(4, 8, 60, 0.5); overflow: hidden; }
/* Two punch holes, as on every sheet that lives in a file. */
.paper::before, .paper::after { content: ''; position: absolute; left: 10px; width: 13px; height: 13px; border-radius: 50%; background: #1a2bd0; box-shadow: inset 0 3px 4px rgba(0, 0, 40, 0.75), 0 1px 0 rgba(255, 255, 255, 0.6); }
.paper::before { top: 28%; }
.paper::after { top: 68%; }
.paper-head { display: flex; gap: 14px; align-items: baseline; font: 400 0.74rem/1.3 Arial, Helvetica, sans-serif; margin-bottom: 9px; white-space: nowrap; overflow: hidden; }
.paper-head b { font-size: 0.82rem; }
.hand { width: 100%; table-layout: fixed; }
.hand th, .hand td { border: 1px solid var(--sheet-line); height: 31px; padding: 0 2px; text-align: center; }
.hand thead th { font: 700 0.68rem/1 Arial, Helvetica, sans-serif; background: rgba(60, 50, 10, 0.07); height: 22px; }
.hand .who { width: 31%; text-align: left; padding-left: 7px; font: 400 0.76rem/1.1 Arial, Helvetica, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hand td { font: 700 1.12rem/1 var(--hand); color: var(--pen); }
.hand .tot { border-left: 2.5px double var(--sheet-line); }
.hand th.tot { font-weight: 700; }
.hand tbody tr:nth-child(odd) td { transform: rotate(-4deg); }
.hand tbody tr:nth-child(even) td { transform: rotate(3deg) translateY(1px); }
.hand td:nth-child(3n) { transform: rotate(5deg) translateX(1px); }
.hand tbody tr:nth-child(3n) td:nth-child(2n) { transform: rotate(-7deg) translateY(-1px) scale(1.07); }
.hand tbody tr:nth-child(2n) td:nth-child(4n + 1) { transform: rotate(2deg) translate(-1px, 1px) scale(0.93); }
.hand tbody tr:nth-child(4n + 1) td:nth-child(5n) { transform: rotate(-2deg) translateY(1.5px) scale(1.04); }
.hand td:nth-child(5n + 2) { opacity: 0.9; }
.hand td.tot { transform: rotate(-3deg) scale(1.05); }
/* The box that was written over: someone ran a highlighter across it. */
.hand .fix { position: relative; }
.hand .fix::before { content: ''; position: absolute; inset: 5px -3px 4px -3px; background: rgba(255, 91, 31, 0.36); border-radius: 3px 6px 4px 7px; transform: rotate(-2deg); mix-blend-mode: multiply; }
.hand .fix s { font-size: 0.8em; opacity: 0.8; margin-right: 1px; text-decoration-thickness: 2px; }
.paper-sign { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; margin-top: 9px; font: 400 0.7rem/1 Arial, Helvetica, sans-serif; color: #5a5647; }
.paper-sign svg { width: 110px; height: 24px; stroke: var(--pen); border-bottom: 1px solid var(--sheet-line); }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 70px; background: linear-gradient(to bottom, transparent, rgba(74, 92, 255, 0.28) 72%, rgba(74, 92, 255, 0.62)); border-bottom: 2px solid #6f7dff; opacity: 0; pointer-events: none; }
.desk.reading .beam { animation: beam 2.6s linear both; }
@keyframes beam { 0% { transform: translateY(-70px); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(290px); opacity: 0; } }

.app { position: relative; z-index: 2; width: 90%; margin: -40px 0 0 auto; background: var(--white); color: var(--text); border-radius: 16px; box-shadow: var(--shadow-2); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.app-title { font: 750 0.98rem/1.2 var(--body); letter-spacing: -0.01em; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-state { margin-left: auto; padding: 4px 11px; border-radius: 999px; background: var(--ink-tint); color: var(--ink-deep); font-weight: 650; font-size: 0.8rem; white-space: nowrap; }
.app-state.done { background: var(--hivis-tint); color: var(--hivis-deep); }
.grid { width: 100%; table-layout: fixed; font-variant-numeric: tabular-nums; }
.grid th, .grid td { height: 36px; text-align: center; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.grid thead th { height: 28px; font-size: 0.72rem; font-weight: 600; color: var(--text-faint); }
.grid .who { width: 27%; text-align: left; padding-left: 16px; font-weight: 600; font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid .sum { width: 14%; font-weight: 750; border-left: 1px solid var(--line); }
.grid td.in { animation: pop 0.3s var(--ease) backwards; }
.grid td.abs { color: var(--hivis-deep); font-weight: 750; }
.grid td.gap::after { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); vertical-align: middle; }
.grid td.check { background: var(--hivis-tint); color: var(--hivis-deep); font-weight: 800; box-shadow: inset 0 0 0 2px var(--hivis); }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } }
.doubt { margin: 12px 14px 0; padding: 11px 13px; border-radius: 10px; background: var(--hivis-tint); border: 1px solid var(--hivis-line); font-size: 0.88rem; line-height: 1.45; animation: rise 0.35s var(--ease) backwards; }
.doubt b { color: var(--hivis-deep); }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 8px 16px; font-size: 0.84rem; color: var(--text-faint); }
.again { border: 1.5px solid var(--line-strong); background: var(--white); border-radius: 9px; padding: 6px 13px; min-height: 36px; font-weight: 650; font-size: 0.84rem; cursor: pointer; }
.again:hover { border-color: var(--ink); color: var(--ink); }
.made-up { margin-top: 14px; font-size: 0.8rem; color: var(--on-ink-soft); text-align: right; opacity: 0.85; }
.made-up.dark { color: #9aa2d8; }

/* ---------------------------------------------------------------- a month, in five scenes */
.story { padding: clamp(72px, 10vw, 136px) 0 clamp(40px, 6vw, 72px); }
.story-head { margin-bottom: clamp(28px, 5vw, 60px); }
.beats { position: relative; }
.beat { position: relative; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4.5vw, 56px) 0 clamp(28px, 4.5vw, 56px) clamp(56px, 6vw, 92px); }
/* The rail that the five numbers stand on. */
.beat::before { content: ''; position: absolute; left: 21px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); }
.beat:first-child::before { top: 50%; }
.beat:last-child::before { bottom: 50%; }
.beat-no { position: absolute; left: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: var(--white); border: 2px solid var(--line-strong); font: 800 1.2rem/1 var(--display); color: var(--text-faint); transition: background-color 0.4s, border-color 0.4s, color 0.4s, transform 0.4s var(--thunk); }
.beat.on .beat-no { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.08); }
.beat.yours.on .beat-no { background: var(--hivis); border-color: var(--hivis); color: var(--on-hivis); }
.beat-words h3 { font: 800 clamp(1.5rem, 2.5vw, 2.05rem)/1.1 var(--body); letter-spacing: -0.028em; }
.beat-words p { margin-top: 14px; color: var(--text-soft); max-width: 30em; }
.beat.yours .beat-words h3::before { content: 'Your office does this'; display: block; width: fit-content; margin-bottom: 12px; padding: 6px 12px 5px; border-radius: 999px; background: var(--hivis-tint); border: 1px solid var(--hivis-line); color: var(--hivis-deep); font: 700 0.8rem/1 var(--body); letter-spacing: 0; white-space: nowrap; }
.ways { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ways li { padding: 6px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-strong); font-size: 0.9rem; font-weight: 600; }
.figure { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: center; margin-top: 24px !important; max-width: none !important; }
.figure b { font: 800 clamp(2.5rem, 5vw, 3.6rem)/0.9 var(--display); font-stretch: 90%; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.figure span { font-size: 0.98rem; line-height: 1.45; }
.tiny { margin-top: 10px !important; font-size: 0.82rem; color: var(--text-faint) !important; }
.tiny a { color: var(--ink); font-weight: 650; text-underline-offset: 3px; }

/* Each scene is a small stage. */
.scene { position: relative; min-height: 380px; padding: clamp(22px, 3.5vw, 40px); border-radius: 26px; background-color: var(--paper-2); background-image: radial-gradient(rgba(20, 21, 28, 0.13) 1px, transparent 1.4px); background-size: 20px 20px; display: grid; align-content: center; justify-items: center; gap: 14px; overflow: hidden; }
.js .scene > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.beat.on .scene > * { opacity: 1; transform: none; }
.beat.on .scene > :nth-child(2) { transition-delay: 0.12s; }
.beat.on .scene > :nth-child(3) { transition-delay: 0.22s; }
.beat.on .scene > :nth-child(4) { transition-delay: 0.32s; }
.beat.on .scene > :nth-child(5) { transition-delay: 0.42s; }
.beat.on .scene > :nth-child(6) { transition-delay: 0.52s; }
.scene-label { font-size: 0.82rem; font-weight: 600; color: var(--text-faint); }

/* 1. The phone that takes the picture. */
.scene-arrive { grid-template-columns: auto auto; justify-content: center; gap: clamp(16px, 3vw, 36px); align-items: center; }
.phone { width: 196px; padding: 9px; border-radius: 34px; background: #0d0f1c; box-shadow: var(--shadow-2), inset 0 0 0 2px #2a2d44; }
.phone-screen { position: relative; aspect-ratio: 9 / 16.5; border-radius: 26px; overflow: hidden; background: #2b2a27; display: grid; place-items: center; }
.snap { width: 118%; padding: 12px 10px; background: var(--sheet); transform: rotate(-7deg); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); }
.hand.mini th, .hand.mini td { height: 25px; border-color: var(--sheet-line); }
.hand.mini th { width: 40%; text-align: left; padding-left: 5px; font: 400 0.6rem/1 Arial, Helvetica, sans-serif; white-space: nowrap; overflow: hidden; }
.hand.mini td { font-size: 0.88rem; }
.corner { position: absolute; width: 20px; height: 20px; border: 2.5px solid #fff; opacity: 0.9; }
.c1 { left: 14px; top: 16%; border-right: 0; border-bottom: 0; }
.c2 { right: 14px; top: 16%; border-left: 0; border-bottom: 0; }
.c3 { left: 14px; bottom: 21%; border-right: 0; border-top: 0; }
.c4 { right: 14px; bottom: 21%; border-left: 0; border-top: 0; }
.shutter { position: absolute; left: 50%; bottom: 14px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #2b2a27, 0 0 0 5px #fff; }
.phone-screen::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.beat.on .phone-screen::after { animation: flash 0.5s ease-out 0.7s; }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: 0.92; } 100% { opacity: 0; } }
.sent { display: grid; gap: 3px; padding: 14px 18px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-1); border-left: 5px solid var(--ink); }
.sent b { font: 750 1.02rem/1.2 var(--body); letter-spacing: -0.01em; }
.sent span { font-size: 0.86rem; color: var(--text-faint); }
.beat.on .scene-arrive .sent { transition-delay: 1.05s; }

/* 2. Two readings of one row. */
.scene-twice { gap: 8px; }
.boxes { display: grid; grid-template-columns: repeat(7, minmax(0, 54px)); gap: 8px; justify-content: center; width: 100%; font-variant-numeric: tabular-nums; }
.boxes span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 11px; background: var(--white); border: 1.5px solid var(--line-strong); font: 750 1.2rem/1 var(--body); box-shadow: var(--shadow-1); }
.boxes .empty { background: transparent; border-style: dashed; box-shadow: none; }
.boxes .differs { background: var(--hivis-tint); border-color: var(--hivis); color: var(--hivis-deep); }
.agree { display: grid; grid-template-columns: repeat(7, minmax(0, 54px)); gap: 8px; justify-content: center; width: 100%; height: 22px; }
.agree i { position: relative; justify-self: center; width: 16px; height: 22px; }
.agree i::before { content: ''; position: absolute; left: 1px; top: 4px; width: 12px; height: 6px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform 0.3s var(--thunk); }
.agree i.no::before { left: 6px; top: 1px; width: 3px; height: 14px; border: 0; background: var(--hivis); border-radius: 2px; transform: scale(0); }
.agree i.no::after { content: ''; position: absolute; left: 5.5px; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--hivis); transform: scale(0); transition: transform 0.3s var(--thunk) 1.25s; }
.beat.on .agree i::before { transform: rotate(-45deg) scale(1); }
.beat.on .agree i.no::before, .beat.on .agree i.no::after { transform: scale(1); }
.beat.on .agree i:nth-child(1)::before { transition-delay: 0.6s; }
.beat.on .agree i:nth-child(2)::before { transition-delay: 0.72s; }
.beat.on .agree i:nth-child(3)::before { transition-delay: 0.84s; }
.beat.on .agree i:nth-child(4)::before { transition-delay: 0.96s; }
.beat.on .agree i:nth-child(5)::before { transition-delay: 1.25s; }
.beat.on .agree i:nth-child(6)::before { transition-delay: 1.08s; }
.beat.on .agree i:nth-child(7)::before { transition-delay: 1.16s; }
.verdict { margin-top: 10px; font-size: 0.98rem; color: var(--text-soft); text-align: center; }
.verdict b { color: var(--hivis-deep); }

/* 3. A person decides. */

/* 4. One salary, as a page of the ledger. */
/* The double rule: an accountant's mark for a final total. */
.pay-total small, .bench-near small { font-size: 0.5em; font-weight: 700; letter-spacing: 0.02em; opacity: 0.7; margin-right: 2px; }

/* 5. The owner's stamp, and the three files. */
/* A real screen of the product, in a plain frame. On a phone the picture is the product as a phone shows it. */
.screen { position: relative; min-width: 0; }
.screen picture { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 2px 4px rgba(10, 14, 58, 0.06), 0 34px 64px -30px rgba(10, 14, 58, 0.5); }
.screen picture::before { content: ''; display: block; height: 26px; background: radial-gradient(circle at 16px 13px, #cfcabb 4.5px, transparent 5.5px), radial-gradient(circle at 32px 13px, #cfcabb 4.5px, transparent 5.5px), radial-gradient(circle at 48px 13px, #cfcabb 4.5px, transparent 5.5px), var(--paper-2); border-bottom: 1px solid var(--line); }
.screen img { display: block; width: 100%; height: auto; }
.screen figcaption { margin-top: 12px; font-size: 0.84rem; color: var(--text-faint); }
.screen.narrow { justify-self: center; width: min(100%, 440px); }
.js .beat .screen { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .beat.on .screen { opacity: 1; transform: none; }
/* The owner's stamp lands on the month. */
.stamp { position: absolute; right: -16px; top: -44px; z-index: 2; width: clamp(128px, 15vw, 196px); height: clamp(128px, 15vw, 196px); color: var(--ink); stroke: currentColor; transform: rotate(-12deg); opacity: 0.92; }
.js .stamp { opacity: 0; }
.stamp-word { font: 800 26px/1 var(--display); font-stretch: 90%; letter-spacing: 0.05em; fill: currentColor; stroke: none; }
.stamp-ring { font: 700 12.5px/1 var(--body); letter-spacing: 0.22em; fill: currentColor; stroke: none; }
.beat.on .stamp { animation: stamp 0.55s var(--thunk) 0.75s both; }
@keyframes stamp { 0% { transform: rotate(-26deg) scale(2.1); opacity: 0; } 55% { opacity: 0.95; } 100% { transform: rotate(-13deg) scale(1); opacity: 0.9; } }

/* ---------------------------------------------------------------- try it */
.try { position: relative; isolation: isolate; background: var(--night); color: #fff; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.try .sub { color: #b9c0f2; }
.bench { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(16px, 2.5vw, 28px); margin-top: clamp(32px, 5vw, 56px); align-items: start; }
.bench-near, .row-pay { display: none; }
.bench-sheet { padding: clamp(14px, 2.2vw, 26px); border-radius: 22px; background: var(--white); color: var(--text); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); min-width: 0; }
.edit { width: 100%; table-layout: fixed; font-variant-numeric: tabular-nums; }
.edit thead th { padding: 0 0 10px; font-size: 0.78rem; font-weight: 650; color: var(--text-faint); text-align: center; }
.edit .who { width: 30%; text-align: left; font: 750 1rem/1.15 var(--body); letter-spacing: -0.01em; padding-right: 8px; }
.edit thead .who { font: 650 0.78rem/1 var(--body); }
.edit .who small { display: block; margin-top: 3px; font: 500 0.76rem/1.2 var(--body); color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.edit td { padding: 4px 3px; }
.cell { display: grid; place-items: center; width: 100%; height: 52px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: var(--paper); font: 750 1.1rem/1 var(--body); cursor: pointer; transition: background-color 0.15s, border-color 0.15s, transform 0.2s var(--thunk); }
.cell:hover { border-color: var(--ink); background: var(--ink-tint); }
.cell:active { transform: scale(0.92); }
.cell.bump { animation: pop 0.25s var(--thunk); }
.cell[data-v='A'] { background: var(--hivis-tint); border-color: var(--hivis-line); color: var(--hivis-deep); }
.cell[data-v=''] { background: transparent; border-style: dashed; }
.bench-hint { margin-top: 14px; font-size: 0.86rem; color: var(--text-faint); }
.bench-pay { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); border-radius: 22px; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.14); min-width: 0; }
.pay-title { font: 700 1rem/1 var(--body); color: var(--on-ink-soft); }
.pay { margin-top: 14px; font-variant-numeric: tabular-nums; }
.pay > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; padding: 12px 0; border-bottom: 1px solid var(--on-ink-line); }
.pay dt { font-weight: 700; }
.pay dd { font-weight: 700; text-align: right; }
.pay .how { grid-column: 1 / -1; font-size: 0.84rem; font-weight: 500; color: var(--on-ink-soft); }
.pay-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 6px; padding-top: 18px; border-bottom: 5px double #fff; padding-bottom: 12px; }
.pay-total > span { font: 800 1.08rem/1 var(--body); }
.pay-total b { font: 800 clamp(1.8rem, 3.1vw, 2.5rem)/1 var(--display); font-stretch: 96%; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; }
.pay-note { margin-top: 14px; min-height: 2.9em; font-size: 0.86rem; line-height: 1.45; color: var(--on-ink-soft); }

/* ---------------------------------------------------------------- the papers behind every worker */
.keeps { padding: clamp(72px, 10vw, 128px) 0; }
.keeps-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.keeps-more { margin-top: 18px; }

/* ---------------------------------------------------------------- security */
.security { padding: clamp(72px, 10vw, 128px) 0; background: var(--white); border-block: 1px solid var(--line); }
.security h2 { max-width: 19em; }
.matrix-wrap { margin-top: clamp(30px, 5vw, 56px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.matrix { width: 100%; }
.matrix th, .matrix td { padding: 16px clamp(10px, 2vw, 26px); text-align: center; border-bottom: 1px solid var(--line); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { font: 800 1.02rem/1.1 var(--body); letter-spacing: -0.01em; padding-block: 20px; background: var(--white); border-bottom: 2px solid var(--text); }
.matrix tbody th { text-align: left; font-weight: 600; }
.matrix td { width: 18%; font-size: 0; }
.matrix td::before { content: ''; display: inline-block; vertical-align: middle; }
.matrix td.yes::before { width: 15px; height: 8px; border-left: 3.5px solid var(--ink); border-bottom: 3.5px solid var(--ink); transform: rotate(-45deg) translateY(-2px); }
.matrix td.no::before { width: 14px; height: 3px; border-radius: 2px; background: var(--line-strong); }
.guards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin-top: clamp(30px, 5vw, 56px); }
.guards li { padding: 22px 0 8px; border-top: 2px solid var(--text); }
.guards p { margin-top: 8px; color: var(--text-soft); font-size: 0.98rem; }

/* ---------------------------------------------------------------- speed */
.speed { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.speed::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; pointer-events: none; }
.speed .sub { color: var(--on-ink-soft); }
.speed-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.speed.measured .speed-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.speed-figure { display: none; }
.speed.measured .speed-figure { display: block; }
.speed-label { font: 700 1.08rem/1.2 var(--body); color: var(--on-ink-soft); }
.speed-number { font: 800 clamp(4.6rem, 11vw, 8.6rem)/0.86 var(--display); font-stretch: 84%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 10px; }
.speed-number small { font-size: 0.26em; font-stretch: 90%; letter-spacing: -0.01em; margin-left: 0.12em; color: var(--hivis); }
.speed-after { margin-top: 18px; max-width: 26em; font-size: 0.98rem; line-height: 1.5; color: var(--on-ink-soft); }
.speed-after b { color: #fff; }
.speed-list { margin-top: 30px; }
.speed-list li { padding: 20px 0; border-top: 1px solid var(--on-ink-line); }
.speed-list p { margin-top: 6px; color: var(--on-ink-soft); font-size: 0.98rem; }

/* ---------------------------------------------------------------- your name on the door */
.door { padding: clamp(72px, 10vw, 128px) 0; }
.door-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.door .window { position: sticky; top: 104px; }
.name-field { display: grid; gap: 9px; margin-top: 30px; font-weight: 650; font-size: 0.96rem; max-width: 27em; }
.name-field input { width: 100%; min-height: 60px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--text); background: var(--white); font-size: 1.12rem; font-weight: 600; transition: border-color 0.15s, box-shadow 0.15s; }
.name-field input::placeholder { color: var(--text-faint); font-weight: 500; opacity: 0.75; }
.name-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 5px rgba(28, 46, 224, 0.16); }
.window { border-radius: 20px; background: var(--white); box-shadow: var(--shadow-2); overflow: hidden; min-width: 0; }
.window-bar { padding: 12px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.address { display: flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px; background: var(--white); font-size: 0.94rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.address-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.address b { color: var(--text); font-weight: 700; }
.lock { flex: none; width: 10px; height: 9px; border-radius: 2px; background: var(--ink); position: relative; }
.lock::before { content: ''; position: absolute; left: 1.5px; top: -6px; width: 7px; height: 7px; border: 2px solid var(--ink); border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.window { margin: 0; }
.window picture, .window img { display: block; width: 100%; height: auto; }
.window img { background: var(--paper-2); }
.window figcaption { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-faint); }
/* The five designs of the product, to pick from. The small squares show each one's menu and its colour. */
.designs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; }
.designs legend { padding: 0; margin-bottom: 8px; font-weight: 650; font-size: 0.96rem; }
.designs label { position: relative; cursor: pointer; }
.designs input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.design { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 16px 0 10px; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--white); font-weight: 650; font-size: 0.96rem; transition: border-color 0.15s, box-shadow 0.15s, transform 0.2s var(--thunk); }
.designs input:checked + .design { border-color: var(--text); box-shadow: 0 3px 0 var(--text); transform: translateY(-2px); }
.designs input:focus-visible + .design { outline: 3px solid var(--hivis); outline-offset: 2px; }
.sw { flex: none; width: 26px; height: 26px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.sw-field { background: linear-gradient(90deg, #0f1f19 0 40%, #0a7d44 40%); }
.sw-ledger { background: linear-gradient(90deg, #0a0e3a 0 40%, #1c2ee0 40%); border-radius: 2px; }
.sw-site { background: linear-gradient(90deg, #1a1d21 0 40%, #c2410c 40%); border-radius: 3px; }
.sw-majlis { background: linear-gradient(90deg, #3a0f1b 0 40%, #e6c36a 40%); }
.sw-daylight { background: linear-gradient(90deg, #4532c2 0 40%, #ffd84d 40%); border-radius: 10px; }
.design-line { margin-top: 12px; min-height: 3em; max-width: 31em; font-size: 0.98rem; color: var(--text-soft); }
html:not(.js) .designs, html:not(.js) .design-line { display: none; }
.with-us { margin-top: 34px; max-width: 31em; border-bottom: 2px solid var(--text); }
.with-us > div { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line-strong); }
.with-us > div:first-child { border-top: 2px solid var(--text); }
.with-us > div::before { content: ''; position: absolute; left: 3px; top: 1.32em; width: 14px; height: 7px; border-left: 3.5px solid var(--hivis); border-bottom: 3.5px solid var(--hivis); transform: rotate(-45deg); }
.with-us dt { font-weight: 750; letter-spacing: -0.012em; }
.with-us dd { margin-top: 2px; font-size: 0.95rem; color: var(--text-soft); }

/* ---------------------------------------------------------------- all of it, on one list: the index of a ledger */
.index { padding: clamp(72px, 10vw, 128px) 0; background: var(--white); border-top: 1px solid var(--line); }
.guides { padding: clamp(72px, 10vw, 128px) 0; background: var(--white); border-top: 1px solid var(--line); }
.index-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.index-head .sub { margin-top: 0; }
.index-rows { border-bottom: 2px solid var(--text); }
.index-rows a { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr) 22px; gap: 8px clamp(16px, 3vw, 40px); align-items: baseline; padding: 20px 4px; border-top: 1px solid var(--line-strong); text-decoration: none; transition: background-color 0.2s, padding 0.25s var(--ease); }
.index-rows li:first-child a { border-top: 2px solid var(--text); }
.index-rows b { font: 800 clamp(1.25rem, 2.1vw, 1.7rem)/1.1 var(--display); font-stretch: 95%; letter-spacing: -0.01em; transition: color 0.2s; }
.index-rows span { color: var(--text-soft); line-height: 1.6; }
.index-rows a::after, .rows a::after { content: ''; align-self: center; justify-self: end; width: 10px; height: 10px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.index-rows a:hover, .rows a:hover { background: var(--paper); padding-inline: 14px 10px; }
.index-rows a:hover b, .rows a:hover .row-main b { color: var(--ink); }
.index-rows a:hover::after, .rows a:hover::after { transform: translateX(4px) rotate(45deg); }
.more-all { margin-top: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.text-link::after { content: ''; width: 9px; height: 9px; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover::after { transform: translateX(4px) rotate(45deg); }

/* Articles as the lines of a ledger: a number, the subject, the title, the time it takes. */
.rows { border-bottom: 2px solid var(--text); }
.rows a { display: grid; grid-template-columns: 2.6rem minmax(0, 8.5rem) minmax(0, 1fr) auto 22px; gap: 6px clamp(14px, 2.4vw, 32px); align-items: baseline; padding: 22px 4px; border-top: 1px solid var(--line-strong); text-decoration: none; transition: background-color 0.2s, padding 0.25s var(--ease); }
.rows li:first-child a { border-top: 2px solid var(--text); }
.row-no { font: 800 1.15rem/1 var(--display); font-stretch: 94%; color: var(--ink); font-variant-numeric: tabular-nums; }
.row-cat { font-size: 0.86rem; font-weight: 700; color: var(--hivis-deep); }
.row-main { display: grid; gap: 6px; }
.row-main b { font: 750 clamp(1.1rem, 1.6vw, 1.32rem)/1.25 var(--body); letter-spacing: -0.016em; transition: color 0.2s; }
.row-main span { color: var(--text-soft); font-size: 0.98rem; line-height: 1.5; max-width: 46em; }
.row-time { font-size: 0.86rem; color: var(--text-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- what it leaves alone, and questions */
.questions { padding: clamp(72px, 10vw, 128px) 0; }
.questions-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.questions h2 { position: sticky; top: 104px; }
.faq { border-bottom: 2px solid var(--text); }
.faq details { border-top: 2px solid var(--text); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font: 750 1.14rem/1.3 var(--body); letter-spacing: -0.014em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq p { padding: 0 40px 24px 0; color: var(--text-soft); max-width: 42em; }

/* ---------------------------------------------------------------- the last word */
.closing { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(84px, 12vw, 160px) 0; overflow: hidden; text-align: center; }
.closing::after { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; }
.closing h2 { margin-inline: auto; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.95; }
.closing .sub { margin-inline: auto; color: var(--on-ink-soft); }
.closing .btn { margin-top: 36px; max-width: 100%; white-space: normal; }
.closing.split { text-align: left; padding: clamp(72px, 10vw, 128px) 0; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.closing.split h2, .closing.split .sub { margin-inline: 0; }
.closing-sheet { position: relative; justify-self: center; width: min(100%, 420px); }
.paper.small { width: 100%; transform: rotate(3deg); transform-origin: 50% 50%; }
.paper.small .hand .who { width: 30%; }
.closing-stamp { position: absolute; right: -6%; bottom: -16%; width: 62%; color: #fff; stroke: currentColor; transform: rotate(-9deg); filter: drop-shadow(0 6px 14px rgba(4, 8, 60, 0.45)); }
.closing-stamp .stamp-word { font-size: 25px; letter-spacing: 0.04em; }
.closing-stamp .stamp-ring { font-size: 9.5px; letter-spacing: 0.16em; }
.more-all.two { display: flex; flex-wrap: wrap; gap: 4px 34px; }

.foot { background: var(--night); color: #a9b0e6; padding: 52px 0 40px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.foot .brand { color: #fff; }
.foot-line { margin-top: 12px; max-width: 26em; }
.foot-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr) minmax(0, 0.9fr) minmax(0, 1.1fr); }
.foot-links { display: grid; align-content: start; gap: 0; }
.foot-links b { margin-bottom: 8px; color: #fff; font-weight: 700; }
.foot-links a { text-decoration: none; padding: 7px 0; color: #dfe3ff; font-weight: 500; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot-small { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; }
.foot-small span:last-child { display: flex; gap: 22px; }
.foot-small a { display: inline-flex; align-items: center; min-height: 36px; color: #dfe3ff; font-weight: 500; text-underline-offset: 3px; }

/* The "page not found" page. */
.lost { min-height: 100vh; display: grid; align-items: center; }
.lost h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1040px) {
  .top-links { display: none; }
  .top .btn { margin-left: auto; }
  .menu { display: block; }
  .top-row { gap: 12px; }
  .index-head { grid-template-columns: minmax(0, 1fr); }
  .index-rows a { grid-template-columns: minmax(0, 1fr) 22px; }
  .index-rows span { grid-column: 1; }
  .index-rows a::after { grid-row: 1; grid-column: 2; }
  .rows a { grid-template-columns: 2.2rem minmax(0, 1fr) auto; }
  .rows a::after { display: none; }
  .row-cat { grid-column: 2; }
  .row-main { grid-column: 2 / -1; }
  .row-time { grid-row: 1; grid-column: 3; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-about { grid-column: 1 / -1; }
  .closing-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-sheet { width: min(86%, 360px); margin: 8px 0 30px; }
  .door .window { position: static; }
  .bench-near { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 6px 10px; border-top: 2px solid var(--text); border-bottom: 5px double var(--text); font-weight: 800; }
  .bench-near b { font: 800 1.5rem/1 var(--display); font-stretch: 96%; font-variant-numeric: tabular-nums; color: var(--ink); }
  .beat .screen { margin-top: 4px; }
  .hero-grid, .keeps-grid, .door-grid, .questions-grid, .speed.measured .speed-grid { grid-template-columns: minmax(0, 1fr); }
  .desk { max-width: 640px; margin: 6px auto 0; width: 100%; }
  .lead { max-width: 34em; }
  .beat { grid-template-columns: minmax(0, 1fr); }
  .beat-no { top: clamp(28px, 4.5vw, 56px); margin-top: 0; }
  .beat:first-child::before { top: clamp(28px, 4.5vw, 56px); }
  .beat:last-child::before { bottom: auto; height: clamp(28px, 4.5vw, 56px); }
  .bench { grid-template-columns: minmax(0, 1fr); }
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .questions h2 { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .beat { padding-left: 46px; }
  .beat::before { left: 15px; }
  .beat-no { width: 32px; height: 32px; font-size: 0.98rem; }
  .scene { min-height: 300px; border-radius: 20px; }
  .scene-arrive { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 170px; }
  .paper { width: 97%; padding: 14px 10px 12px 26px; }
  .paper::before, .paper::after { left: 8px; width: 9px; height: 9px; }
  .app { width: 100%; margin-top: -22px; }
  .hand th, .hand td { height: 28px; }
  .hand td { font-size: 1rem; }
  .hand .who { width: 30%; font-size: 0.68rem; padding-left: 4px; }
  .grid .who { width: 26%; padding-left: 10px; font-size: 0.78rem; }
  .grid th, .grid td { font-size: 0.84rem; height: 33px; }
  .hero-actions .btn { flex: 1 1 auto; }
  /* A phone's first screen: the headline, one sentence, one button, and the sheet. */
  .lead-more, .hero-notes, .hero-actions .btn-line { display: none; }
  .hero-actions { margin-top: 22px; }
  .hero-grid { gap: 30px; }
  .index-rows span { display: none; }
  .index-rows a { padding: 16px 4px; align-items: center; }
  /* The product as a phone shows it, in the outline of a phone. */
  .screen { justify-self: center; width: min(100%, 300px); margin-inline: auto; }
  .screen picture { border-radius: 30px; box-shadow: 0 0 0 9px var(--night), 0 30px 50px -24px rgba(10, 14, 58, 0.6); }
  .screen picture::before { display: none; }
  .screen figcaption { margin-top: 20px; text-align: center; }
  .stamp { right: 4px; top: -42px; width: 112px; height: 112px; }
  .foot-small span:last-child { gap: 18px; }
  .boxes, .agree { gap: 5px; }
  .boxes span { border-radius: 8px; font-size: 1rem; }
  .guards { grid-template-columns: minmax(0, 1fr); }
  .matrix th, .matrix td { padding: 13px 6px; }
  .matrix thead th { font-size: 0.86rem; }
  .matrix tbody th { font-size: 0.9rem; padding-left: 14px; }
  .bench-sheet { padding: 12px 8px 14px; border-radius: 16px; }
  .edit .who { width: 21%; font-size: 0.8rem; padding-left: 4px; }
  .edit .who small { display: none; }
  .edit .who small.row-pay { display: block; margin-top: 2px; font: 750 0.78rem/1.2 var(--body); color: var(--ink); font-variant-numeric: tabular-nums; }
  .edit thead th { font-size: 0.7rem; }
  .edit td { padding: 2px 1.5px; }
  .cell { height: 46px; border-radius: 8px; font-size: 0.92rem; }
  .bench-hint { padding-left: 4px; }
  .faq summary { font-size: 1.08rem; }
  .faq p { padding-right: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .top-row { gap: 6px; }
  .brand { font-size: 1.02rem; gap: 7px; }
  .mark { width: 21px; height: 33px; }
  .btn-small { padding: 0 11px; font-size: 0.86rem; }
  .menu summary { width: 40px; }
}

/* ---------------------------------------------------------------- less movement, when the device asks for it */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scene > *, .beat .screen { opacity: 1 !important; transform: none !important; }
  .stamp { transform: rotate(-12deg) !important; opacity: 0.92 !important; }
  .agree i::before { transform: rotate(-45deg) scale(1); }
  .agree i.no::before, .agree i.no::after { transform: scale(1); }
}
