/* liftup.tech design system, October 2026.
   Quiet white and light-grey canvases, one brand blue, translucent chrome. Type matches the logo: the wordmark is
   Poppins Bold, so headings, nav and buttons are Poppins; long reading text is Figtree (same geometric family, narrower).
   Both self-hosted (latin subset) so no request goes to Google from EU visitors. Tokens first; components use tokens only. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/figtree-400-700.woff2) format("woff2"); }

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --bg-3: #ebebef;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-2: #e8e8ed;
  --blue: #011ef4;          /* Liftup brand blue */
  --blue-2: #0018c7;        /* pressed */
  --blue-tint: #eef1ff;
  --night: #000000;
  --night-2: #161617;
  --night-ink: #f5f5f7;
  --night-muted: #a1a1a6;
  --ok: #1a7f37;

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Poppins", "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-s: 12px; --r-m: 18px; --r-l: 28px; --r-pill: 980px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --w-text: 692px; --w-wide: 1040px; --w-max: 1200px;
  --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --shadow-2: 0 2px 6px rgba(0,0,0,.05), 0 18px 40px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-tint); }
button { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 1000; }
.skip:focus { top: 12px; }

/* ---------- type scale (tracking tightens as size grows) ---------- */
.t-hero, .t-1, .t-2, .t-3, .t-4, .prose h2, .prose h3, .card h3, .tile h3, .wcard h3, .steps b, .stat b, .faq summary, .jcard__title, .person b,
.flyout__col--lead a, .sheet summary, .sheet__plain, .tool__out b, .btn, .eyebrow, .tile__eyebrow, .gnav__link { font-family: var(--display); }
.t-hero { font-size: clamp(42px, 6.6vw, 82px); line-height: 1.06; font-weight: 600; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.t-1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.t-2 { font-size: clamp(27px, 3.3vw, 40px); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.t-3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.22; font-weight: 600; letter-spacing: -.018em; margin: 0; }
.t-4 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.016em; margin: 0; }
.lede { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-2); letter-spacing: -.008em; font-weight: 400; margin: 0; text-wrap: pretty; }
.eyebrow { font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; color: var(--blue); margin: 0 0 var(--s3); }
.eyebrow--muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); letter-spacing: -.005em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 44px, var(--w-max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 44px, var(--w-wide)); margin-inline: auto; }
.wrap--text { width: min(100% - 44px, var(--w-text)); margin-inline: auto; }
.section { padding: var(--s9) 0; }
.section--tight { padding: var(--s8) 0; }
.section--grey { background: var(--bg-2); }
.section--night { background: var(--night); color: var(--night-ink); }
.section--night .lede, .section--night .small { color: var(--night-muted); }
.section--night .eyebrow { color: #8ea0ff; }
.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 760px; }
.head { margin-bottom: var(--s7); }
.head .lede { margin-top: var(--s4); }
.stack > * + * { margin-top: var(--s4); }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: var(--r-pill);
  font-size: 16px; font-weight: 500; letter-spacing: -.005em; line-height: 1; border: 1px solid transparent; cursor: pointer; touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-2); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--blue) 70%, transparent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: color-mix(in srgb, var(--blue) 35%, transparent); }
