/* =========================================================
   Mitta marketing site · Home v8 (quiet)
   Tokens mirror the Figma collection "Mitta web" and the Web/* text styles.
   ========================================================= */

:root {
  --page: #F4F5F2;
  --white: #FFFFFF;
  --ink: #0A0B0D;
  --raised: #15171A;
  --app: #0B0C0E;
  --text: #0A0B0D;
  --text-2: #55584F;
  --text-3: #6B6E65;
  --inv: #F4F5F2;
  --inv-2: #9AA19A;
  --lime: #C8F23C;
  --line: #E3E4DF;
  --line-inv: #25282C;
  --green: #33B866;
  --orange: #FF8A3D;

  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app-font: -apple-system, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 8.3vw, 120px);
  --section: clamp(72px, 8.3vw, 120px);
  --head-gap: clamp(32px, 4.4vw, 64px);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 24px;
  --r-xl: 32px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur-press: 120ms;
  --dur-micro: 180ms;
  --dur-ui: 300ms;

  --shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 12px 24px rgba(0,0,0,.06), 0 32px 64px rgba(0,0,0,.10);
  --shadow-device: 0 10px 24px rgba(0,0,0,.14), 0 30px 60px rgba(0,0,0,.18);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.001em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol, dl, dd, p, h1, h2, h3, blockquote, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible { outline-color: var(--lime); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--inv); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- type scale (Web/* styles; mobile = Web/M/*) ---------- */
.display-xl { font-size: clamp(44px, 6.67vw, 96px); font-weight: 600; letter-spacing: -0.035em; line-height: .98; }
.display-l  { font-size: clamp(34px, 4.44vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
.heading-m  { font-size: clamp(28px, 2.78vw, 40px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.heading-s  { font-size: clamp(22px, 1.95vw, 28px); font-weight: 600; letter-spacing: -0.012em; line-height: 1.2; }
.title      { font-size: 21px; font-weight: 600; letter-spacing: -0.006em; line-height: 1.32; }
.title-s    { font-size: 16px; font-weight: 600; letter-spacing: -0.003em; line-height: 1.3; }
.lead       { font-size: clamp(24px, 3.06vw, 44px); font-weight: 500; letter-spacing: -0.018em; line-height: 1.22; }
.body-l     { font-size: clamp(17px, 1.39vw, 20px); letter-spacing: -0.003em; line-height: 1.46; }
.body-m     { font-size: 17px; letter-spacing: -0.001em; line-height: 1.5; }
.body-s     { font-size: 15px; line-height: 1.5; }
.label      { font-size: 14px; font-weight: 500; letter-spacing: 0.006em; line-height: 1.4; }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-inv-2 { color: var(--inv-2); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight-b { padding-bottom: calc(var(--section) / 2); }
.section--tight-t { padding-top: calc(var(--section) / 2); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--inv); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: var(--head-gap); }
.sec-head > :last-child { max-width: 420px; }
.sec-head h2 { max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 600px); justify-content: space-between; gap: 48px; align-items: start; }
.split__copy { display: grid; gap: 20px; justify-items: start; }
.split__copy .link { margin-top: 8px; }
.br-d { display: inline; }

/* ---------- buttons, links, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-micro), box-shadow var(--dur-micro);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 12px; height: 12px; transition: transform var(--dur-micro) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #D3F55B; box-shadow: 0 6px 18px rgba(200, 242, 60, .35); }
.btn--dark { background: var(--ink); color: var(--inv); }
.btn--dark:hover { background: #1C1F23; }
.btn--white { background: var(--white); color: var(--ink); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { height: 40px; padding: 0 16px; border-radius: 10px; }
.btn--block { width: 100%; height: 52px; }

.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.link svg { width: 11px; height: 11px; transition: transform var(--dur-micro) var(--ease-out); }
.link:hover svg { transform: translateX(3px); }
.link--inv { color: var(--inv); margin-top: 16px; }

.chip { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); flex: none; }
.chip svg { width: 16px; height: 16px; }
.chip--lg { width: 44px; height: 44px; border-radius: 12px; }
.chip--lg svg { width: 20px; height: 20px; }
.chip--inv { background: var(--white); box-shadow: none; }

.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0; vertical-align: middle; }

/* ---------- form field ---------- */
.field { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 6px 6px 20px; background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-micro); }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--text); height: 46px; }
.field input::placeholder { color: var(--text-3); }
.field.is-error { animation: shake 240ms var(--ease-io); box-shadow: inset 0 0 0 1.5px #D9423A; }
.field--dark { background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-inv); padding-left: 18px; border-radius: 14px; }
.field--dark input { color: var(--inv); font-size: 15px; height: 40px; }
.field--dark input::placeholder { color: var(--inv-2); }
.form-note { margin-top: 12px; }
.form-ok { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.form-ok .tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); }
.form-ok .tick svg { width: 14px; height: 14px; color: var(--ink); }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-4px); } }

/* ---------- lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.lockup__mark { width: 20px; height: 22px; }
.lockup--inv { color: var(--inv); }

/* =========================================================
   NAV + MEGA MENU
   ========================================================= */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; padding: 0 24px; transition: transform 420ms var(--ease-out); }
.nav-wrap.is-hidden { transform: translateY(-120%); }
.nav {
  max-width: 1296px; margin: 0 auto; height: 61px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.nav__links { display: flex; gap: 4px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background-color var(--dur-micro), color var(--dur-micro); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--text); background: var(--page); }
.nav__link .chev { width: 10px; height: 10px; transition: transform var(--dur-ui) var(--ease-out); }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--dur-micro); }
.nav__login:hover { color: var(--text); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--page); place-items: center; align-content: center; gap: 4px; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; }

.mega {
  position: absolute; left: 50%; top: calc(61px + 10px); width: min(1296px, calc(100% - 48px)); transform: translateX(-50%);
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); overflow: hidden;
}
.mega[hidden] { display: block; visibility: hidden; opacity: 0; pointer-events: none; }
.mega__body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 289px; gap: 32px; padding: 28px; }
.mega__group { display: grid; gap: 4px; align-content: start; }
.mega__label { font-size: 14px; font-weight: 500; color: var(--text-3); padding: 0 8px 6px; letter-spacing: .01em; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 12px; transition: background-color var(--dur-micro); }
.mega__item strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.003em; line-height: 1.3; }
.mega__item small { display: block; font-size: 15px; color: var(--text-2); line-height: 1.4; }
.mega__item .chip { transition: background-color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.mega__item:hover { background: var(--page); }
.mega__item:hover .chip { background: var(--white); transform: translateX(2px); }
.mega__preview { position: relative; border-radius: 16px; overflow: hidden; background: url("../assets/img/warm.jpg") center / cover; display: grid; justify-items: center; align-items: start; padding-top: 4px; contain: size; }
.mega__preview::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); opacity: .28; mix-blend-mode: multiply; pointer-events: none; }
.mega__mock { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 600ms var(--ease-out); }
.mega__preview:hover .mega__mock { transform: translateY(-8px); }
.mega__caption { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: var(--white); font-size: 13px; font-weight: 500; color: var(--text-2); }
.mega__foot { display: flex; align-items: center; gap: 24px; padding: 14px 28px; background: var(--page); border-top: 1px solid var(--line); }
.mega__foot-link { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color var(--dur-micro); }
.mega__foot-link:hover { color: var(--text); }
.mega--small { width: 340px; left: 0; right: auto; transform: none; padding: 10px; display: grid; gap: 2px; } /* left is set from the trigger in JS */

.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 11, 13, .08); opacity: 0; pointer-events: none; transition: opacity var(--dur-ui); }
.scrim.is-on { opacity: 1; pointer-events: auto; }

/* ---------- mobile menu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 60; background: var(--page); display: flex; flex-direction: column; }
.mmenu[hidden] { display: none; }
.mmenu__bar { margin: 12px; padding: 8px 8px 8px 16px; display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: 16px; }
.mmenu__close { width: 40px; height: 40px; border-radius: 10px; background: var(--page); display: grid; place-items: center; }
.mmenu__close svg { width: 14px; height: 14px; }
.mmenu__list { flex: 1; overflow-y: auto; padding: 8px 20px 24px; overscroll-behavior: contain; }
.mmenu__row, .mmenu__row--acc > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 0; font-size: 24px; font-weight: 600; letter-spacing: -0.012em; border-bottom: 1px solid var(--line); text-align: left; }
.mmenu__row--acc > button { border-bottom: 0; }
.mmenu__row.mmenu__row--acc { display: block; padding: 0; font-size: inherit; border-bottom: 1px solid var(--line); }
.mmenu__row svg { width: 13px; height: 13px; color: var(--text-3); }
.mmenu__row--acc .chev { width: 14px; height: 14px; transition: transform var(--dur-ui) var(--ease-out); }
.mmenu__row--acc > button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mmenu__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-ui) var(--ease-out); }
.mmenu__sub > * { overflow: hidden; }
.mmenu__row--acc.is-open .mmenu__sub { grid-template-rows: 1fr; }
.mmenu__sub { gap: 0; }
.mmenu__sub-inner { display: grid; gap: 18px; }
.mmenu__sub-inner > :last-child { margin-bottom: 22px; }
.mmenu__group { display: grid; gap: 2px; }
.mmenu__group p { font-size: 14px; font-weight: 500; color: var(--text-3); margin-bottom: 4px; }
.mmenu__group a { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; font-weight: 600; }
.mmenu__group .chip { width: 32px; height: 32px; border-radius: 9px; background: var(--white); }
.mmenu__group .chip svg { width: 14px; height: 14px; }
.pill-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 10px 14px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; }
.pill-link svg { width: 11px; height: 11px; }
.mmenu__bottom { display: grid; gap: 12px; padding: 16px 20px 24px; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.05); background: var(--page); }
.status-row { display: flex; justify-content: center; gap: 16px; padding-top: 6px; font-size: 14px; color: var(--text-2); }
.status-row span { display: inline-flex; align-items: center; gap: 6px; }
.status-row svg { width: 12px; height: 12px; }

/* =========================================================
   DEVICES + STAGES
   ========================================================= */
