@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;450;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #ededea;
  --muted: #a8a8a3;
  --quiet: #6e6e68;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .035);
  --glass-strong: rgba(255, 255, 255, .07);
  --paper: #101216;
  --accent: #9ed4ff;
  --accent-dark: #1e3346;
  --amber: #c8fa3e;
  --rose: #ffb898;
  --shadow: rgba(0, 0, 0, .62);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  scroll-snap-type: y mandatory;
}

body {
  min-height: 100%;
  margin: 0;
  font: 15px "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 1200px 620px at 50% -120px, rgba(43, 67, 84, .86), transparent 60%),
    radial-gradient(900px 560px at 94% 18%, rgba(158, 212, 255, .16), transparent 64%),
    radial-gradient(780px 520px at 5% 80%, rgba(255, 255, 255, .035), transparent 60%),
    linear-gradient(180deg, #11141a 0%, #13161c 54%, #0f1116 100%);
  background-attachment: fixed;
  letter-spacing: 0;
  overflow-x: hidden;
  perspective: 1200px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 900px 600px at 50% 200px, black 30%, transparent 75%);
  animation: refraction-drift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}

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

.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 18, 22, .72);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 16px 40px -28px var(--shadow);
}

.brand {
  min-width: 118px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px 3px;
  border-radius: 18px;
  background: #ededea;
  color: #050507;
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.075em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 18px 46px -28px rgba(237, 237, 234, .48);
}

.brand-mark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 9px;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .055);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 30px -24px var(--shadow);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px) rotateX(4deg);
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .18);
}

.button:active {
  transform: translateY(0) scale(.985);
}

.button.primary {
  background: #ededea;
  color: #0a0a0c;
  border-color: #ededea;
  box-shadow: 0 18px 40px -26px rgba(237, 237, 234, .72);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 56px 28px 38px;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  color: var(--amber);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h1 {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.024em;
  margin: 0 0 22px;
  max-width: 780px;
}

h2 {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 640;
  letter-spacing: -.018em;
  margin: 0 0 12px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.hero-copy {
  font-size: 19px;
  max-width: 660px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-panel,
.card,
.app-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, .10), transparent 22%),
    var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(34px) saturate(190%) brightness(108%);
  -webkit-backdrop-filter: blur(34px) saturate(190%) brightness(108%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 30px 70px -34px var(--shadow),
    0 0 0 1px rgba(255, 255, 255, .03);
  transform-style: preserve-3d;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s cubic-bezier(.2, .8, .2, 1), background .28s ease;
}

.signal-panel:hover,
.card:hover,
.app-panel:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(-1deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -1px 0 rgba(255, 255, 255, .12),
    0 38px 92px -40px rgba(24, 42, 35, .30),
    0 1px 2px rgba(255, 255, 255, .68);
}

.signal-panel {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, .10) 42%, transparent 58%),
    linear-gradient(120deg, rgba(158, 212, 255, .10), transparent 35%, rgba(200, 250, 62, .04));
  transform: translateX(-120%);
  animation: glass-sheen 6.5s ease-in-out infinite;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(158, 212, 255, .75);
}

.mock-row {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 244, 220, .10);
  position: relative;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-label {
  color: var(--accent);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.mock-title {
  font-weight: 780;
  margin-bottom: 5px;
}

.mock-meta {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 62px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.demo-section {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section.alt {
  background: rgba(255, 255, 255, .025);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .65fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.demo-heading p {
  font-size: 16px;
}

.demo-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: stretch;
}

.demo-screen {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .028)),
    radial-gradient(circle at 12% 0%, rgba(158, 212, 255, .18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(200, 250, 62, .045), transparent 28%),
    rgba(255, 255, 255, .045);
  backdrop-filter: blur(38px) saturate(190%) brightness(112%);
  -webkit-backdrop-filter: blur(38px) saturate(190%) brightness(112%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 46px 110px -46px rgba(0, 0, 0, .82),
    0 0 0 1px rgba(255, 255, 255, .035);
}

.launch-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #050507;
}

.launch-video-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(158, 212, 255, .08), transparent 42%),
    #050507;
}

.launch-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, .16), transparent 26%),
    linear-gradient(180deg, rgba(5, 5, 7, .08), transparent 28%, rgba(5, 5, 7, .42));
  mix-blend-mode: screen;
}

.launch-video-overlay {
  position: absolute;
  left: 18px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 4px;
  max-width: min(420px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 10, 12, .46);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 20px 42px -28px rgba(0, 0, 0, .74);
}

.launch-video-overlay span {
  color: var(--accent);
  font-size: 13px;
}

.launch-video-overlay strong {
  color: var(--ink);
  font-size: 15px;
}

.launch-progress {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 3;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .18);
}

.launch-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), rgba(200, 250, 62, .78));
  transform-origin: left;
  animation: launch-progress 33s linear infinite;
}