.btn--ghost:hover { background: var(--blue-tint); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-2); }
.btn--sm { min-height: 32px; padding: 7px 14px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.center .btns { justify-content: center; }
.more { font-weight: 500; white-space: nowrap; }
.more::after { content: ""; display: inline-block; width: .42em; height: .42em; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
  transform: translateY(-.08em) rotate(45deg); margin-left: .38em; transition: transform .2s var(--ease); }
.more:hover::after { transform: translate(.18em, -.08em) rotate(45deg); }

/* ---------- global nav: translucent material ---------- */
.gnav { position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(251, 251, 253, .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.gnav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: rgba(0,0,0,.08); opacity: 0; transition: opacity .2s; }
.gnav.is-scrolled::after { opacity: 1; }
.gnav__in { height: 100%; display: flex; align-items: center; gap: var(--s5); width: min(100% - 44px, var(--w-max)); margin-inline: auto; }
.gnav__logo { display: flex; align-items: center; height: 100%; flex: none; }
.gnav__logo img { height: 24px; width: auto; filter: invert(1); }
.gnav__menu { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; height: 100%; }
.gnav__item { height: 100%; display: flex; align-items: center; }
.gnav__link { display: flex; align-items: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--ink); opacity: .82; letter-spacing: -.005em;
  background: none; border: 0; cursor: pointer; transition: opacity .2s; }
.gnav__link:hover, .gnav__link[aria-expanded="true"], .gnav__link[aria-current="page"] { opacity: 1; text-decoration: none; color: var(--blue); }
.gnav__link[aria-current="page"] { font-weight: 600; }
.gnav__link { transition: opacity .2s, color .2s; }
.gnav__cta { flex: none; }
.gnav__burger { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; position: relative; }
.gnav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.gnav__burger span:nth-child(1) { top: 18px; } .gnav__burger span:nth-child(2) { top: 25px; }
.is-sheet .gnav__burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.is-sheet .gnav__burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* flyout panel: grows down from the bar, content fades in after */
.flyout { position: absolute; left: 0; right: 0; top: var(--nav-h); background: rgba(251, 251, 253, .96);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 24px 40px -24px rgba(0,0,0,.18); visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .32s var(--ease-out), visibility 0s .32s; }
.flyout.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .22s var(--ease), transform .32s var(--ease-out), visibility 0s; }
.flyout__in { width: min(100% - 44px, var(--w-wide)); margin-inline: auto; padding: 36px 0 48px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
.flyout__col h3 { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 0 0 12px; }
.flyout__col ul { list-style: none; margin: 0; padding: 0; }
.flyout__col li + li { margin-top: 8px; }
.flyout__col a { color: var(--ink); font-size: 14px; font-weight: 500; }
.flyout__col--lead a { font-size: 20px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.flyout__col--lead li + li { margin-top: 6px; }
.flyout__col a:hover { color: var(--blue); text-decoration: none; }
.scrim { position: fixed; inset: var(--nav-h) 0 0 0; background: rgba(232, 232, 237, .4); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; z-index: 90; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }

/* mobile sheet */
.sheet { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 0 48px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .24s var(--ease), transform .36s var(--ease-out), visibility 0s .36s; }
.is-sheet .sheet { visibility: visible; opacity: 1; transform: none; transition: opacity .24s var(--ease), transform .36s var(--ease-out), visibility 0s; }
.sheet__in { width: min(100% - 48px, 560px); margin-inline: auto; }
.sheet details { border-bottom: 1px solid var(--line-2); }
.sheet summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.sheet details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.sheet ul { list-style: none; margin: 0; padding: 0 0 16px; }
.sheet li a { display: block; padding: 9px 0; font-size: 17px; color: var(--ink); }
.sheet__plain { display: block; min-height: 56px; line-height: 56px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.sheet .btn { width: 100%; margin-top: 28px; }
body.is-sheet { overflow: hidden; }

/* ---------- breadcrumbs ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- page hero ---------- */
.phero { padding: var(--s8) 0 var(--s7); text-align: center; }
.phero .eyebrow { margin-bottom: var(--s4); }
.phero .lede { margin: var(--s5) auto 0; max-width: 780px; }
.phero .btns { margin-top: var(--s6); justify-content: center; }
.phero--left { text-align: left; }
.phero--left .lede { margin-left: 0; }
.phero--left .btns { justify-content: flex-start; }
.phero__media { margin-top: var(--s8); }
.media { border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); }
.media img { width: 100%; }

/* ---------- home hero ---------- */
.hhero { padding: clamp(56px, 9vw, 112px) 0 var(--s8); text-align: center; overflow: hidden; }
.hhero .lede { max-width: 760px; margin: var(--s5) auto 0; }
.hhero .btns { justify-content: center; margin-top: var(--s6); }
.hhero__meta { margin-top: var(--s5); font-size: 14px; color: var(--muted); }

/* signature: one search, three answers (Google result, AI answer, the website) */
.journey { margin: clamp(48px, 7vw, 88px) auto 0; width: min(100% - 44px, 1120px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.jcard { background: var(--bg-2); border-radius: var(--r-l); padding: 26px 26px 28px; min-height: 300px; display: flex; flex-direction: column; position: relative; }
.jcard__label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.jcard__title { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin: 6px 0 18px; }
.jq { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--r-pill); padding: 10px 16px; font-size: 14px; color: var(--ink-2); box-shadow: var(--shadow-1); }
.jq svg { flex: none; }
.jres { margin-top: 16px; display: grid; gap: 12px; }
.jres__row { background: #fff; border-radius: var(--r-m); padding: 12px 14px; box-shadow: var(--shadow-1); }
.jres__row b { display: block; font-size: 14px; color: var(--blue); font-weight: 600; letter-spacing: -.01em; }
.jres__row span { font-size: 12px; color: var(--muted); }
.jres__row--you { outline: 2px solid var(--blue); outline-offset: 0; }
.jans { margin-top: 16px; background: #fff; border-radius: var(--r-m); padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); box-shadow: var(--shadow-1); }
.jans .cite { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--blue-tint); color: var(--blue); font-size: 12px; font-weight: 600; vertical-align: 1px; }
.jsite { margin-top: 16px; background: #fff; border-radius: var(--r-m); box-shadow: var(--shadow-1); overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.jsite__bar { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.jsite__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.jsite__body { padding: 16px; display: grid; gap: 8px; align-content: start; }
.jsite__body i { display: block; height: 8px; border-radius: 6px; background: var(--bg-3); }
.jsite__body i.w1 { width: 72%; height: 14px; background: var(--ink); } .jsite__body i.w2 { width: 90%; } .jsite__body i.w3 { width: 60%; }
.jsite__cta { margin-top: 8px; width: 46%; height: 30px; border-radius: var(--r-pill); background: var(--blue); }
.jsite__toast { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--ok); }
.jcard__foot { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.reveal-seq > * { opacity: 0; transform: translateY(10px); }
.is-in .reveal-seq > * { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.is-in .reveal-seq > *:nth-child(2) { transition-delay: .12s; } .is-in .reveal-seq > *:nth-child(3) { transition-delay: .24s; }

/* ---------- tiles (Apple product tiles) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; background: var(--bg-2); border-radius: var(--r-l); padding: 36px 32px 32px; color: var(--ink);
  overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.section--grey .tile { background: #fff; }
a.tile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-2); }
a.tile:active { transform: scale(.99); }
.tile__eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); }
.tile h3 { margin: 8px 0 10px; transition: color .25s; }
a.tile:hover h3 { color: var(--blue); }
.tile p { margin: 0; color: var(--ink-2); font-size: 17px; }
.tile ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.tile ul li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin: 0 10px 3px 0; }
.tile .more { margin-top: auto; padding-top: 24px; color: var(--blue); }
.tile--night { background: var(--night-2); color: var(--night-ink); }
.tile--night p, .tile--night ul { color: var(--night-muted); }
.tile__img { margin: 24px -32px -32px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
a.tile:hover .tile__img img { transform: scale(1.03); }

/* small link cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: block; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 22px 22px 24px; color: var(--ink);
  transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease-out); }
.section--grey .card { border-color: transparent; }
a.card:hover { text-decoration: none; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card__k { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.card h3 { font-size: 18px; line-height: 1.32; font-weight: 600; letter-spacing: -.012em; margin: 8px 0 6px; transition: color .2s; }
a.card { position: relative; padding-right: 44px; }
a.card::after { content: ""; position: absolute; right: 22px; top: 26px; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-top: 2px solid var(--blue);
  transform: translateX(-6px) rotate(45deg); opacity: 0; transition: opacity .2s, transform .3s var(--ease-out); }
a.card:hover { border-color: color-mix(in srgb, var(--blue) 30%, transparent); }
a.card:hover h3 { color: var(--blue); }
a.card:hover::after { opacity: 1; transform: rotate(45deg); }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.47; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { text-align: center; padding: 8px; }
.stat b { display: block; font-size: clamp(42px, 5.4vw, 66px); font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg-2); border-radius: var(--r-m); padding: 22px 22px 24px; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.steps li:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.steps li:hover::before { background: var(--blue); }
.section--grey .steps li { background: #fff; }
.steps li::before { content: counter(s); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; font-variant-numeric: tabular-nums; transition: background-color .25s; }
.steps b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.steps span { color: var(--ink-2); font-size: 15px; }

/* ---------- article / prose ---------- */
.answer { background: linear-gradient(135deg, var(--blue-tint), #f7f8ff 70%); border-radius: var(--r-l); padding: 28px 32px; margin: 0 auto var(--s8); box-shadow: inset 4px 0 0 var(--blue); }
.answer__k { font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .02em; text-transform: uppercase; margin: 0 0 8px; }
.answer p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.prose { font-size: 18px; line-height: 1.7; letter-spacing: -.003em; color: var(--ink-2); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(24px, 2.7vw, 31px); line-height: 1.2; letter-spacing: -.022em; font-weight: 600; margin-top: 2.3em; text-wrap: balance; color: var(--ink); }
.prose h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; background: var(--blue); margin-bottom: 18px; transition: width .5s var(--ease-out); }
.prose h2.is-in::before { width: 48px; }
.prose h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.012em; font-weight: 600; margin-top: 1.7em; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose a { transition: color .2s, text-decoration-color .2s; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); text-underline-offset: .18em; }
.prose a:hover { text-decoration-color: var(--blue); color: var(--blue-2); }
.prose strong { font-weight: 600; }
.prose .note { background: var(--blue-tint); border-radius: var(--r-m); padding: 18px 22px; font-size: 17px; line-height: 1.55; color: var(--ink); box-shadow: inset 3px 0 0 var(--blue); }
.prose figure, .prose .media { margin-top: 2em; margin-bottom: 2em; }
.prose .steps { margin-top: 1.4em; padding-left: 0; }
.prose .steps li + li { margin-top: 0; }
.prose .steps li { font-size: 15px; }
.prose .cards { grid-template-columns: repeat(2, 1fr); margin-top: 1.4em; }
.prose .card { border-color: var(--line-2); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease-out); }
.prose .card:hover { border-color: color-mix(in srgb, var(--blue) 30%, transparent); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.prose .card:hover h3 { color: var(--blue); }
.prose .card h3 { margin: 0 0 6px; font-size: 19px; }
.prose .card ul { margin: 10px 0 0; padding-left: 1.1em; font-size: 15px; color: var(--ink-2); }
.prose .card li + li { margin-top: 4px; }
.tablewrap { overflow-x: auto; margin-top: 1.4em; border-radius: var(--r-m); border: 1px solid var(--line-2); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; letter-spacing: -.01em; min-width: 520px; }
.prose th { text-align: left; font-weight: 600; background: var(--bg-2); padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; transition: background-color .15s; }
.prose tbody tr:hover td { background: #f7f8ff; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { font-weight: 600; color: var(--ink); }
.srcs { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.srcs a { color: var(--muted); text-decoration: underline; }
.updated { font-size: 14px; color: var(--muted); margin-top: var(--s5); }

.midcta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 2.4em 0 0; padding: 22px 26px; border-radius: var(--r-m);
  background: var(--night); color: var(--night-ink); }
.midcta p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.012em; color: #fff; }
.midcta span { display: block; font-family: var(--font); font-weight: 400; font-size: 15px; color: var(--night-muted); margin-top: 2px; }
.prose .midcta a { text-decoration: none; }

/* ---------- FAQ: details that animate height ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.012em; line-height: 1.35; transition: color .2s; }
.faq summary:hover, .faq details[open] summary { color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background:
  linear-gradient(var(--ink), var(--ink)) center / 14px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 14px no-repeat; transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta .btns { justify-content: center; margin-top: var(--s6); }

/* ---------- work grid ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wcard { display: block; color: var(--ink); }
.wcard:hover { text-decoration: none; }
.wcard__img { border-radius: var(--r-l); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.wcard:hover .wcard__img img { transform: scale(1.03); }
.wcard__k { margin-top: 16px; font-size: 14px; color: var(--muted); }
.wcard h3 { margin: 4px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.015em; transition: color .2s; }
.wcard:hover h3 { color: var(--blue); }
.wcard__img { transition: box-shadow .5s var(--ease-out); }
.wcard:hover .wcard__img { box-shadow: var(--shadow-2); }
.wcard__r { margin-top: 4px; font-size: 15px; color: var(--blue); font-weight: 600; }

/* client logos and people */
/* proof band: count-up stats over a slow logo marquee. The logos are the light-on-dark versions from the live site,
   trimmed and sized by visual weight (tools/prep_logos.py), so they sit on the dark band at an even optical size. */
.proof { background: var(--night); color: var(--night-ink); padding: var(--s9) 0 var(--s8); overflow: hidden; }
.proof .stats { margin-bottom: var(--s8); }
.proof .stat span { color: var(--night-muted); }
.proof .stat b { background: linear-gradient(180deg, #fff 30%, #b9c3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof__k { text-align: center; font-size: 13px; color: var(--night-muted); margin: 0 0 var(--s6); letter-spacing: .02em; }
.marquee { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .logos { animation-play-state: paused; }
.logos li { flex: none; display: flex; align-items: center; }
.logos img { width: auto; max-width: none; opacity: .78; filter: saturate(.85); transition: opacity .25s, filter .25s, transform .3s var(--ease-out); }
.logos li:hover img { opacity: 1; filter: none; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.person { margin: 0; }
.person img { border-radius: var(--r-l); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; background: var(--bg-2); }
.person figcaption { margin-top: 12px; }
.person b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.016em; }
.person span { color: var(--muted); font-size: 15px; }

/* index lists (guides, glossary, compare) */
.filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: var(--s6); }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 500; border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.chip:hover { background: var(--blue-tint); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.list { columns: 3 280px; column-gap: 40px; list-style: none; margin: 0; padding: 0; }
.list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.list a { color: var(--ink); font-size: 15px; display: inline-block; transition: color .2s, transform .25s var(--ease-out); }
.list a:hover { color: var(--blue); text-decoration: none; transform: translateX(4px); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.form { background: var(--bg-2); border-radius: var(--r-l); padding: 32px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .legend { font-size: 14px; font-weight: 600; letter-spacing: -.005em; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff;
  font: 400 17px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent); }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0 18px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.opt input:checked + span { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); font-weight: 600; }
.opt input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 2px; }
.form__done { text-align: center; padding: 32px 0; }
.form__err { color: #b3261e; font-size: 14px; margin: -8px 0 12px; }
.offices { display: grid; gap: 20px; margin-top: var(--s6); }
.offices b { display: block; font-size: 15px; }
.offices span { color: var(--muted); font-size: 15px; }

/* ---------- tool widget ---------- */
.tool { background: var(--bg-2); border-radius: var(--r-l); padding: 32px; margin: 0 auto var(--s8); }
.tool__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.tool__out { margin-top: 24px; background: #fff; border-radius: var(--r-m); padding: 22px 24px; }
.tool__out b { font-size: clamp(30px, 3.6vw, 40px); font-weight: 600; letter-spacing: -.03em; display: block; font-variant-numeric: tabular-nums; }
.tool__out span { color: var(--muted); font-size: 14px; }

/* ---------- footer: a directory of the whole site ---------- */
.foot { background: var(--bg-2); color: var(--muted); font-size: 12px; line-height: 1.5; padding: 40px 0 28px; }
.foot__note { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot__dir { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding: 24px 0 28px; }
.foot__dir h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 8px; letter-spacing: -.005em; }
.foot__dir ul { list-style: none; margin: 0; padding: 0; }
.foot__dir li { margin: 0 0 7px; }
.foot__dir a { color: var(--ink-2); transition: color .2s; }
.foot__dir a:hover { color: var(--blue); }
.foot__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.foot__bottom a { color: var(--ink-2); }

/* ---------- scroll reveal (once, subtle) ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .9s var(--ease-out); }
.rv.is-in { opacity: 1; transform: none; }
.no-js .rv, .no-js .reveal-seq > * { opacity: 1; transform: none; }
.rv2 { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.rv2.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1068px) {
  .gnav__menu, .gnav__cta { display: none; }
  .gnav__burger { display: block; margin-left: auto; }
  .flyout, .scrim { display: none; }
  .foot__dir { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: 1fr; max-width: 560px; }
  .jcard { min-height: 0; }
}
@media (max-width: 834px) {
  .section { padding: var(--s8) 0; }
  .tiles, .tiles--2, .cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .work { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr !important; gap: 28px; }
  .people { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .prose { font-size: 17px; }
  .answer { padding: 22px; }
  .answer p { font-size: 17px; }
  .tile { padding: 28px 24px 26px; }
  .tile__img { margin: 20px -24px -26px; }
  .form, .tool { padding: 22px; }
  .tool__grid { grid-template-columns: 1fr; }
  .prose .cards { grid-template-columns: 1fr; }
  .foot__dir { grid-template-columns: repeat(2, 1fr); }
  .faq__a > div { padding-right: 0; }
}

/* ---------- user preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv, .rv2, .reveal-seq > * { opacity: 1; transform: none; }
  .logos { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 32px 48px; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .logos li[aria-hidden] { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav, .flyout { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .scrim { background: rgba(0,0,0,.25); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #3a3a3c; --line: #8e8e93; --line-2: #aeaeb2; }
  .btn--ghost { border-color: var(--blue); }
}
@media (max-width: 360px) { .opts { grid-template-columns: 1fr; } }
@media print {
  .gnav, .flyout, .scrim, .sheet, .foot, .cta { display: none; }
}