.stage { position: relative; overflow: hidden; background: url("../assets/img/warm.jpg") center / cover; isolation: isolate; }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.device {
  --w: 300px;
  position: relative; display: block; width: var(--w); aspect-ratio: 375 / 812;
  padding: calc(var(--w) * .024); border-radius: calc(var(--w) * .145);
  background: #121316; box-shadow: var(--shadow-device), inset 0 0 0 1.5px rgba(150, 155, 160, .55);
}
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--w) * .123); }
.device--sm { --w: 190px; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: calc(16px + 61px + clamp(56px, 6vw, 80px)); }
.hero__title { max-width: 1296px; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-top: clamp(28px, 3.9vw, 56px); }
.hero__sub { max-width: 520px; }
.hero__form { width: 440px; flex: none; }
.hero__media { padding: clamp(40px, 5.5vw, 80px) 24px 0; }
/* Phones are the designer's mockups exported from Figma (upright, transparent PNG). */
.stage--hero { max-width: 1392px; margin: 0 auto; aspect-ratio: 1392 / 680; border-radius: var(--r-xl); }
/* The export is cut off at the bottom edge, so the image may only ever move down, never up. */
.hero__phones { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* =========================================================
   INTRO
   ========================================================= */
.intro__grid { display: grid; grid-template-columns: 1fr 880px; gap: 48px; }
.intro__grid > .label { padding-top: 14px; }
.lead .w { color: var(--text-3); transition: color 400ms var(--ease-out); }
.lead .w.is-on { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.facts > div { padding-top: 20px; border-top: 1px solid var(--line); }
.facts dd { font-size: 15px; color: var(--text-2); margin-top: 6px; }

/* =========================================================
   FEATURES (sticky showcase)
   ========================================================= */
.showcase { display: grid; grid-template-columns: 440px 1fr; gap: 48px 80px; align-items: start; margin-bottom: 40px; }
.showcase__list li { position: relative; border-top: 1px solid var(--line); }
.showcase__list li:last-child { border-bottom: 1px solid var(--line); }
.showcase__list button { display: flex; align-items: center; gap: 20px; width: 100%; padding: 24px 0; text-align: left; }
.showcase__list .num { font-size: 14px; font-weight: 500; color: var(--text-3); width: 18px; }
.showcase__list .t { font-size: clamp(22px, 1.95vw, 28px); font-weight: 600; letter-spacing: -0.012em; color: var(--text-3); transition: color var(--dur-ui); }
.showcase__list li.is-active .t, .showcase__list button:hover .t { color: var(--text); }
.showcase__list p { max-height: 0; padding-left: 38px; color: var(--text-2); font-size: 17px; max-width: 438px; transition: max-height 480ms var(--ease-out), padding 480ms var(--ease-out), opacity 300ms; opacity: 0; overflow: hidden; }
.showcase__list li.is-active p { max-height: 140px; padding-bottom: 24px; opacity: 1; }
.showcase__list .bar { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); }
.showcase__list li.is-active .bar { width: var(--p, 40%); transition: width 120ms linear; }
.showcase__stage { position: sticky; top: 110px; aspect-ratio: 660 / 662; max-height: 662px; border-radius: 40px; }
.showcase__mock { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Screen area of the Figma mockup, as a share of the 660 × 662 stage. */
.showcase__screens { position: absolute; left: 24.6%; top: 20.57%; width: 50.59%; height: 109.2%; border-radius: 13% 13% 0 0 / 6% 6% 0 0; overflow: hidden; }
.showcase__screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity 420ms var(--ease-out), transform 520ms var(--ease-out); }
.showcase__screens img.is-active { opacity: 1; transform: none; }

/* =========================================================
   COACH BENTO
   ========================================================= */
.coach .sec-head h2 { color: var(--inv); }
.bento { display: grid; grid-template-columns: 480px repeat(2, minmax(0, 1fr)); grid-template-areas: "thread prop prop" "src why mem" "safe safe safe"; gap: 16px; }
.tile { border-radius: 28px; padding: 28px; overflow: hidden; position: relative; }
.tile--thread { grid-area: thread; background: var(--app); box-shadow: inset 0 0 0 1px var(--line-inv); display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; }
.thread { position: relative; height: 420px; margin: -28px -28px 0; overflow: hidden; display: flex; justify-content: center; }
.thread { padding-top: 28px; }
.thread img { width: min(375px, calc(100% - 40px)); max-width: none; height: auto; align-self: flex-start; }
/* Inset by 1px so the fade never paints over the tile's hairline border. */
.thread::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 160px; background: linear-gradient(rgba(11,12,14,0), var(--app) 85%); }
.tile__foot { display: grid; gap: 8px; }
.tile--proposal { grid-area: prop; padding: 0; display: grid; place-items: center; min-height: 560px; border-radius: 28px; }
.tile--why { grid-area: why; background: var(--raised); display: grid; gap: 18px; align-content: start; }
.dots { display: grid; gap: 14px; }
.dots li { position: relative; padding-left: 20px; font-size: 17px; color: var(--inv); }
.dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--inv-2); }
.tile--memory { grid-area: mem; background: var(--white); color: var(--text); display: grid; gap: 14px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 6px 11px; border-radius: 99px; background: var(--page); font-size: 14px; white-space: nowrap; }
.tile--sources { grid-area: src; background: var(--app); box-shadow: inset 0 0 0 1px var(--line-inv); display: grid; gap: 18px; align-content: space-between; }
.src-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.src-chips span { font-family: var(--app-font); padding: 7px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px #3A3E44; font-size: 15px; color: #D9DCE1; transition: background-color var(--dur-micro), color var(--dur-micro); }
.src-chips span:hover { background: #22252A; color: var(--inv); }
.tile--safe { grid-area: safe; box-shadow: inset 0 0 0 1px var(--line-inv); display: grid; gap: 28px; }
.safe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.safe li { flex-direction: column; gap: 14px; }
.safe li { display: flex; gap: 16px; align-items: flex-start; }
.safe b { display: block; font-size: 16px; font-weight: 600; color: var(--inv); margin-bottom: 4px; }
.safe span:last-child { font-size: 15px; color: var(--inv-2); line-height: 1.5; }

/* proposal card (app UI, SF Pro) */
.pcard { position: relative; width: 343px; font-family: var(--app-font); color: #F5F6F7; }
.pcard__front { background: #15171B; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 1px 2px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.1), 0 24px 48px rgba(0,0,0,.16), 0 48px 96px rgba(0,0,0,.18); overflow: hidden; transition: transform 420ms var(--ease-out), opacity 300ms; }
.pcard__head { padding: 16px 18px 14px; }
.pcard__eyebrow { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #A3A8B1; }
.ai { display: inline-flex; padding: 3px 7px; border-radius: 99px; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; }
.pcard__title { margin-top: 6px; font-size: 20px; letter-spacing: -0.015em; color: #A3A8B1; }
.pcard__title b { font-weight: 600; color: #F5F6F7; }
.pcard__chips { display: flex; gap: 6px; margin-top: 10px; }
.pcard__chips span { padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 12px; font-weight: 500; }
.pcard__why { padding: 2px 18px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.pcard__why-t { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; font-weight: 600; }
.pcard__why .chev { width: 10px; height: 10px; color: #868B95; transform: rotate(180deg); }
.pcard__why ul { display: grid; gap: 8px; }
.pcard__why li { position: relative; padding-left: 13px; font-size: 13px; line-height: 1.36; color: #D9DCE1; transition: color 300ms; }
.pcard__why li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: #868B95; transition: background-color 300ms; }
.pcard__why li b { font-weight: 600; color: #F5F6F7; }
.pcard__why li.is-hl { color: #F5F6F7; }
.pcard__why li.is-hl::before { background: var(--lime); }
.pcard__based { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); font-size: 12px; color: #868B95; line-height: 1.5; }
.pcard__based p:first-child { font-weight: 500; color: #A3A8B1; }
.pcard__actions { padding: 4px 18px 16px; display: grid; gap: 10px; }
.pcard__use { height: 46px; border-radius: 14px; background: var(--lime); color: var(--ink); font-family: var(--app-font); font-size: 16px; font-weight: 600; transition: transform var(--dur-press) var(--ease-out), filter var(--dur-micro); }
.pcard__use:hover { filter: brightness(1.04); }
.pcard__use:active { transform: scale(.97); }
.pcard__row { display: flex; justify-content: space-between; padding: 0 4px; font-size: 14px; font-weight: 500; }
.pcard__row .muted { color: #A3A8B1; font-weight: 400; }
.pcard__fine { font-size: 11px; line-height: 1.4; color: #6E737C; }
.pcard__applied { position: absolute; left: 50%; bottom: 40px; width: 320px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #15171B; box-shadow: inset 0 0 0 1px rgba(200,242,60,.5), 0 20px 40px rgba(0,0,0,.35); transition: transform 520ms var(--ease-out), opacity 300ms; }
.pcard__applied .tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); flex: none; }
.pcard__applied .tick svg { width: 13px; height: 13px; }
.pcard__applied b { display: block; font-size: 15px; font-weight: 600; }
.pcard__applied a { font-size: 13px; color: var(--lime); }
.pcard__applied .undo { margin-left: auto; color: var(--lime); font-weight: 600; font-size: 15px; font-family: var(--app-font); }
.pcard.is-applied .pcard__front { transform: scale(.96) translateY(-12px); opacity: .55; }
.pcard.is-applied .pcard__applied { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

/* =========================================================
   UPDATES + ROADMAP
   ========================================================= */
.rows { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.rows time { font-size: 14px; font-weight: 500; color: var(--text-3); }
.rows span { font-size: 21px; font-weight: 600; letter-spacing: -0.006em; transition: transform var(--dur-micro) var(--ease-out); }
.rows svg { width: 14px; height: 14px; color: var(--text-3); transition: color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.rows a:hover span { transform: translateX(4px); }
.rows a:hover svg { color: var(--ink); transform: translateX(3px); }
.rcards { display: grid; gap: 16px; }
.rcard { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: var(--white); }
.rcard h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.rcard .chip { background: var(--page); box-shadow: none; }

/* =========================================================
   APPS (lock screen)
   ========================================================= */
.apps__grid { display: grid; grid-template-columns: 440px 640px; justify-content: space-between; align-items: center; gap: 48px; }
.apps__copy { display: grid; gap: 24px; justify-items: start; }
.logos { display: flex; gap: 8px; }
.logos .chip { width: 40px; height: 40px; border-radius: 12px; box-shadow: none; }
.logos .chip svg { width: 18px; height: 18px; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pricing__more { margin-top: clamp(24px, 3vw, 36px); }
.lock { container-type: inline-size; height: 560px; border-radius: var(--r-xl); display: grid; justify-items: center; align-content: start; padding-top: 70px; color: #fff; }
.lock__date { font-size: 21px; font-weight: 600; text-shadow: 0 1px 12px rgba(0,0,0,.12); }
.lock__time { font-size: 128px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin-top: 4px; text-shadow: 0 2px 24px rgba(0,0,0,.12); }

/* =========================================================
   FOUNDER
   ========================================================= */
.founder { padding-top: 0; }
.founder__grid { display: grid; grid-template-columns: 280px minmax(0, 940px); justify-content: space-between; gap: 48px; }
.byline { display: grid; gap: 14px; align-content: start; padding-top: 14px; }
.byline img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.byline b { display: block; font-size: 16px; font-weight: 600; }
.byline span { font-size: 15px; color: var(--text-2); }
.quote { font-size: clamp(26px, 3.6vw, 52px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.16; }
.quote .w { color: var(--text-3); transition: color 400ms var(--ease-out); }
.quote .w.is-on { color: var(--text); }

/* =========================================================
   PRICING
   ========================================================= */
.plans { display: grid; grid-template-columns: minmax(0, 696px) minmax(0, 488px); gap: 16px; }
.plans__paid { display: grid; gap: 16px; }
.plan { background: var(--white); border-radius: var(--r-xl); padding: 40px; display: grid; gap: 24px; align-content: start; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10,11,13,.04), 0 18px 40px -24px rgba(10,11,13,.14); }
.plan--free { padding: 56px; gap: 32px; }
.plan--free .plan__cta { align-self: end; margin-top: 16px; }
/* The highlighted plan: light, with a soft lime glow, a fine lime edge and a deeper shadow. Not black. */
.plan--dark { position: relative; color: var(--ink); border-color: rgba(160,198,20,.55); background: radial-gradient(90% 60% at 100% 0%, rgba(200,242,60,.34) 0%, rgba(200,242,60,0) 70%), linear-gradient(180deg, #FFFFFF 0%, #F6F9E4 100%); box-shadow: 0 0 0 1px rgba(200,242,60,.55), 0 2px 4px rgba(10,11,13,.04), 0 36px 64px -30px rgba(104,134,0,.50); }
.plan--dark::before { content: ""; position: absolute; left: 36px; right: 36px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(200,242,60,0), var(--lime) 30%, var(--lime) 70%, rgba(200,242,60,0)); }
.price { display: flex; align-items: baseline; gap: 16px; }
.plan hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
.plan__top { display: flex; justify-content: space-between; align-items: center; }
.plan--dark .label { color: var(--text-3); }
.plan--dark .text-inv-2 { color: var(--text-2); }
.checks { display: grid; gap: 14px; }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.checks li::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.plan--dark .checks li::before { background: #4A6B05; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: 360px minmax(0, 760px); justify-content: space-between; gap: 48px; }
.faq__side { display: grid; gap: 32px; align-content: start; }
.faq__side a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
/* Segmented control; the white pill (.tabs__pill) slides to the selected tab */
.tabs { position: relative; display: inline-flex; justify-self: start; gap: 2px; padding: 4px; border-radius: 14px; background: var(--page); }
.tabs button { position: relative; z-index: 1; padding: 9px 16px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color var(--dur-ui) var(--ease-out); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs__pill { position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px); border-radius: 10px; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.05); transition: transform 380ms var(--ease-out), width 380ms var(--ease-out); }
.tabs:not(.has-pill) button[aria-selected="true"] { background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa details.is-hidden { display: none; }
.qa summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 28px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.006em; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--text-3); font-weight: 400; transition: transform var(--dur-ui) var(--ease-out); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .ans { overflow: hidden; }
.qa p { padding: 0 0 28px; max-width: 640px; color: var(--text-2); }

/* =========================================================
   FINAL CTA + FOOTER
   ========================================================= */
.final__panel { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding: 64px; border-radius: var(--r-xl); background: var(--white); }
.final__panel > div:first-child { display: grid; gap: 20px; max-width: 640px; }
.final__form { width: 440px; flex: none; }
.footer { padding: 96px 0 48px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; }
.footer__brand { display: grid; gap: 24px; width: 420px; }
.footer__cols { display: flex; gap: 96px; }
.footer__cols div { display: grid; gap: 14px; align-content: start; }
.footer__cols a { font-size: 15px; color: var(--inv); transition: color var(--dur-micro); }
.footer__cols a:hover { color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line-inv); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   MOTION BASE STATES (set by JS so no-JS stays visible)
   ========================================================= */
.js [data-fade], .js [data-stagger] > * { opacity: 0; transform: translateY(16px); }
.js .split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split-line > span { display: block; transform: translateY(105%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-fade], .js [data-stagger] > * { opacity: 1; transform: none; }
  .js .split-line > span { transform: none; }
  .lead .w, .quote .w { color: inherit; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .mega__body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__preview { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 20px; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "prop prop" "thread why" "thread mem" "src src" "safe safe"; }
  .safe { grid-template-columns: 1fr 1fr; }
  .apps__grid { grid-template-columns: 1fr 1fr; }
  .lock { height: 520px; }
}

@media (max-width: 1024px) {
  .nav__links, .nav__login { display: none; }
  .nav__right { gap: 8px; }
  .nav__burger { display: grid; }
  .mega { display: none !important; }
  .nav-wrap { inset: 12px 0 auto; padding: 0 12px; }
  .nav { padding: 0 8px 0 16px; height: 56px; border-radius: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__row { flex-direction: column; gap: 24px; }
  .hero__form { width: 100%; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__stage { position: relative; top: 0; order: -1; width: 100%; max-width: 480px; justify-self: center; border-radius: 28px; }
  .split, .apps__grid, .founder__grid, .faq__grid, .plans { grid-template-columns: 1fr; }
  .final__panel { flex-direction: column; align-items: stretch; padding: 40px; }
  .final__form { width: 100%; }
  .footer__top { flex-direction: column; }
  .footer__brand { width: 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .br-d { display: none; }
  .hero { padding-top: calc(12px + 56px + 40px); }
  .field { flex-direction: column; align-items: stretch; padding: 0; background: none; box-shadow: none; gap: 10px; }
  .field input { flex: none; background: var(--white); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 0 16px; height: 52px; }
  .field--dark input { flex: 1; }
  .field .btn { height: 52px; }
  .field:focus-within { box-shadow: none; }
  .field:focus-within input { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .field--dark { flex-direction: row; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-inv); padding: 6px 6px 6px 16px; }
  .field--dark input { background: none; box-shadow: none; height: 40px; padding: 0; }
  .field--dark .btn { height: 40px; }
  .hero__media { padding: 40px 20px 0; }
  .stage--hero { aspect-ratio: auto; height: 400px; border-radius: 28px; }
  /* Wider than the stage so the centre phone fills the frame; max-width lifts the global img cap. */
  .hero__phones { width: 220%; max-width: none; left: -60%; right: auto; bottom: auto; height: auto; object-fit: initial; top: 32px; }
  .facts { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .facts > div { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
  .facts dd { margin: 0; text-align: right; max-width: 170px; }
  .showcase__list p { padding-left: 34px; font-size: 15px; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "prop" "thread" "why" "mem" "src" "safe"; gap: 12px; }
  .tile { padding: 24px; border-radius: 24px; }
  .tile--thread { min-height: 0; }
  .thread { height: 340px; margin: -24px -24px 0; }
  .thread img { width: 310px; transform: translateY(-50px); }
  .tile--proposal { min-height: 0; padding: 28px 0; }
  .pcard { width: 310px; }
  .safe { grid-template-columns: 1fr; gap: 20px; }
  .rows a { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .rows svg { display: none; }
  .rows span { font-size: 18px; }
  .rcard { padding: 20px; }
  .lock { height: 420px; padding-top: 48px; border-radius: 24px; }
  .lock__date { font-size: 17px; }
  .lock__time { font-size: 84px; }
  .plan, .plan--free { padding: 28px 24px; border-radius: 24px; }
  .checks--2 { grid-template-columns: 1fr; }
  .qa summary { font-size: 18px; padding: 20px 0; }
  .tabs button { padding: 8px 12px; font-size: 14px; }
  .final__panel { padding: 32px 24px; border-radius: 24px; }
  .footer { padding: 56px 0 32px; }
  .footer__cols { justify-content: space-between; gap: 16px; }
  .footer__bottom { flex-direction: column; gap: 8px; margin-top: 40px; }
}

/* Live Activity: Figma component (332 × 72, radius 28) scaled by the lock screen's width (design basis 640 px). */
.live { margin-top: clamp(28px, 10cqw, 64px); display: flex; align-items: center; gap: 3cqw; padding: 3cqw 5cqw 3cqw 3.6cqw; border-radius: 6cqw; max-width: calc(100% - 24px); background: #000; font-family: var(--app-font); box-shadow: 0 24px 48px rgba(0,0,0,.28); white-space: nowrap; }
.live__icon { display: grid; place-items: center; width: max(30px, 6.2cqw); height: max(30px, 6.2cqw); border-radius: 22%; background: var(--lime); color: var(--ink); flex: none; }
.live__icon svg { width: 46%; height: 50%; }
.live small { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: max(9px, 1.8cqw); letter-spacing: .06em; color: #A3A8B1; font-weight: 500; }
.live__rest b { display: block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: max(19px, 4.4cqw); font-weight: 500; color: var(--lime); font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1.1; }
.live__sep { width: 1px; height: 7cqw; min-height: 28px; background: #2A2D32; }
.live__next b { display: block; font-size: max(13px, 3cqw); font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; }

/* =========================================================
   MICRO-INTERACTIONS (round 2)
   ========================================================= */

/* Scroll progress: a lime hairline across the top of the page */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Mega menu: one highlight glides between items instead of each item lighting up */
.mega__body { position: relative; } /* .mega--small stays absolutely positioned; the glide highlight uses it as its anchor */
.mega__glide { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 12px; background: var(--page); opacity: 0; pointer-events: none; }
.mega__item { position: relative; z-index: 1; }
.has-glide .mega__item:hover { background: none; }

/* Magnetic lime buttons: content shifts a touch further than the button */
.btn--lime { will-change: transform; }
.btn--lime > span { display: inline-block; will-change: transform; }

/* Coach: reasons stream in word by word; hovering a source lights its reason */
.dots .w { opacity: 0; transition: opacity 200ms var(--ease-out); }
.dots .w.is-on { opacity: 1; }
.dots li { transition: color 240ms var(--ease-out); }
.dots li::before { transition: background-color 240ms var(--ease-out), transform 240ms var(--ease-out); }
.dots li.is-linked { color: var(--white); }
.dots li.is-linked::before { background: var(--lime); transform: scale(1.4); }
.dots.is-linking li:not(.is-linked) { color: var(--inv-2); }
.src-chips span { cursor: pointer; outline-offset: 2px; }
.src-chips span.is-linked { background: rgba(200, 242, 60, .12); box-shadow: inset 0 0 0 1px rgba(200, 242, 60, .55); color: var(--inv); }

/* Counters keep their width while counting */
/* Tabular digits only on the big standalone numbers; inline they space out the comma. */
.facts [data-count] { font-variant-numeric: tabular-nums; }

/* Text links draw their underline left to right */
.faq__side a, .footer__bottom a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 260ms var(--ease-out); }
.faq__side a:hover, .footer__bottom a:hover { background-size: 0 1px; background-position: 100% 100%; }

@media (prefers-reduced-motion: reduce) {
  .progress { display: none; }
  .dots .w { opacity: 1; }
}

/* =========================================================
   FEATURE PAGE (template A)
   ========================================================= */
.crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.crumb a { transition: color var(--dur-micro); }
.crumb a:hover { color: var(--text); }

.ptag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.ptag.tag--free { background: var(--page); box-shadow: none; }
.ptag.tag--pro { background: var(--ink); color: var(--inv); box-shadow: none; }
.ptag.tag--ai { background: var(--lime); color: var(--ink); box-shadow: none; }
.ptag.tag--soft { background: var(--page); box-shadow: none; }
.hero .ptag.tag--free { background: var(--white); }

/* hero */
.fhero { padding-bottom: clamp(48px, 6vw, 96px); }
.fhero__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 600px); justify-content: space-between; align-items: center; gap: 48px; }
.fhero__copy { display: grid; gap: 24px; justify-items: start; }
.fhero__copy .hero__title { max-width: 520px; }
.fmedia { aspect-ratio: 660 / 662; border-radius: 40px; width: 100%; }
.fmedia__inner { position: absolute; inset: 0; will-change: transform; }

/* key facts */
.facts-strip { padding-bottom: clamp(56px, 8vw, 96px); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid var(--line); }
.fact span { font-size: 17px; color: var(--text-2); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { display: grid; gap: 14px; align-content: start; }
.step__media { aspect-ratio: 389 / 340; border-radius: 24px; display: grid; justify-items: center; align-items: start; padding-top: 40px; margin-bottom: 6px; }
.step .title { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.step p { padding: 0 4px; }
.step__num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--inv); font-size: 13px; font-weight: 600; flex: none; }
.shot { position: relative; display: block; width: 230px; aspect-ratio: 375 / 812; border-radius: 28px; overflow: hidden; background: var(--app); box-shadow: 0 0 0 4px rgba(255,255,255,.35), var(--shadow-device); will-change: transform; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot--lg { width: 300px; border-radius: 36px; box-shadow: 0 0 0 6px rgba(255,255,255,.35), var(--shadow-device); }

/* why it works */
.why__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 540px); justify-content: space-between; align-items: center; gap: 48px; }
.why__grid--solo { grid-template-columns: minmax(0, 720px); }
.why__media { aspect-ratio: 1; border-radius: 32px; display: grid; justify-items: center; align-items: start; padding-top: 60px; }
.why__copy { display: grid; gap: 24px; justify-items: start; }
.points { width: 100%; }
.points li { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.points li::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); transition: width 700ms var(--ease-out); }
.js .points li { opacity: .45; transition: opacity 400ms var(--ease-out); }
.points li.is-on { opacity: 1; }
.points li.is-on::before { width: 100%; }

/* trust cards */
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.tcard { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--r-md); background: var(--white); }
.tcard .chip { transition: transform 400ms var(--ease-out); }
.tcard:hover .chip { transform: translateY(-3px) rotate(-4deg); }

/* decision band */
.band { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 40px; border-radius: 28px; background: var(--ink); color: var(--inv); }
.band h2 { margin-bottom: 8px; }
.band .cta-row { flex: none; gap: 24px; }
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%); transform: translateX(-120%); }
.btn--shine.is-shine::after { animation: shine 900ms var(--ease-io) 1; }
@keyframes shine { to { transform: translateX(120%); } }

/* plans */
.pnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pnote { display: grid; gap: 10px; padding: 28px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); align-content: start; }
.pnote.is-free { background: var(--page); box-shadow: none; }
.pnote__top { display: flex; align-items: center; gap: 12px; }
.ptag.pop { transform-origin: left center; }

/* related cards */
.fcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fcard { display: grid; gap: 16px; align-content: space-between; padding: 24px; border-radius: var(--r-md); background: var(--white); transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out); }
.fcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.fcard__top { display: flex; justify-content: space-between; align-items: center; }
.fcard b { display: block; margin-bottom: 4px; }
.fcard .body-s { display: block; }
.fcard .chip { transition: transform 400ms var(--ease-out); }
.fcard:hover .chip { transform: rotate(-6deg) scale(1.06); }

/* sliders: grids on desktop, scroll-snap rows on phones */
.slider-dots { display: none; }
.sticky-cta { display: none; }

@media (max-width: 1024px) {
  .fhero__grid, .why__grid { grid-template-columns: 1fr; }
  .fmedia { max-width: 520px; justify-self: center; }
  .band { flex-direction: column; align-items: flex-start; }
  .points li { grid-template-columns: 1fr; gap: 4px; }

  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 28px rgba(0,0,0,.14); transform: translateY(160%); transition: transform 520ms var(--ease-out); }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; }
  .sticky-cta small { font-size: 13px; color: var(--text-2); }
  .page-feature { padding-bottom: 0; }
}

@media (max-width: 760px) {
  .slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .slider::-webkit-scrollbar { display: none; }
  .slider > * { flex: 0 0 85%; scroll-snap-align: start; }
  .slider::after { content: ""; flex: 0 0 1px; }
  .steps .step__media { aspect-ratio: auto; height: 300px; }
  .steps .shot { width: 200px; }
  .tcards { margin-top: 20px; }
  .tcard { align-content: start; }
  .slider-dots { display: flex; gap: 6px; align-items: center; padding-top: 18px; }
  .slider-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width 300ms var(--ease-out), background-color 300ms; cursor: pointer; }
  .slider-dots i.is-active { width: 24px; background: var(--ink); }
  .fact-row { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 16px 0; gap: 4px; }
  .pnotes { grid-template-columns: 1fr; gap: 12px; }
  .pnote { padding: 20px; }
  .band { padding: 28px 24px; }
  .band .cta-row { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; }
  .band .btn { width: 100%; height: 52px; order: -1; }
  .band .link { justify-content: center; }
  .why__media { padding-top: 36px; }
  .shot--lg { width: 220px; }
  .fhero__copy .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .fhero__copy .btn { width: 100%; height: 52px; }
  .fcards > * { min-height: 200px; }
}

/* =========================================================
   Features overview (/features)
   ========================================================= */
.ohero { padding-bottom: clamp(32px, 4vw, 56px); }
.ohero .hero__title { margin: 16px 0 28px; }
.ohero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.ohero__row > p:first-child { max-width: 520px; }

.fbar-wrap { position: sticky; top: 0; z-index: 30; padding: 12px 0; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow 240ms var(--ease-out); }
.fbar-wrap.is-stuck { box-shadow: 0 1px 0 var(--line); }
.fbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.fbar__tabs { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.fbar__tabs::-webkit-scrollbar { display: none; }
.fbar__tabs .tabs__pill { background: var(--ink); box-shadow: none; }
.fbar__tabs button[aria-selected="true"] { color: var(--inv); }
.fbar__tabs i { font-style: normal; font-size: 13px; opacity: .55; margin-left: 4px; }
.fbar__legend { display: flex; align-items: center; gap: 8px; }

.ogroup { padding: clamp(40px, 5vw, 72px) 0 0; transition: opacity 300ms var(--ease-out); }
.ogroup.is-hidden { display: none; }
.ogroup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 32px; margin-bottom: 28px; }
.ogroup__head .count { font-size: 15px; font-weight: 500; color: var(--text-3); vertical-align: middle; margin-left: 6px; }
.ogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ocard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 236px; padding: 24px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px transparent; transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out); }
.ocard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -22px rgba(10,11,13,.28); }
.ocard__top { display: flex; justify-content: space-between; align-items: center; }
.ocard .chip { transition: transform 400ms var(--ease-out), background 240ms; }
.ocard:hover .chip { transform: rotate(-6deg) scale(1.06); background: var(--lime); }
.ocard__text { display: grid; gap: 6px; }
.ocard__text .body-s { color: var(--text-2); }
.ocard .link { color: var(--text); }
.ocard--feat { background: var(--ink); color: var(--inv); }
.ocard--feat .ocard__text .body-s { color: var(--inv-2); }
.ocard--feat .link { color: var(--inv); }
.ocard--feat .chip { background: var(--lime); box-shadow: none; color: var(--ink); }
.ocard--feat .ptag.tag--free { background: #25282C; color: var(--inv); }
.ocard--feat .ptag.tag--ai { background: var(--lime); }

.obandwrap { padding: clamp(40px, 5vw, 72px) 0 0; }
.obandwrap .oband { max-width: calc(var(--container)); margin: 0 auto; }
.oband { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 32px 36px; border-radius: 28px; background: var(--white); margin-inline: var(--gutter); }
.oband--dark { background: var(--ink); color: var(--inv); }
.oband--dark .chip { background: var(--lime); box-shadow: none; color: var(--ink); }
.oband .title { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 6px; }
.oband .cta-row { gap: 20px; }
.oband .link--inv { margin-top: 0; }

/* compare table */
.cmp-sec .sec-head { margin-bottom: 40px; }
.cmp-scroll { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: thin; }
.cmp { min-width: 860px; }
.cmp__head, .cmp__row { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(170px, 1fr)); }
.cmp__head { position: sticky; top: 0; align-items: end; }
.cmp__plan { display: grid; gap: 8px; align-content: start; padding: 24px 20px 24px; }
.cmp__plan .btn { justify-self: start; margin-top: 6px; }
.cmp__plan em { display: inline-block; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: var(--lime); margin-left: 6px; vertical-align: middle; }
.cmp__plan.is-pro, .cmp__cell.is-pro { background: var(--page); }
.cmp__plan.is-pro { border-radius: 20px 20px 0 0; }
.cmp__intro { padding: 24px 20px 24px 0; align-self: end; }
.cmp__group { padding: 36px 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--text-3); border-bottom: 1px solid var(--line); }
.cmp__row { border-bottom: 1px solid var(--line); align-items: stretch; }
.cmp__row:last-child .cmp__cell.is-pro { border-radius: 0 0 20px 20px; }
.cmp__label { padding: 18px 20px 18px 0; font-size: 16px; font-weight: 500; }
.cmp__cell { display: flex; align-items: center; padding: 18px 20px; }
.cmp__cell .cv { font-size: 15px; color: var(--text-2); }
.ck { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); }
.ck svg { width: 12px; height: 12px; }
.no { width: 12px; height: 2px; border-radius: 2px; background: var(--line); }
.cmp__row.is-in .ck { animation: ckpop 480ms var(--ease-out) both; }
@keyframes ckpop { from { transform: scale(0); } 60% { transform: scale(1.18); } to { transform: scale(1); } }

.before { padding-top: clamp(56px, 6vw, 96px); padding-bottom: 0; }
/* Followed by a white section (e.g. the FAQ on /pricing): room below, so the cards don't run into the edge */
.before:has(+ .section--white) { padding-bottom: clamp(56px, 6vw, 96px); }
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }

@media (max-width: 1024px) {
  .ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ohero__row { flex-direction: column; align-items: flex-start; }
  .fbar__legend { display: none; }
  .oband { grid-template-columns: auto 1fr; }
  .oband .cta-row { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ogrid, .bcards { grid-template-columns: 1fr; }
  .ocard { min-height: 0; }
  .ocard__text { gap: 4px; }
  .ogroup__head { flex-direction: column; gap: 6px; }
  .oband { padding: 24px; margin-inline: 20px; }
  .oband .cta-row { flex-direction: column; align-items: stretch; }
  .oband .btn { width: 100%; }
  .ohero .cta-row { flex-direction: column; align-items: stretch; width: 100%; }
  .ohero .btn { width: 100%; height: 52px; }
  .cmp__label { position: sticky; left: 0; background: var(--white); z-index: 2; }
}
@media (prefers-reduced-motion: reduce) { .ocard, .ocard .chip { transition: none; } .cmp__row.is-in .ck { animation: none; } }

/* overview micro-interactions */
.ocard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200,242,60,.22), transparent 70%); transition: opacity 300ms var(--ease-out); }
.ocard--feat::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(200,242,60,.16), transparent 70%); }
.ocard:hover::after { opacity: 1; }
.ocard { transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out), opacity 260ms var(--ease-out), filter 260ms var(--ease-out); }
.ocard.is-dim { opacity: .28; filter: saturate(.4); transform: scale(.985); }
.fbar__legend .ptag { cursor: default; transition: transform 240ms var(--ease-out); }
.fbar__legend .ptag:hover, .fbar__legend .ptag:focus-visible { transform: translateY(-2px); outline: none; }
.cmp__row { transition: background 200ms var(--ease-out); }
.cmp__row:hover { background: color-mix(in srgb, var(--page) 70%, transparent); }
.cmp__row:hover .cmp__cell.is-pro { background: var(--page); }
@media (hover: none) { .ocard::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .ocard.is-dim { transform: none; } .ocard::after { transition: none; } }

.js .ocard { opacity: 0; transform: translateY(16px); }
.js .ocard.is-in { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms); transition-duration: 700ms, 360ms, 700ms, 260ms; }
.js .ocard.is-in:hover { transform: translateY(-4px); transition-delay: 0ms; transition-duration: 360ms; }
.js .ocard.is-in.is-dim { opacity: .28; transform: scale(.985); }
@media (max-width: 640px) {
  .ohero .hero__title br { display: none; }
  .ocard { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-content: start; padding: 18px; }
  .ocard__top { display: contents; }
  .ocard__top .chip { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; align-self: start; }
  .ocard__text { grid-column: 2; grid-row: 1; }
  .ocard__top .ptag { grid-column: 2; grid-row: 2; justify-self: start; }
  .ocard .link { grid-column: 2; grid-row: 3; }
  .cmp { min-width: 0; }
  .cmp-scroll { overflow: visible; }
  .cmp__head, .cmp__row { grid-template-columns: minmax(0, 1fr) repeat(3, 56px); }
  .cmp__intro, .cmp__plan > span, .cmp__plan .btn, .cmp__plan em { display: none; }
  .cmp__plan { padding: 16px 0 12px; text-align: center; justify-items: center; }
  .cmp__plan .heading-s { font-size: 13px; line-height: 1.2; }
  .cmp__label { padding: 14px 8px 14px 0; font-size: 15px; }
  .cmp__cell { padding: 0; justify-content: center; }
  .cmp__cell .cv { font-size: 12px; text-align: center; line-height: 1.2; }
  .ck { width: 22px; height: 22px; }
}
.cmp__head { top: 68px; z-index: 5; background: var(--white); }

/* overview fixes: sticky bar below the nav, compare button, mobile band + table header */
.fbar-wrap { top: 87px; }
.fbar__right { display: flex; align-items: center; gap: 20px; flex: none; }
.fbar__cmp { flex: none; }
.fbar__tabs button:focus { outline: none; }
.fbar__tabs button:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.cmp__head { top: 150px; }
.obandwrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.obandwrap .oband { margin: 0 auto; }
@media (min-width: 1100px) { .cmp-scroll { overflow: visible; } }
@media (max-width: 1024px) { .fbar__right { gap: 0; } }
@media (max-width: 640px) {
  .fbar-wrap { top: 76px; padding: 8px 0; }
  .fbar { gap: 10px; }
  .fbar__tabs { flex: 1; min-width: 0; }
  .fbar__cmp-more { display: none; }
  .cmp__head { top: 133px; }
  .cmp__intro { display: block; font-size: 0; padding: 0; }
  .cmp__intro > span { display: none; }
  .obandwrap { padding-left: 20px; padding-right: 20px; }
  .oband { margin-inline: 0; }
}
/* solid sticky filter bar; a cap fills the gap behind the floating nav while stuck */
.fbar-wrap { background: var(--page); backdrop-filter: none; -webkit-backdrop-filter: none; --nav-off: 87px; }
.fbar-wrap::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--nav-off); background: var(--page); opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease-out); }
.fbar-wrap.is-stuck::before { opacity: 1; }
@media (max-width: 640px) { .fbar-wrap { --nav-off: 76px; } }
@media (max-width: 640px) {
  .fbar__tabs { display: flex; width: 100%; overflow: visible; }
  .fbar__tabs button { flex: 1 1 auto; padding: 9px 8px; font-size: 14px; text-align: center; }
  .fbar__tabs i { display: none; }
}
/* filter spans the full width; plan legend sits on its own row below */
.fbar { display: block; }
.fbar__tabs { display: flex; width: 100%; overflow: visible; }
.fbar__tabs button { flex: 1 1 0; text-align: center; padding: 11px 16px; }
.flegend-row { display: flex; justify-content: flex-end; padding-top: 20px; }
.flegend-row .fbar__legend { display: flex; }
@media (max-width: 1024px) { .flegend-row { display: none; } }
@media (max-width: 640px) { .fbar__tabs button { flex: 1 1 auto; padding: 9px 8px; } }
[data-groups] { padding-bottom: clamp(64px, 7vw, 112px); }

/* step screens whose point is at the bottom (e.g. the Why sheet): show the lower part of the phone */
.shot--low { aspect-ratio: auto; height: 260px; }
.shot--low img { object-position: bottom; }
@media (max-width: 640px) { .steps .shot--low { height: 240px; } }
.shot--low { height: 300px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 640px) { .steps .shot--low { height: 260px; } }
@media (max-width: 640px) { .fbar__tabs button { padding: 9px 6px; font-size: 13.5px; } .fbar__tabs { padding: 4px; gap: 0; } }

/* =========================================================
   Roadmap — an honest document, not a dashboard: hairlines, horizons, status notes
   ========================================================= */
.rm-hero { padding-bottom: clamp(48px, 6vw, 88px); }
.rm-hero__grid { display: grid; gap: 28px; }
.rm-meta { display: flex; gap: 20px; font-size: 14px; font-weight: 500; color: var(--text-3); }
.rm-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin: 0 20px 3px 0; vertical-align: middle; }
.rm-hero__lead { max-width: 600px; }
.rm-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line); }
.rm-platforms > div { display: grid; gap: 6px; padding: 20px 24px 0 0; }
.rm-platforms > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.rm-platforms dt { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.rm-platforms dt svg { width: 16px; height: 16px; }
.rm-platforms dd { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); }
.rm-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.rm-dot--live { background: #3FB950; animation: rmbreathe 2.6s ease-in-out infinite; }
@keyframes rmbreathe { 50% { opacity: .35; } }

.rm-board { padding-bottom: clamp(56px, 7vw, 112px); }
.rm-h { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--ink); }
.rm-h__head { display: grid; gap: 12px; align-content: start; position: sticky; top: 112px; }
.rm-h__head .body-m { max-width: 260px; }
.rm-h__list { display: grid; }
.rm-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 240px); gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.rm-item:first-child { border-top: 0; padding-top: 6px; }
.rm-item__cat { font-size: 14px; font-weight: 500; color: var(--text-3); padding-top: 4px; }
.rm-item__main { display: grid; gap: 6px; }
.rm-item__note { position: relative; padding: 4px 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.rm-item__note::before { content: ""; position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.rm-h--now .rm-item__note::before { background: var(--lime); box-shadow: 0 0 0 1px rgba(10,11,13,.12); }
.rm-h--next .rm-item__note::before { background: var(--ink); }
.rm-h--later .rm-item__main .title, .rm-h--later .rm-item__main .body-m { color: var(--text-2); }
.rm-h--later .rm-item__note::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.rm-suggest { padding-top: 32px; border-top: 1px solid var(--line); font-size: 17px; color: var(--text-2); }
.rm-suggest a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color 200ms; }
.rm-suggest a:hover { text-decoration-color: var(--ink); }

.rm-shipped__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
.rm-shipped__head { display: grid; gap: 20px; justify-items: start; }
.rm-list { display: grid; }
.rm-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 14px; gap: 24px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.rm-row:last-child { border-bottom: 1px solid var(--line); }
.rm-row__date { font-size: 15px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.rm-row__tag { font-size: 14px; color: var(--text-3); }
.rm-row svg { width: 14px; height: 14px; align-self: center; opacity: 0; transform: translateX(-6px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.rm-row:hover svg, .rm-row:focus-visible svg { opacity: 1; transform: none; }
.rm-row .rm-row__title { transition: color 200ms; }
.rm-row:hover .rm-row__title { color: var(--text-2); }

.rm-join { padding-bottom: clamp(80px, 9vw, 140px); }
.rm-join__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rm-join__copy { display: grid; gap: 24px; }
.rm-join__copy > .body-l { max-width: 480px; }
.rm-how { display: grid; margin-top: 8px; counter-reset: how; }
.rm-how li { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); counter-increment: how; }
.rm-how li::before { content: counter(how); grid-row: 1 / span 2; font-size: 15px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.rm-how b { font-weight: 600; }
.rm-how span { color: var(--text-2); font-size: 15px; }
.rm-signup { padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r-xl); background: var(--ink); color: var(--inv); }
.rm-step { display: grid; gap: 16px; }
.rm-step[hidden] { display: none; }
.rm-step__label { font-size: 15px; font-weight: 500; color: var(--inv-2); }
.rm-inline { display: flex; gap: 8px; padding: 6px; border-radius: 16px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-inv); transition: box-shadow 200ms var(--ease-out); }
.rm-inline:focus-within { box-shadow: inset 0 0 0 1px var(--lime); }
.rm-inline.is-error { box-shadow: inset 0 0 0 1px #E5484D; animation: shake 360ms; }
.rm-inline input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; background: transparent; color: var(--inv); font: inherit; font-size: 17px; outline: none; }
.rm-inline input::placeholder { color: var(--inv-2); }
.rm-signup .body-s { color: var(--inv-2); }
.rm-signup a { color: var(--inv); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-inv); }
.rm-ok, .rm-thanks { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.rm-ok b { font-weight: 600; }
.rm-signup .tick { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); flex: none; }
.rm-signup .tick svg { width: 14px; height: 14px; color: var(--ink); }
.rm-f { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.rm-f legend { font-size: 15px; font-weight: 500; color: var(--inv-2); margin-bottom: 10px; }
.rm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rm-chipopt { position: relative; cursor: pointer; }
.rm-chipopt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rm-chipopt span { display: inline-flex; padding: 9px 16px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--inv); box-shadow: inset 0 0 0 1px var(--line-inv); transition: background 180ms var(--ease-out), color 180ms, box-shadow 180ms; }
.rm-chipopt:hover span { box-shadow: inset 0 0 0 1px var(--inv-2); }
.rm-chipopt input:checked + span { background: var(--lime); color: var(--ink); box-shadow: none; }
.rm-chipopt input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.rm-step--2 .btn { justify-self: start; background: var(--white); color: var(--ink); }
.rm-step--2 .btn:hover { background: var(--lime); }

@media (max-width: 1024px) {
  .rm-h, .rm-shipped__grid, .rm-join__grid { grid-template-columns: 1fr; gap: 24px; }
  .rm-h__head { position: static; }
  .rm-item { grid-template-columns: 80px minmax(0, 1fr); }
  .rm-item__note { grid-column: 2; }
}
@media (max-width: 640px) {
  .rm-hero .hero__title br { display: none; }
  .rm-platforms { grid-template-columns: 1fr; }
  .rm-platforms > div, .rm-platforms > div + div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto; align-items: center; }
  .rm-item { grid-template-columns: 1fr; gap: 8px; }
  .rm-item__note { grid-column: 1; }
  .rm-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .rm-row__date { grid-row: 1; }
  .rm-row__tag { grid-row: 1; justify-self: end; }
  .rm-row .rm-row__title { grid-column: 1 / -1; }
  .rm-row svg { display: none; }
  .rm-inline { flex-direction: column; padding: 0; background: none; box-shadow: none; }
  .rm-inline input { background: var(--raised); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-inv); }
  .rm-inline .btn { height: 52px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .rm-dot--live { animation: none; } .rm-row svg { transition: none; } }

