/* Presage website: shared styles for the homepage and the eSSESSMENT page.
   Layout concept: one session timeline runs through the site. Left-aligned
   editorial type on a white page, product screens rebuilt from the real UI
   on quiet gray panels, and the pulse line from the logo as the only flourish. */
:root {
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --paper-3: #ebebef;
  --ink: #0a0a0a;
  --ink-2: #3c3d44;
  --mute: #7d8187;
  --line: #e4e4e9;
  --line-2: #d2d2d9;
  --red: #b51f2a;
  --red-soft: #fbeced;
  --pulse: #e0323b;
  --breath: #3a6bd0;
  --btn: #b51f2a;
  --btn-hover: #9a1922;
  --btn-ink: #ffffff;
  --band: #0f0f12;
  --band-2: #1a1a1f;
  --band-ink: #f2f2f4;
  --band-mute: #9c9da6;
  --band-line: #2b2b32;
  --code-ink: #e8e8ec;
  --code-k: #ff7b84;
  --code-s: #9cc2ff;
  --code-c: #7d7f89;
  --shadow: 0 1px 2px rgba(17, 17, 19, 0.05), 0 14px 40px -18px rgba(17, 17, 19, 0.22);
  --shadow-lg: 0 1px 2px rgba(17, 17, 19, 0.05), 0 30px 70px -30px rgba(17, 17, 19, 0.32);
  /* Product screens stay light in both themes, like screenshots of the real apps. */
  --s-bg: #ffffff;
  --s-ink: #1d1d1f;
  --s-mute: #6e6e73;
  --s-line: #e6e6eb;
  --s-fill: #f2f2f5;
  --s-cam: #101114;
  --s-cam-ink: #f5f5f7;
  --s-frame: #e4e4e8;
  --s-frame-2: #cfcfd6;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --wrap: 1240px;
  --gut: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
/* Light only: the pages always render in their light palette, whatever the viewer's theme. */
:root, :root[data-theme="dark"] { color-scheme: light; }

/* ---------- base ---------- */
*, *::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(--ink); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.red { color: var(--red); }
.mute { color: var(--mute); }

.wrap { max-width: calc(var(--wrap) + var(--gut) + var(--gut-r)); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.wrap.wide { --wrap: 1400px; }
.sec { padding-block: clamp(72px, 8vw, 112px); }
.sec.tight { padding-block: clamp(56px, 6vw, 80px); }
.band-gray { background: var(--paper-2); }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/20px var(--font); color: var(--red); }
.eyebrow::before { content: ""; width: 18px; height: 10px; flex: none; background: currentColor; -webkit-mask: var(--pulse-mask) center / contain no-repeat; mask: var(--pulse-mask) center / contain no-repeat; }
:root { --pulse-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M1 12h9l3 5 5-15 4 13 2-3h11' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.display { font-weight: 450; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.h1 { font-weight: 450; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.h2 { font-weight: 450; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.h3 { font-weight: 450; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.4; letter-spacing: -0.005em; text-wrap: balance; }
.h4 { font-weight: 500; font-size: 16px; line-height: 1.5; }
.lead { font-size: 18px; line-height: 1.625; color: var(--mute); text-wrap: pretty; }
.body { color: var(--ink-2); text-wrap: pretty; }
.small { font-size: 14px; line-height: 20px; color: var(--mute); }
.fine { font-size: 13px; line-height: 1.5; color: var(--mute); }
.measure { max-width: 62ch; }
.sec-head { display: grid; gap: 20px; max-width: 760px; }
.sec-head .lead { max-width: 640px; }

/* ---------- buttons and links ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 999px; font: 400 16px/24px var(--font); text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 450; color: var(--ink); text-decoration: none; }
.lnk::after { content: "\2192"; transition: transform 0.2s var(--ease); }
.lnk:hover::after { transform: translateX(3px); }
.lnk.red { color: var(--red); }
.ext::after { content: "\2197"; }
.prose a, .inline-a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover, .inline-a:hover { text-decoration-color: var(--red); }

/* ---------- design study bar (review only) ---------- */
.rv { background: #111113; color: #c9c9cf; font: 500 12.5px/1 var(--font); }
.rv-in { display: flex; align-items: center; gap: 4px 6px; min-height: 36px; overflow-x: auto; scrollbar-width: none; padding-left: var(--gut); padding-right: var(--gut-r); }
.rv-in::-webkit-scrollbar { display: none; }
.rv b { flex: none; margin-right: 8px; font-weight: 600; color: #fff; }
.rv a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.rv a i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); font: 500 10px/1 var(--font); font-style: normal; color: #fff; }
.rv a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.rv a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.rv a[aria-current="page"] i { background: #fff; color: #111113; }
.rv .rv-note { margin-left: auto; padding-left: 16px; flex: none; color: #8d8d95; white-space: nowrap; }
.rv-dd { flex: none; }
.rv-db [data-rv-cur] { display: inline-flex; align-items: center; gap: 6px; }
.rv-db { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 7px; font: inherit; color: inherit; white-space: nowrap; }
.rv-db svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }
.rv-db:hover, .rv-dd.open .rv-db { background: rgba(255, 255, 255, 0.08); color: #fff; }
.rv-dd.open .rv-db svg { transform: rotate(180deg); }
.rv-db.on { background: rgba(255, 255, 255, 0.14); color: #fff; }
.rv-db.on i { background: #fff; color: #111113; }
.rv-m { position: fixed; z-index: 90; display: none; min-width: 220px; padding: 6px; border-radius: 12px; background: #1c1c20; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px -12px rgba(0, 0, 0, 0.6); }
.rv-dd.open .rv-m { display: grid; gap: 2px; }
.rv-m a, .rv-m button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border-radius: 8px; font: inherit; color: #c9c9cf; text-align: left; text-decoration: none; white-space: nowrap; }
.rv-m a:hover, .rv-m button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.rv-m .on { background: rgba(255, 255, 255, 0.14); color: #fff; }
.rv-m .on i { background: #fff; color: #111113; }

/* ---------- header: D's navigation format ----------
   Full width, logo then text links in pills, outlined pill buttons on the
   right, Inter 13px. 76px tall, 64px once the page scrolls. */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.hd.sc { border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent); }
.hd .wrap { max-width: none; padding-left: max(64px, env(safe-area-inset-left, 0px)); padding-right: max(64px, env(safe-area-inset-right, 0px)); }
.hd-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; height: 76px; transition: height 0.3s var(--ease); }
.hd.sc .hd-in { height: 64px; }
.logo { display: inline-flex; align-items: center; flex: none; height: 48px; text-decoration: none; }
.logo img { width: 106px; height: 34px; object-fit: contain; }
.logo .lg-d { display: none; }
.nav { display: flex; justify-self: start; align-items: center; margin-left: 20px; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; font: 400 13px/18px var(--ui); color: var(--ink); text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease; }
.nav a:hover, .nav button:hover { background: rgba(74, 71, 65, 0.07); }
.nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(74, 71, 65, 0.22); }
.nav .new { font: 500 11px/1 var(--ui); color: var(--red); }
.hd-r { justify-self: end; display: flex; align-items: center; gap: 8px; }
.hd-r .btn-sm { min-height: 36px; height: 36px; padding: 0 16px; font: 400 13px/18px var(--ui); }
.hd-r .btn-ghost { box-shadow: inset 0 0 0 1px rgba(74, 71, 65, 0.22); background: transparent; }
.hd-r .btn-ghost:hover { background: rgba(74, 71, 65, 0.07); }
.hd-r .btn-primary { background: var(--ink); color: var(--paper); }
.hd-r .btn-primary:hover { background: var(--ink-2); }
.dd { position: relative; }
.dd-b svg { width: 12px; height: 12px; transition: transform 0.2s; }
.dd.open .dd-b svg { transform: rotate(180deg); }
.dd-m { position: absolute; top: calc(100% + 10px); right: 0; min-width: 300px; padding: 8px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); opacity: 0; transform: translateY(-4px); visibility: hidden; transition: opacity 0.18s ease, transform 0.18s var(--ease), visibility 0s linear 0.18s; }
.dd.open .dd-m { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.dd-m a { display: grid; gap: 3px; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.dd-m a:hover { background: var(--paper-2); }
.dd-m b { font: 500 15px/1.25 var(--font); color: var(--ink); }
.dd-m span { font: 400 13.5px/1.4 var(--font); color: var(--mute); }
.menu-b { display: none; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(74, 71, 65, 0.22); font: 400 13px/18px var(--ui); color: var(--ink); }
.menu-b:hover, .menu-b[aria-expanded="true"] { background: rgba(74, 71, 65, 0.07); }
.menu-b svg { width: 18px; height: 18px; }
.mm-t .menu-b { display: inline-flex; width: 36px; padding: 0; border-radius: 50%; }
.mm { position: fixed; inset: 0; z-index: 70; display: none; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gut-r) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gut); background: var(--paper); overflow-y: auto; }
.mm.on { display: flex; }
.mm-t { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mm-l { display: grid; margin-top: 20px; }
.mm-l a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font: 450 22px/1.2 var(--font); letter-spacing: -0.015em; text-decoration: none; }
.mm-l a small { font: 400 14px/1.3 var(--font); color: var(--mute); }
.mm-b { display: grid; gap: 10px; margin-top: 28px; }
.mm-b .btn { width: 100%; }
@media (max-width: 1099px) {
  .hd .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); }
  .hd-in, .hd.sc .hd-in { height: 64px; }
  .nav, .hd-r .dd { display: none; }
  .menu-b { display: inline-flex; }
}
@media (max-width: 639px) {
  .hd .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
  .hd-in, .hd.sc .hd-in { height: 56px; }
}

/* ---------- product frames ---------- */
.win { position: relative; overflow: hidden; border-radius: 14px; background: var(--s-bg); color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-frame), var(--shadow-lg); font-family: var(--ui); container-type: inline-size; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--s-line); background: #fafafb; font: 500 12.5px/1 var(--ui); color: var(--s-mute); white-space: nowrap; }
.win-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #dcdce1; }
.win-bar b { margin-left: 10px; font-weight: 600; color: var(--s-ink); }
.win-bar .sep { margin: 0 2px; color: #b8b8bf; }
.win-bar .r { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--s-fill); font: 500 11.5px/1 var(--ui); color: var(--s-ink); white-space: nowrap; }
.chip.red { background: #fdecec; color: #b51f2a; }
.chip.green { background: #e9f6ee; color: #1f7a45; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; font: 600 12px/1 var(--ui); white-space: nowrap; }
.ui-btn.pri { background: #1d1d1f; color: #fff; }
.ui-btn.red { background: #b51f2a; color: #fff; }
.ui-btn.out { box-shadow: inset 0 0 0 1px var(--s-line); background: #fff; color: var(--s-ink); }

.phone { --pw: 270px; position: relative; flex: none; width: var(--pw); aspect-ratio: 9 / 19.4; padding: calc(var(--pw) * 0.032); border-radius: calc(var(--pw) * 0.165); background: linear-gradient(150deg, #f0f0f3 0%, #d4d4da 55%, #e5e5e9 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.8), var(--shadow-lg); font-family: var(--ui); color: var(--s-ink); }
.phone-s { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * 0.135); background: var(--s-bg); container-type: inline-size; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
.isl { position: absolute; top: 2.8cqi; left: 50%; z-index: 9; width: 29cqi; height: 8.4cqi; border-radius: 99px; background: #000; translate: -50% 0; }
.psb { position: absolute; top: 4.4cqi; right: 7cqi; left: 9cqi; z-index: 8; display: flex; justify-content: space-between; font: 600 4.3cqi/1 var(--ui); letter-spacing: -0.01em; }
.psb svg { width: 15cqi; height: 3cqi; }
.psb.lt { color: #fff; }
.home-ind { position: absolute; bottom: 2cqi; left: 50%; z-index: 9; width: 34cqi; height: 1.3cqi; border-radius: 99px; background: rgba(0, 0, 0, 0.85); translate: -50% 0; }
.home-ind.lt { background: rgba(255, 255, 255, 0.85); }

/* Coherence screens (inside .phone-s; 100cqi = screen width) */
.co { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 17cqi 6cqi 9cqi; background: var(--s-bg); }
.co-k { font: 600 3.6cqi/1.2 var(--ui); color: var(--s-mute); }
.co-t { margin-top: 1.8cqi; font: 700 7.6cqi/1.1 var(--ui); letter-spacing: -0.01em; text-wrap: balance; }
.co-p { margin-top: 3cqi; font: 400 4cqi/1.4 var(--ui); color: var(--s-mute); }
.co-go { margin-top: auto; display: grid; place-items: center; height: 12.5cqi; border-radius: 3.6cqi; background: #1d1d1f; font: 600 4.3cqi/1 var(--ui); color: #fff; }
.co-go.red { background: #b51f2a; }
.co-list { margin-top: 5cqi; overflow: hidden; border-radius: 4cqi; background: var(--s-fill); }
.co-list li { display: flex; align-items: center; gap: 3cqi; padding: 3.6cqi 4cqi; font: 500 4cqi/1.2 var(--ui); }
.co-list li + li { border-top: 1px solid rgba(60, 60, 67, 0.13); }
.co-list li em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--s-mute); white-space: nowrap; }
.co-list svg { flex: none; width: 4.6cqi; height: 4.6cqi; color: #b51f2a; }
.co-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.6cqi; margin-top: 6cqi; }
.co-scale span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 2.6cqi; background: var(--s-fill); font: 500 4.2cqi/1 var(--ui); font-variant-numeric: tabular-nums; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.co-scale span.sel { background: #b51f2a; color: #fff; font-weight: 700; }
.co-ends { display: flex; justify-content: space-between; margin-top: 2.2cqi; font: 400 3.3cqi/1 var(--ui); color: var(--s-mute); }
.co-orb { position: relative; display: grid; place-items: center; width: 70cqi; aspect-ratio: 1; margin: 9cqi auto 0; }
.co-orb i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(224, 50, 59, 0.28), rgba(58, 107, 208, 0.22) 70%, rgba(58, 107, 208, 0.06)); transform: scale(var(--o, 0.62)); transition: transform 0.1s linear; }
.co-orb i::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: rgba(255, 255, 255, 0.75); }
.co-orb span { position: relative; font: 600 5cqi/1.2 var(--ui); text-align: center; }
.co-orb span small { display: block; margin-top: 1cqi; font: 500 3.4cqi/1 var(--ui); color: var(--s-mute); }
.co-bar { position: relative; height: 1.4cqi; margin-top: auto; overflow: hidden; border-radius: 99px; background: var(--s-fill); }
.co-bar b { position: absolute; inset: 0 auto 0 0; width: var(--p, 40%); border-radius: inherit; background: #b51f2a; }
/* the camera reading: a dark full-bleed camera, as in the real app */
.co.cam { padding: 0; background: var(--s-cam); color: var(--s-cam-ink); }
.co-feed { position: absolute; inset: 0; overflow: hidden; }
.co-feed video, .co-feed img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.co-feed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.72) 100%); }
.co-guide { position: absolute; top: 46cqi; left: 50%; width: 64cqi; height: 82cqi; translate: -50% 0; border-radius: 50% / 46%; box-shadow: 0 0 0 0.5cqi rgba(255, 255, 255, 0.85); transition: box-shadow 0.3s; }
.co-guide.ok { box-shadow: 0 0 0 0.6cqi #4ad07f; }
.co-tip { position: absolute; top: 136cqi; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 1.6cqi; padding: 2.2cqi 3.6cqi; border-radius: 99px; background: rgba(255, 255, 255, 0.9); font: 600 3.7cqi/1 var(--ui); color: #1d1d1f; white-space: nowrap; }
.co-tip i { width: 2cqi; height: 2cqi; border-radius: 50%; background: #2fb36a; }
.co-q { position: absolute; top: 15cqi; right: 5cqi; left: 5cqi; z-index: 3; padding: 4cqi; border-radius: 4.4cqi; background: rgba(255, 255, 255, 0.95); color: #1d1d1f; box-shadow: 0 2cqi 8cqi rgba(0, 0, 0, 0.25); }
.co-q .co-k { color: #6e6e73; }
.co-q .co-qt { margin-top: 1.4cqi; font: 650 5cqi/1.2 var(--ui); letter-spacing: -0.015em; }
.co-q .co-scale { margin-top: 3.4cqi; gap: 1.2cqi; }
.co-q .co-scale span { border-radius: 2cqi; font-size: 3.8cqi; }
.co-q .co-ends { margin-top: 1.6cqi; font-size: 3cqi; }
.co-read { position: absolute; right: 5cqi; bottom: 18cqi; left: 5cqi; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqi; }
.co-read p { padding: 3cqi 3.4cqi; border-radius: 3.6cqi; background: rgba(28, 28, 32, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.co-read small { display: block; font: 500 3.2cqi/1 var(--ui); color: rgba(255, 255, 255, 0.7); }
.co-read b { display: block; margin-top: 1.6cqi; font: 700 7cqi/1 var(--ui); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.co-read b span { margin-left: 1cqi; font: 500 3.2cqi/1 var(--ui); color: rgba(255, 255, 255, 0.7); }
.co-read .cf { display: block; height: 0.9cqi; margin-top: 2.2cqi; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.18); }
.co-read .cf::before { content: ""; display: block; width: var(--c, 90%); height: 100%; border-radius: inherit; background: #4ad07f; }
.co-stop { position: absolute; right: 5cqi; bottom: 7cqi; left: 5cqi; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 2cqi; height: 9.5cqi; border-radius: 3cqi; background: rgba(255, 255, 255, 0.14); font: 600 3.8cqi/1 var(--ui); color: #fff; font-variant-numeric: tabular-nums; }
.co-stop::before { content: ""; width: 2.6cqi; height: 2.6cqi; border-radius: 0.6cqi; background: #fff; }
.co-res { margin-top: 5cqi; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqi; }
.co-res p { padding: 3.4cqi; border-radius: 3.6cqi; background: var(--s-fill); }
.co-res small { display: block; font: 500 3.3cqi/1 var(--ui); color: var(--s-mute); }
.co-res b { display: block; margin-top: 2cqi; font: 700 7cqi/1 var(--ui); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.co-res b span { margin-left: 1cqi; font: 500 3.3cqi/1 var(--ui); color: var(--s-mute); }
.co-res p > em { display: block; margin-top: 1.6cqi; font: 500 3cqi/1.2 var(--ui); font-style: normal; color: #1f7a45; }
.co-res b em { font: inherit; color: inherit; }
.co-note { margin-top: 4cqi; font: 400 3.2cqi/1.4 var(--ui); color: var(--s-mute); }
.co-day { font: 600 3.6cqi/1 var(--ui); letter-spacing: 0.01em; color: var(--s-mute); }
.co-h { margin-top: 2cqi; font: 700 9cqi/1 var(--ui); letter-spacing: -0.01em; }
.co-card { margin-top: 5cqi; padding: 4.4cqi; border-radius: 4.6cqi; background: var(--s-fill); }
.co-card b { display: block; font: 650 4.8cqi/1.2 var(--ui); letter-spacing: -0.01em; }
.co-card small { display: block; margin-top: 1.2cqi; font: 400 3.5cqi/1.3 var(--ui); color: var(--s-mute); }
.co-card .co-go { margin-top: 4cqi; height: 10cqi; font-size: 4cqi; }
.co-lock { position: absolute; inset: 0; background: linear-gradient(180deg, #f7f7f9 0%, #e9e9ee 60%, #dcdce3 100%); }
.co-lock .t { position: absolute; top: 20cqi; right: 0; left: 0; text-align: center; font: 700 22cqi/1 ui-rounded, "SF Pro Rounded", var(--ui); letter-spacing: -0.01em; color: #1d1d1f; }
.co-lock .d { position: absolute; top: 15cqi; right: 0; left: 0; text-align: center; font: 600 4.6cqi/1 var(--ui); color: #3b3b40; }
.co-ntf { position: absolute; top: 52cqi; right: 4cqi; left: 4cqi; display: grid; grid-template-columns: auto 1fr auto; gap: 1cqi 3cqi; align-items: start; padding: 3.6cqi; border-radius: 6cqi; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 2cqi 8cqi rgba(0, 0, 0, 0.1); font: 400 3.5cqi/1.3 var(--ui); color: #1d1d1f; }
.co-ntf i { grid-row: span 2; display: grid; place-items: center; width: 9.5cqi; height: 9.5cqi; border-radius: 2.4cqi; background: #b51f2a; }
.co-ntf i svg { width: 6cqi; height: 6cqi; color: #fff; }
.co-ntf b { font-weight: 650; }
.co-ntf em { font-style: normal; color: #6e6e73; }
.co-ntf span { grid-column: 2 / 4; }

/* sample-data and illustrative captions under visuals */
.cap { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 16px; font: 400 13px/1.45 var(--font); color: var(--mute); }
.cap b { font-weight: 600; color: var(--ink-2); }

/* ---------- canvas lanes (Playback timeline) ---------- */
.lanes { position: relative; width: 100%; }
.lanes canvas { width: 100%; height: 100%; }
.lane-k { position: absolute; left: 12px; z-index: 2; font: 600 11.5px/1.2 var(--ui); color: var(--c); transform: translateY(-50%); pointer-events: none; }
.lane-k small { display: block; margin-top: 2px; font: 500 11px/1.2 var(--ui); color: var(--s-mute); }
.lane-k small b { color: var(--s-ink); font-variant-numeric: tabular-nums; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); padding-block: 64px 48px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.ft-brand { display: grid; align-content: start; gap: 18px; }
.ft-brand p { max-width: 300px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.ft-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.ft-cols h4 { margin-bottom: 14px; font: 500 14px/1.3 var(--font); color: var(--ink); }
.ft-cols ul { display: grid; gap: 10px; }
.ft-cols a, .ft-cols button { font-size: 14.5px; line-height: 1.35; color: var(--mute); text-align: left; text-decoration: none; }
.ft-cols a:hover, .ft-cols button:hover { color: var(--ink); }
.ft-legal { display: grid; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--mute); }
.ft-legal p { max-width: 980px; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 12px; }
.ft-bot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ft-bot a { color: var(--mute); text-decoration: none; }
.ft-bot a:hover { color: var(--ink); }
/* Five columns leave the contact email too little room below 1180px. */
@media (max-width: 1180px) { .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .ft-top { grid-template-columns: minmax(0, 1fr); } .ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- shared bits ---------- */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.panel { border-radius: var(--r-lg); background: var(--paper-2); }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; top: 0.38em; left: 2px; width: 16px; height: 9px; background: var(--red); -webkit-mask: var(--pulse-mask) center / contain no-repeat; mask: var(--pulse-mask) center / contain no-repeat; }
.ticks.no li::before { width: 12px; height: 2px; top: 0.72em; left: 4px; background: var(--mute); -webkit-mask: none; mask: none; }
.ticks b { color: var(--ink); font-weight: 600; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.copy-mail { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 16px/1 var(--font); user-select: all; }
.copy-mail button { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--paper-2); font: 500 13.5px/1 var(--font); color: var(--ink); user-select: none; }
.copy-mail button:hover { background: var(--paper-3); }

details.faq { border-top: 1px solid var(--line); }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 450 18px/1.4 var(--font); letter-spacing: -0.01em; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 100% no-repeat; transition: transform 0.25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { max-width: 70ch; padding: 0 40px 26px 0; color: var(--ink-2); }
details.faq .a p + p { margin-top: 12px; }

/* ---------- motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- the launch hero (F1 before, G1 now) ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); overflow-x: clip; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero-t { display: grid; gap: 28px; align-content: center; }
.hero-t .lead { max-width: 33ch; }
.hero-t .fine { margin-top: -10px; }
.launch { justify-self: start; display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 500 14.5px/1 var(--font); color: var(--ink); text-decoration: none; transition: box-shadow 0.15s, background-color 0.15s; }
.launch:hover { box-shadow: inset 0 0 0 1px var(--line-2); background: var(--paper-2); }
.launch-k { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--red-soft); font: 500 12.5px/1 var(--font); color: var(--red); }
.launch-a { color: var(--mute); }
.hero-v { position: relative; min-width: 0; }
.hero-v .cap { justify-content: space-between; }
/* the composition, drawn at 760 x 600 */
.hv-win { position: absolute; top: 0; right: 0; width: 650px; }
.hv-lanes .lane-k { left: calc(74% + 14px); }
.hv-body { padding: 18px 20px 20px; display: grid; gap: 14px; }
.hv-head { padding-left: 126px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hv-head b { display: block; font: 650 16px/1.2 var(--ui); letter-spacing: -0.01em; }
.hv-head span { display: block; margin-top: 4px; font: 400 12.5px/1.2 var(--ui); color: var(--s-mute); }
.hv-tr { display: flex; align-items: center; gap: 10px; }
.hv-time { font: 500 12.5px/1 var(--ui); color: var(--s-mute); }
.hv-lanes { height: 238px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--s-line); overflow: hidden; }
.hv-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-left: 126px; }
.hv-h { font: 600 12px/1 var(--ui); color: var(--s-mute); }
.hv-ans ul { margin-top: 8px; border-radius: 10px; background: var(--s-fill); overflow: hidden; }
.hv-ans li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; font: 400 12.5px/1.2 var(--ui); color: var(--s-mute); }
.hv-ans li + li { border-top: 1px solid rgba(60, 60, 67, 0.12); }
.hv-ans li b { font-weight: 600; color: var(--s-ink); }
.hv-ans li span { font-weight: 600; color: var(--s-ink); font-variant-numeric: tabular-nums; }
.hv-ans li em { font-style: normal; font-variant-numeric: tabular-nums; }
.hv-ans li.new { background: rgba(224, 50, 59, 0.08); }
.hv-rd { display: grid; gap: 8px; align-content: end; }
.hv-rd p { display: grid; grid-template-columns: 1fr auto; padding: 8px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--s-line); }
.hv-rd small { font: 500 11.5px/1.2 var(--ui); color: var(--s-mute); }
.hv-rd b { grid-row: span 2; align-self: center; font: 650 15px/1 var(--ui); letter-spacing: -0.01em; }
.hv-rd em { font: 500 11px/1.3 var(--ui); font-style: normal; color: #1f7a45; }
.hv-ph { --pw: 240px; position: absolute; left: 0; bottom: 0; z-index: 3; }
.hv-fly { position: absolute; top: 0; left: 0; z-index: 6; display: none; height: 24px; padding: 0 10px; border-radius: 99px; background: #b51f2a; box-shadow: 0 6px 14px -4px rgba(181, 31, 42, 0.45); font: 600 12px/24px var(--ui); color: #fff; white-space: nowrap; pointer-events: none; }
@media (max-width: 1100px) {
  .hero-g { grid-template-columns: minmax(0, 1fr); }
  .hero-t .lead { max-width: 52ch; }
}

/* ---------- module labels (the design study's section tags) ---------- */
.mx-nums { position: absolute; top: 0; left: 0; z-index: 45; pointer-events: none; }
/* The module labels: plain gray text, no pill. */
.mx-nums span { position: absolute; top: 12px; left: 16px; font: 600 12px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--mute); white-space: nowrap; }






































.co-read b em, .co-res b em { font-style: normal; }
   /* phones: 16px keeps iOS from zooming in when the note box opens */

/* A card holding a design-study module appears with its module, not before it (d-load.js adds .d-ready) */
.ie-v:has(> .d-host) { opacity: 0; transition: opacity 0.35s ease; }
html.d-ready .ie-v:has(> .d-host) { opacity: 1; }

/* Learn more: a dropdown in the main nav */
.nav .dd-m { left: 0; right: auto; min-width: 340px; }
.nav .dd-m a { display: grid; gap: 3px; height: auto; padding: 12px 14px; border-radius: 10px; white-space: normal; }
.nav .dd-m a:hover { background: var(--paper-2); }
.nav .dd-b[aria-current="page"] { box-shadow: inset 0 0 0 1px rgba(74, 71, 65, 0.22); }
.nav .dd-m a[aria-current="page"] { box-shadow: none; background: var(--paper-2); }
.nav #lm-m { min-width: 220px; }
.nav #lm-m a { padding: 10px 14px; }

/* Mobile menu: Products, then Resources */
.mm-l .mm-h { margin: 0 0 4px; font: 500 13px/1.3 var(--font); letter-spacing: 0.02em; text-transform: uppercase; color: var(--mute); }
.mm-l .mm-h ~ .mm-h { margin-top: 22px; }








