/* Ahmed Abolfadl, portfolio. Mobile first: base rules are for phones, wider screens add to them. */

@font-face { font-family: "Inter"; src: url(../fonts/inter-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url(../fonts/archivo-narrow-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../fonts/jetbrains-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(../fonts/plex-mono-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #07080b;
  --bg-2: #0b0d11;
  --surface: #111318;
  --surface-2: #171a21;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f5f7;
  --muted: #a3a9b5;
  --dim: #6f7685;

  --cents: #2b9be8;
  --lckdin: #2fbf71;
  --pico: #7c74ff;
  --trivial: #ff6a1a;
  --grad: linear-gradient(92deg, #4aa8ff 0%, #34d17f 32%, #9a8cff 62%, #ff8a3d 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4.5vw, 40px);
  --radius: 22px;
  --nav-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 64px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.i { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid #8fc5ff; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.grad {
  background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-shift 8s ease-in-out infinite alternate;
}
@keyframes grad-shift { to { background-position: 100% 0; } }

.eyebrow { font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
h2 { font: 800 clamp(2rem, 6.4vw, 3.5rem)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.section-head { margin-bottom: clamp(32px, 6vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0;
  background: #f4f5f7; color: #08090c; font: 600 .95rem/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
.btn-sm { height: 36px; padding: 0 15px; font-size: .88rem; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(7, 8, 11, .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1rem/1 var(--display); letter-spacing: -.01em; margin-right: auto; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: url(../img/favicon.svg) center / cover; }
.nav-links { display: none; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 36px) 0 40px; overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.b1 { width: 46vmax; height: 46vmax; background: #1565c0; left: -18vmax; top: -16vmax; opacity: .38; }
.b2 { width: 34vmax; height: 34vmax; background: #1f9d5a; right: -10vmax; top: 18%; opacity: .26; }
.b3 { width: 30vmax; height: 30vmax; background: #5b4fe0; right: 18%; bottom: -14vmax; opacity: .34; }
.b4 { width: 22vmax; height: 22vmax; background: #f0621a; left: 30%; bottom: -10vmax; opacity: .2; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}
/* On narrow screens the phones sit between the headline and the intro, so the first screen shows real apps. */
.hero-grid { position: relative; display: grid; }
.hero-copy { display: contents; }
.hero-copy > .status { justify-self: start; order: 1; }
.hero-copy > h1 { order: 2; }
.hero-grid > .stage { order: 3; margin-top: 10px; }
.hero-copy > .lead { order: 4; }
.hero-copy > .cta-row { order: 5; }
.hero-copy > .proof { order: 6; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(47, 191, 113, .1); box-shadow: inset 0 0 0 1px rgba(47, 191, 113, .3); color: #8ee6b4;
  font-size: .85rem; font-weight: 600; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #34d17f; box-shadow: 0 0 0 0 rgba(52, 209, 127, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 209, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 209, 127, 0); } }
h1 { font: 800 clamp(2.55rem, 10.5vw, 5.4rem)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
h1 .grad { display: inline; }
.hero .lead { margin-top: 22px; }
.hero .cta-row { margin-top: 28px; }
.hero .cta-row .btn { flex: 1 1 auto; }
.proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.icon-stack { display: flex; }
.icon-stack img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 2.5px var(--bg); }
.icon-stack img + img { margin-left: -9px; }
.stars { display: flex; align-items: center; gap: 2px; color: #ffcc4d; }
.stars .i { width: 15px; height: 15px; }
.stars b { color: var(--text); margin-left: 6px; font-size: .95rem; }
.proof-text { color: var(--muted); font-size: .88rem; margin-top: 2px; }

/* The fan of phones. Every size is a % of the stage width so it scales with the screen. */
.stage { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / .96; perspective: 1600px; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.ph { position: absolute; width: 36%; transform-style: preserve-3d; }
.ph-1 { left: 0; top: 13%; transform: translateZ(-40px) rotate(-10deg); z-index: 1; }
.ph-2 { left: 20%; top: 3%; transform: translateZ(10px) rotate(-3.5deg); z-index: 2; }
.ph-3 { left: 44%; top: 6%; transform: translateZ(40px) rotate(3deg); z-index: 3; }
.ph-4 { left: 64%; top: 15%; transform: translateZ(-10px) rotate(10deg); z-index: 2; }
.ph-float { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.ph-2 .ph-float { animation-delay: -1.8s; animation-duration: 8s; }
.ph-3 .ph-float { animation-delay: -3.4s; animation-duration: 6.5s; }
.ph-4 .ph-float { animation-delay: -5s; animation-duration: 7.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.device { position: relative; width: 100%; aspect-ratio: 1520 / 3068; }
.device .screen {
  position: absolute; left: 6.579%; top: 3.259%; width: 86.842%; height: 93.482%;
  border-radius: 14.24% / 6.555%; overflow: hidden; container-type: inline-size;
}
.device .screen > img { width: 100%; height: auto; }
.device .frame { position: absolute; inset: 0; width: 100%; height: 100%; }
.sb { position: absolute; inset: 0 0 auto 0; height: 15cqw; color: var(--sb, #000); }
.sb-time { position: absolute; left: 7.4cqw; width: 22.7cqw; top: 4.7cqw; text-align: center; font: 600 4.1cqw/5.45cqw var(--font); letter-spacing: -.01em; }
.sb-icons { position: absolute; left: 73.2cqw; top: 6cqw; width: 16cqw; height: 2.9cqw; fill: currentColor; }

.glass {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 14px; font-size: .74rem; font-weight: 600; white-space: nowrap;
  background: rgba(20, 22, 28, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -12px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite;
}
.glass .i { width: 15px; height: 15px; }
.g1 { left: -2%; top: 4%; color: #9fd0ff; }
.g2 { right: -2%; top: 48%; color: #8ee6b4; animation-delay: -2s; }
.g3 { left: 8%; bottom: 0; color: #fff; animation-delay: -4s; }

/* ---------- numbers ---------- */
.numbers { padding: 28px 0 36px; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
.num-big { font: 800 clamp(2.4rem, 9vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.num-big small { font-size: .5em; letter-spacing: -.02em; color: var(--muted); font-weight: 700; }
.num p { margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.45; max-width: 24ch; }
.num:last-child { grid-column: 1 / -1; }

/* ---------- apps ---------- */
.apps { padding: clamp(72px, 12vw, 130px) 0 0; position: relative; }
.switcher {
  position: sticky; top: calc(var(--nav-h) + 8px); z-index: 40;
  display: flex; justify-content: center; gap: 4px; width: max-content; max-width: calc(100% - 2 * var(--gutter));
  margin: 0 auto; padding: 5px; border-radius: 999px;
  background: rgba(17, 19, 24, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -16px rgba(0, 0, 0, .8);
}
.switcher a { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .86rem; font-weight: 600; transition: background .25s, color .25s; }
.switcher img { width: 28px; height: 28px; border-radius: 8px; }
.switcher a.active { background: rgba(255, 255, 255, .1); color: var(--text); }
.switcher span { display: none; }

.app { position: relative; padding: clamp(56px, 10vw, 110px) 0; scroll-margin-top: calc(4px - clamp(56px, 10vw, 110px)); }
.app::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 40% at 50% 12%, var(--glow), transparent 70%);
}
.app-cents { --brand: var(--cents); --glow: rgba(25, 118, 210, .2); }
.app-lckdin { --brand: var(--lckdin); --glow: rgba(47, 191, 113, .13); }
.app-pico { --brand: var(--pico); --glow: rgba(95, 82, 235, .2); }
.app-trivial { --brand: var(--trivial); --glow: rgba(251, 93, 2, .14); }

.banner { border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .9); background: var(--surface); }
.banner img { width: 100%; height: auto; }

.app-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 16px; margin-top: 28px; }
.app-icon { width: 60px; height: 60px; border-radius: 15px; box-shadow: 0 0 0 1px var(--line-2); }
.app-id h3 { font: 800 clamp(1.9rem, 6vw, 2.6rem)/1 var(--display); letter-spacing: -.035em; }
.app-meta { margin-top: 6px; color: var(--muted); font-size: .9rem; }
.mini-stars { display: inline-flex; align-items: center; gap: 3px; color: var(--text); }
.mini-stars .i { width: 13px; height: 13px; color: #ffcc4d; }
.store-btn {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, box-shadow .2s;
}
.store-btn:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); box-shadow: inset 0 0 0 1px var(--brand); }

.app-grid { display: grid; gap: 36px; margin-top: 32px; }
.app-title { font: 800 clamp(1.7rem, 5.4vw, 2.5rem)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.app-pitch { margin-top: 16px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; text-wrap: pretty; }
.does { display: grid; gap: 12px; margin-top: 22px; }
.does li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; line-height: 1.45; }
.does .i { width: 22px; height: 22px; padding: 4px; border-radius: 7px; color: var(--brand); background: color-mix(in srgb, var(--brand) 16%, transparent); margin-top: 1px; }
.clever {
  margin-top: 26px; padding: 18px 20px; border-radius: 16px; position: relative;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent);
}
.clever-label { font: 700 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 9px; }
.clever p:last-child { line-height: 1.6; color: #d9dce2; }
.clever b { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #cfd3da; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- demos: shared ---------- */
.demo {
  align-self: start; justify-self: center; width: 100%; max-width: 520px; border-radius: 26px; padding: 14px; position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px color-mix(in srgb, var(--brand) 60%, transparent);
}
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; }
.demo-label { display: flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 700; letter-spacing: .01em; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.demo-btn { border: 0; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 6px 13px; font-size: .8rem; font-weight: 600; }
.demo-btn:hover { background: rgba(255, 255, 255, .14); }
.demo-note { padding: 12px 6px 4px; font-size: .84rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- demo: Cents (a lock screen) ---------- */
.lock {
  position: relative; border-radius: 20px; padding: 26px 12px 16px; min-height: 430px; overflow: hidden;
  background: radial-gradient(120% 70% at 20% 0%, #2a8fd8 0%, transparent 60%), radial-gradient(90% 60% at 100% 100%, #0b3d73, transparent 70%), linear-gradient(170deg, #0f5d9c, #072748);
  font-family: var(--font); color: #fff;
}
.lock-time { text-align: center; font: 300 4.2rem/1 var(--font); letter-spacing: -.03em; }
.lock-date { text-align: center; font-size: .95rem; font-weight: 500; opacity: .85; margin-top: 6px; }
.notes { display: grid; gap: 10px; margin-top: 26px; }
.note {
  display: flex; gap: 11px; padding: 12px 13px; border-radius: 18px; color: #111;
  background: rgba(245, 246, 250, .9); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(-14px) scale(.97); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .9, .3, 1.2);
}
.note.on { opacity: 1; transform: none; }
.note-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.note-icon.sms { background: linear-gradient(180deg, #67e46c, #2fc33a); position: relative; }
.note-icon.sms::after { content: ""; position: absolute; inset: 9px 8px 10px; border-radius: 50% / 45%; background: #fff; }
.note-body { min-width: 0; font-size: .84rem; line-height: 1.38; }
.note-top { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.note-top span { color: #7a7d85; font-size: .78rem; }
.note-body p { color: #222; }
.note mark { background: transparent; color: inherit; border-radius: 4px; padding: 0 2px; transition: background .4s ease, box-shadow .4s ease; }
.note mark.on { background: rgba(0, 114, 178, .16); box-shadow: inset 0 -2px 0 #0072b2; }
.handoff {
  justify-self: center; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 600; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  opacity: 0; transform: scale(.9); transition: opacity .4s ease, transform .4s ease;
}
.handoff.on { opacity: 1; transform: none; }
.spark { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: blink 1s infinite; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.quick.on { opacity: 1; transform: none; }
.quick-label { width: 100%; font-size: .72rem; opacity: .75; padding-left: 4px; }
.quick-chip { padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 600; background: rgba(255, 255, 255, .9); color: #0072b2; }
.quick-chip:first-of-type { color: #d12f2f; }

/* ---------- demo: Lckdin (a workout card) ---------- */
.lk {
  position: relative; border-radius: 20px; padding: 16px 12px 14px; overflow: hidden;
  background: #f7f8f9; color: #0e1113; font-family: var(--font); min-height: 430px;
}
.lk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 0 4px 12px; }
.lk-ex { font: 700 1.3rem/1.1 "Archivo Narrow", var(--display); letter-spacing: -.01em; }
.lk-sub { font-size: .78rem; color: #6b747a; margin-top: 3px; }
.lk-best { font-size: .72rem; color: #6b747a; text-align: right; line-height: 1.35; }
.lk-best b { font: 700 .82rem var(--mono); color: #0e1113; }
.lk-row {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) 74px 68px 30px; align-items: center; gap: 4px;
  padding: 7px 4px; border-radius: 10px; font: 700 .82rem var(--mono); transition: background .3s ease;
}
.lk-cols { font: 600 .66rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #8b959b; padding-block: 2px 6px; }
.lk-cols span:nth-child(1), .lk-cols span:nth-child(3), .lk-cols span:nth-child(4) { text-align: center; }
.lk-n { text-align: center; color: #6b747a; }
.lk-prev { color: #9aa5ab; font-size: .72rem; white-space: nowrap; overflow: hidden; }
/* The smallest phones drop the "previous" column so the inputs keep their room. */
@media (max-width: 359px) {
  .lk-row { grid-template-columns: 18px minmax(0, 1fr) minmax(0, 1fr) 30px; }
  .lk-prev, .lk-cols span:nth-child(2) { display: none; }
}
.lk-val { text-align: center; background: #fff; border-radius: 8px; padding: 6px 0; box-shadow: inset 0 0 0 1px #e3e6e9; }
.lk-row.done { background: rgba(47, 191, 113, .1); }
.lk-row.done .lk-val { background: transparent; box-shadow: none; }
.lk-tick { width: 30px; height: 30px; border-radius: 8px; border: 0; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px #cfd5da; color: #b9c1c7; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.lk-tick .i { width: 18px; height: 18px; }
.lk-tick.on { background: #1e8a50; color: #fff; box-shadow: none; }
.lk-live .lk-tick:not(.on) { animation: nudge 2.2s ease-in-out infinite; color: #1e8a50; box-shadow: inset 0 0 0 1.5px #2fbf71; }
@keyframes nudge { 0%, 100% { transform: none; } 45% { transform: scale(1.08); box-shadow: inset 0 0 0 1.5px #2fbf71, 0 0 0 6px rgba(47, 191, 113, .18); } }
.lk-tick:active { transform: scale(.92); }
.lk-step { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 8px; box-shadow: inset 0 0 0 1px #e3e6e9; height: 32px; }
.lk-step button { border: 0; background: transparent; width: 24px; height: 100%; font: 600 1rem/1 var(--font); color: #1e8a50; }
.lk-step b { font-weight: 700; min-width: 2ch; text-align: center; }
.lk-live.done .lk-step { background: transparent; box-shadow: none; }
.lk-live.done .lk-step button { visibility: hidden; }
.lk-muscles { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 4px 0; font-size: .74rem; color: #6b747a; }
.lk-muscles span { width: 100%; font-weight: 600; letter-spacing: .02em; }
.lk-muscles i { font-style: normal; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #eceff1; color: #6b747a; transition: background .4s ease, color .4s ease; }
.lk-muscles i.on { background: #e7311f; color: #fff; }
.lk-muscles i.on:nth-of-type(2) { background: #f08a24; }
.lk-muscles i.on:nth-of-type(3) { background: #f5b82e; color: #3a2a00; }
.lk-toast {
  position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 11px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: #0e1113; color: #fff;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(-120%); transition: opacity .4s ease, transform .55s cubic-bezier(.2, .9, .3, 1.15);
}
.lk-toast.on { opacity: 1; transform: none; }
.lk-toast.plain { background: #2a3035; }
.lk-trophy { font-size: 1.5rem; }
.lk-toast b { display: block; font-size: .9rem; }
.lk-toast span { display: block; font-size: .8rem; opacity: .8; margin-top: 1px; }
.lk-timer {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .35), inset 0 0 0 1px #e3e6e9;
  opacity: 0; transform: translateY(130%); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .9, .3, 1.1);
}
.lk-timer.on { opacity: 1; transform: none; }
.ring { width: 34px; height: 34px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke: #e6e9ec; stroke-width: 3.5; }
.ring .ring-fg { stroke: #b36a00; stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.lk-timer-text { flex: 1; min-width: 0; line-height: 1.15; }
.lk-timer-text b { font: 700 1.05rem var(--mono); color: #b36a00; }
.lk-timer-text span { display: block; font-size: .7rem; color: #6b747a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-timer button { border: 0; border-radius: 8px; height: 30px; padding: 0 8px; font: 700 .74rem var(--mono); background: #eef1f3; color: #3c464c; }
.lk-timer .lk-skip { font-family: var(--font); color: #1e8a50; background: transparent; }

/* ---------- demo: Pico (Wordform) ---------- */
.wf { border-radius: 20px; padding: 18px 10px 12px; background: #f2f4f7; color: #1b2030; font-family: var(--font); }
.wf-date { font: 600 .72rem/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wf-board { display: grid; gap: 6px; width: min(100%, 272px); margin: 0 auto; }
.wf-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wf-row.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.wf-tile {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 6px; background: #fff;
  box-shadow: inset 0 0 0 1.5px #d7dbe3; font: 700 clamp(1.15rem, 5.4vw, 1.5rem)/1 var(--font); text-transform: uppercase; color: #1b2030;
}
.wf-tile.filled { box-shadow: inset 0 0 0 1.5px #8c92a3; animation: pop .12s ease; }
@keyframes pop { 50% { transform: scale(1.08); } }
.wf-tile.correct, .wf-tile.present, .wf-tile.absent { color: #fff; box-shadow: none; animation: flip .5s ease both; }
.wf-tile.correct { background: #457b5a; }
.wf-tile.present { background: #b0883d; }
.wf-tile.absent { background: #8c92a3; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.wf-msg { min-height: 1.5em; margin: 12px 0 10px; text-align: center; font-size: .86rem; font-weight: 600; color: #4f46e5; }
.wf-after { display: flex; justify-content: center; margin-bottom: 12px; }
.wf-again { border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: .86rem; background: #4f46e5; color: #fff; }
.wf-keys { display: grid; gap: 6px; }
.wf-krow { display: flex; justify-content: center; gap: 4px; }
.wf-key {
  flex: 1 1 0; max-width: 34px; height: 42px; border: 0; border-radius: 6px; background: #dfe3ea; color: #1b2030;
  font: 600 .86rem/1 var(--font); text-transform: uppercase; padding: 0; touch-action: manipulation;
}
.wf-key.wide { max-width: 54px; flex-grow: 1.6; font-size: .66rem; letter-spacing: .04em; }
.wf-key:active { filter: brightness(.92); }
.wf-key.correct { background: #457b5a; color: #fff; }
.wf-key.present { background: #b0883d; color: #fff; }
.wf-key.absent { background: #8c92a3; color: #fff; }

/* ---------- demo: Trivial (Blitz) ---------- */
.tv {
  position: relative; border-radius: 20px; padding: 18px 14px; min-height: 430px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, rgba(224, 168, 43, .14), transparent 60%), #0d1015; color: #e8ebf0;
  font-family: var(--font); display: grid;
}
.tv > div { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; }
.tv[data-state="idle"] .tv-play, .tv[data-state="idle"] .tv-end,
.tv[data-state="play"] .tv-start, .tv[data-state="play"] .tv-end,
.tv[data-state="end"] .tv-start, .tv[data-state="end"] .tv-play { opacity: 0; transform: scale(.98); pointer-events: none; visibility: hidden; }
.tv-best { font: 600 .72rem/1 "Plex Mono", var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #e0a82b; }
.tv-start { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 6px; }
.tv-bolt { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.4rem; background: #241d10; box-shadow: inset 0 0 0 1px #4a3c1e; }
.tv-mode { font: 700 1.9rem/1 var(--display); letter-spacing: -.02em; }
.tv-mode span { display: block; margin-top: 8px; font: 600 .7rem/1 "Plex Mono", var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #e0a82b; }
.tv-intro { color: #9aa3b2; font-size: .92rem; line-height: 1.55; }
.tv-go { margin-top: 6px; height: 50px; border: 0; border-radius: 12px; background: #e0a82b; color: #1a1406; font-weight: 700; font-size: 1rem; }
.tv-go:hover { filter: brightness(1.06); }
.tv-play { display: flex; flex-direction: column; }
.tv-bar { height: 4px; border-radius: 4px; background: #1d222b; overflow: hidden; }
.tv-bar span { display: block; height: 100%; width: 100%; background: #e0a82b; transform-origin: left; }
.tv-score-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.tv-score { font: 600 1.6rem/1 "Plex Mono", var(--mono); font-variant-numeric: tabular-nums; }
.tv-streak { display: flex; align-items: center; gap: 4px; flex: 1; }
.tv-streak i { width: 6px; height: 6px; border-radius: 50%; background: #2a303a; transition: background .25s; }
.tv-streak i.on { background: #e0a82b; }
.tv-streak em { font: 600 .74rem "Plex Mono", var(--mono); font-style: normal; color: #7fd49b; margin-left: 6px; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.tv-streak em.on { opacity: 1; transform: none; }
.tv-clock { font: 600 .9rem "Plex Mono", var(--mono); color: #e0a82b; }
.tv-q { margin: 18px 0 16px; font-size: 1.08rem; line-height: 1.4; font-weight: 600; min-height: 4.2em; text-wrap: pretty; }
.tv-opts { display: grid; gap: 8px; margin-top: auto; }
.tv-opt {
  text-align: left; border: 0; border-radius: 10px; padding: 12px 14px; font-size: .93rem; font-weight: 500;
  background: #161a21; box-shadow: inset 0 0 0 1px #262c36; color: #e8ebf0; transition: background .15s, box-shadow .15s;
}
.tv-opt:hover:not(:disabled) { background: #1c212a; }
.tv-opt.right { background: rgba(52, 199, 89, .18); box-shadow: inset 0 0 0 1.5px #34c759; }
.tv-opt.wrong { background: rgba(255, 69, 58, .16); box-shadow: inset 0 0 0 1.5px #ff453a; }
.tv-opt:disabled { cursor: default; }
.tv-end { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.tv-new { padding: 4px 10px; border-radius: 999px; font: 600 .66rem/1 "Plex Mono", var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #e0a82b; box-shadow: inset 0 0 0 1px #6b5420; }
.tv-final { font: 600 clamp(3rem, 14vw, 4rem)/1 "Plex Mono", var(--mono); letter-spacing: -.02em; }
.tv-summary { color: #9aa3b2; font-size: .9rem; margin-bottom: 10px; }
.tv-end .tv-go { width: 100%; max-width: 260px; }

/* ---------- App Store screenshot strips ---------- */
.shots-wrap { margin-top: clamp(40px, 7vw, 64px); }
.shots-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shots-head p { font-size: .9rem; font-weight: 600; color: var(--muted); }
.shots-nav { display: none; gap: 8px; }
.shots-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line-2); }
.shots-nav button:hover { background: rgba(255, 255, 255, .13); }
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
}
.shots::-webkit-scrollbar { display: none; }
.shots img { width: 100%; height: auto; border-radius: 14px; scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line); background: var(--surface); }

/* ---------- marketing ---------- */
.market { padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 100px); border-top: 1px solid var(--line); overflow: clip; }
.marquee { display: grid; gap: 14px; margin-bottom: clamp(40px, 7vw, 64px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 95s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-row img { width: 150px; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }
.market-grid { display: grid; gap: 14px; }
.mcard { padding: 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.mcard-num { display: block; font: 800 2.8rem/1 var(--display); letter-spacing: -.04em; }
.mcard-title { margin-top: 6px; font-weight: 700; font-size: 1.02rem; }
.mcard p:last-child { margin-top: 8px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.mcard a { color: #cfd6ff; text-decoration-color: rgba(207, 214, 255, .35); text-underline-offset: 3px; }
.mcard a:hover { color: #fff; }

/* Cursor spotlight on cards (pointer devices only). */
.spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 60%);
}
.spot:hover::after { opacity: 1; }

/* ---------- services + capabilities ---------- */
.services { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.service-grid { display: grid; gap: 14px; }
.service { position: relative; overflow: hidden; padding: 26px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.service-n { font: 700 .8rem/1 var(--mono); color: var(--dim); }
.service h3 { margin-top: 18px; font: 800 1.5rem/1.1 var(--display); letter-spacing: -.02em; }
.service p { margin-top: 10px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.service:nth-child(1) h3 { color: #8fc8ff; }
.service:nth-child(2) h3 { color: #8ee6b4; }
.service:nth-child(3) h3 { color: #bdb6ff; }
.service:nth-child(4) h3 { color: #ffb489; }

.caps { margin-top: clamp(56px, 9vw, 90px); }
.caps-head h3 { font: 800 clamp(1.5rem, 4.6vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; }
.caps-head > p { margin-top: 8px; color: var(--muted); }
.caps-filter { display: flex; gap: 8px; margin: 20px calc(-1 * var(--gutter)) 22px; padding: 2px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.caps-filter::-webkit-scrollbar { display: none; }
.caps-filter button {
  flex: none; display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: 999px;
  font-size: .86rem; font-weight: 600; background: rgba(255, 255, 255, .05); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, color .2s;
}
.caps-filter button img { width: 20px; height: 20px; border-radius: 5px; }
.caps-filter button[aria-pressed="true"] { background: #f4f5f7; color: #08090c; }
.caps-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.caps-grid li {
  display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 13px; border-radius: 14px; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease;
}
.caps-grid b { font-weight: 650; font-size: .88rem; line-height: 1.3; }
.caps-grid span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.caps-grid li.dim { opacity: .22; transform: scale(.98); }
.caps-grid li.hit { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }

/* ---------- process ---------- */
.process { padding: clamp(80px, 12vw, 140px) 0; border-top: 1px solid var(--line); }
.steps { display: grid; gap: 0; counter-reset: s; position: relative; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 30px; position: relative; }
.step::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.step:last-child::before { display: none; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem var(--display);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.step:nth-child(1) .step-n { color: #8fc8ff; }
.step:nth-child(2) .step-n { color: #8ee6b4; }
.step:nth-child(3) .step-n { color: #bdb6ff; }
.step:nth-child(4) .step-n { color: #ffb489; }
.step:nth-child(5) .step-n { color: #ffe08a; }
.step h3 { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.01em; padding-top: 9px; }
.step p { margin-top: 6px; color: var(--muted); line-height: 1.6; }

/* ---------- about ---------- */
.about { padding: clamp(80px, 12vw, 130px) 0; border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 30px; align-items: center; }
.about-mark {
  width: 120px; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center;
  background: var(--grad); box-shadow: 0 30px 60px -20px rgba(91, 79, 224, .6);
}
.about-mark span { font: 800 2.6rem/1 var(--display); letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.about-copy p:not(.eyebrow):not(.tools) { margin-top: 16px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 64ch; }
.about-copy b { color: var(--text); font-weight: 600; }
.about-copy h2 { margin-bottom: 4px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tools span { padding: 6px 11px; border-radius: 8px; font: 700 .74rem var(--mono); color: #c9ced6; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- faq ---------- */
.faq { padding: clamp(80px, 12vw, 130px) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 8px; }
.faq-list { display: grid; gap: 10px; }
details { border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 650; font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 400 1.3rem/1 var(--font); background: rgba(255, 255, 255, .06); transition: transform .3s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 20px 20px; color: var(--muted); line-height: 1.65; }

/* ---------- contact ---------- */
.contact { padding: clamp(40px, 8vw, 80px) 0 clamp(80px, 12vw, 120px); }
.contact-card {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(32px, 7vw, 72px) clamp(22px, 6vw, 72px);
  background: radial-gradient(80% 120% at 0% 0%, rgba(43, 155, 232, .22), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(255, 106, 26, .18), transparent 60%), var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.contact-card h2 { font-size: clamp(2.2rem, 7.4vw, 4rem); }
.contact-card .lead { margin-top: 18px; }
.contact-card .cta-row { margin-top: 30px; }
.contact-card .cta-row .btn { max-width: 100%; }
.contact-card .cta-row .btn:first-child { overflow: hidden; text-overflow: ellipsis; }
.socials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.socials a:hover { color: var(--text); }

.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--dim); font-size: .86rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-apps { display: flex; gap: 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* =================== wider screens =================== */
@media (min-width: 480px) {
  .lk-row { grid-template-columns: 22px minmax(0, 1fr) 84px 76px 34px; gap: 6px; }
  .hero .cta-row .btn { flex: 0 0 auto; }
  .shots { grid-auto-columns: 34%; }
}

@media (min-width: 640px) {
  .numbers-grid { grid-template-columns: repeat(3, 1fr); }
  .num:last-child { grid-column: auto; }
  .switcher span { display: inline; }
  .switcher { gap: 6px; }
  .app-head { grid-template-columns: auto 1fr auto; }
  .app-icon { width: 72px; height: 72px; border-radius: 17px; }
  .store-btn { grid-column: auto; justify-self: end; }
  .shots { grid-auto-columns: 26%; }
  .shots-nav { display: flex; }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .caps-grid { gap: 10px; }
  .caps-grid li { padding: 15px 16px; }
  .caps-grid b { font-size: .96rem; }
  .caps-grid span { font-size: .84rem; }
  .marquee-row img { width: 180px; }
  .glass { font-size: .8rem; padding: 9px 14px; }
}

@media (min-width: 760px) {
  :root { --nav-h: 68px; }
  .nav-links { display: flex; }
  .shots { grid-auto-columns: 19%; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .about-grid { grid-template-columns: 180px 1fr; gap: 48px; align-items: start; }
  .about-mark { width: 180px; border-radius: 44px; }
  .about-mark span { font-size: 4rem; }
}

@media (min-width: 900px) {
  .numbers-grid { grid-template-columns: repeat(5, 1fr); }
  .num p { font-size: .88rem; }
  .app-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: start; }
  .demo { position: sticky; top: calc(var(--nav-h) + 76px); }
  /* Keep each banner to well under a screen on laptops; the phones' tops carry the picture. */
  .banner img { aspect-ratio: 1800 / 620; object-fit: cover; object-position: 50% 0; }
  .caps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .step { grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .step::before { left: 54px; right: -14px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--line-2), transparent); }
  .step h3 { padding-top: 0; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 40px); }
  .caps-filter { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
}

@media (min-width: 1024px) {
  .hero { padding: calc(var(--nav-h) + 56px) 0 72px; min-height: min(900px, 100svh); display: flex; align-items: center; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .hero-copy { display: block; }
  .hero-grid > .stage { width: 100%; margin-top: 0; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .marquee-row img { width: 200px; }
}

@media (hover: none) { .spot::after { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