/* =========================================================
   Knowledge base
   ========================================================= */
.kb-hero { padding-bottom: clamp(40px, 5vw, 72px); }
.kb-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kb-hero__copy { display: grid; gap: 28px; justify-items: start; }
.kb-hero .hero__title { font-size: clamp(44px, 5.8vw, 84px); max-width: 720px; }
.kb-hero__copy .body-l { max-width: 520px; }
.kb-search { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 560px); height: 64px; padding: 0 16px 0 22px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms var(--ease-out); }
.kb-search:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.kb-search__icon { width: 18px; height: 18px; color: var(--text-3); flex: none; transition: color var(--dur-micro); }
.kb-search:focus-within .kb-search__icon { color: var(--ink); }
.kb-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 17px; outline: none; }
.kb-search input::placeholder { color: var(--text-3); }
.kb-search kbd { font: inherit; font-size: 14px; font-weight: 500; color: var(--text-2); background: var(--page); border-radius: 8px; padding: 4px 10px; }
.kb-empty { padding-top: 4px; }
.kb-demo { position: relative; min-height: 420px; display: grid; align-items: center; perspective: 1200px; }
.kb-demo__card { position: relative; z-index: 2; display: grid; gap: 16px; padding: 32px; border-radius: 28px; background: var(--white); box-shadow: 0 40px 70px -34px rgba(10,11,13,.38), 0 0 0 1px var(--line); transition: transform 500ms var(--ease-out); transform-style: preserve-3d; }
.kb-demo__card--back { position: absolute; inset: 24px -18px -18px 28px; z-index: 1; background: var(--lime); box-shadow: none; transform: rotate(4deg); }
.kb-demo:hover .kb-demo__card--back { transform: rotate(6deg) translate(6px, 4px); }
.kb-demo__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--text-3); }
.kb-demo__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px rgba(10,11,13,.18); }
.kb-demo__a { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.kb-demo__a b { color: var(--text); font-weight: 600; }
.kb-demo__ev { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--page); font-size: 15px; flex-wrap: wrap; }
.kb-demo__ev > span:not(.kb-bars) { color: var(--text-3); }
.kb-demo__evl { font-weight: 500; color: var(--text-2) !important; }
.kb-demo__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.kb-demo__foot svg { width: 14px; height: 14px; }