.clip-grid {
  display: grid;
  gap: 12px;
}

.clip-card {
  min-height: 126px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 24px 54px -34px rgba(0, 0, 0, .74);
  transition: transform .22s ease, border-color .22s ease, filter .22s ease;
}

.clip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(158, 212, 255, .26);
  filter: brightness(1.08) saturate(1.08);
}

.clip-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  filter: saturate(.95) contrast(1.05);
}

.clip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(5, 5, 7, .78) 100%);
}

.clip-card span {
  position: relative;
  z-index: 1;
  padding: 14px;
  color: var(--ink);
  font-weight: 760;
}

.use-case-section {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  padding: 112px 28px;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.use-case-section:first-of-type {
  padding-top: 142px;
}

.use-case-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.use-case-section.reverse .use-case-media {
  order: 2;
}

.use-case-section.reverse .use-case-content {
  order: 1;
}

.use-case-media {
  min-width: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 42px 110px -52px rgba(0, 0, 0, .82);
}

.use-case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, .18), transparent 28%),
    linear-gradient(180deg, transparent 58%, rgba(5, 5, 7, .26));
}

.use-case-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #050507;
}

.use-case-content {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.use-case-copy {
  max-width: 560px;
}

.section-kicker {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.use-case-copy h2 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 620;
  letter-spacing: -.018em;
}

.use-case-copy p:last-child {
  font-size: 16px;
  line-height: 1.7;
}

.tavi-mock-card {
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .024)),
    radial-gradient(circle at 12% 0%, rgba(158, 212, 255, .14), transparent 34%),
    rgba(255, 255, 255, .035);
  backdrop-filter: blur(30px) saturate(180%) brightness(108%);
  -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(108%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .24),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 34px 86px -42px rgba(0, 0, 0, .76);
}

.mock-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.mock-card-top strong {
  color: var(--ink);
  font-size: 16px;
}

.mock-card-top span {
  color: var(--muted);
  font-size: 13px;
}

.capture-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.capture-chip-list span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 13px;
}

.capture-chip-list b {
  color: var(--accent);
  font-weight: 650;
}

.signal-feed,
.room-stack,
.contact-rank-list {
  display: grid;
  gap: 10px;
}

.signal-feed div,
.room-stack div,
.contact-rank-list div {
  min-height: 48px;
  display: grid;
  align-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .075);
}

.signal-feed div {
  grid-template-columns: 12px 1fr;
  gap: 10px;
  padding: 11px 12px;
}

.signal-feed span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(158, 212, 255, .62);
}

.signal-feed p {
  color: var(--ink);
  font-size: 14px;
}

.room-stack div {
  gap: 4px;
  padding: 12px;
}

.room-stack b {
  color: var(--accent);
  font-weight: 650;
}

.room-stack span {
  color: var(--muted);
  font-size: 14px;
}

.contact-rank-list div {
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px;
}

.contact-rank-list strong {
  color: var(--ink);
}

.contact-rank-list span {
  color: var(--muted);
  font-size: 13px;
}

.contact-rank-list em {
  grid-row: 1 / span 2;
  grid-column: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0a0a0c;
  background: var(--accent);
  font-style: normal;
  font-weight: 760;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.brief-grid div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .075);
}

.brief-grid strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.brief-grid span {
  color: var(--muted);
  font-size: 13px;
}

.brief-note {
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
}

.command-card {
  display: grid;
  gap: 14px;
}

.command-line {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.command-line span {
  color: var(--muted);
  font-size: 13px;
}

.command-line strong {
  color: var(--ink);
  font-size: 18px;
}

.command-state {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
}

.command-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 20px rgba(200, 250, 62, .58);
}

.command-state strong {
  color: var(--ink);
}

.command-state p {
  margin-top: 4px;
  font-size: 14px;
}

.command-card button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: #ededea;
  color: #0a0a0c;
  font: inherit;
  font-weight: 700;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 38% 20%, rgba(255, 255, 255, .24), transparent 32%),
    rgba(255, 255, 255, .055);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 20px 44px -26px rgba(0, 0, 0, .78);
  transform: translateX(-50%);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.scroll-cue:hover {
  transform: translateX(-50%) translateY(-3px);
  border-color: rgba(158, 212, 255, .32);
  background:
    radial-gradient(circle at 38% 20%, rgba(255, 255, 255, .30), transparent 32%),
    rgba(255, 255, 255, .075);
}

