/* Global Supplies: landing page
   Type: Instrument Serif (display) + Geist (UI/body), self-hosted. */

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #F2F6FB;          /* very light blue */
  --card: #FFFFFF;
  --panel: #E7EEF7;
  --field: #F2F6FB;
  --ink: #14171D;
  --ink-2: #454B57;
  --ink-3: #78808C;
  --line: rgba(20, 23, 29, .09);
  --accent: #1D4ED8;
  --teal: #0D9488;
  --app: #11676B;         /* QRT app teal */

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;

  --inset: 10px;
  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 12px;

  /* One motion vocabulary: starts gently, lands quickly and crisply, no bounce. */
  --ease: cubic-bezier(.65, 0, .12, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-move: 900ms;
  --t-text: 760ms;
  --t-quick: 260ms;

  --shadow-window: 0 30px 60px -20px rgba(24, 38, 60, .35), 0 12px 24px -12px rgba(24, 38, 60, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--inset); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 500; font-size: 15px; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease), padding var(--t-quick) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262A33; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.btn--light:hover { background: #F1F4F8; }

/* Browse tools: a hammer-and-wrench icon slides in after the text on hover */
.btn-icon {
  width: 0; height: 18px; margin-left: 0; opacity: 0; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-40deg) scale(.5);
  transition: width 420ms var(--ease), margin 420ms var(--ease), opacity 300ms var(--ease), transform 520ms var(--ease);
}
.btn--tools:hover .btn-icon, .btn--tools:focus-visible .btn-icon { width: 18px; margin-left: 10px; opacity: 1; transform: none; }

/* ---------- Placeholder company mark ---------- */
.mark {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff; font: 400 17px/1 var(--serif); letter-spacing: .01em;
}
.mark--lg { width: 88px; height: 88px; border-radius: 26px; font-size: 42px; }

/* ---------- Intro (logo → hero reveal) ---------- */
.intro { display: none; }
.js .intro { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; pointer-events: none; }
.intro-mark { opacity: 0; filter: blur(10px); transform: scale(.86); }
.js .intro.play .intro-mark { animation: mark-in 700ms var(--ease) forwards; }
.js .intro.done .intro-mark { animation: mark-out 520ms var(--ease) forwards; }
.intro-load { position: absolute; left: 50%; top: calc(50% + 70px); width: 56px; height: 2px; margin-left: -28px; border-radius: 2px; background: rgba(20,23,29,.1); overflow: hidden; opacity: 0; transition: opacity 300ms var(--ease) 600ms; }
.intro.play .intro-load { opacity: 1; }
.intro.done .intro-load { opacity: 0; transition-delay: 0ms; }
.intro-load::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; animation: load 1.1s var(--ease) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); transform-origin: 0 50%; } 61% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@keyframes mark-in { to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes mark-out { from { opacity: 1; filter: blur(0); transform: scale(1); } to { opacity: 0; filter: blur(6px); transform: scale(1.08); } }

/* ---------- Hero ---------- */
.hero { padding: var(--inset); padding-bottom: 0; }
.hero-card {
  --p: 0;          /* scroll progress 0 → 1, set by JS */
  --shrink: .07;   /* how much the card shrinks by the end of the hero */
  --fit: 1;        /* headline scale, lowered by JS on short screens */
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - var(--inset) * 2); min-height: 600px; max-height: 1000px;
  background: #DCE6F0;
  border-radius: calc(var(--r-xl) + var(--p) * 18px);
  transform: scale(calc(1 - var(--p) * var(--shrink)));
  transform-origin: 50% 0;
  will-change: transform;
}
.js .hero-card { clip-path: inset(0 round var(--r-xl)); }
.js .hero-card.pre { clip-path: inset(36% 34% 36% 34% round 60px); }
.js .hero-card.reveal { transition: clip-path 1100ms var(--ease); }

.hero-scene, .hero-fore {
  /* The scene overhangs the card's bottom so the parapet band stays shallow. */
  position: absolute; inset: 0 0 calc(-1 * var(--drop, 8%)) 0;
  background-size: cover; background-position: 50% 100%; background-repeat: no-repeat;
  transform: scale(calc(1.06 - var(--intro, 0) * .06 + var(--p) * .04));
  transform-origin: 50% 100%;
}
.hero-scene { background-image: url("assets/img/hero-scene.webp"); z-index: 0; }
.hero-fore { background-image: url("assets/img/hero-foreground.webp"); z-index: 3; pointer-events: none; }
.js .hero-scene, .js .hero-fore { transition: transform 1600ms var(--ease); }
.hero-card.scrolling .hero-scene, .hero-card.scrolling .hero-fore { transition: none; }