.kb-bars { display: inline-flex; align-items: flex-end; gap: 3px; }
.kb-bars i { display: block; width: 9px; height: 20px; border-radius: 3px; background: var(--line); }
.kb-bars i.on { background: var(--lime); box-shadow: inset 0 0 0 1px rgba(10,11,13,.55); }
.kb-bars--lg i { width: 14px; height: 36px; border-radius: 4px; }
.js .kb-bars i.on { transform: scaleY(.15); transform-origin: bottom; transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .is-in .kb-bars i.on, .js .kb-bars.is-in i.on { transform: none; }

.kb-marquee { overflow: hidden; display: grid; gap: 12px; padding: clamp(16px, 2vw, 32px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kb-marquee__track { display: flex; gap: 12px; width: max-content; animation: kbmarq 70s linear infinite; }
.kb-marquee__track--rev { animation-direction: reverse; animation-duration: 85s; }
.kb-marquee:hover .kb-marquee__track { animation-play-state: paused; }
@keyframes kbmarq { to { transform: translateX(-50%); } }
.kb-q { flex: none; padding: 13px 22px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 17px; font-weight: 500; white-space: nowrap; }

.kb-section { padding-top: clamp(64px, 7vw, 112px); }
.kb-section > .container > h2 { margin-bottom: 32px; }
.kb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kb-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: 32px; border-radius: 28px; background: var(--white); transition: transform 360ms var(--ease-out), box-shadow 360ms var(--ease-out); }
a.kb-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(10,11,13,.35); }
.kb-card__n { font-size: 64px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--line); font-variant-numeric: tabular-nums; }
.kb-card__kind { font-size: 14px; font-weight: 500; color: var(--text-3); margin-top: 8px; }
.kb-card__d { color: var(--text-2); }
.kb-card .kb-soon, .kb-card .kb-go { margin-top: auto; align-self: flex-start; }
.kb-go { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.kb-go svg { width: 12px; height: 12px; transition: transform 240ms var(--ease-out); }
a.kb-card:hover .kb-go svg { transform: translateX(4px); }
.kb-card--lead { background: var(--ink); color: var(--inv); }
.kb-card--lead .kb-card__n { color: var(--lime); }
.kb-card--lead .kb-card__kind, .kb-card--lead .kb-card__d { color: var(--inv-2); }
.kb-soon { display: inline-flex; padding: 4px 11px; border-radius: 99px; background: var(--page); font-size: 13px; font-weight: 500; color: var(--text-3); }
.kb-card--lead .kb-soon { background: var(--raised); color: var(--inv-2); }
.kb-soon--lime { background: none; padding: 0; color: var(--lime); }

.kb-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1400px; }
.kb-tile { position: relative; display: flex; flex-direction: column; gap: 20px; min-height: 280px; padding: 28px; border-radius: 28px; background: var(--white); transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out); transform-style: preserve-3d; }
.kb-tile.wide { grid-column: span 2; }
.kb-tile:hover { box-shadow: 0 24px 50px -28px rgba(10,11,13,.35); }
.kb-glyph { width: 64px; height: 64px; color: var(--ink); }
.kb-glyph .acc { stroke: #8FB800; }
.kb-tile__text { display: grid; gap: 6px; margin-top: auto; max-width: 340px; }
.kb-tile__text .body-s { color: var(--text-2); }
.kb-tile .kb-soon { position: absolute; top: 28px; right: 28px; }
.kb-tile.dark { background: var(--ink); color: var(--inv); }
.kb-tile.dark .kb-glyph { color: var(--inv); }
.kb-tile.dark .kb-glyph .acc { stroke: var(--lime); }
.kb-tile.dark .kb-tile__text .body-s { color: var(--inv-2); }
.kb-tile.dark .kb-soon { background: var(--raised); color: var(--inv-2); }
.kb-tile.lime { background: var(--lime); }
.kb-tile.lime .kb-glyph .acc { stroke: var(--ink); }
.kb-tile.lime .kb-tile__text .body-s { color: rgba(10,11,13,.7); }
.kb-tile.lime .kb-soon { background: rgba(10,11,13,.1); color: var(--ink); }
.kb-glyph path, .kb-glyph circle { stroke-dasharray: 160; }
.kb-tile:hover .kb-glyph path, .kb-tile:hover .kb-glyph circle { animation: kbdraw 800ms var(--ease-out); }
@keyframes kbdraw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
[data-kb-item].is-hidden { display: none; }

.kb-toolsband { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); padding: clamp(28px, 4.5vw, 64px); border-radius: 32px; background: var(--ink); color: var(--inv); }
.kb-calc { display: grid; gap: 20px; align-content: start; }
.kb-calc__tag { margin: 0; }
.kb-calc__lead { color: var(--inv-2); max-width: 420px; }
.kb-calc__fields { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.kb-calc__fields label { display: grid; gap: 8px; font-size: 14px; color: var(--inv-2); }
.kb-calc__fields input { height: 56px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-inv); color: var(--inv); font: inherit; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; outline: none; transition: box-shadow 200ms; width: 100%; }
.kb-calc__fields input:focus { box-shadow: inset 0 0 0 2px var(--lime); }
.kb-calc__out { display: flex; align-items: baseline; gap: 10px; padding-top: 8px; }
.kb-calc__out output { font-size: clamp(72px, 9vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: var(--lime); font-variant-numeric: tabular-nums; }
.kb-calc__out span { font-size: 28px; font-weight: 500; color: var(--inv-2); }
.kb-calc__note { color: var(--inv-2); max-width: 440px; }
.kb-soontools { display: grid; gap: 20px; align-content: start; padding-left: clamp(0px, 3vw, 48px); border-left: 1px solid var(--line-inv); }
.kb-soontools ul { display: grid; }
.kb-soontools li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-inv); }
.kb-soontools li b { font-weight: 600; font-size: 17px; }
.kb-soontools li span { color: var(--inv-2); font-size: 15px; }

