/* Resolve landing page. Motion timings follow the measured template specs; see site.js for the scripted parts. */

:root {
  --bg: #FAFAFA;
  --ink: #000;
  --ink2: rgba(0, 0, 0, .7);
  --ink3: rgba(0, 0, 0, .6);
  --line: rgba(0, 0, 0, .1);
  --blue: #012BFF;
  --blue-d: #0225D4;
  --sky: #09AEFF;
  --card: #F6F8F7;
  --green: #2BB673;
  /* Springs sampled into linear() so CSS and WAAPI share one curve. */
  --fade: linear(0, .078, .235, .401, .549, .669, .762, .831, .882, .918, .944, .962, .974, .982, .988, .992, .995, .996, .998, .998, 1);
  --text: cubic-bezier(.27, 0, .51, 1);
  --snap: cubic-bezier(.34, 1.25, .64, 1);
  /* Spring, damping ~.8: 42% at 50ms, 99% at 150ms, peaks 1.5% over at 200ms (400ms run). */
  --spring: linear(0, .102, .308, .522, .7, .832, .92, .972, 1, 1.012, 1.015, 1.014, 1.011, 1.007, 1.005, 1.003, 1.001, 1, 1, 1, 1);
  --h2-gap: clamp(56px, 7vw, 96px);
  --out: cubic-bezier(.25, 1, .5, 1);
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 400 16px/1.6 Geist, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.1px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
/* Sections focused by the in-page link handler (site.js) take focus without a ring. */
[tabindex="-1"]:focus { outline: none; }
.cta :focus-visible { outline-color: #fff; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 16px; }
.icon { width: 20px; height: 20px; flex: none; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding-top: clamp(96px, 16vw, 240px); }
.section--last { padding-bottom: clamp(96px, 10vw, 160px); }
.h2 { font-weight: 500; font-size: clamp(32px, 1.5vw + 25px, 46px); line-height: 1.1; letter-spacing: -.025em; max-width: 540px; text-wrap: balance; }
.center { text-align: center; margin-inline: auto; }
h3 { font-weight: 500; font-size: 20px; line-height: 1.24; letter-spacing: -.01em; text-wrap: balance; }
@media (max-width: 1000px) { .h2 { line-height: 1.2; } }
/* Phones and tablets share one type size. */
@media (max-width: 810px) { .h2 { font-size: 36px; } }
/* Narrow tablets read best as one centred column, like the phone layout. */
@media (min-width: 641px) and (max-width: 900px) { .wrap { width: min(500px, 100% - 32px); } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px;
  border: 0; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--blue); color: #fff; transition: background-color .2s var(--out); }
.btn--sm { height: 40px; padding: 0 14px; font-size: 15px; }

/* -------------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 16px 0; pointer-events: none; }
.nav__in {
  pointer-events: auto; position: relative; max-width: 1200px; height: 54px; margin: 0 auto; padding: 6px 7px 6px 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid rgba(0, 0, 0, .08); border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.brand .mark { width: auto; }
.nav__menu { display: contents; }
.nav__links { position: absolute; left: 50%; translate: -50% 0; display: flex; gap: 32px; }
.nav__links a, .foot__links a { color: var(--ink3); text-decoration: none; }
.nav__toggle {
  display: none; place-items: center; width: 44px; height: 44px; padding: 0; flex: none;
  background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.nav__toggle[aria-expanded="false"] .icon:last-child, .nav__toggle[aria-expanded="true"] .icon:first-child { display: none; }
/* Below 1200px the bar grows into a full-height card holding the links and the waitlist button.
   It runs past the bottom edge, so its lower corners never show. */
@media (max-width: 1199px) {
  .nav__in {
    height: 58px; padding: 6px 6px 6px 16px; align-items: flex-start; border-radius: 29px; overflow: hidden;
    transition: height .4s cubic-bezier(.34, 1.12, .64, 1);
  }
  .nav.is-open .nav__in { height: calc(100dvh + 16px); }
  .nav__toggle { display: grid; }
  .no-js .nav__toggle { display: none; }
  .nav__menu { position: absolute; inset: 64px 0 auto; padding: 0 24px; display: grid; justify-items: start; gap: 24px; visibility: hidden; }
  .nav.is-open .nav__menu { visibility: visible; }
  .nav__links { position: static; translate: none; display: grid; gap: 0; }
  .nav__links a { display: flex; align-items: center; min-height: 46px; }
  .btn--sm { height: 44px; }
  /* Without JS the menu cannot open: keep the waitlist button in the bar instead. */
  .no-js .nav__links { display: none; }
  .no-js .nav__menu { position: static; display: block; visibility: visible; padding: 0; }
}
@media (max-width: 809px) { .nav__in { max-width: 500px; } }
html.menu-open { overflow: hidden; }

/* ------------------------------------------------------------- sky field */
/* Cyan field with deeper corners top right and bottom right (--br sets how deep the lower one goes). */
.sky {
  --sky-bg:
    linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, .45) 38% 58%, transparent 66%),
    radial-gradient(90% 70% at 12% 8%, rgba(255, 255, 255, .3), transparent 70%),
    radial-gradient(55% 45% at 92% 0%, #21B6FF, transparent),
    radial-gradient(60% 50% at 94% 100%, var(--br, #5CC8FF), transparent 75%),
    linear-gradient(160deg, #B4E6FF, #8FD7FF 50%, #74CEFF);
  position: relative; isolation: isolate; overflow: hidden; background: var(--sky-bg);
}
/* Small skies (steps, modes): saturated cyan with a crisp white ribbon and a thinner one beside it, no deep corners.
   --band-a and --band-x set each panel's own angle and offset, so no two read as the same tile. */
.sky--light {
  --band-a: 118deg; --band-x: 0%;
  --sky-bg:
    linear-gradient(var(--band-a), transparent calc(var(--band-x) + 30%), rgba(255, 255, 255, .65) calc(var(--band-x) + 33%) calc(var(--band-x) + 49%), transparent calc(var(--band-x) + 52%)),
    linear-gradient(var(--band-a), transparent calc(var(--band-x) + 58%), rgba(255, 255, 255, .45) calc(var(--band-x) + 60%) calc(var(--band-x) + 63%), transparent calc(var(--band-x) + 65%)),
    radial-gradient(90% 70% at 12% 8%, rgba(255, 255, 255, .3), transparent 70%),
    linear-gradient(160deg, #A6DFFF, #7FCDFF);
}
.step:nth-child(2) .sky--light { --band-a: 104deg; --band-x: -12%; }
.step:nth-child(3) .sky--light { --band-a: 134deg; --band-x: 9%; }
.mode + .mode .sky--light { --band-a: 110deg; --band-x: 10%; }
/* Fine 1px white grain over the whole panel, twice as strong where it dithers the edges of the light band.
   Mask layers add up: a flat 45% layer for the grain plus the band edges at full strength. */
.sky::after {
  --grain-at: linear-gradient(118deg, transparent 27%, #000 33% 35%, transparent 41% 55%, #000 61% 63%, transparent 69%);
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 3 0 0 0 -1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-image: var(--grain-at), linear-gradient(rgba(0, 0, 0, .45) 0 0);
  mask-image: var(--grain-at), linear-gradient(rgba(0, 0, 0, .45) 0 0);
}
.sky--light::after {
  --grain-at: linear-gradient(var(--band-a), transparent calc(var(--band-x) + 27%), #000 calc(var(--band-x) + 31%) calc(var(--band-x) + 34%), transparent calc(var(--band-x) + 38%) calc(var(--band-x) + 44%),
    #000 calc(var(--band-x) + 48%) calc(var(--band-x) + 51%), transparent calc(var(--band-x) + 55%));
}
/* Woven hatch: soft dark-cyan 45 degree lines (6px apart across), deepest where the field is deep.
   Mask layers add up: a flat base plus the two deep corners. */
.sky--hatch::before {
  --hatch: 4.24px; --hatch-w: .25; --hatch-d: .4;
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, var(--hatch-w)) 0 calc(var(--hatch) * .24), transparent calc(var(--hatch) * .47) calc(var(--hatch) * .57), rgba(0, 150, 240, var(--hatch-d)) calc(var(--hatch) * .75) var(--hatch));
  -webkit-mask-image: radial-gradient(55% 50% at 92% 0%, #000, transparent), radial-gradient(60% 50% at 94% 100%, #000, transparent), linear-gradient(rgba(0, 0, 0, .85) 0 0);
  mask-image: radial-gradient(55% 50% at 92% 0%, #000, transparent), radial-gradient(60% 50% at 94% 100%, #000, transparent), linear-gradient(rgba(0, 0, 0, .85) 0 0);
}
/* Phones: a finer weave (4px across) so the thin panel frame reads as texture rather than stripes. */
@media (max-width: 640px) { .sky--hatch::before { --hatch: 2.83px; } }
/* Feature panels only carry a fine, faint weave; the strong hatch belongs to the hero. */
.fcard__vis.sky--hatch::before { --hatch: 2.83px; --hatch-w: .15; --hatch-d: .15; }
.glass { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 16px; }

/* ------------------------------------------------- shared loop primitives */
.dots { display: grid; grid-template-columns: repeat(3, 6px); gap: 2px; flex: none; }
.dots i { width: 6px; height: 6px; border-radius: 4px; background: #315BE8; opacity: 0; animation: dot 1.5s linear infinite; animation-delay: calc(var(--d) * 100ms); }
@keyframes dot {
  0% { opacity: 0; animation-timing-function: ease; }
  30% { opacity: 1; animation-timing-function: ease; }
  60%, 100% { opacity: 0; }
}
/* A dark band sweeps left to right across grey text, then rests. */
.shimmer {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .4) 0 40%, #000 50%, rgba(0, 0, 0, .4) 60% 100%);
  background-size: 250% 100%; background-position: 100% 0;
  animation: shimmer var(--sh, 1.3s) linear infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 62%, 100% { background-position: 0 0; } }
.spin { width: 24px; height: 24px; flex: none; border: 2px solid rgba(1, 43, 255, .1); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.ok { color: var(--green); width: 24px; height: 24px; stroke-width: 2; }
.beam { fill: none; stroke: #09AEFF; stroke-opacity: .35; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.beam--grey { stroke: #000; stroke-opacity: .08; stroke-width: 2; }
.pulse { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Constant-speed marquees and tickers: two identical sets, slide one set's length. site.js sets --dur from data-speed. */
.track { display: flex; width: max-content; animation: slide-x var(--dur, 30s) linear infinite; }
.track--rev { animation-direction: reverse; }
@keyframes slide-x { to { transform: translateX(-50%); } }
.vtrack { animation: slide-y var(--dur, 7s) linear infinite; }
@keyframes slide-y { to { transform: translateY(-50%); } }
.is-off, .is-off *, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
/* Without JS there is no pause button: hovering or focusing a section holds its loops. */
.no-js [data-loop]:is(:hover, :focus-within) * { animation-play-state: paused; }

/* ------------------------------------------------------------------- hero */
.hero { padding-top: clamp(116px, 5vw + 72px, 150px); text-align: center; }
.hero h1 {
  max-width: 660px; text-wrap: balance; margin: 0 auto; font-weight: 500; font-size: clamp(36px, 3.3vw + 21px, 68px); line-height: 1.15; letter-spacing: -.02em;
}
.hero h1 .ln { display: block; animation: text-in .5s var(--text) both; }
.hero h1 .ln + .ln { animation-delay: 50ms; }
@keyframes text-in { from { opacity: 0; transform: translateY(10px); filter: blur(5px); } }
.hero__lead { max-width: 560px; margin: 16px auto 0; font-size: 18px; line-height: 1.55; color: var(--ink2); animation: lead-in .5s var(--text) .5s both; }
@keyframes lead-in { from { opacity: 0; transform: translateY(10px); filter: blur(2px); } }
.hero__join { margin-top: 28px; animation: fade-in 1s var(--fade) .8s both; }
@keyframes fade-in { from { opacity: 0; } }

.join { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.join__input {
  width: min(300px, 100%); height: 46px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: inherit; font: inherit;
}
.join__input:focus-visible { outline-offset: 1px; }
.join__done { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.join__done .icon { color: var(--green); }
.join__error { margin-top: 12px; color: #C62828; font-size: 15px; }
@media (max-width: 520px) { .join__input, .join .btn { width: 100%; } }

.hero__panel {
  --br: #21B6FF;
  margin-top: 48px; padding: 56px 24px; border-radius: 24px; display: flex; justify-content: center;
  /* Thin curved light arcs across the right, a glow along the main one, and soft brushy light along the top edge. */
  background:
    radial-gradient(151% 226% at 184% 189%, transparent calc(100% - 1.5px), rgba(255, 255, 255, .9) 100%, transparent calc(100% + 1.5px)),
    radial-gradient(151% 226% at 184% 189%, transparent calc(100% - 16px), rgba(255, 255, 255, .3) 100%, transparent calc(100% + 16px)),
    radial-gradient(140% 214% at 186% 196%, transparent calc(100% - 1px), rgba(255, 255, 255, .7) 100%, transparent calc(100% + 1px)),
    radial-gradient(118% 160% at 150% 220%, transparent calc(100% - 1px), rgba(255, 255, 255, .6) 100%, transparent calc(100% + 1px)),
    radial-gradient(30% 5% at 24% 8%, rgba(255, 255, 255, .6), transparent),
    radial-gradient(24% 4% at 46% 4%, rgba(255, 255, 255, .5), transparent),
    radial-gradient(28% 5% at 10% 17%, rgba(255, 255, 255, .45), transparent),
    radial-gradient(20% 4% at 34% 15%, rgba(255, 255, 255, .4), transparent),
    radial-gradient(26% 5% at 62% 10%, rgba(255, 255, 255, .3), transparent),
    radial-gradient(70% 24% at 42% 0%, rgba(33, 182, 255, .75), transparent),
    var(--sky-bg);
  animation: fade-in 1s var(--fade) 1s both;
}
/* The panel's own entrance must finish even if the visitor scrolls away; only the loops inside it pause. */
.hero__panel.is-off, .hero__panel.is-paused { animation-play-state: running !important; }
/* In the hero the grain gathers along the curved streak instead of the band edges. */
.hero__panel::after { --grain-at: radial-gradient(151% 226% at 184% 189%, transparent calc(100% - 40px), #000 100%, transparent calc(100% + 40px)); }
.chat {
  width: 480px; max-width: 100%; height: 588px; padding: 0 20px 20px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 20px;
  box-shadow: 0 .6px .6px -1.25px rgba(0, 0, 0, .18), 0 2.3px 2.3px -2.5px rgba(0, 0, 0, .16), 0 10px 10px -3.75px rgba(0, 0, 0, .06);
}
.chat__col {
  flex: 1; min-height: 0; overflow: hidden; padding: 20px 0 8px;
  -webkit-mask-image: linear-gradient(transparent, #000 20px); mask-image: linear-gradient(transparent, #000 20px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 16px;
}
/* Soaks up spare space so rows stack from the top; on overflow it collapses and the column stays bottom-anchored. */
.chat__col::after { content: ""; margin-bottom: auto; }
.chat__item { flex: none; }
.chat__item--user { display: flex; justify-content: flex-end; }
.bubble { width: fit-content; max-width: 334px; padding: 12px 16px; border-radius: 16px; background: rgba(0, 0, 0, .05); }
.chat__think { display: flex; align-items: center; gap: 16px; }
.chat__think .shimmer { --sh: 1.03s; }
.chat__done { display: flex; align-items: center; gap: 8px; color: rgba(0, 0, 0, .35); }
.chat__done .icon, .chat__done img { width: 16px; height: 16px; flex: none; }
.chat__done span img { display: inline; vertical-align: -3px; margin: 0 4px 0 2px; }
.chat__done span b { font-weight: inherit; }
.chat__sugg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.chat__label { color: var(--ink2); opacity: .5; margin-bottom: 6px; }
.pill { padding: 10px 16px; border-radius: 999px; background: rgba(9, 174, 255, .2); }
.chat__input {
  flex: none; height: 88px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); color: var(--ink3);
  display: flex; flex-direction: column; justify-content: space-between;
}
.chat__tools { display: flex; align-items: center; gap: 12px; color: rgba(0, 0, 0, .45); }
.chat__tools .icon { width: 16px; height: 16px; }
.chat__tools .grow { flex: 1; }
.send { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
@media (max-width: 900px) { .hero__panel { padding: 24px 16px; } }
@media (max-width: 810px) { .hero h1 { font-size: 42px; } }
@media (max-width: 640px) {
  .hero h1 .ln { display: inline; }
  .hero__panel { margin-top: 24px; }
  .chat { height: 584px; padding: 0 16px 16px; }
  .bubble { max-width: 90%; }
}

/* ------------------------------------------------------- integrations strip */
.strip { padding-top: clamp(110px, 12.5vw, 180px); }
.strip__head { position: relative; display: flex; justify-content: center; align-items: center; gap: 12px; }
.strip__label { font-weight: 400; font-size: 16px; color: var(--ink2); }
.strip__row { margin-top: 32px; }
/* Pauses every looping animation on the page (WCAG 2.2.2). */
.strip__pause {
  width: 32px; height: 32px; padding: 0; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink3); cursor: pointer;
}
@media (pointer: coarse) { .strip__pause { width: 44px; height: 44px; } }
/* Out of the label's flow where there is room, so the label sits truly centred. */
@media (min-width: 811px) { .strip__pause { position: absolute; right: 0; } }
.strip__pause .icon { width: 14px; height: 14px; }
[aria-pressed="false"] > .icon + .icon, [aria-pressed="true"] > .icon:first-child { display: none; }
/* Four 300px slots (2x2 on phones); each swaps to its next logo with a slide and blur (site.js).
   Square marks 30px with a label, wordmarks 22px tall, so every slot carries about the same weight. */
.cycle { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 16px; }
.cycle li { position: relative; height: 40px; overflow: hidden; }
.cycle span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transform: translateY(100%); filter: blur(4px);
  transition: transform .6s var(--out), opacity .6s var(--out), filter .6s var(--out);
}
.cycle .is-in { opacity: 1; transform: none; filter: none; }
.cycle .is-out { transform: translateY(-100%); }
.cycle .logo-img--mark { width: 30px; height: 30px; object-fit: contain; }
.cycle .logo-img--word { height: 22px; width: auto; max-width: 150px; object-fit: contain; }
.cycle b { font-weight: 500; font-size: 18px; white-space: nowrap; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; }
/* Two columns for as long as the page runs in the narrow 500px column. */
@media (max-width: 900px) { .cycle { grid-template-columns: 1fr 1fr; } .cycle b { font-size: 15px; } }
@media (max-width: 360px) { .cycle b { font-size: 14px; } }
/* Without JS or with reduced motion nothing rotates: each slot lists all of its logos. */
.no-js .cycle li { height: auto; display: grid; gap: 16px; }
.no-js .cycle span { position: static; height: 40px; opacity: 1; transform: none; filter: none; }
.logo-pill { font-weight: 500; white-space: nowrap; }

/* ------------------------------------------------------------- two modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: var(--h2-gap); }
.mode { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.mode__in { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card); border-radius: 16px; overflow: clip; }
.mode__vis { height: 480px; display: grid; place-items: center; padding: 24px; }
.mode__txt { padding: 24px 32px 32px; display: grid; gap: 8px; }
.mode__txt h3 { font-size: 24px; }
.mode__txt p { max-width: 470px; color: var(--ink2); }
/* Parts of a mode mock that have not arrived yet are invisible, frame and all: never an empty box. */
.is-wait { opacity: 0; }
@media (max-width: 900px) {
  .modes { grid-template-columns: 1fr; }
  /* Both visuals share one height, so the two cards line up. */
  .mode__vis { height: auto; min-height: 440px; padding: 20px 16px; }
  .mode__txt { padding: 20px 24px 24px; }
}

/* PSA: a neutral, unbranded helpdesk queue (cool greys, square-ish corners, slate accent; ported from the films' kit).
   Grace's ticket arrives, Resolve takes it, works it on her Mac and writes the note back, then it closes inside the SLA. */
.psa {
  --pl: #d9dee5; --pls: #e8ebef; --pi: #1d2630; --pi2: #4b5662; --pi3: #7a8592; --pac: #3b6188; --pok: #2f7d4f;
  position: relative; width: min(480px, 100%); overflow: hidden; font-size: 13px; line-height: 1.4; color: var(--pi);
  background: #fff; border: 1px solid var(--pl); border-radius: 10px;
  box-shadow: 0 .6px .6px -1.25px rgba(0, 0, 0, .18), 0 2.3px 2.3px -2.5px rgba(0, 0, 0, .16), 0 10px 10px -3.75px rgba(0, 0, 0, .06);
}
.psa .icon { width: 14px; height: 14px; flex: none; }
.psa__top { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #f7f8fa; border-bottom: 1px solid var(--pl); }
.psa__top b { font-weight: 500; }
.psa__n { min-width: 20px; padding: 0 6px; border-radius: 9px; background: var(--pi); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.psa__up { margin-left: auto; font-size: 12px; color: var(--pi3); font-variant-numeric: tabular-nums; }
/* Three rows show; a fourth waits underneath so a new ticket pushes the oldest out of view instead of growing the card. */
.psa__rows { height: 138px; overflow: hidden; }
.psa__row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 46px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--pls); }
.psa__row--new { background: #eef3f9; box-shadow: inset 3px 0 0 var(--pac); }
.psa__row:not(.psa__row--new) { color: var(--pi2); }
.psa__id { color: var(--pac); font-size: 12px; font-variant-numeric: tabular-nums; }
.psa__sub { min-width: 0; }
.psa__sub b, .psa__sub small { display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.psa__sub b { display: block; font-weight: 500; }
.psa__sub small { font-size: 12px; color: var(--pi3); }
.psa__sub small .icon { width: 13px; height: 13px; }
.psa__pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid #d9dde4; border-radius: 4px; background: #eceef2; color: var(--pi2); font-size: 12px; font-weight: 500; white-space: nowrap; transform-origin: 0 50%; }
.psa__pill--new { border-color: #cbd9ea; background: #e3ebf5; color: #2d5888; }
.psa__pill--prog { border-color: #cfd6df; background: #e9edf2; color: #3a4757; }
.psa__pill--done { border-color: #c3e3cf; background: #e0f1e7; color: #1f6a41; }
.psa__pill--closed { border-color: #dde1e6; background: #f1f3f5; color: #66717e; }
.psa__band { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--pls); white-space: nowrap; }
.psa__band > * + * { padding-left: 12px; border-left: 1px solid var(--pls); }
.psa__who { display: flex; align-items: center; gap: 7px; font-weight: 500; transform-origin: 0 50%; }
.psa__av { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--pl); }
.psa__av .mark { width: auto; height: 12px; }
.psa__who.is-none { color: var(--pi3); font-weight: 400; }
.psa__who.is-none .psa__av { border-style: dashed; }
.psa__who.is-none .psa__av .mark { opacity: 0; }
.psa__sla { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--pi2); font-variant-numeric: tabular-nums; }
.psa__bar { display: block; width: 44px; height: 4px; border-radius: 2px; background: #e3e7ec; overflow: hidden; }
.psa__bar i { display: block; height: 100%; border-radius: 2px; background: #3f8f5f; transform-origin: 0 50%; transform: scaleX(var(--sla, 1)); transition: transform .6s var(--out); }
.psa__sla .icon + .icon, .psa__sla.is-met .icon:first-child, .psa__sla.is-met .psa__bar { display: none; }
.psa__sla.is-met { color: var(--pok); font-weight: 500; }
.psa__sla.is-met .icon + .icon { display: block; }
.psa__note { margin: 12px 14px 14px; border: 1px solid #d3dbe6; border-radius: 4px; background: #f5f8fb; box-shadow: inset 3px 0 0 #8aa0b8; }
.psa__nh { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 15px; border-bottom: 1px solid #e0e7ef; white-space: nowrap; }
.psa__nh b { font-weight: 600; }
.psa__kind { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--pi3); }
.psa__kind .icon { width: 12px; height: 12px; }
.psa__nh .dots { margin-left: auto; }
.psa__time { margin-left: auto; font-size: 12px; color: var(--pi3); font-variant-numeric: tabular-nums; }
.psa__note:not(.is-busy) .dots, .psa__note.is-busy .psa__time { display: none; }
.psa__note p { padding: 8px 12px 4px 15px; }
.psa__note ul { display: grid; gap: 2px; padding: 2px 12px 10px 15px; }
.psa__note li { display: flex; align-items: center; gap: 8px; min-height: 22px; color: var(--pi2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psa__note .spin, .psa__note .ok { width: 14px; height: 14px; }
.psa__note .spin { border-width: 1.5px; }
.psa__note li:not(.is-done) .ok, .psa__note li.is-done .spin { display: none; }
.psa__note li.is-todo { color: rgba(0, 0, 0, .3); }
.psa__note li.is-todo .spin { animation: none; border-top-color: rgba(1, 43, 255, .1); }
/* Grace's side: the Resolve app on her Mac asks before it starts. Only the playback shows it. */
.psa__ask {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: min(300px, calc(100% - 28px)); padding: 12px 14px; display: grid; gap: 8px;
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 32px -14px rgba(1, 43, 255, .35), 0 2px 6px -2px rgba(0, 0, 0, .12);
}
.psa__where { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink3); }
.psa__where .mark { width: auto; height: 14px; }
.psa__ask b { font-weight: 500; }
.psa__btns { display: flex; justify-content: flex-end; gap: 6px; font-size: 12px; font-weight: 500; }
.psa__btns span { padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .05); }
.psa__btns .psa__go { background: var(--blue); color: #fff; }
@media (max-width: 520px) {
  .psa__row { grid-template-columns: minmax(0, 1fr) auto; }
  .psa__id { display: none; }
  .psa__band { gap: 10px; padding: 0 12px; }
  .psa__band > * + * { padding-left: 10px; }
  .psa__bar { display: none; }
}

/* The device: the owner's Windows 11 demo (assets/demo-win) on a screen with a slim bezel, cropped close.
   The stage is the 1920x1080 desktop drawn so that --vw desktop pixels span the screen; site.js scales the iframe to it
   and pans the stage after the demo's pointer. Without JS the stage holds on the still's crop. */
.mode__vis--dev { place-items: stretch; }
.dev {
  padding: 6px; border-radius: 16px; background: #0d1117;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 .6px .6px -1.25px rgba(0, 0, 0, .18), 0 18px 36px -14px rgba(0, 40, 120, .45);
}
.dev__screen { --vw: 900; position: relative; height: 100%; overflow: hidden; border-radius: 10px; background: #0b3a8c; }
.dev__stage { position: absolute; left: 0; top: 0; width: calc(100% * 1920 / var(--vw)); aspect-ratio: 16 / 9; transform: translate(-35%, -18%); }
.dev__stage img { width: 100%; height: 100%; max-width: none; }
.dev iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--out); }
.dev iframe.is-on { opacity: 1; }
@media (max-width: 900px) { .dev { height: 400px; } }
@media (max-width: 640px) { .dev__screen { --vw: 700; } }

/* ------------------------------------------------------------ how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--h2-gap); }
.step__vis { aspect-ratio: 384 / 409; border-radius: 24px; }
.step h3 { margin-top: 24px; }
.step p { margin-top: 8px; max-width: 330px; color: var(--ink2); text-wrap: pretty; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; gap: 56px; } }

.type {
  position: absolute; left: 40px; top: 22%; width: 600px; height: 228px; padding: 22px 22px 16px; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.type__text { color: #000; white-space: nowrap; }
.type__cur { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: #000; animation: blink 1066ms linear infinite; }
@keyframes blink { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
.type__next { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink2); }
.type__next .icon { width: 14px; height: 14px; }
@media (max-width: 900px) { .type { width: calc(100% - 16px); } }

.hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(352px, 100% - 24px); aspect-ratio: 352 / 256; }
.hub > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* SMIL pulses repaint their own layer instead of the sky field under them. */
.hub > svg, .fan3 svg, .fan5 svg { will-change: transform; }
.tile {
  position: absolute; width: 13.64%; aspect-ratio: 1; translate: -50% -50%; display: grid; place-items: center;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; box-shadow: 0 0 20px -12px rgba(0, 0, 0, .8);
}
.tile img { width: 62%; height: 62%; object-fit: contain; }
.tile .icon { width: 50%; height: 50%; color: var(--blue); }
.tile--hub { left: 50%; top: 50%; width: 18.2%; border-radius: 14px; }
.tile--hub img { width: 56%; height: 56%; }

.run { position: absolute; left: 32px; top: 50%; translate: 0 -50%; width: min(320px, 100% - 48px); padding-bottom: 8px; }
.run__head { height: 64px; display: flex; align-items: center; gap: 15px; padding: 0 16px; font-weight: 500; white-space: nowrap; }
.run__icon { width: 32px; display: grid; place-items: center; }
.run li { height: 48px; display: flex; align-items: center; gap: 16px; padding: 0 16px; font-size: 14px; color: var(--ink2); white-space: nowrap; overflow: hidden; }

/* --------------------------------------------------------------- features */
.feat { display: grid; grid-template-columns: 240px 1fr; gap: clamp(40px, 8vw, 120px); margin-top: var(--h2-gap); align-items: start; }
.findex { position: sticky; top: 120px; display: grid; gap: 8px; }
.findex li {
  display: flex; align-items: center; gap: 12px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; font-weight: 500;
  transition: background-color .2s ease-out, border-color .2s ease-out;
}
.findex b { padding: 2px 4px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 500; font-size: 13px; line-height: 1.3; transition: background-color .2s ease-out; }
.findex .is-active { border-color: var(--sky); background: rgba(9, 174, 255, .1); }
.findex .is-active b { background: var(--blue); }
.fcards { display: flex; flex-direction: column; gap: 24px; }
.fcard { position: sticky; top: 120px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.fcard__in { position: relative; display: grid; grid-template-columns: 45fr 55fr; height: 400px; background: var(--card); border-radius: 16px; overflow: clip; }
/* The inner hairline sits above the sky visuals that run flush to the panel edge. */
.fcard__in::after, .bcard__in::after, .mode__in::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.fcard__txt { padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.fcard__txt p { max-width: 307px; color: var(--ink2); }
.fcard__vis { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 32px; }
.fcard__vis > * { width: 100%; max-width: 389px; }
@media (max-width: 1000px) {
  .feat { grid-template-columns: 1fr; }
  .findex { display: none; }
  /* One fixed height, so each card fully covers the one before it as it docks. */
  .fcard__in { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 457px; }
  .fcard__vis { order: -1; height: 280px; padding: 0 16px; }
  .fcard__txt { padding: 20px 24px; gap: 8px; justify-content: flex-start; }
}

.search { padding: 16px; border-radius: 18px; }
.search__row { display: flex; align-items: center; gap: 8px; padding: 0 4px 16px; color: var(--ink3); }
.search__row .shimmer { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; --sh: 1.4s; }
.well { padding: 24px; border-radius: 16px; background: rgba(0, 0, 0, .05); }
.tick { height: 108px; overflow: clip; mask-image: linear-gradient(transparent 0, #000 16%, #000 81%, transparent 100%); }
/* Grey text, full-strength logos. */
.well .vset li { color: var(--ink3); }
.vset { display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px; }
.vset li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vset img, .well2 img { display: inline-block; vertical-align: -3px; margin-right: 8px; }
/* Neutral ticket glyph where a mock shows the PSA: never a real PSA brand inside a mock (film bible 4). */
.vset .icon, .fan3__ends .icon, .fan5__pill .icon { position: static; width: 18px; height: 18px; color: var(--blue); }
.vset .icon { display: inline-block; vertical-align: -4px; margin-right: 8px; }
.vset .logo-img--mark, .well2 img { width: 18px; height: 18px; object-fit: contain; }
.vset .logo-img--word { width: auto; height: 13px; vertical-align: 0; }

.fan3 { gap: 0; }
.chipbox { width: auto !important; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; }
.fan3 svg { height: 140px; }
/* Three outcomes under the beams. */
.fan3__ends { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; }
.fan3__ends > span {
  display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; white-space: nowrap; font-size: 14px; font-weight: 500;
  background: #fff; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px;
}
.fan3__ends img { width: 18px; height: 18px; object-fit: contain; }
.fan3__ends .gav { width: 22px; height: 22px; font-size: 10px; font-style: normal; }
@media (max-width: 640px) { .fan3 svg { height: 110px; } .fan3__ends > span { font-size: 13px; padding: 0 10px 0 6px; } }

.live .status { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.live .status .shimmer { --sh: 1.5s; white-space: nowrap; overflow: hidden; }
.well2 { padding: 24px; }
.well2 li { font-size: 15px; }

.guard { justify-content: flex-start; padding-top: 32px; }
.gpanel { padding: 24px; border-radius: 24px; background: #fff; }
.gpanel__head { display: flex; align-items: center; gap: 12px; }
.gpanel b { display: block; font-weight: 500; }
.gpanel small { display: block; font-size: 14px; color: var(--ink3); }
.gpanel__title { margin: 22px 0 8px; font-weight: 500; }
.gpanel li { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.gpanel li > span:nth-child(2) { flex: 1; min-width: 0; }
.gpanel li b { font-size: 15px; line-height: 1.3; }
.gav { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #EEF1F4; }
.gav img { width: 20px; height: 20px; object-fit: contain; }
.gav--ini { width: 44px; height: 44px; background: #DCE6FF; color: var(--blue); font-weight: 500; }
.gsel {
  display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 7px 10px 7px 12px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px;
  font-size: 14px; white-space: nowrap; transition: border-color 1.9s ease-out;
}
.gsel .icon { width: 14px; height: 14px; }
.gsel.is-open { border-color: var(--blue); transition-duration: .9s; }
.gmenu {
  position: absolute; right: 0; top: calc(100% - 4px); z-index: 2; width: 150px; padding: 4px; display: grid;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .25);
}
.gmenu span { padding: 6px 8px; border-radius: 8px; transition: background-color .4s var(--snap); }
.gmenu .is-hover { background: rgba(9, 174, 255, .2); }
.gcur {
  position: absolute; left: 0; top: 0; z-index: 3; width: auto !important; display: flex; align-items: flex-start; pointer-events: none;
  transform: translate(600px, 600px); transition: transform 1.2s cubic-bezier(.4, 0, .2, 1.06);
}
.gcur svg { width: 26px; height: 26px; }
.gcur > span { margin: 18px 0 0 -4px; padding: 6px 14px; border: 2px solid #156FEE; border-radius: 24px; background: #156FEE; color: #fff; font-size: 15px; }

@media (max-width: 640px) {
  .fcard__vis { height: 250px; }
  .gpanel { padding: 16px; }
  .gpanel small { display: none; }
  .gav { width: 32px; height: 32px; }
  .gsel { font-size: 13px; padding: 6px 8px 6px 10px; }
  .gsel .icon { display: none; }
}

/* ------------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--h2-gap); }
.bcard { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.bcard--wide { grid-column: span 2; }
.bcard__in { position: relative; height: 497px; display: flex; flex-direction: column; background: var(--card); border-radius: 16px; overflow: hidden; }
.bcard__vis { position: relative; flex: 1; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.bcard__txt { padding: 24px; display: grid; gap: 12px; }
.bcard__txt p { color: var(--ink2); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bcard--wide { grid-column: auto; } }

.chips { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.cset { display: flex; gap: 16px; padding-right: 16px; }
.chip {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink2);
}
.chip img { width: 20px; height: 20px; object-fit: contain; }
.chip b { font-weight: 400; }

.mem { display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #fff 0, rgba(255, 255, 255, .6) 120px, rgba(255, 255, 255, 0) 230px); }
/* Own layers, so the twinkle repaints only the art. */
.mem svg { overflow: visible; will-change: transform; }
:is(.mem, .shield) g { fill: #3D8BFF; animation: tw-a var(--t, 1.8s) step-end infinite; animation-delay: var(--o, 0s); }
:is(.mem, .shield) g.b { animation-name: tw-b; }
/* Edge dots (a) twinkle among the darker blues, inner dots (b) among the lighter ones, so the shading holds. */
/* Steps at quarters: with periods and offsets on a 100 ms grid (mem_svg, shield_svg), every change lands on a shared tick. */
@keyframes tw-a { 0% { fill: #0A5CFF; } 25% { fill: #2F78FF; } 50% { fill: #0A5CFF; } 75% { fill: #6FA8FF; } }
@keyframes tw-b { 0% { fill: #9CC3FF; } 25% { fill: #6FA8FF; } 50% { fill: #BBD6FF; } 75% { fill: #3D8BFF; } }

.fan5 { position: absolute; left: 64px; right: 64px; top: 28px; bottom: 64px; }
.fan5 svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fan5__hub {
  position: absolute; left: 50%; top: 9.9%; z-index: 2; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 1px solid rgba(0, 0, 0, .2); box-shadow: 0 0 20px -12px rgba(0, 0, 0, .8);
}
.fan5__hub img { width: 22px; height: auto; }
.fan5__pill {
  position: absolute; top: 100%; z-index: 1; translate: -50% 0; width: max-content; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 12px; white-space: nowrap;
  background: #fff; border: 1px solid rgba(0, 0, 0, .2); border-radius: 40px; font-weight: 500;
}
.fan5__pill img { width: 18px; height: 18px; object-fit: contain; }
/* Narrower cards keep three labelled sources (the outer two and the middle), so labels never overlap. */
@media (max-width: 1099px) { .fan5 .b1, .fan5 .b3 { display: none; } }
@media (max-width: 640px) {
  .fan5 { left: 64px; right: 64px; }
  .fan5__pill { gap: 6px; padding: 4px 10px 4px 8px; font-size: 13px; }
}

.route { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.route__col { width: 100%; max-width: 320px; }
.route__prompt {
  height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 14px; white-space: nowrap; overflow: hidden;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 18px;
}
.route__label { margin: 16px 0 8px; font-size: 14px; }
.route__rows { position: relative; }
.route__row { position: relative; z-index: 1; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: var(--ink2); }
.route__row img { width: 22px; height: 22px; object-fit: contain; }
.route__sel {
  position: absolute; inset: 0 0 auto; height: 50px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  opacity: 0; transform: scale(0); transition: transform .4s var(--spring), opacity .4s var(--spring);
}
.route__ok { position: absolute; right: 13px; top: 12px; opacity: 0; transition: opacity .25s ease-out; color: #22C55E; width: 24px; height: 24px; }
.route.s3 .route__sel { opacity: 1; transform: none; }
.route.s4 .route__sel { transform: translateY(50px); }
.route.s5 .route__ok { opacity: 1; }
.js .route:not(.s1) .route__label, .js .route:not(.s2) .route__rows { display: none; }
.route.s1 .route__label, .route.s2 .route__rows { animation: rise .4s var(--spring) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
html:not(.js) .route__sel { opacity: 1; transform: translateY(50px); }
html:not(.js) .route__ok { opacity: 1; }

/* ------------------------------------------------------------ dark blocks */
.dark { background: #000; color: #fff; padding: clamp(64px, 10.4vw, 150px) 0 clamp(72px, 7vw, 100px); margin-top: clamp(32px, 8vw, 115px); }
.dark + .section { padding-top: clamp(96px, 11.5vw, 165px); }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px 24px; margin-top: var(--h2-gap); }
.stack li { padding: 32px; }
.px { width: 72px; height: 72px; will-change: transform; }
/* Glint: each diagonal group of cells (--k, px_svg) flashes flat white in turn; --b keeps the six glyphs out of step. */
.px .pxg { fill: #fff; fill-opacity: 0; animation: px-glint 1.8s linear infinite; animation-delay: calc(-1 * (var(--b) + var(--k) * 100ms)); }
@keyframes px-glint { 0%, 32%, 68%, 100% { fill-opacity: 0; } 50% { fill-opacity: .73; } }
.stack h3 { margin-top: 40px; font-size: 20px; }
.stack p { margin-top: 8px; max-width: 290px; min-height: 3lh; font-size: 16px; color: rgba(255, 255, 255, .7); }
.stack__logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.stack__logos span { height: 40px; min-width: 40px; padding: 0 10px; display: grid; place-items: center; background: #fff; border-radius: 10px; }
.stack__logos .logo-img--mark { width: 22px; height: 22px; object-fit: contain; }
.stack__logos .logo-img--word { width: auto; height: 16px; max-width: 96px; object-fit: contain; }
@media (max-width: 900px) { .stack { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr; gap: 0; padding-inline: 24px; } .stack li { padding: 16px 0; } .stack h3 { margin-top: 28px; } .stack p { min-height: 0; } }

.shield { width: 280px; height: 256px; margin: 64px auto 0; will-change: transform; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 840px; margin: 64px auto 0; }
.rules h3 { font-size: 16px; }
.rules p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .8); }
@media (max-width: 800px) { .rules { grid-template-columns: 1fr 1fr; gap: 24px 16px; } }

/* -------------------------------------------------------- ticket carousel */
.section--tix { padding-bottom: clamp(72px, 8vw, 120px); }
.section--tix + .dark { margin-top: 0; }
.tix { position: relative; height: 612px; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%); }
.tix__card {
  position: absolute; left: 50%; top: 156px; width: 350px; height: 390px; margin-left: -175px; padding: 32px;
  display: flex; flex-direction: column; transform-origin: 50% 100%;
  background: #FAFAFA; border: 1px solid var(--line); border-radius: 16px;
  transition: transform .6s cubic-bezier(.33, 1, .68, 1), background-color .3s, opacity .3s;
}
.tix__logo { align-self: flex-start; min-width: 48px; height: 48px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.tix__logo .logo-img--mark { width: 30px; height: 30px; object-fit: contain; }
.tix__logo .logo-img--word { width: auto; height: 18px; max-width: 140px; object-fit: contain; }
.tix__dot { position: absolute; right: 32px; top: 52px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .3s; }
.tix__meta { margin-top: 24px; font-size: 13px; color: var(--ink3); }
.tix__q { margin-top: 6px; font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; color: rgba(0, 0, 0, .8); transition: color .3s; }
.tix__a { margin-top: auto; font-size: 14px; color: var(--ink3); }
.tix__state { display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 999px; font-weight: 500; font-size: 13px; }
.tix__state--fixed { background: rgba(43, 182, 115, .14); color: #146C43; }
.tix__state--escalated { background: rgba(1, 43, 255, .1); color: var(--blue); }
.tix__card.is-active { background: #fff; }
.tix__card.is-active .tix__dot { background: var(--blue); }
.tix__card.is-active .tix__q { color: #000; }
.tix__nav { display: flex; justify-content: center; gap: 12px; margin-top: 53px; }
.tix__nav button {
  width: 52px; height: 52px; padding: 0; border-radius: 0; display: grid; place-items: center; border: 1px solid var(--line); background: #FAFAFA; cursor: pointer;
  transition: background-color .3s, color .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
@media (max-width: 640px) {
  .tix { height: 470px; mask-image: none; }
  .tix__card { width: 310px; height: 320px; margin-left: -155px; top: 100px; padding: 24px; }
  .tix__q { font-size: 19px; }
  .tix__dot { right: 24px; top: 44px; }
}
/* Without JS the fan never gets placed, so the cards would all stack on one spot: show them as a scrolling row instead. */
.no-js .tix { height: auto; overflow-x: auto; mask-image: none; }
.no-js .tix__stage { display: flex; gap: 16px; width: max-content; padding: 48px 16px 24px; margin: 0 auto; }
.no-js .tix__card { position: relative; left: 0; top: 0; margin: 0; }
.no-js .tix__nav, .no-js .strip__pause { display: none; }

/* -------------------------------------------------------------------- faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.faq-head p { margin-top: 20px; font-size: 15px; color: var(--ink3); }
.faq-head a { color: #000; text-underline-offset: 3px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 8px clamp(20px, 3vw, 32px); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 22px 0;
  font-size: 17px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; cursor: pointer; list-style: none;
  transition: color .2s ease-out;
}
.faq summary::-webkit-details-marker { display: none; }
.faq p { max-width: 600px; padding: 0 56px 24px 0; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.faq details::details-content { height: 0; overflow: clip; transition: height .32s cubic-bezier(.3, 1.12, .5, 1), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.plus {
  position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: rgba(0, 0, 0, .05); color: #000;
  transition: background-color .25s ease-out, color .25s ease-out, transform .35s var(--snap);
}
.plus::before, .plus::after { content: ""; position: absolute; left: 10px; right: 10px; top: 15.25px; height: 1.5px; background: currentColor; border-radius: 1px; }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--blue); color: #fff; transform: rotate(45deg); }
@media (max-width: 900px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}
@media (max-width: 600px) {
  .faq { border-radius: 20px; }
  .faq summary { font-size: 15px; padding: 18px 0; gap: 16px; }
  .faq p { padding-right: 0; font-size: 14px; }
  .plus { width: 28px; height: 28px; }
  .plus::before, .plus::after { left: 8px; right: 8px; top: 13.25px; }
}

/* ------------------------------------------------------------ cta + footer */
.cta { background: #000; color: #fff; padding: clamp(64px, 8vw, 96px) 0 0; }
.cta__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; flex-wrap: wrap; }
.cta .h2 { max-width: 520px; }
.cta .join { justify-content: flex-start; }
.cta__join { flex: 0 1 auto; }
@media (min-width: 900px) { .cta__join { flex: none; } .cta .join__input { width: 300px; } }
.cta .join__input { background: #111; border-color: rgba(255, 255, 255, .2); color: #fff; }
.cta .join__input::placeholder { color: rgba(255, 255, 255, .5); }
.cta .join__error { color: #FF8A80; }
.foot {
  display: flex; align-items: center; gap: 8px 32px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 88px);
  padding: 16px 0 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px;
}
.foot .brand { font-size: 17px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-inline: auto; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.cta .foot__links a { color: rgba(255, 255, 255, .7); }
.foot__meta { color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) {
  .foot { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 12px; }
  .foot__links { margin-inline: 0; gap: 0 20px; }
}

/* ------------------------------------------- hover, only where it can hover */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-d); }
  .nav__links a:hover, .foot__links a:hover { color: #000; text-decoration: underline; text-underline-offset: 3px; }
  .cta .foot__links a:hover { color: #fff; }
  .tix__nav button:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
  .faq summary:hover { color: var(--blue); }
  .faq details:not([open]) summary:hover .plus { background: rgba(1, 43, 255, .1); color: var(--blue); }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pulse { display: none; }
  .shimmer { color: rgba(0, 0, 0, .7); background: none; }
  .tix__nav button:hover { transform: none; }
  .strip__pause, [data-tix-pause] { display: none; }
  .cycle li { height: auto; display: grid; gap: 16px; }
  .cycle span { position: static; height: 40px; opacity: 1; transform: none; filter: none; }
}
