/* every font is served from this site (no Google Fonts, no font CDN) */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BubbledotICG-FinePos";
  src: url("fonts/BubbledotICG-FinePos.woff2") format("woff2"), url("fonts/BubbledotICG-FinePos.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  /* Sandstone's brand colour, used only on the stat glyphs */
  --accent: #ff9969;
}

*,
*::before,
*::after { box-sizing: border-box; }

html,
body {
  margin: 0;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- background video ---------- */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #000;
  overflow: hidden;
  z-index: 0;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* ---------- page ---------- */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(clamp(16px, 2.4vh, 28px) + 64px) clamp(14px, 3vw, 32px) clamp(16px, 2.4vh, 28px);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.header,
.hero,
.stats,
.mobile-menu,
.menu-overlay { z-index: 1; }

/* ---------- header ---------- */
.header {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover { transform: scale(1.04); }
.logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}

.nav {
  flex: 1;
  max-width: 430px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 clamp(8px, 1.2vw, 14px);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}
.nav-link:hover { opacity: 0.75; }
.nav-link.active { opacity: 1; }
.nav-link.active::after,
.m-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.sign-in {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  box-shadow: var(--nav-shadow);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.sign-in:hover {
  background: #323234;
  color: #fff;
}

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin: -0.75px 0 0 -9px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, background 0.3s ease;
}
.burger span:nth-child(1) { transform: translateY(-6.5px); }
.burger span:nth-child(3) { transform: translateY(6.5px); }
.burger[aria-expanded="true"] { background: #fff; }
.burger[aria-expanded="true"] span { background: #000; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  min-height: 0;
}

.trust {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.avatar {
  position: relative;
  display: grid;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar .inner {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}
.avatar svg {
  width: calc(var(--trust-size) * 0.4);
  height: calc(var(--trust-size) * 0.4);
  color: #111;
}
.avatar + .avatar { margin-left: calc(var(--trust-size) * -0.42); }
.a1 { z-index: 1; }
.a2 { z-index: 2; }
.a3 { z-index: 4; }
.trust:hover .a1 { transform: translateY(-2px); }
.trust:hover .a2 { transform: translateY(-4px); }
.trust:hover .a3 { transform: translateY(-2px); }
.trust-pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 16px 0 calc(var(--trust-size) * 0.58);
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  white-space: nowrap;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #fff;
  max-width: 100%;
}
.headline .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.headline .l1 { animation-delay: 0.12s; }
.headline .l2 { animation-delay: 0.3s; }
/* the parent carries the .anim class but no reveal of its own */
.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.subhead {
  max-width: min(500px, 92%);
  margin: clamp(14px, 2.2vh, 22px) auto 0;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
  font-weight: 400;
  color: #d0d0d0;
}
.subhead.anim { --o: 0.8; }

.cta {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(20px, 3.2vh, 32px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 22px rgba(255, 255, 255, 0.32), 0 0 44px rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s ease, box-shadow 0.3s ease;
}
/* nothing lifts or scales (owner rule 2026-11-13): the pill only brightens its glow */
.cta:hover {
  background: #f1f1f1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 30px rgba(255, 255, 255, 0.5), 0 0 64px rgba(255, 255, 255, 0.2);
}

/* ---------- stats ---------- */
.stats {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  max-width: 920px;
  padding-bottom: clamp(4px, 1vh, 12px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(4px, 0.8vh, 8px);
}
.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
  color: var(--accent);
}
.stat-value {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.1;
}
.stat-label {
  font-size: clamp(11px, 1.2vw, 12.5px);
  color: var(--muted);
  line-height: 1.35;
}

/* ---------- shared entrance ---------- */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.anim-pulse {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: revealPulse 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes reveal {
  to { opacity: var(--o, 1); transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes revealPulse {
  0% { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  55% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 22px rgba(255, 255, 255, 0.32), 0 0 44px rgba(255, 255, 255, 0.12); }
  75% { transform: scale(1.03); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 34px rgba(255, 255, 255, 0.55), 0 0 72px rgba(255, 255, 255, 0.22); }
  100% { opacity: 1; transform: none; filter: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 22px rgba(255, 255, 255, 0.32), 0 0 44px rgba(255, 255, 255, 0.12); }
}
@keyframes headlineFade {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- mobile menu ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}
.mobile-menu {
  position: fixed;
  z-index: 2;
  top: calc(clamp(16px, 2.4vh, 28px) + 48px + 12px);
  left: 50%;
  width: min(420px, calc(100% - 2 * clamp(14px, 3vw, 32px)));
  transform: translateX(-50%);
  background: #fff;
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.mobile-menu:not([hidden]) nav { animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.m-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 0 16px;
  text-align: center;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
}
.m-link.active { opacity: 1; }
.m-link.active::after { bottom: 8px; }
.m-sign-in {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-weight: 500;
  font-size: 15px;
}
.mobile-menu:not([hidden]) .m-link,
.mobile-menu:not([hidden]) .m-sign-in { animation: linkIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both; }
.mobile-menu nav > :nth-child(1) { animation-delay: 0.06s; }
.mobile-menu nav > :nth-child(2) { animation-delay: 0.1s; }
.mobile-menu nav > :nth-child(3) { animation-delay: 0.14s; }
.mobile-menu nav > :nth-child(4) { animation-delay: 0.18s; }
.mobile-menu nav > :nth-child(5) { animation-delay: 0.22s; }

/* ---------- below the hero: same black, same pills, same pixel display type ---------- */
.header.pin {
  position: fixed;
  z-index: 5;
  top: clamp(16px, 2.4vh, 28px);
  left: 50%;
  width: calc(100% - 2 * clamp(14px, 3vw, 32px));
  transform: translate(-50%, calc(-100% - 40px));
  animation: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.header.pin.on { transform: translate(-50%, 0); }
.header.pin .nav-link { opacity: 0.5; }
.header.pin .nav-link.active { opacity: 1; }
.header.pin .sign-in { background: #fff; color: #000; font-weight: 600; }
.header.pin .sign-in:hover { background: #f1f1f1; color: #000; }

.more {
  position: relative;
  z-index: 1;
  padding: 0 var(--sv-pad, clamp(14px, 3vw, 32px));
}
.sec {
  max-width: 1664px;
  margin: 0 auto;
  padding-top: clamp(96px, 17vh, 190px);
}
.disp {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0;
  color: #fff;
}

/* dot-matrix rule between sections; the orange dots run across as you scroll in */
.dots {
  --p: 0;
  position: relative;
  height: 12px;
  margin-bottom: clamp(54px, 9vh, 96px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1.3px, transparent 1.8px) 0 50% / 12px 12px repeat-x;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.dots::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--accent) 1.4px, transparent 1.9px) 0 50% / 12px 12px repeat-x;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.sec-head h2 { font-size: clamp(34px, 5.2vw, 68px); }
.sec-head p {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: #a3a3a3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 28px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover { border-color: rgba(255, 255, 255, 0.2); }
.card .glyph {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 33px);
  line-height: 1;
  color: var(--accent);
}
.card h3 {
  margin: 18px 0 0;
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}
.card p {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.1vw, 15.5px);
  line-height: 1.6;
  color: #9a9a9a;
  max-width: 48ch;
}
.card .vis { margin-top: auto; padding-top: 26px; }
.card .vis img { display: block; width: 100%; height: auto; border-radius: 14px; }
.card .code pre {
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: #1b1411;
  border: 1px solid rgba(255, 255, 255, 0.07);
  font: 13px/1.7 ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: #d8d2cd;
  overflow-x: auto;
  white-space: pre;
}
.code .k { color: #f1ebe6; }
.code .n { color: #c9b8ad; }
.code .s { color: #c9b8ad; }
.code .c { color: #7f7169; }
.code .bad { display: inline-block; width: 100%; margin: 0 -18px; padding: 0 18px; box-sizing: content-box; background: rgba(255, 153, 105, 0.12); box-shadow: inset 2px 0 0 var(--accent); }
.code .msg { color: var(--accent); font-family: var(--font-sans); font-size: 12.5px; }
.card .big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.card .big .num { font-family: var(--font-display); font-size: clamp(46px, 6vw, 78px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.card .big .unit { color: #9a9a9a; font-size: 14px; }

.shot { margin: 0; perspective: 1400px; }
.shot .frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform-origin: 50% 0;
  will-change: transform;
}
.shot .frame img { display: block; width: 100%; height: auto; }
.shot figcaption {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: #8e8e8e;
}
.shot figcaption img { height: 38px; width: auto; border-radius: 999px; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.step {
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #0c0c0c;
}
.step .stn { display: block; font-size: clamp(54px, 6vw, 84px); line-height: 0.9; color: var(--accent); }
.step h3 { margin: 26px 0 0; font-weight: 500; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.02em; }
.step p { margin: 10px 0 0; font-size: clamp(14px, 1.1vw, 15.5px); line-height: 1.6; color: #9a9a9a; }

.get-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.get-in h2 { font-size: clamp(40px, 8.4vw, 116px); }
.get-sub { margin: 22px auto 0; max-width: 44ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.55; color: #d0d0d0; }
.get-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 34px; }
.get-row .cta { margin-top: 0; }
.get-row .sign-in { display: inline-flex; height: 46px; }
.get-ver { margin: 22px 0 0; font-size: 13px; color: #8e8e8e; font-variant-numeric: tabular-nums; }
.get-note { margin: 8px auto 0; max-width: 56ch; font-size: 13px; line-height: 1.55; color: #6f6f6f; }

/* what's new: one row per version, the version in the pixel face */
.log { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.log-v { padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.09); background: #0c0c0c; }
.log-v h3 { margin: 0; display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.log-v h3 .disp { font-size: clamp(30px, 3.4vw, 44px); color: var(--accent); }
.log-d { font-size: 14px; color: #8e8e8e; font-variant-numeric: tabular-nums; }
.log-v ul { margin: 16px 0 0; padding: 0 0 0 1.1em; display: grid; gap: 8px; font-size: clamp(14px, 1.1vw, 15.5px); line-height: 1.6; color: #a3a3a3; max-width: 78ch; }

.foot {
  max-width: 1180px;
  margin: clamp(110px, 18vh, 200px) auto 0;
  padding: 0 0 clamp(22px, 4vh, 40px);
}
.foot-row { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 24px); }
.foot .nav { flex: 0 1 430px; }
.foot .nav-link { opacity: 0.72; }
.foot .nav-link:hover { opacity: 1; }
.foot .fine { margin: 24px 0 0; text-align: center; font-size: 12px; line-height: 1.6; color: #6f6f6f; }
.foot .fine a { color: #a3a3a3; text-decoration: underline; text-underline-offset: 3px; }

/* scroll reveal: the hero's own entrance (rise, unblur), played when a block comes into view */
.rv {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- breakpoints ---------- */
@media (max-width: 720px) {
  .header { justify-content: space-between; max-width: none; }
  .nav,
  .sign-in { display: none; }
  .burger { display: block; }
  .logo { width: 48px; height: 48px; }

  .headline { letter-spacing: -0.08em; line-height: 1.05; }
  .trust-pill { font-size: 12px; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(14px, 2.4vh, 22px);
  }

  .header.pin { justify-content: space-between; }
  .header.pin .sign-in { display: inline-flex; }
  /* minmax(0, 1fr): a plain 1fr let the code sample (white-space: pre) push the card 13px past a 390 screen */
  .sec-head, .cards, .steps { grid-template-columns: minmax(0, 1fr); }
  .card, .step, .log-v { min-width: 0; }
  .sec-head { gap: 14px; }
  .card, .step { border-radius: 24px; }
  .foot-row { flex-wrap: wrap; }
  .foot .nav { display: flex; order: 3; flex: 1 1 100%; max-width: none; }
  .foot .sign-in { display: inline-flex; }
  .shot .frame { border-radius: 14px; }
}

@media (max-width: 420px) {
  .trust { --trust-size: 34px; }
  .headline { letter-spacing: -0.09em; line-height: 1.04; }
}

@media (max-height: 700px) {
  .trust { margin-bottom: 12px; }
  .subhead { margin-top: 10px; line-height: 1.45; }
  .cta { margin-top: 16px; }
  .stat { gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .anim,
  .anim-pulse,
  .rv,
  .headline .line {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .subhead.anim { opacity: 0.8; }
  .headline { color: #fff; }
}