.kb-evidence__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.kb-evidence__copy { display: grid; gap: 24px; }
.kb-evidence__copy h2 { margin: 0 !important; }
.kb-levels { display: grid; border-bottom: 1px solid var(--line); }
.kb-levels li { display: flex; align-items: center; gap: 28px; padding: 26px 0; border-top: 1px solid var(--line); }
.kb-levels li > span:last-child { display: grid; gap: 2px; transition: transform 300ms var(--ease-out); }
.kb-levels li:hover > span:last-child { transform: translateX(6px); }
.kb-levels .kb-bars i { transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }

.kb-recent__list { display: grid; margin-top: 24px; }
.kb-recent__row { display: grid; grid-template-columns: 72px 1fr auto 14px; gap: 24px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.kb-recent__row:last-child { border-bottom: 1px solid var(--line); }
.kb-recent__row svg { width: 14px; height: 14px; }

@media (max-width: 1024px) {
  .kb-hero__grid, .kb-toolsband, .kb-evidence__grid { grid-template-columns: 1fr; }
  .kb-demo { min-height: 0; padding: 0 20px 24px 0; }
  .kb-cards { grid-template-columns: 1fr; }
  .kb-card { min-height: 0; }
  .kb-card__n { font-size: 44px; }
  .kb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kb-soontools { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .kb-hero .hero__title { font-size: 44px; }
  .kb-bento { grid-template-columns: 1fr; }
  .kb-tile.wide { grid-column: auto; }
  .kb-tile { min-height: 200px; }
  .kb-search { height: 56px; }
  .kb-calc__fields { grid-template-columns: 1fr 1fr; }
  .kb-demo__card { padding: 24px; }
  .kb-levels li { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { .kb-marquee__track { animation: none; } .kb-tile:hover .kb-glyph path, .kb-tile:hover .kb-glyph circle { animation: none; } .js .kb-bars i.on { transform: none; transition: none; } }

/* Product updates: built from the feature hero, the homepage rows and the dark band */
.upd-week { padding: clamp(56px, 7vw, 112px) 0 0; }
.upd-week + .upd-week { border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 112px); }
.upd-feat { margin-bottom: clamp(48px, 6vw, 88px); }
.upd-feat .fhero__copy .display-l { max-width: 520px; }
.upd-flip .upd-feat > .fmedia { order: -1; }
.upd-more { padding-bottom: 8px; }
.page-updates .decide { padding-top: clamp(72px, 8vw, 120px); }
@media (max-width: 1024px) { .upd-flip .upd-feat > .fmedia { order: 0; } }

/* plain rows (no link): same rhythm as .rows */
.rows--plain li > div { display: grid; grid-template-columns: 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.rows--plain li > div span { font-size: 18px; font-weight: 500; letter-spacing: -0.004em; }

.upd-by { display: flex; align-items: center; gap: 12px; }
.upd-by span { display: grid; line-height: 1.3; }
.upd-by b { font-size: 15px; font-weight: 600; }
.upd-by small { font-size: 14px; color: var(--text-3); }
.upd-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--white); }

/* step phones scale with their column instead of overflowing it between 761 and 1100 px */
@media (min-width: 761px) {
  .steps .step__media { container-type: inline-size; }
  .steps .shot { width: min(230px, 62cqw); }
  .steps .shot--low { height: auto; aspect-ratio: 375 / 540; }
}

/* Contact */
.ct__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ct__side { display: grid; gap: 24px; }
.ct__side .body-m { max-width: 440px; }
.ct__facts { display: grid; margin-top: 8px; }
.ct__facts > div { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.ct__facts > div:last-child { border-bottom: 1px solid var(--line); }
.ct__facts dt { font-size: 14px; font-weight: 500; color: var(--text-3); }
.ct__facts dd { font-size: 17px; }
.ct__facts a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color 200ms; }
.ct__facts a:hover { text-decoration-color: var(--ink); }
.ct__panel { padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r-xl); background: var(--white); }
.ct__form { display: grid; gap: 22px; }
.ct__two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.ct__form textarea { width: 100%; padding: 14px; border-radius: 12px; background: var(--page); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; min-height: 140px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 200ms var(--ease-out), background 200ms; }
.ct__form textarea:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.ct__form textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #D64545; }
.ct__form .btn { width: 100%; height: 52px; justify-content: center; }
.ct__form .form-note { text-align: center; }
.ct__form .form-note a { text-decoration: underline; text-underline-offset: 3px; }
.ct__ok { display: flex; align-items: center; gap: 14px; font-size: 18px; padding: 24px 0; }
.ct__ok .tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); flex: none; }
.ct__ok .tick svg { width: 14px; height: 14px; color: var(--ink); }
.ct__ok b { font-weight: 600; }
.ct__rows a { grid-template-columns: 1fr auto; }
.ct__rows a > span { display: grid; gap: 4px; transition: transform var(--dur-micro) var(--ease-out); font-size: inherit; font-weight: inherit; letter-spacing: normal; }
.ct__rows a:hover > span { transform: translateX(4px); }
.ct__rows b { font-size: 21px; font-weight: 600; letter-spacing: -0.006em; }
.ct__rows .body-s { font-size: 15px; font-weight: 400; letter-spacing: 0; }
@media (max-width: 1024px) { .ct__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ct__two { grid-template-columns: 1fr; } .page-contact .hero__title br { display: none; } }