.nav { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 20px 0 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand-name { font-weight: 600; letter-spacing: -.01em; font-size: 16px; }
.nav-pill {
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset;
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.nav-pill a {
  padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.nav-pill a:hover { background: rgba(255,255,255,.9); color: var(--ink); }
.nav-cta { justify-self: end; height: 42px; padding: 0 20px; font-size: 14px; }
.nav-menu { display: none; }

.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(24px, 6.5vh, 84px) 24px 0;
  opacity: calc(1 - var(--p) * 1.6);
  transform: translateY(calc(var(--p) * -40px));
}
.hero-title {
  margin: 0;
  font: 400 calc(clamp(46px, 5.2vw, 86px) * var(--fit))/1 var(--serif);
  letter-spacing: -.012em; text-wrap: balance;
}
.hero-lede {
  margin: calc(18px * var(--fit)) 0 0; max-width: 46ch;
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty;
}
.hero-actions { margin-top: calc(26px * var(--fit)); }

/* App window rising from behind the parapet. Its top is set by JS from the parapet line. */
.hero-app {
  position: absolute; z-index: 1; margin: 0;
  left: 50%; width: min(1060px, 76%);
  top: var(--app-top, 58%);
  transform: translate(-50%, calc(var(--rise, 0) * 1px + var(--p) * -110px));
}
.js .hero-app { --rise: 260; transition: transform 1100ms var(--ease); }
.js .hero-app.up { --rise: 0; }
.hero-card.scrolling .hero-app { transition: none; }

.window {
  position: relative; overflow: hidden; border-radius: var(--r-md); background: #fff;
  box-shadow: var(--shadow-window);
  outline: 1px solid rgba(20,23,29,.06); outline-offset: -1px;
}
.window img { width: 100%; }

/* ---------- Recreated QRT Files screen (designed at 1366 × 820, scaled by JS) ---------- */
.qwrap { position: relative; aspect-ratio: 1366 / 820; overflow: hidden; background: #F2F3F5; }
.qapp {
  position: absolute; left: 0; top: 0; width: 1366px; height: 820px;
  transform: scale(var(--k, .5)); transform-origin: 0 0;
  background: #F2F3F5; color: #1F2328; font-family: var(--sans); font-size: 14px; line-height: 1.35;
  pointer-events: none; user-select: none;
}
.qapp svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qapp b { font-weight: 600; display: block; }
.qapp small { display: block; color: #6B7280; }
.q-side { position: absolute; left: 0; top: 0; bottom: 0; width: 68px; background: #F7F7F8; border-right: 1px solid #E4E6EA; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 14px; }
.q-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: #4B5563; }
.q-ico svg { width: 20px; height: 20px; }
.q-ico--brand, .q-ico--add { background: var(--app); color: #fff; }
.q-ico--on { background: #fff; color: #1F2328; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.q-head { position: absolute; left: 68px; right: 0; top: 0; height: 64px; border-bottom: 1px solid #E4E6EA; display: flex; justify-content: space-between; align-items: center; padding: 0 36px 0 24px; }
.q-crumb small { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.q-crumb b { font-size: 14px; }
.q-steps { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.q-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6B7280; }
.q-steps i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #A3A9B2; display: grid; place-items: center; font: 600 11px/1 var(--sans); font-style: normal; }
.q-steps li.on { background: #fff; padding: 4px 12px 4px 4px; border-radius: 99px; color: #111; font-weight: 500; }
.q-steps li.on i { background: var(--app); border-color: var(--app); color: #fff; }
.q-steps .sep { width: 28px; height: 1.5px; background: #C9CDD3; margin: 0 10px; }
.q-intro { position: absolute; left: 97px; top: 82px; }
.q-intro b { font-size: 24px; }
.q-intro span { display: block; margin-top: 6px; font-size: 14.5px; color: #4B5563; }
.q-label { position: absolute; top: 156px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #4B5563; }
.q-label--from { left: 97px; } .q-label--to { left: 722px; }
.q-card { position: absolute; background: #fff; border-radius: 14px; border: 1px solid #E3E5E9; box-shadow: 0 1px 2px rgba(0,0,0,.04); padding: 18px; }
.q-card--from { left: 97px; top: 180px; width: 548px; height: 188px; }
.q-card--to { left: 722px; top: 180px; width: 614px; height: 222px; }
.q-file { display: flex; align-items: center; gap: 12px; }
.q-file b { font-size: 15.5px; } .q-file small { font-size: 12.5px; }
.q-doc { width: 42px; height: 42px; border-radius: 10px; background: #DDF0EF; color: var(--app); display: grid; place-items: center; }
.q-doc svg { width: 22px; height: 22px; }
.q-refresh { margin-left: auto; } .q-refresh svg { width: 20px; height: 20px; }
.q-sheet { margin-top: 16px; display: flex; align-items: center; gap: 26px; font-size: 13px; }
.q-select { width: 180px; height: 32px; border: 1px solid #9CA3AF; border-radius: 4px; padding: 0 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; }
.q-select svg { width: 16px; height: 16px; }
.q-found { margin-top: 14px; height: 36px; background: #ECEDEF; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.q-found svg { width: 18px; height: 18px; color: var(--app); }
.q-found .q-chev { margin-left: auto; color: #1F2328; }
.q-card--to .q-found { margin-top: 26px; }
.q-ready { margin-left: auto; display: flex; align-items: center; gap: 4px; background: #DDF0EF; color: #0F5F63; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 99px; }
.q-ready svg { width: 14px; height: 14px; }
.q-x svg { width: 18px; height: 18px; margin-left: 12px; display: block; }
.q-bills { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.q-chip { border: 1px solid #D1D5DB; border-radius: 5px; padding: 2px 6px; font-size: 11.5px; font-weight: 600; }
.q-chip--on { background: #DDF0EF; border-color: #BFE3E0; color: #0F5F63; }
.q-chip--off { color: #6B7280; text-decoration: line-through; }
.q-link { position: absolute; left: 645px; top: 213px; width: 77px; height: 8px; overflow: hidden; border-radius: 4px; }
.q-flow {
  position: absolute; inset: 1px 0;
  background: radial-gradient(circle, #fff 1.4px, transparent 2px) 0 50% / 12px 6px repeat-x, var(--app);
  animation: flow 700ms linear infinite;
}
.q-pulse {
  position: absolute; top: 0; bottom: 0; width: 26px; left: -26px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
  animation: pulse 1800ms var(--ease) infinite;
}
@keyframes flow { to { background-position: 12px 50%, 0 0; } }
@keyframes pulse { 0% { transform: translateX(0); } 70%, 100% { transform: translateX(130px); } }
.q-drop { position: absolute; left: 722px; top: 414px; width: 614px; height: 60px; border: 1.5px solid #C9CDD3; border-radius: 14px; display: flex; align-items: center; gap: 14px; padding: 0 20px; color: #4B5563; }
.q-drop svg { width: 22px; height: 22px; }
.q-drop b { font-size: 13.5px; color: #374151; } .q-drop small { font-size: 12px; }
.q-foot { position: absolute; left: 88px; right: 20px; bottom: 18px; height: 52px; background: #fff; border-radius: 14px; border: 1px solid #E3E5E9; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; }
.q-pill { background: #F0F1F3; border: 1px solid #E3E5E9; border-radius: 99px; font-size: 11.5px; padding: 4px 10px; color: #4B5563; }
.q-go { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--app); color: #fff; border-radius: 8px; height: 34px; padding: 0 16px; font-size: 13px; font-weight: 600; }
.q-go svg { width: 16px; height: 16px; }

/* ---------- Tools band (the hero hands over to this heading) ---------- */
.band { padding: clamp(80px, 12vw, 160px) 24px clamp(40px, 6vw, 72px); text-align: center; }
.band-title, .section-title { margin: 0 auto; font: 400 clamp(40px, 4.9vw, 72px)/1.02 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.band-title { max-width: 16ch; }

/* ---------- Showcase split ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--inset); }
.card { background: var(--card); border-radius: var(--r-lg); }
.panel { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 640px; padding: 28px 32px 36px; background: var(--panel); border-radius: var(--r-lg); }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 0 0 14px; background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.tab[aria-disabled="true"] { color: var(--ink-3); opacity: .6; cursor: default; }
.tab-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; border-radius: 2px; }
.tab-fill { position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }

.panel-name { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 20px); }
.qrt-logo { width: clamp(52px, 5vw, 72px); height: auto; flex: none; }
.qrt-logo rect { transform-box: fill-box; transform-origin: 0 50%; }
.js .qrt-logo rect { transform: scaleX(0); opacity: 0; transition: transform 700ms var(--ease), opacity 300ms var(--ease); transition-delay: calc(var(--i) * 80ms + 200ms); }
.js .panel.in .qrt-logo rect { transform: none; opacity: 1; }
.panel-title { margin: 0; font: 400 clamp(66px, 7vw, 104px)/.9 var(--serif); letter-spacing: -.01em; }
.panel-sub { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.panel-text { margin: 22px 0 0; max-width: 40ch; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.panel-proof { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: 40ch; font-size: 15px; color: var(--ink-2); }
.panel-proof strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.panel-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
.panel-note { font-size: 13px; color: var(--ink-3); padding-left: 4px; }

/* Explore QRT: an arrow appears, then follows the cursor out of the button as a bubble */
.goo-btn {
  --zone: 100px; --a: 0; --x: 0px;
  position: relative; display: inline-flex; align-items: center;
  height: 48px; padding: 0 calc(24px + var(--zone)) 0 24px; margin-right: calc(-1 * var(--zone));
  color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; -webkit-tap-highlight-color: transparent;
}
.goo { position: absolute; inset: 0; filter: url(#goo); }
.goo-pill, .goo-ball { position: absolute; top: 0; height: 48px; background: var(--ink); border-radius: 999px; }
.goo-pill { left: 0; width: calc(100% - var(--zone) + var(--a) * 32px); transition: width 420ms var(--ease), background-color var(--t-quick); }
.goo-ball {
  width: 48px; left: calc(100% - var(--zone) + var(--a) * 32px - 48px);
  transform: translateX(var(--x));
  transition: left 420ms var(--ease), transform 380ms var(--ease-out);
}
.goo-label { position: relative; }
.goo-arrow {
  position: absolute; width: 18px; height: 18px; top: 15px;
  left: calc(100% - var(--zone) + var(--a) * 32px - 33px);
  fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  opacity: var(--a); transform: translateX(calc(var(--x) + (1 - var(--a)) * -10px));
  transition: left 420ms var(--ease), opacity 300ms var(--ease), transform 380ms var(--ease-out);
}
.goo-btn:active .goo-pill { background: #262A33; }
@media (hover: hover) { .goo-btn:hover, .goo-btn:focus-visible { --a: 1; } }

/* Stage: swipeable QRT screens over the scene */
.stage { position: relative; overflow: hidden; isolation: isolate; min-height: 640px; border-radius: var(--r-lg); background: #DCE6F0; touch-action: pan-y; cursor: grab; user-select: none; }
.stage.dragging { cursor: grabbing; }
.stage-scene { position: absolute; inset: 0; background: url("assets/img/showcase-scene.webp") 30% 50% / cover no-repeat; }
.stage-app { position: absolute; z-index: 1; margin: 0; left: 7%; right: -12%; top: 50%; transform: translateY(-50%); }
.track { display: flex; transform: translateX(calc(var(--idx, 0) * -100% + var(--drag, 0) * 1px)); transition: transform 640ms var(--ease); }
.stage.dragging .track { transition: none; }
.slide { flex: 0 0 100%; min-width: 0; }
.slide img { width: 100%; pointer-events: none; }

.steps {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.steps-thumb {
  position: absolute; top: 4px; bottom: 4px; left: var(--tx, 4px); width: var(--tw, 60px);
  border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1);
  transition: left 520ms var(--ease), width 520ms var(--ease);
}
.steps button {
  position: relative; z-index: 1; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color var(--t-quick) var(--ease);
}
.steps button[aria-selected="true"] { color: var(--ink); }

.js .stage[data-reveal] .stage-app { transform: translateY(calc(-50% + 70px)) scale(.94); opacity: 0; transition: transform var(--t-move) var(--ease) 180ms, opacity 500ms var(--ease) 180ms; }
.js .stage[data-reveal].in .stage-app { transform: translateY(-50%); opacity: 1; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--inset); margin-top: clamp(80px, 10vw, 140px); }

/* One photo, several shapes: four small diamonds cut from the top-left corner, with a gap,
   all showing the same image as if through a mask. */
.about-main {
  --cut: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='138' height='138'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Cpath fill='white' d='M0 0H138A24 24 0 0 0 114 24V90A24 24 0 0 1 90 114H24A24 24 0 0 0 0 138Z'/%3E%3Cg fill='black'%3E%3Crect x='37.86' y='7.86' width='28.28' height='28.28' rx='5' transform='rotate(45 52 22)'/%3E%3Crect x='7.86' y='37.86' width='28.28' height='28.28' rx='5' transform='rotate(45 22 52)'/%3E%3Crect x='67.86' y='37.86' width='28.28' height='28.28' rx='5' transform='rotate(45 82 52)'/%3E%3Crect x='37.86' y='67.86' width='28.28' height='28.28' rx='5' transform='rotate(45 52 82)'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Crect width='138' height='138' mask='url(%23m)'/%3E%3C/svg%3E");
  --cut-size: 138px;
  position: relative; min-height: 580px; border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 52px);
  padding-top: calc(var(--cut-size) + 24px);   /* keep text clear of the cut-out corner */
  color: #fff;
  background:
    linear-gradient(to top right, rgba(9,13,20,.9) 0%, rgba(9,13,20,.66) 38%, rgba(9,13,20,.14) 74%),
    url("assets/img/about-handshake.webp") 60% 50% / cover no-repeat;
  -webkit-mask: var(--cut) 0 0 / var(--cut-size) var(--cut-size) no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: var(--cut) 0 0 / var(--cut-size) var(--cut-size) no-repeat exclude, linear-gradient(#000 0 0);
}
.about-copy { max-width: 580px; }
.about-copy .section-title { margin: 0; max-width: 16ch; }
.about-text { display: grid; gap: 14px; margin-top: 24px; max-width: 50ch; font-size: 17px; color: rgba(255,255,255,.76); }
.about-text p { margin: 0; text-wrap: pretty; }
.about-text p:first-child { color: #fff; font-size: 18px; }

.about-side { padding: 12px clamp(24px, 3vw, 40px); display: flex; }
.principles { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; width: 100%; }
.principles li { flex: 1; display: flex; align-items: center; gap: 20px; padding: 28px 0; }
.principles li + li { border-top: 1px solid var(--line); }
.principles h3 { margin: 0; font: 400 29px/1.05 var(--serif); }
.principles p { margin: 6px 0 0; color: var(--ink-2); max-width: 36ch; }

/* Benefit icons: loop gently once the card is on screen */
.p-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #EAF1FB; display: grid; place-items: center; color: var(--accent); }
.p-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.p-ico * { animation-play-state: paused !important; }
.about-side.in .p-ico * { animation-play-state: running !important; }
.p-ico--scan .ln { opacity: .45; }
.p-ico--scan .lens { animation: scan 3.6s var(--ease) infinite; }
@keyframes scan {
  0%, 100% { transform: translate(-10px, -8px); }
  30% { transform: translate(0, -2px); }
  60% { transform: translate(-6px, 4px); }
}
.p-ico--lock .shackle { animation: shut 3s var(--ease) infinite; }
.p-ico--lock .key { animation: key 3s var(--ease) infinite; }
@keyframes shut { 0%, 45% { transform: translateY(-4px); } 60%, 100% { transform: none; } }
@keyframes key { 0%, 55% { opacity: .2; } 65%, 100% { opacity: 1; } }
.p-ico--list path { stroke-dasharray: 16; stroke-dashoffset: 16; animation: draw 3.6s var(--ease) infinite; }
.p-ico--list .c1 { animation-delay: 0s; }    .p-ico--list .l1 { animation-delay: .12s; }
.p-ico--list .c2 { animation-delay: .35s; }  .p-ico--list .l2 { animation-delay: .47s; }
.p-ico--list .c3 { animation-delay: .7s; }   .p-ico--list .l3 { animation-delay: .82s; }
@keyframes draw { 0% { stroke-dashoffset: 16; } 22%, 78% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: -16; } }

/* ---------- Support & contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--inset); margin-top: var(--inset); }
.support { padding: clamp(32px, 4vw, 56px); background: var(--ink); color: #fff; display: flex; flex-direction: column; }
.support .section-title { margin: 0; max-width: 14ch; }
.support-text { margin: 24px 0 0; max-width: 44ch; color: rgba(255,255,255,.72); font-size: 17px; }
.support-list { list-style: none; margin: auto 0 0; padding: 40px 0 0; display: grid; }
.support-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.support-list li span:first-child { color: rgba(255,255,255,.6); }

.form-card { padding: clamp(32px, 4vw, 56px); }
.form-title { margin: 0 0 24px; font: 400 38px/1.02 var(--serif); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); background: var(--field); border: 1px solid transparent; font-size: 16px;
  transition: border-color var(--t-quick) var(--ease), background-color var(--t-quick) var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field [aria-invalid="true"] { border-color: #B42318; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-status { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { margin-top: var(--inset); padding-bottom: var(--inset); }
.footer-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 24px 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin: 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Mobile sheet ---------- */
.sheet {
  position: fixed; z-index: 40; left: var(--inset); right: var(--inset); top: calc(var(--inset) + 70px);
  display: grid; gap: 4px; padding: 10px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.92); box-shadow: 0 20px 50px -20px rgba(0,0,0,.3);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform-origin: 50% 0; animation: sheet-in 380ms var(--ease);
}
.sheet[hidden] { display: none; }
.sheet a:not(.btn) { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 17px; font-weight: 500; }
.sheet a:not(.btn):hover { background: var(--bg); }
.sheet .btn { margin-top: 6px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }

/* =========================================================
   Reveal system: one vocabulary, direction varies by context
   ========================================================= */
.js [data-split] .w { display: inline-block; }
.js [data-split] .wi {
  display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(.32em);
  transition: opacity var(--t-text) var(--ease), filter var(--t-text) var(--ease), transform var(--t-text) var(--ease);
  transition-delay: calc(var(--l, 0) * 90ms + var(--d, 0ms));
}
.js [data-split].in .wi { opacity: 1; filter: blur(0); transform: none; }

.js [data-reveal] { opacity: 0; transition: opacity var(--t-move) var(--ease), transform var(--t-move) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"]    { transform: translateY(28px) scale(.985); }
.js [data-reveal="right"] { transform: translateX(-36px) scale(.985); }
.js [data-reveal="left"]  { transform: translateX(36px) scale(.985); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .showcase, .about, .contact { grid-template-columns: 1fr; }
  .stage { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .panel { min-height: 0; gap: 40px; }
  .about-main { min-height: 540px; order: -1; }
  .nav-pill a { padding: 8px 12px; }
  .js [data-reveal="right"], .js [data-reveal="left"] { transform: translateY(28px) scale(.985); }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  :root { --inset: 8px; --r-xl: 26px; --r-lg: 22px; --r-md: 10px; }
  .nav { grid-template-columns: 1fr auto; padding: 14px 14px 0 16px; }
  .nav-pill, .nav-cta { display: none; }
  .nav-menu {
    display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.75); font-size: 14px; font-weight: 500;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .hero-card { --shrink: .2; min-height: 600px; }
  .hero-title { font-size: calc(clamp(42px, 12vw, 60px) * var(--fit)); line-height: 1; }
  .hero-title br { display: none; }
  .hero-lede { font-size: 15px; }
  .hero-app { width: 86%; left: 5%; transform: translate(0, calc(var(--rise, 0) * 1px + var(--p) * -80px)); }
  .band { padding-inline: 16px; }
  .panel { padding: 22px 22px 28px; }
  .tabs { gap: 18px; }
  .tab--far { display: none; }
  .stage { aspect-ratio: 1 / 1; }
  .stage-app { left: 6%; right: 6%; top: 44%; }
  .steps { bottom: 14px; }
  .steps button { padding: 0 14px; }
  .about-main {
    --cut-size: 106px;
    min-height: 0; padding: 300px 24px 28px;
    /* Photo across the top, fading into a dark card; text sits below it */
    background:
      linear-gradient(to bottom, rgba(20,23,29,0) 190px, var(--ink) 330px),
      url("assets/img/about-handshake.webp") 69% 0 / auto 360px no-repeat,
      var(--ink);
  }
  .principles li { align-items: flex-start; gap: 16px; }
  .principles h3 { font-size: 26px; }
  .p-ico { width: 46px; height: 46px; border-radius: 14px; }
  .support-list li { flex-direction: column; gap: 2px; }
  .footer-card { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion: same reveals as plain fades ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .intro { display: none; }
  .js .hero-card.pre { clip-path: inset(0 round var(--r-xl)); }
  .hero-card, .hero-copy, .hero-scene, .hero-fore { transform: none !important; opacity: 1 !important; }
  .js .hero-app { --rise: 0 !important; }
  .js [data-split] .wi, .js [data-reveal], .js .stage[data-reveal] .stage-app { filter: none !important; transform: none !important; transition: opacity 400ms linear !important; transition-delay: 0ms !important; }
  .js .stage[data-reveal] .stage-app { transform: translateY(-50%) !important; }
  .q-flow, .q-pulse, .p-ico * { animation: none !important; }
  .p-ico--list path { stroke-dashoffset: 0; }
  .goo { filter: none; }
  .track, .steps-thumb, .btn-icon, .goo-pill, .goo-ball, .goo-arrow { transition-duration: 1ms !important; }
}

/* =========================================================
   Nav: Products dropdown (QRT lives under Products)
   ========================================================= */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 16px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { background: rgba(255,255,255,.9); color: var(--ink); }
.nav-dd-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 360ms var(--ease); }
.nav-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 300px; z-index: 10;
  padding: 8px; border-radius: 20px; background: #fff;
  box-shadow: 0 24px 48px -16px rgba(20, 30, 50, .3), 0 0 0 1px rgba(20, 23, 29, .05);
  transform: translateX(-50%); transform-origin: 50% 0;
  animation: dd-in 340ms var(--ease);
}
.nav-dd-menu[hidden] { display: none; }
@keyframes dd-in { from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.97); } }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; transition: background-color var(--t-quick) var(--ease); }
.dd-item:hover, .dd-all:hover { background: var(--bg); }
.dd-item svg { width: 34px; height: 34px; flex: none; }
.dd-item b { display: block; font-size: 15px; font-weight: 600; }
.dd-item small { display: block; font-size: 13px; color: var(--ink-3); }
.dd-all { display: block; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 500; }
.dd-soon { margin: 4px 0 0; padding: 10px 12px 6px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.nav-pill a[aria-current="page"], .nav-dd-btn.is-current { color: var(--ink); background: rgba(255,255,255,.9); }
.sheet-label { padding: 10px 16px 2px; font-size: 13px; color: var(--ink-3); }
.sheet a.sub { padding-left: 28px; }

/* Support email */
.support-mail { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.support-mail .btn--light { color: var(--ink); }
.support-mail a.mail-text { color: #fff; font-size: 15px; text-underline-offset: 4px; }
.form-alt { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.form-alt a { color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Text link with arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 360ms var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 420ms var(--ease); }
.link-arrow:hover span { background-size: 100% 1px; }

/* =========================================================
   Sub-page hero (Products)
   ========================================================= */
.hero-card--page { height: auto; min-height: min(68svh, 640px); max-height: none; display: flex; flex-direction: column; }
.hero-card--page .hero-scene { background-image: url("assets/img/showcase-scene.webp"); background-position: 30% 60%; inset: 0; }
.hero-card--page .hero-copy { flex: 1; justify-content: center; padding-bottom: clamp(56px, 10vh, 110px); }
.page-title { margin: 0; font: 400 clamp(50px, 6.4vw, 104px)/.98 var(--serif); letter-spacing: -.012em; text-wrap: balance; max-width: 14ch; }

/* Products: the QRT card */
.product { margin-top: var(--inset); }
.product-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--inset); padding: var(--inset); background: #fff; border-radius: var(--r-xl); }
.product-info { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px) clamp(20px, 2.6vw, 34px); }
.product-tagline { margin: 22px 0 0; font: italic 400 clamp(26px, 2.4vw, 34px)/1.1 var(--serif); color: var(--ink); max-width: 20ch; }
.product-facts { margin: 26px 0 0; display: grid; }
.product-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.product-facts dt { color: var(--ink-3); }
.product-facts dd { margin: 0; text-align: right; }
.product-actions { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.product-visual { position: relative; overflow: hidden; min-height: 560px; border-radius: calc(var(--r-xl) - var(--inset)); background: #DCE6F0 url("assets/img/hero-scene.webp") 50% 40% / cover no-repeat; }
.product-visual .window { position: absolute; left: 8%; right: -14%; top: 50%; transform: translateY(-50%); transition: transform 700ms var(--ease); }
.product-card:hover .product-visual .window { transform: translateY(calc(-50% - 8px)); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.15); animation: live 2.4s var(--ease) infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 4px rgba(13,148,136,.15); } 50% { box-shadow: 0 0 0 7px rgba(13,148,136,.05); } }

/* Products: more coming soon */
.soon { padding: clamp(110px, 16vw, 230px) 16px clamp(90px, 12vw, 170px); text-align: center; }
.soon-title { margin: 0; font: 400 clamp(76px, 15.5vw, 270px)/.84 var(--serif); letter-spacing: -.02em; }
.soon-title em { font-style: italic; color: var(--ink-3); }
.soon-text { margin: 34px auto 0; max-width: 44ch; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.soon .link-arrow { margin-top: 22px; font-size: 16px; }

/* =========================================================
   QRT page
   ========================================================= */
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.section { margin-top: clamp(80px, 10vw, 140px); }
.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); padding-inline: 16px; }
.section-head p { margin: 18px auto 0; max-width: 52ch; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }

/* Problem */
.problem { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--inset); }
.problem-copy { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 460px; }
.problem-copy .section-title { margin: 0; max-width: 14ch; }
.problem-copy p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.problem-copy p strong { color: var(--ink); font-weight: 500; }
.mistakes { padding: clamp(24px, 3vw, 40px); background: var(--panel); border-radius: var(--r-lg); display: grid; align-content: center; gap: 10px; }
.mistake { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border-radius: var(--r-md); }
.mistake-dot { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #FFF4E5; color: #B45309; }
.mistake-dot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mistake b { display: block; font-weight: 600; }
.mistake span { display: block; margin-top: 2px; color: var(--ink-2); font-size: 15px; }

/* How it works */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--inset); }
.how-steps { display: flex; flex-direction: column; gap: 4px; padding: 12px; background: var(--panel); border-radius: var(--r-lg); }
.how-step {
  position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start;
  padding: 18px 18px 20px; border: 0; border-radius: var(--r-md); background: transparent; text-align: left; cursor: pointer;
  transition: background-color 420ms var(--ease);
}
.how-step.is-active { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.how-num { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.7); font: 400 22px/1 var(--serif); color: var(--ink-2); transition: background-color 420ms var(--ease), color 420ms var(--ease); }
.how-step.is-active .how-num { background: var(--app); color: #fff; }
.how-title { font: 400 28px/1.15 var(--serif); color: var(--ink); padding-top: 4px; }
.how-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 560ms var(--ease); }
.how-desc > span { overflow: hidden; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.how-step.is-active .how-desc { grid-template-rows: 1fr; }
.how-desc > span > span { display: block; padding-top: 8px; }
.how-bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity 300ms var(--ease); }
.how-bar::after { content: ""; position: absolute; inset: 0; background: var(--app); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.how-step.is-active .how-bar { opacity: 1; background: rgba(17,103,107,.12); }
.how .stage { min-height: 600px; }
.how .stage-app { left: 6%; right: -10%; }

/* Proof */
.proof { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--inset); }
.proof-main { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 480px; }
.proof-num { margin: 0; font: 400 clamp(96px, 12vw, 190px)/.82 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof-num small { display: block; margin-top: 18px; font: 400 clamp(28px, 2.6vw, 38px)/1.05 var(--serif); color: var(--ink-2); }
.proof-main > p:not(.proof-num) { margin: 0; max-width: 46ch; font-size: 17px; color: var(--ink-2); }
.proof-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.proof-facts b { display: block; font: 400 34px/1 var(--serif); }
.proof-facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.proof-side { display: grid; gap: var(--inset); }
.speed { padding: clamp(28px, 3vw, 40px); background: var(--panel); border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.speed b { font: 400 clamp(56px, 5.4vw, 80px)/.9 var(--serif); letter-spacing: -.01em; }
.speed span { font-size: 16px; color: var(--ink-2); max-width: 30ch; }
.footnote { margin: 14px 4px 0; font-size: 13px; color: var(--ink-3); }

/* Built by estimators */
.built { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(32px, 5vw, 72px); background: var(--ink); color: #fff; border-radius: var(--r-xl); }
.built .section-title { margin: 0; max-width: 13ch; }
.built p { margin: 22px 0 0; max-width: 46ch; font-size: 17px; color: rgba(255,255,255,.72); }
.built .link-arrow { margin-top: 26px; color: #fff; }
.reasons { display: grid; gap: 10px; }
.reason { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font-size: 15px; }
.reason i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2DD4BF; }
.reason i.warn { background: #F5B048; }
.reason em { margin-left: auto; font-style: normal; font-size: 13px; color: rgba(255,255,255,.5); }
.js .reasons .reason { opacity: 0; transform: translateX(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
.js .reasons.in .reason { opacity: 1; transform: none; }

/* Trust */
.trust { padding: 12px clamp(24px, 3vw, 44px); }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 4vw, 64px); }
.trust-grid li { display: flex; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.trust-grid li:nth-child(-n+2) { border-top: 0; }
.trust-grid h3 { margin: 0; font: 400 29px/1.05 var(--serif); }
.trust-grid p { margin: 8px 0 0; color: var(--ink-2); max-width: 44ch; }
.p-ico--shield .tick { stroke-dasharray: 14; stroke-dashoffset: 14; animation: tick 3.2s var(--ease) infinite; }
@keyframes tick { 0%, 15% { stroke-dashoffset: 14; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -14; } }
.trust.in .p-ico * { animation-play-state: running !important; }

/* Pricing + specs */
.buy { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--inset); }
.price { padding: clamp(32px, 4vw, 56px); background: var(--panel); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 22px; }
.price .section-title { margin: 0; max-width: 14ch; }
.price p { margin: 0; font-size: 17px; color: var(--ink-2); max-width: 44ch; }
.price .btn { align-self: flex-start; margin-top: auto; }
.specs { padding: clamp(28px, 3.4vw, 48px); }
.specs h3 { margin: 0 0 12px; font: 400 32px/1.05 var(--serif); }
.specs dl { margin: 0; display: grid; }
.specs dl div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; }

/* Roadmap scroller */
.road-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.road-head .section-title { margin: 0; text-align: left; }
.road-head p { margin: 12px 0 0; color: var(--ink-2); font-size: 17px; }
.road-nav { display: flex; gap: 8px; }
.road-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: transform var(--t-quick) var(--ease), opacity var(--t-quick); }
.road-nav button:active { transform: scale(.94); }
.road-nav button:disabled { opacity: .4; cursor: default; }
.road-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.road-track { display: flex; gap: var(--inset); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; overscroll-behavior-x: contain; }
.road-track::-webkit-scrollbar { display: none; }
.road-card { flex: 0 0 clamp(270px, 31%, 380px); min-width: 0; scroll-snap-align: start; min-height: 250px; padding: 26px; background: #fff; border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.road-tag { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: #EAF1FB; color: var(--accent); font-size: 12.5px; font-weight: 500; }
.road-card h3 { margin: 0; font: 400 30px/1.05 var(--serif); }
.road-card p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--inset); }
.faq-intro { padding: clamp(28px, 3vw, 40px) clamp(4px, 1vw, 12px); }
.faq-intro .section-title { margin: 0; text-align: left; max-width: 10ch; }
.faq-intro p { margin: 18px 0 0; color: var(--ink-2); }
.faq-list { padding: 8px clamp(24px, 3vw, 40px); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: none; text-align: left; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq-q i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); transition: transform 460ms var(--ease), background-color var(--t-quick); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -.9px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--panel); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px; max-width: 62ch; color: var(--ink-2); font-size: 16px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* Licence request */
.licence { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--inset); padding: var(--inset); background: var(--ink); border-radius: var(--r-xl); color: #fff; }
.licence-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.licence-copy .section-title { margin: 0; max-width: 12ch; }
.licence-copy p { margin: 22px 0 0; max-width: 44ch; font-size: 17px; color: rgba(255,255,255,.72); }
.licence-copy ul { list-style: none; margin: auto 0 0; padding: 36px 0 0; display: grid; }
.licence-copy li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.licence-copy li span:first-child { color: rgba(255,255,255,.55); }
.licence .form-card { color: var(--ink); border-radius: calc(var(--r-xl) - var(--inset)); }

@media (max-width: 1023px) {
  .product-card, .problem, .how, .proof, .built, .buy, .faq, .licence { grid-template-columns: 1fr; }
  .product-visual { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .how .stage { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .problem-copy, .proof-main { min-height: 0; }
  .faq-intro .section-title { max-width: none; }
}
@media (max-width: 720px) {
  .nav-dd-menu { display: none !important; }
  .product-visual .window { left: 6%; right: 6%; }
  .how .stage { aspect-ratio: 1 / 1; }
  .how .stage-app { left: 6%; right: 6%; }
  .how-title { font-size: 25px; }
  .proof-facts { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid li:nth-child(2) { border-top: 1px solid var(--line); }
  .trust-grid li { padding: 26px 0; gap: 16px; }
  .specs dl div { grid-template-columns: 1fr; gap: 2px; }
  .road-head { flex-direction: column; align-items: flex-start; }
  .road-card { flex-basis: 84%; }
  .licence-copy li, .product-facts div { flex-direction: column; gap: 2px; }
  .product-facts dd { text-align: left; }
  .hero-ctas { flex-wrap: nowrap; gap: 8px; }
  .hero-ctas .btn { padding: 0 16px; height: 44px; font-size: 14px; white-space: nowrap; }
  .hero-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .status::before, .p-ico--shield .tick { animation: none !important; stroke-dashoffset: 0; }
  .js .reasons .reason { opacity: 1; transform: none; transition: none; }
  .how-desc, .faq-a { transition: none; }
}
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.support-list a.mail-text { color: #fff; }
.hero-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-brand-logo { width: 34px; height: 34px; }
.hero-brand span { font: 400 32px/1 var(--serif); }
.js .in .qrt-logo rect { transform: none; opacity: 1; }
.faq-intro a { color: var(--ink); }
/* Products hero: soft light wash so the copy reads over the slab */
.hero-card--page::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 62% at 50% 46%, rgba(242,246,251,.82) 0%, rgba(242,246,251,.5) 45%, rgba(242,246,251,0) 78%);
}
.hero-card--page .nav { z-index: 6; }

/* =====================================================================
   Round 4: performance
   ===================================================================== */
/* Scroll progress is written to each element that uses it, and does not
   inherit, so a scroll frame no longer restyles everything in the hero. */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.hero-card { border-radius: var(--r-xl); }

/* Link line: move the dots with a transform instead of repainting a background */
.q-flow { background: var(--app); overflow: hidden; }
.q-flow::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -12px; right: 0;
  background: radial-gradient(circle, #fff 1.4px, transparent 2px) 0 50% / 12px 6px repeat-x;
  animation: flow-x 700ms linear infinite; will-change: transform;
}
@keyframes flow-x { to { transform: translateX(12px); } }

/* Looping animations pause while their section is off screen */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* Carousel progress runs as a CSS animation, not a per-frame script */
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
[data-carousel] .tab-fill, [data-carousel] .how-bar::after { transform: scaleX(0); }
[data-carousel] .tab-fill.run, [data-carousel] .how-step.is-active.run .how-bar::after { animation: fill var(--dur, 5600ms) linear forwards; }
[data-carousel].hold .tab-fill, [data-carousel].hold .how-bar::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  [data-carousel] .tab-fill, [data-carousel] .how-step.is-active .how-bar::after { animation: none !important; transform: none; }
}

/* =====================================================================
   Round 4: home hero film (time-lapse → rolling words → "Tiring?" → copy)
   ===================================================================== */
.hero-card--film { background: #0D131C; }
.hero-video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.05 - var(--intro, 0) * .05)); transition: transform 1600ms var(--ease);
}
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity 1000ms var(--ease); }
.hero-shade--light { background: linear-gradient(90deg, rgba(242,246,251,.86) 0%, rgba(242,246,251,.56) 32%, rgba(242,246,251,0) 60%); }
.hero-shade--dark { opacity: 0; background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(9,13,20,.6) 0%, rgba(9,13,20,.8) 100%); }
.hero-card--film.is-dark .hero-shade--light { opacity: 0; }
.hero-card--film.is-dark .hero-shade--dark { opacity: 1; }

.roll { position: absolute; z-index: 2; left: clamp(24px, 6.5vw, 104px); top: 52%; pointer-events: none; color: var(--ink); }
.roll-slot { position: relative; font: 400 clamp(44px, 7.4vw, 124px)/1 var(--serif); letter-spacing: -.015em; }
.roll-slot span {
  position: absolute; left: 0; top: 0; transform: translateY(calc(-50% + .45em)); white-space: nowrap;
  opacity: 0; filter: blur(8px);
  transition: opacity 260ms var(--ease), transform 340ms var(--ease), filter 300ms var(--ease);
}
.roll-slot span.on { opacity: 1; filter: none; transform: translateY(-50%); }
.roll-slot span.off { opacity: 0; filter: blur(8px); transform: translateY(calc(-50% - .45em)); }
.roll-end {
  position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap;
  font: italic 400 clamp(60px, 10vw, 172px)/1 var(--serif); letter-spacing: -.02em;
  transform-origin: 0 50%; transform: translateY(calc(-50% + .35em)); opacity: 0; filter: blur(10px);
  transition: opacity 420ms var(--ease), transform 560ms var(--ease), filter 420ms var(--ease);
}
.roll.end .roll-end { opacity: 1; filter: none; transform: translateY(-50%); }
.roll.gone .roll-end { opacity: 0; filter: blur(10px); transform: translateY(-50%) scale(.55); transition-duration: 520ms; }

.hero-card--film .hero-copy {
  position: absolute; inset: 0; justify-content: center; padding: 72px 24px 24px;
  opacity: 0; transform: scale(.86); transition: opacity 700ms var(--ease), transform 1100ms var(--ease);
}
.hero-card--film.is-dark .hero-copy { opacity: 1; transform: none; }
.hero-card--film .hero-title { color: #fff; font-size: clamp(48px, 5.6vw, 96px); }
.hero-card--film .hero-lede { color: rgba(255,255,255,.8); }
.hero-card--film .btn--tools { background: #fff; color: var(--ink); }
.hero-card--film .btn--tools:hover { background: #E9EEF5; }

/* Nav turns light-on-dark with the hero */
.hero-card--film .nav { z-index: 6; }
.hero-card--film .brand-name, .hero-card--film .brand .mark, .hero-card--film .nav-pill, .hero-card--film .nav-pill a, .hero-card--film .nav-dd-btn, .hero-card--film .nav-menu {
  transition: color 600ms var(--ease), background-color 600ms var(--ease), box-shadow 600ms var(--ease);
}
.is-dark .brand-name { color: #fff; }
.is-dark .brand .mark { background: #fff; color: var(--ink); }
.is-dark .nav-pill { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.is-dark .nav-pill > a, .is-dark .nav-dd-btn { color: rgba(255,255,255,.86); }
.is-dark .nav-pill > a:hover, .is-dark .nav-dd-btn:hover, .is-dark .nav-dd-btn[aria-expanded="true"] { background: rgba(255,255,255,.16); color: #fff; }
.is-dark .nav-menu { background: rgba(255,255,255,.16); color: #fff; }

@media (max-width: 720px) {
  .roll { left: 24px; top: 46%; }
  .hero-shade--light { background: linear-gradient(180deg, rgba(242,246,251,.25) 0%, rgba(242,246,251,.8) 40%, rgba(242,246,251,.8) 56%, rgba(242,246,251,.2) 80%); }
  .hero-card--film .hero-copy { padding: 84px 20px 28px; }
  .hero-card--film .hero-title { font-size: clamp(42px, 12vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .roll { display: none; }
  .hero-card--film .hero-copy { transition: none; }
}

/* =====================================================================
   Round 4: small fixes
   ===================================================================== */
/* Live status: a green dot with a pulsing ring */
.status::before { content: none; }
.status { position: relative; padding-left: 20px; }
.status::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.55); animation: live-ring 1.8s var(--ease-out, ease-out) infinite;
}
@keyframes live-ring { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }
.product-facts .status { display: inline-block; }

/* Dropdown: clear hover feedback, arrow on All products */
.dd-item:hover, .dd-item:focus-visible, .dd-all:hover, .dd-all:focus-visible { background: var(--panel); }
.dd-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: background-color var(--t-quick) var(--ease); }
.dd-all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 380ms var(--ease); }
.dd-all:hover svg, .dd-all:focus-visible svg { transform: translateX(5px); }

/* Products: the Explore bubble travels clear of the licence link */
.product-actions { flex-direction: column; align-items: flex-start; gap: 18px; }

/* QRT: problem icons centred on their row */
.mistake { align-items: center; }

@media (prefers-reduced-motion: reduce) { .status::after, .intro-load::after { animation: none; } }
.is-scrolling .qapp *, .is-scrolling .qapp *::before { animation-play-state: paused !important; }
.nav-pill .dd-item:hover, .nav-pill .dd-item:focus-visible, .nav-pill .dd-all:hover, .nav-pill .dd-all:focus-visible { background: var(--panel); color: var(--ink); }

/* Fast words: the same fade as the single words, just quicker */
.roll.fast .roll-slot span { transition: opacity 90ms var(--ease), transform 130ms var(--ease), filter 110ms var(--ease); }
.mistake .mistake-dot { display: grid; place-items: center; margin-top: 0; color: #B45309; font-size: inherit; }

/* =====================================================================
   Logo (company mark: six rounded bars)
   ===================================================================== */
.logo { display: block; height: 20px; width: auto; aspect-ratio: 1600 / 832; flex: none; overflow: visible; }
.logo--lg { height: 64px; }
.footer .logo { height: 19px; }
/* Intro: the bars slide in from the left, one after another; the vertical drops in last */
.logo .b { transform-box: fill-box; }
.js .intro .logo .b { opacity: 0; transform-origin: 0 50%; transform: scaleX(.2); }
.js .intro .logo .b6 { transform-origin: 50% 0; transform: scaleY(.2); }
.js .intro.play .logo .b { animation: logo-bar 620ms var(--ease) forwards; }
.js .intro.play .logo .b1 { animation-delay: 80ms; }
.js .intro.play .logo .b2 { animation-delay: 200ms; }
.js .intro.play .logo .b3 { animation-delay: 140ms; }
.js .intro.play .logo .b4 { animation-delay: 260ms; }
.js .intro.play .logo .b5 { animation-delay: 320ms; }
.js .intro.play .logo .b6 { animation-delay: 420ms; }
@keyframes logo-bar { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .intro .logo .b { opacity: 1; transform: none; animation: none !important; }
}