.scroll-cue span {
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
  animation: cue-bounce 1.55s ease-in-out infinite;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.card {
  border-radius: 16px;
  padding: 19px;
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.app-panel {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 24px;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(158, 212, 255, .12);
  color: var(--accent);
  font-weight: 760;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.footer {
  padding: 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 62px;
    scroll-snap-type: none;
  }

  body {
    perspective: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-header {
    height: 62px;
    padding: 0 16px;
    gap: 10px;
  }

  .brand {
    min-width: 88px;
    height: 40px;
    padding: 0 16px 3px;
    border-radius: 14px;
    font-size: 25px;
  }

  .button {
    min-height: 38px;
    padding: 0 12px;
  }

  .nav a:not(.button) {
    display: none;
  }

  .hero {
    min-height: calc(100dvh - 62px);
    display: grid;
    align-items: center;
    overflow: visible;
    padding: 34px 18px 76px;
    scroll-snap-align: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: 1.02;
  }

  h2,
  .use-case-copy h2 {
    font-size: clamp(30px, 8.5vw, 42px);
    line-height: 1.12;
  }

  .hero-copy,
  .use-case-copy p:last-child {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero .signal-panel {
    display: none;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button {
    flex: 1 1 160px;
  }

  .demo-section {
    min-height: auto;
    display: grid;
    align-items: center;
    overflow: visible;
    padding: 42px 18px 76px;
    scroll-snap-align: none;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .demo-heading,
  .demo-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .demo-heading {
    margin-bottom: 14px;
  }

  .demo-heading p {
    display: none;
  }

  .demo-screen,
  .use-case-media,
  .tavi-mock-card {
    border-radius: 18px;
  }

  .use-case-section {
    min-height: auto;
    display: grid;
    align-items: center;
    overflow: visible;
    padding: 42px 18px 76px;
    scroll-snap-align: none;
  }

  .use-case-section:first-of-type {
    padding-top: 42px;
  }

  .use-case-inner,
  .use-case-section.reverse .use-case-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .use-case-section.reverse .use-case-media,
  .use-case-section.reverse .use-case-content {
    order: initial;
  }

  .use-case-media video {
    aspect-ratio: 16 / 10;
  }

  .use-case-content {
    gap: 14px;
  }

  .use-case-copy {
    max-width: none;
  }

  .section-kicker {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .tavi-mock-card {
    padding: 13px;
  }

  .mock-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .capture-chip-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .capture-chip-list span {
    min-height: 30px;
    padding: 7px 9px;
    border-radius: 13px;
    align-items: flex-start;
    font-size: 12px;
  }

  .signal-feed p {
    font-size: 12px;
  }

  .brief-grid {
    grid-template-columns: 1fr;
  }

  .clip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .clip-card {
    min-height: 86px;
    border-radius: 14px;
  }

  .clip-card span {
    padding: 10px;
    font-size: 12px;
    line-height: 1.2;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .scroll-cue {
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 12px;
  }

  .brand {
    min-width: 82px;
    height: 38px;
    font-size: 24px;
  }

  .nav .button {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(32px, 10.6vw, 42px);
  }

  h2,
  .use-case-copy h2 {
    font-size: clamp(26px, 8.8vw, 34px);
  }

  .hero-copy,
  .use-case-copy p:last-child {
    font-size: 14px;
    line-height: 1.5;
  }

  .hero {
    padding-top: 28px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .panel-top,
  .mock-card-top {
    font-size: 13px;
  }

  .mock-row {
    padding: 15px;
  }

  .clip-grid {
    display: none;
  }

  .clip-card {
    min-height: 104px;
  }

  .contact-rank-list div {
    grid-template-columns: 1fr 38px;
  }

  .contact-rank-list em {
    width: 38px;
    height: 38px;
  }

  .command-state {
    padding: 12px;
  }

  .use-case-media video {
    aspect-ratio: 21 / 9;
  }

  .mock-card-top {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .signal-feed,
  .room-stack,
  .contact-rank-list {
    gap: 7px;
  }

  .signal-feed div,
  .room-stack div,
  .contact-rank-list div {
    min-height: 40px;
    padding: 9px 10px;
  }

  .room-stack span,
  .contact-rank-list span {
    font-size: 12px;
  }

  .brief-grid div {
    min-height: 58px;
  }

  .brief-grid strong {
    font-size: 23px;
  }
}

@keyframes refraction-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(18px, -14px, 0) scale(1.025);
  }
}

@keyframes glass-sheen {
  0%, 42% {
    transform: translateX(-120%);
    opacity: 0;
  }

  50% {
    opacity: .72;
  }

  64%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes cue-bounce {
  0%, 100% {
    transform: translateY(-3px) rotate(45deg);
    opacity: .55;
  }

  50% {
    transform: translateY(4px) rotate(45deg);
    opacity: 1;
  }
}

@keyframes launch-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .signal-panel::before {
    animation: none;
  }

  .signal-panel:hover,
  .card:hover,
  .app-panel:hover,
  .button:hover {
    transform: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue span {
    animation: none;
  }

  .launch-progress span {
    animation: none;
    transform: scaleX(1);
  }
}