.ct-f { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ct-f label, .ct-f legend { font-size: 14px; font-weight: 500; padding: 0; }
.ct-f legend { margin-bottom: 10px; }
.ct-f em { font-style: normal; font-weight: 400; color: var(--text-3); margin-left: 6px; }
.ct-f input[type="text"], .ct-f input[type="email"] { height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--page); font: inherit; font-size: 16px; width: 100%; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow 200ms var(--ease-out), background 200ms; }
.ct-f input:focus { outline: none; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.ct-f input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #D64545; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { position: relative; cursor: pointer; }
.ct-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-chip span { display: inline-flex; padding: 9px 16px; border-radius: 99px; background: var(--page); font-size: 15px; font-weight: 500; color: var(--text-2); transition: background 180ms var(--ease-out), color 180ms, transform 180ms var(--ease-out); }
.ct-chip:hover span { transform: translateY(-1px); }
.ct-chip input:checked + span { background: var(--ink); color: var(--inv); }
.ct-chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.ct__ok[hidden], .ct__form[hidden] { display: none; }
.ct__form textarea { border: 0; }

/* Contact form, second pass */
.ct__form { gap: 26px; }
.ct-f legend { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.ct-f label { font-size: 15px; font-weight: 600; }
.ct-f input[type="text"], .ct-f input[type="email"], .ct__form textarea { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); height: 52px; }
.ct__form textarea { height: auto; min-height: 150px; padding: 16px; overflow: hidden; resize: none; }
.ct-f input:hover, .ct__form textarea:hover { box-shadow: inset 0 0 0 1px var(--text-3); }
.ct-f input:focus, .ct__form textarea:focus { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 4px rgba(200,242,60,.55); background: var(--white); }
.ct-f input[aria-invalid], .ct__form textarea[aria-invalid] { box-shadow: inset 0 0 0 2px #D64545; }
.ct-chip span { gap: 8px; align-items: center; padding: 11px 18px; font-size: 15px; }
.ct-chip span svg { width: 14px; height: 14px; flex: none; }
.ct-chip--sm span { padding: 8px 14px; font-size: 14px; }
.ct-hint { font-size: 15px; color: var(--text-2); padding-top: 14px; min-height: 22px; transition: opacity 200ms; }
.ct-note { color: var(--text-2); padding-top: 12px; }
.ct-extra[hidden], .ct-err[hidden] { display: none; }
.ct-err { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #B3302F; }
.ct-err::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #D64545; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.ct-file { display: inline-flex; width: fit-content; cursor: pointer; }
.ct-file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-file span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; font-size: 15px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms, background 200ms; }
.ct-file span svg { width: 15px; height: 15px; }
.ct-file span em { font-style: normal; color: var(--text-3); font-weight: 400; }
.ct-file:hover span, .ct-file input:focus-visible + span { box-shadow: inset 0 0 0 1px var(--ink); background: var(--page); }
.ct-files { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-files:empty { display: none; }
.ct-files li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 99px; background: var(--page); font-size: 14px; }
.ct-files li span { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-files li button { width: 24px; height: 24px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--text-2); transition: background 150ms; }
.ct-files li button:hover { background: var(--line); color: var(--text); }
.ct__send { display: flex; align-items: center; gap: 20px; }
.ct__send .btn { flex: 1; width: auto; position: relative; }
.ct__keys { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.ct__keys kbd { font: inherit; font-size: 13px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: var(--page); color: var(--text-2); }
.ct__keys kbd + kbd { margin-right: 6px; }
.ct-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(10,11,13,.25); border-top-color: var(--ink); animation: ctspin 700ms linear infinite; }
.is-sending .ct-spin { display: inline-block; }
.is-sending .ct-send__label { display: none; }
@keyframes ctspin { to { transform: rotate(360deg); } }
.ct__ok { display: grid; justify-items: start; gap: 16px; padding: 12px 0; outline: none; }
.ct__ok[hidden] { display: none; }
.ct-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.ct-check svg { width: 30px; height: 30px; }
.ct-check path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: ctdraw 600ms 150ms var(--ease-out) forwards; }
@keyframes ctdraw { to { stroke-dashoffset: 0; } }
.ct-recap { width: 100%; display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--page); }
.ct-recap b { font-size: 14px; font-weight: 600; color: var(--text-3); }
.ct-recap p { font-size: 16px; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 640px) { .ct__keys { display: none; } .ct-chip span { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .ct-spin, .ct-check path { animation: none; } .ct-check path { stroke-dashoffset: 0; } }
.btn .ct-spin { display: none; }
.btn.is-sending .ct-spin { display: inline-block; }
.btn.is-sending .ct-send__label { display: none; }

/* Audiences: mega menu without preview, soon items, hub */
.mega__body--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega__body--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mega__item.is-soon { opacity: .55; cursor: default; pointer-events: none; }
a.mega__item.is-soon { pointer-events: auto; cursor: pointer; transition: opacity var(--dur-micro); }
a.mega__item.is-soon:hover { opacity: .85; }
.mmenu__group a.is-soon { color: inherit; text-decoration: none; }
.mmenu__group .is-soon { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; font-weight: 600; opacity: .55; }
.mmenu__group .is-soon em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--text-3); }
.ogrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ocard--soon { min-height: 200px; }
.ocard--soon:hover { transform: none; box-shadow: none; }
.ocard--soon .kb-soon { align-self: flex-start; }
.aud-gap { height: clamp(48px, 6vw, 96px); }
@media (max-width: 1024px) { .ogrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ogrid--3 { grid-template-columns: 1fr; } .page-for .hero__title br { display: none; } }


/* About: a letter. Reading column on the right, quiet labels on the left. */
.ab-head { padding-top: calc(16px + 61px + clamp(64px, 8vw, 112px)); padding-bottom: clamp(48px, 6vw, 88px); display: grid; gap: 24px; }
.ab-head .display-xl { max-width: 900px; }
.ab-sec { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 48px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.ab-sec--last { padding-bottom: clamp(96px, 10vw, 160px); }
.ab-side { font-size: 15px; font-weight: 500; color: var(--text-3); letter-spacing: 0; padding-top: 6px; }
.ab-body { max-width: 680px; }
.ab-letter p { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--text); margin-bottom: 1.1em; letter-spacing: -0.003em; }
.ab-letter p:first-child { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; margin-bottom: 1em; }
.ab-sign { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.ab-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ab-sign b { display: block; font-size: 17px; font-weight: 600; }
.ab-sign span { font-size: 15px; color: var(--text-3); }
.ab-rules li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ab-rules li:first-child { padding-top: 0; }
.ab-rules li:last-child { border-bottom: 0; }
.ab-num { font-size: 15px; font-weight: 500; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.ab-rules b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -0.006em; margin-bottom: 6px; }
.ab-rules li > span > span { font-size: 17px; line-height: 1.55; color: var(--text-2); }
.ab-today > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ab-today > div:first-child { padding-top: 0; }
.ab-today > div:last-child { border-bottom: 0; }
.ab-today dt { font-size: 17px; font-weight: 600; }
.ab-today dd { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 17px; color: var(--text-2); }
.ab-today .link { color: var(--text); }
.ab-hello { font-size: clamp(22px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.012em; }
.ab-hello a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--lime); transition: text-decoration-color 200ms; }
.ab-hello a:hover { text-decoration-color: var(--ink); }
@media (max-width: 860px) { .ab-sec { grid-template-columns: 1fr; gap: 16px; } .ab-side { padding-top: 0; } }
@media (max-width: 640px) { .ab-head { padding-top: calc(12px + 56px + 48px); } .ab-today > div { grid-template-columns: 1fr; gap: 4px; } .ab-today dd { flex-direction: column; gap: 6px; } }

.ab-hello__list { margin-top: 28px; border-top: 1px solid var(--line); }
.ab-hello__list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ab-hello__list a > span:nth-child(2) { display: grid; gap: 2px; transition: transform var(--dur-micro) var(--ease-out); }
.ab-hello__list b { font-size: 19px; font-weight: 600; letter-spacing: -0.006em; }
.ab-hello__list a > span:nth-child(2) span { font-size: 16px; color: var(--text-2); }
.ab-hello__list a > svg { width: 14px; height: 14px; color: var(--text-3); transition: color var(--dur-micro), transform var(--dur-micro) var(--ease-out); }
.ab-hello__list a:hover > span:nth-child(2) { transform: translateX(4px); }
.ab-hello__list a:hover > svg { color: var(--ink); transform: translateX(3px); }
.ab-hello__list a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ab-hello__foot { display: flex; align-items: flex-start; gap: 16px; margin-top: 32px; }
.ab-hello__foot img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.ab-hello__foot p { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 520px; margin-bottom: 10px; }
.ab-hello__foot b { color: var(--text); font-weight: 600; }
.ab-hello__foot .link { color: var(--text); }

/* =========================================================
   KNOWLEDGE BASE OVERVIEW (v2: built from site components)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kb-hero .hero__title { margin-bottom: 24px; }
.kb-hero__lead { max-width: 560px; }
.kb-find { display: grid; gap: 14px; width: min(100%, 640px); margin-top: 36px; }
.kb-search { width: 100%; height: 68px; box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px -20px rgba(10,11,13,.18); }
.kb-pops { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding-left: 22px; }
.kb-pop { padding: 0; border: 0; background: none; font: inherit; color: var(--text-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); transition: color var(--dur-micro), text-decoration-color var(--dur-micro); }
.kb-pop:hover { color: var(--text); text-decoration-color: var(--lime); }
.kb-pop:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.kb-start { padding-bottom: clamp(56px, 7vw, 112px); }
.kb-group { padding: clamp(56px, 7vw, 96px) 0; }
.kb-group .count { font-size: 15px; font-weight: 500; color: var(--text-3); vertical-align: middle; margin-left: 6px; }
.ogroup.is-empty { display: none; }
.rows li.is-hidden { display: none; }
.rows .is-soon { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.rows .is-soon time { color: var(--text-3); }
.rows .is-soon span { color: var(--text-2); }
.rows--more { border-top: 0; }
.rows--more li:first-child > * { border-top: 0; }
.kb-more { margin-top: 20px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.kb-more svg { transition: transform var(--dur-micro) var(--ease-out); }
.kb-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.kb-more:hover svg { transform: none; }
.kb-more[aria-expanded="true"]:hover svg { transform: rotate(180deg); }
.kb-empty { padding: 48px 0 0; }
.kb-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: clamp(32px, 4vw, 56px); }
.kb-tool__copy { display: grid; gap: 12px; max-width: 440px; }
.kb-tool .kb-calc__note { color: var(--inv-2); }
.pnotes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pnotes--4 .kb-bars i { width: 7px; height: 16px; }
.kb-searching .kb-start, .kb-searching #calculator, .kb-searching .plans-sec, .kb-searching .kb-more { display: none; }
.kb-searching [data-kb-more][hidden] { display: block; }
.kb-searching .kb-group { padding: 40px 0; }
@media (max-width: 1024px) { .pnotes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kb-tool { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 640px) { .rows .is-soon { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; } .pnotes--4 { grid-template-columns: 1fr; } .kb-calc__fields { grid-template-columns: 1fr 1fr; } }

/* KB v3: cards */
.kb-meta { padding-top: 24px; }
.kb-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.kb-wip .title-s { color: var(--text); }
.kb-card__foot { display: flex; align-items: center; gap: 8px; }
.kb-card__foot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(10,11,13,.35); }
.ocard.is-hidden { display: none; }
.page-kb .ogroup:last-of-type { padding-bottom: clamp(56px, 7vw, 96px); }
.page-kb .obandwrap { padding: clamp(40px, 5vw, 72px) 0 0; }
@media (max-width: 640px) { .kb-tags { justify-content: flex-start; } .kb-card__foot { grid-column: 2; } }
.page-kb .fbar__tabs .t-s { display: none; }
@media (max-width: 640px) { .page-kb .fbar__tabs .t-l { display: none; } .page-kb .fbar__tabs .t-s { display: inline; } }

/* =========================================================
   KNOWLEDGE BASE ARTICLE
   ========================================================= */
.kb-art-hero { padding-bottom: clamp(40px, 5vw, 64px); }
.kb-art-hero .hero__title { max-width: 900px; margin: 16px 0 36px; }
.kb-answer { max-width: 820px; display: grid; gap: 14px; }
.kb-answer__text { font-size: clamp(22px, 2vw, 28px); line-height: 1.42; letter-spacing: -0.014em; font-weight: 500; color: var(--text); text-wrap: pretty; }
.kb-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; max-width: 820px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.kb-byline .upd-by { margin: 0; }
.kb-level { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: box-shadow var(--dur-micro); }
.kb-level:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.kb-level .kb-bars i { width: 5px; height: 13px; border-radius: 2px; }
.kb-read { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: 48px; align-items: start; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.kb-toc { position: sticky; top: 112px; display: grid; gap: 14px; }
.kb-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.kb-toc a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--line); font-size: 15px; color: var(--text-2); transition: color var(--dur-micro), border-color var(--dur-micro); }
.kb-toc a:hover { color: var(--text); }
.kb-toc a.is-active { color: var(--text); border-left-color: var(--ink); font-weight: 500; }
.kb-prose { max-width: 680px; }
.kb-sec { scroll-margin-top: 112px; padding-bottom: 40px; }
.kb-sec + .kb-sec { padding-top: 8px; }
.kb-prose h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 16px; }
.kb-prose p, .kb-prose li { font-size: 18px; line-height: 1.65; color: var(--text); }
.kb-prose p + p { margin-top: 1em; }
.kb-prose ol, .kb-prose ul { margin: 1em 0; padding-left: 1.3em; display: grid; gap: .5em; }
.kb-prose ol { list-style: decimal; } .kb-prose ul { list-style: disc; }
.kb-prose b { font-weight: 600; }
.kb-prose a:not(.link):not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color var(--dur-micro); }
.kb-prose a:not(.link):not(.btn):hover { text-decoration-color: var(--ink); }
.kb-prose sup a { text-decoration: none !important; font-size: 12px; font-weight: 600; padding: 0 2px; color: var(--text-3); }
.kb-table { margin: 24px 0; overflow-x: auto; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.kb-table:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kb-table table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.kb-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--text-3); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.kb-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.kb-table td:nth-child(-n+3) { white-space: nowrap; }
.kb-table tr:last-child td { border-bottom: 0; }
.kb-table tr.is-up td { background: color-mix(in srgb, var(--lime) 22%, var(--white)); }
.kb-evidence { padding: 24px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
.kb-evidence__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.kb-evidence p { font-size: 16px; color: var(--text-2); }
.kb-evidence__top b { color: var(--text); font-size: 17px; }
.kb-mitta .why__copy .link { margin-top: 4px; }
.kb-sources .kb-read { border-top: 0; padding-top: 0; padding-bottom: 0; }
.kb-srclist { list-style: decimal; padding-left: 1.3em; display: grid; gap: 14px; margin-bottom: 28px; }
.kb-srclist li { font-size: 15px; line-height: 1.55; color: var(--text-2); scroll-margin-top: 112px; }
.kb-srclist li:target { color: var(--text); }
.kb-srclist a { word-break: break-all; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.kb-related { padding-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) { .kb-read { grid-template-columns: minmax(0, 1fr); gap: 24px; } .kb-toc { position: static; } .kb-art-hero + .kb-read .kb-toc { padding: 20px; border-radius: var(--r-md); background: var(--white); } }
@media (max-width: 640px) { .kb-prose p, .kb-prose li { font-size: 17px; } .kb-byline { flex-direction: column; align-items: flex-start; } }

/* Evidence meter: ascending signal bars in ink, used on the overview and in articles */
.kb-bars { gap: 2px; align-items: flex-end; }
.kb-bars i, .pnotes--4 .kb-bars i, .kb-level .kb-bars i { width: 4px; border-radius: 1.5px; background: color-mix(in srgb, var(--ink) 16%, transparent); box-shadow: none; }
.kb-bars i:nth-child(1) { height: 6px; } .kb-bars i:nth-child(2) { height: 9px; } .kb-bars i:nth-child(3) { height: 12px; } .kb-bars i:nth-child(4) { height: 15px; }
.kb-bars i.on { background: var(--ink); box-shadow: none; }
.kb-level { gap: 8px; height: auto; padding: 0; background: none; box-shadow: none; font-size: 15px; font-weight: 400; color: var(--text-2); }
.kb-level b { font-weight: 600; color: var(--text); }
.kb-level:hover { box-shadow: none; color: var(--text); }
.kb-level:hover span:last-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* In-article call to action: a quiet card between sections */
.kb-nudge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 8px 0 48px; padding: 20px 20px 20px 22px; border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.kb-nudge .chip { width: 44px; height: 44px; background: var(--lime); box-shadow: none; }
.kb-prose .kb-nudge p { margin: 0; }
.kb-prose .kb-nudge__t { font-size: 18px; font-weight: 600; line-height: 1.3; }
.kb-prose .kb-nudge__d { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: 2px; }
@media (max-width: 640px) { .kb-nudge { grid-template-columns: auto minmax(0, 1fr); } .kb-nudge .btn { grid-column: 1 / -1; justify-content: center; } }

.page-kb .ocard--soon { min-height: 236px; }
.kb-ready .ocard--feat .ptag.tag--soft { background: #25282C; color: var(--inv); }
.kb-ready .ocard--feat .ptag.tag--ai { background: var(--lime); color: var(--ink); }
.kb-searching .kb-ready { display: none; }
@media (max-width: 640px) {
  .page-kb .ocard--soon { min-height: 0; }
  .page-kb .ocard .kb-tags { grid-column: 2; grid-row: 2; justify-content: flex-start; }
  .page-kb .ocard .kb-tags:empty { display: none; }
  .page-kb .ocard .kb-card__foot { grid-column: 2; grid-row: 3; }
}

/* =========================================================
   WAITLIST: your spot and your personal link (CMS site only)
   ========================================================= */
.refer { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.refer__link { display: flex; gap: 8px; padding: 6px; border-radius: 14px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); }
.refer__link input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--text); outline: none; text-overflow: ellipsis; }
.refer__link .btn { flex: none; }
.rm-thanks.rm-thanks--refer { display: block; }
.form-ok--pending { height: auto; min-height: 58px; padding: 12px 18px; align-items: flex-start; font-weight: 400; line-height: 1.45; color: var(--text-2); text-align: left; }
.form-ok--pending b { color: var(--text); font-weight: 600; }
.form-ok--pending .tick { flex: none; margin-top: 1px; }

/* /waitlist page */
.wl { padding-bottom: var(--section); }
.wl [hidden] { display: none !important; }
.wl__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px; align-items: start; }
.wl__panel { display: grid; gap: 12px; justify-items: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.wl__panel--quiet { min-height: 200px; align-content: center; }
.wl__panel > .tick { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); }
.wl__panel > .tick svg { width: 16px; height: 16px; color: var(--ink); }
.wl__panel .cta-row { margin-top: 6px; }
.wl__flash { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--page); font-size: 15px; font-weight: 500; }
.wl__flash .tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); }
.wl__flash .tick svg { width: 12px; height: 12px; color: var(--ink); }
.wl__spot { gap: 0; justify-items: stretch; }
.wl__pos { font-size: clamp(88px, 12vw, 168px); font-weight: 600; line-height: .88; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; margin: 10px 0 24px; }
.wl__bar { height: 8px; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.wl__bar span { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--lime); transition: width 900ms var(--ease-out); }
.wl__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: 15px; color: var(--text-2); }
.wl__meta b { color: var(--text); font-variant-numeric: tabular-nums; }
.wl__share { display: grid; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.wl__share .refer { padding: 0; margin-top: 6px; box-shadow: none; background: none; }
.wl__ways { display: flex; flex-wrap: wrap; gap: 8px; }
.wl__ways a, .wl__ways button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro); }
.wl__ways a:hover, .wl__ways button:hover { background: var(--white); }
.wl__ways svg { width: 15px; height: 15px; }
.wl__form { width: 100%; max-width: 460px; margin-top: 8px; }

/* the personal note */
.wl__note { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--ink); color: var(--inv); }
.wl__note .label { color: var(--inv-2); }
.wl__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--raised); }
.wl__letter p { font-size: 17px; line-height: 1.6; color: var(--inv); margin-bottom: .9em; }
.wl__letter p:first-child { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.4; letter-spacing: -0.012em; font-weight: 500; }
.wl__letter p:last-child { margin-bottom: 0; }
.wl__letter a { color: var(--lime); }
.wl__sign { display: grid; gap: 2px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-inv); }
.wl__sign b { font-size: 17px; font-weight: 600; }
.wl__sign span { font-size: 15px; color: var(--inv-2); }

/* what happens next: the step you're on lights up */
.wl__next { display: grid; gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.wl__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.wl__steps li { display: grid; gap: 8px; align-content: start; padding: 22px 22px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--dur-ui); }
.wl__steps .step__num { margin-bottom: 6px; background: var(--page); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.wl__steps li.is-done .step__num { background: var(--lime); color: var(--ink); box-shadow: none; }
.wl__steps li.is-now { box-shadow: inset 0 0 0 2px var(--ink); }
.wl__steps li.is-now .step__num { background: var(--ink); color: var(--inv); box-shadow: none; }

@media (max-width: 900px) {
  .wl__grid { grid-template-columns: 1fr; }
  .wl__steps { grid-template-columns: 1fr; }
}

/* Roadmap items are linked from the "On the roadmap" items in the menu: land below the sticky nav, briefly highlighted */
.rm-item { scroll-margin-top: 120px; }
.rm-item:target { animation: rm-target 2.4s var(--ease-out); border-radius: 16px; }
@keyframes rm-target { 0%, 40% { background: rgba(200, 242, 60, .28); } 100% { background: transparent; } }

/* Privacy and terms (scripts/build-legal.py): long text in the About layout */
.ab-legal__intro { max-width: 640px; }
.ab-legal { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.ab-legal > * + * { margin-top: 14px; }
.ab-legal h3 { margin-top: 28px; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.ab-legal h3:first-child { margin-top: 0; }
.ab-legal h3 + p { margin-top: 6px; }
.ab-legal ul { display: grid; gap: 10px; padding-left: 0; list-style: none; }
.ab-legal li { position: relative; padding-left: 20px; }
.ab-legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--ink) inset; }
.ab-legal b { color: var(--text); font-weight: 600; }
.ab-legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.ab-legal__date { font-size: 15px; color: var(--text-3); }

/* Cookie banner (main.js): only when the CMS has ad pixels. Refusing is one click, like accepting. */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto; padding: 16px 16px 16px 20px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.consent b { color: var(--text); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; gap: 12px; } .consent__actions > * { flex: 1; } }

/* Price cards on /pricing: three equal plans side by side, Pro highlighted (scripts/build-pricing.py) */
.plans--tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
/* Rows line up across the three cards (title, for whom, price, note, button, line, label, list) */
@supports (grid-template-rows: subgrid) {
  .plans--tiers { grid-template-rows: repeat(8, auto); row-gap: 0; }
  .plans--tiers .tier { grid-row: span 8; grid-template-rows: subgrid; row-gap: 18px; }
  .plans--tiers .tier__for { min-height: 0; }
}
.tier { gap: 18px; padding: 36px; }
.tier__badge { padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 13px; font-weight: 600; }
.tier__for { min-height: 3.2em; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.tier__price { display: flex; align-items: baseline; gap: 10px; min-height: 64px; margin-top: 4px; }
.tier__amount { font-size: clamp(44px, 4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.tier__amount--soon { font-size: clamp(26px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.tier__unit { font-size: 18px; color: var(--text-3); }
.tier__note { margin-top: -8px; font-size: 14px; color: var(--text-3); }
.tier__btn { justify-content: center; width: 100%; }
.plan--dark hr { border-top-color: rgba(120,150,0,.22); }
.tier__amount { background: linear-gradient(180deg, var(--ink) 30%, #3A3F36 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tier__amount--soon { background: none; -webkit-text-fill-color: currentColor; }
.tier__includes { font-size: 14px; font-weight: 600; color: var(--text-2); }
.tier .checks { align-content: start; }
.tier .checks li { align-items: flex-start; font-size: 16px; line-height: 1.4; }
.tier .checks li::before { margin-top: 3px; }
@media (max-width: 1024px) { .plans--tiers .tier:nth-child(2) { order: 3; } }
@media (max-width: 1024px) { .plans--tiers { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 16px; max-width: 560px; } .plans--tiers .tier { grid-row: auto; grid-template-rows: none; } .tier__for { min-height: 0; } }
.pricing--tiers { padding-top: 8px; }
.tier-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.tier-trust li { display: flex; align-items: center; gap: 8px; }
.tier-trust li::before { content: ""; width: 16px; height: 16px; background: var(--text); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-7' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat; }
.form-note.is-plan { color: var(--text); font-weight: 500; }

/* Beta tester application (/beta): built on the contact form styles */
.bt .ct-f.bt-q legend { margin-bottom: 4px; }
.bt-hint { margin: 0 0 8px; }
.bt-checks { display: grid; gap: 12px; }
.bt-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.bt-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); cursor: pointer; }
.bt-check a { text-decoration: underline; text-underline-offset: 3px; }
.bt .ct-err { margin: 0; }
.bt .ct-f:has(.ct-err:not([hidden])) .ct-chip span { box-shadow: inset 0 0 0 1px #D64545; }
.wl__tester { margin-top: 14px; max-width: 46ch; }
.ct__ok .form-ok { margin: 0; }

/* Form error line under the sign-up forms */
.form-error { margin: 8px 0 0; color: #B3302F; font-weight: 500; }
.form-error[hidden] { display: none; }
.final .form-error, .hero .form-error { text-align: left; }
.section--dark .form-error, .footer .form-error { color: #FFB4B0; }

/* Second, light button under the sign-up forms (for example "Become a beta tester") */
.hero__alt, .final__alt { margin: 14px 0 0; }

/* Beta form: a short first screen; the extra questions sit behind one quiet row */
.bt-more { border-radius: 16px; background: var(--page); }
.bt-more summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; border-radius: 16px; }
.bt-more summary::-webkit-details-marker { display: none; }
.bt-more summary em { font-style: normal; font-weight: 400; color: var(--text-3); }
.bt-more summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.bt-more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.bt-more summary:hover { background: rgba(10,11,13,.03); }
.bt-more summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bt-more__body { display: grid; gap: 24px; padding: 4px 18px 22px; }
.bt-more .ct-f input[type="text"], .bt-more textarea { background: var(--white); }
@media (max-width: 900px) { .bt .ct__panel { order: -1; } }
@media (min-width: 901px) { .bt .ct__grid { align-items: start; } .bt .ct__panel { position: sticky; top: 96px; } }
.bt__note { margin-top: 28px; }

/* Compare table header in two rows: only the plan names stay stuck; the text and buttons scroll away. The nav hides while
   scrolling down, so the names move up to the top edge then and sit under the nav when it is shown. */
.cmp__head { top: 72px; transition: top .3s var(--ease-out); }
body:not(:has(.fbar-wrap)):has(.nav-wrap.is-hidden) .cmp__head { top: 0; }
body:has(.fbar-wrap) .cmp__head { top: 150px; }
.cmp__plan { padding: 22px 20px 12px; }
.cmp__plan.is-pro { border-radius: 20px 20px 0 0; }
.cmp__sub { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(170px, 1fr)); align-items: stretch; }
.cmp__sub .cmp__intro { padding: 0 20px 24px 0; align-self: end; }
.cmp__subcell { display: grid; gap: 12px; align-content: start; padding: 0 20px 24px; }
.cmp__subcell .btn { justify-self: start; margin-top: 2px; }
.cmp__subcell .cmp__badge { justify-self: start; font-style: normal; font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: var(--lime); color: var(--ink); white-space: nowrap; }
.cmp__subcell.is-pro { background: var(--page); }
@media (max-width: 640px) {
  .cmp__head { top: 76px; }
  body:not(:has(.fbar-wrap)):has(.nav-wrap.is-hidden) .cmp__head { top: 0; }
  body:has(.fbar-wrap) .cmp__head { top: 133px; }
  .cmp__sub { display: none; }
  .cmp__plan { padding: 16px 0 12px; }
}
.form-ok__spam { display: block; margin-top: 4px; font-size: .92em; opacity: .75; }

/* Knowledge base cards: plain and typographic. A small topic line, the question, the short answer, then reading time. */
.ocard.kbc { gap: 14px; min-height: 250px; padding: 24px; border-radius: 16px; justify-content: flex-start; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
.ocard.kbc::after { display: none; }
.ocard.kbc:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.kbc__eyebrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--text-3); }
.kbc__text { display: grid; gap: 10px; }
.kbc__title { font-size: 22px; line-height: 1.22; letter-spacing: -.018em; font-weight: 600; }
.kbc__desc { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.kbc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 13px; color: var(--text-3); }
.kbc__foot b { color: var(--text); font-weight: 600; }
.kbc__go { display: inline-flex; color: var(--ink); transition: transform 200ms var(--ease-out); }
.kbc__go svg { width: 18px; height: 18px; }
.ocard.kbc:hover .kbc__go { transform: translateX(4px); }
.ocard.kbc--soon { background: transparent; box-shadow: inset 0 0 0 1px var(--line); min-height: 200px; }
.ocard.kbc--soon .kbc__title { color: var(--text-2); font-weight: 500; }
.ocard.kbc--soon .kbc__desc { color: var(--text-3); }
.ocard.kbc--soon:hover { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 640px) { .ocard.kbc, .page-kb .ocard.kbc { display: flex; flex-direction: column; min-height: 0; padding: 20px; } }

/* Reviews block: a quote, then who said it and when */
.rv__head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 640px; }
.rv__lead { margin: 0; display: grid; grid-template-columns: 280px minmax(0, 860px); justify-content: space-between; gap: 48px; padding-bottom: clamp(32px, 4vw, 56px); }
.rv__lead .rv__who { align-self: start; padding-top: 14px; }
.rv__big { margin: 0; }
.rv__big p { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }
.rv__more { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 32px; }
.rv__more--1 { grid-template-columns: minmax(0, 560px); margin-left: auto; }
.rv__item { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.rv__quote { margin: 0; }
.rv__quote p { font-size: 19px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--text); }
.rv__who { display: flex; align-items: center; gap: 12px; }
.rv__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.rv__avatar--initials { display: grid; place-items: center; background: #E6F4AE; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.rv__name { display: grid; gap: 1px; min-width: 0; }
.rv__name b { font-size: 15px; font-weight: 600; }
.rv__name span { font-size: 13px; color: var(--text-3); }
@media (max-width: 900px) { .rv__lead { grid-template-columns: 1fr; gap: 20px; } .rv__lead .rv__who { order: 2; padding-top: 0; } .rv__more, .rv__more--1 { grid-template-columns: 1fr; margin-left: 0; gap: 32px; } }
