:root {
  --cyan: #00f2ff;
  --cyan-dim: rgba(0, 242, 255, 0.14);
  --cyan-line: rgba(0, 242, 255, 0.35);
  --bg: #050a14;
  --bg-deep: #020508;
  --panel: #071226;
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.4);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #9cfcff;
}

code {
  font-size: 0.9em;
  color: rgba(0, 242, 255, 0.85);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--cyan);
  color: #041018;
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
}

.site-header.is-glass {
  position: sticky;
  top: 0;
  background: rgba(2, 5, 8, 0.72);
  border-bottom: 1px solid rgba(0, 242, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav .nav-cta {
  color: #041018;
  background: var(--cyan);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  color: #041018;
  filter: brightness(1.06);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  overflow: hidden;
  background: #03070f;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-a {
  width: 42vw;
  height: 42vw;
  right: 8%;
  top: 10%;
  background: rgba(0, 242, 255, 0.14);
  animation: orb-drift 12s ease-in-out infinite;
}

.hero-orb-b {
  width: 28vw;
  height: 28vw;
  right: 28%;
  bottom: 5%;
  background: rgba(0, 120, 180, 0.16);
  animation: orb-drift 14s ease-in-out infinite reverse;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(2, 5, 8, 0.96) 0%, rgba(2, 5, 8, 0.78) 42%, rgba(2, 5, 8, 0.35) 68%, rgba(2, 5, 8, 0.55) 100%),
    radial-gradient(70% 60% at 75% 40%, rgba(0, 242, 255, 0.18), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.7), transparent);
  animation: scan-y 6s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.75;
}

.hero-phone {
  position: absolute;
  right: clamp(-4%, 2vw, 6%);
  top: 50%;
  width: min(42vw, 420px);
  transform: translateY(-46%);
  z-index: 1;
  will-change: transform;
}

.phone-bezel {
  position: relative;
  border-radius: 2.2rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #1a2a3d, #0a1422 55%, #050a14);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 242, 255, 0.22),
    0 0 60px rgba(0, 242, 255, 0.12);
  animation: phone-float 7s ease-in-out infinite;
}

.phone-bezel.static {
  animation: none;
}

.phone-screen {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: #000;
}

.phone-frame,
.scan-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.phone-frame.is-active,
.scan-frame.is-active {
  opacity: 1;
}

.phone-laser {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 12%;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 242, 255, 0.85);
  animation: laser-y 3.8s ease-in-out infinite;
  opacity: 0.85;
  pointer-events: none;
  z-index: 4;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  padding: clamp(2rem, 6vh, 3.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  max-width: 36rem;
}

.brand-hero {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 11vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  animation: rise 0.85s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--cyan);
  animation: rise 0.85s ease 0.08s both;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  animation: rise 0.85s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 0.85s ease 0.24s both;
}

.hero-pulse {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  animation: rise 0.85s ease 0.32s both;
}

.hero-pulse span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid rgba(0, 242, 255, 0.25);
  padding-bottom: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #041018;
}

.btn-primary:hover {
  color: #041018;
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(5, 10, 20, 0.35);
  color: var(--text);
  border-color: var(--cyan-line);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--cyan-dim);
  color: var(--text);
}

/* Story rail — cinematic beats */
.story-rail {
  background:
    linear-gradient(180deg, #020508 0%, #06101f 40%, #050a14 100%);
  border-block: 1px solid rgba(0, 242, 255, 0.12);
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  overflow: hidden;
}

.story-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 clamp(1.25rem, 4vw, calc((100vw - var(--max)) / 2 + 1.25rem));
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 255, 0.35) transparent;
}

.story-beat {
  scroll-snap-align: start;
  display: grid;
  gap: 1rem;
}

.story-beat img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 242, 255, 0.22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-beat:hover img {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 242, 255, 0.1);
}

.beat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.story-beat h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.story-beat p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  background: var(--bg);
}

.section-alt {
  background: linear-gradient(180deg, #06101f 0%, var(--bg) 100%);
}

.section-join {
  background:
    radial-gradient(55% 70% at 70% 20%, rgba(0, 242, 255, 0.12), transparent 58%),
    var(--bg-deep);
}

.section-scans {
  background:
    radial-gradient(50% 50% at 80% 10%, rgba(0, 242, 255, 0.08), transparent 55%),
    var(--bg);
}

.section-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Message scanner demo — video + live app UI */
.section-demo {
  background:
    radial-gradient(50% 60% at 85% 30%, rgba(0, 242, 255, 0.1), transparent 55%),
    radial-gradient(40% 50% at 10% 80%, rgba(255, 80, 90, 0.06), transparent 50%),
    linear-gradient(180deg, #040910 0%, var(--bg) 100%);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.demo-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.demo-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}

.demo-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 18, 38, 0.7);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.demo-chip:hover {
  color: var(--text);
  border-color: rgba(0, 242, 255, 0.35);
}

.demo-chip.is-active {
  color: #041018;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.demo-textarea {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 242, 255, 0.22);
  background: rgba(7, 18, 38, 0.85);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
  resize: vertical;
  min-height: 6.5rem;
}

.demo-textarea:focus {
  outline: 2px solid rgba(0, 242, 255, 0.35);
  outline-offset: 1px;
}

.demo-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0 0 0.75rem;
}

.demo-upload-btn {
  cursor: pointer;
  margin: 0;
}

.demo-upload-hint {
  color: var(--faint);
  font-size: 0.82rem;
  max-width: 18rem;
  line-height: 1.35;
}

.demo-attach-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.demo-attach-strip[hidden],
.live-attach[hidden] {
  display: none !important;
}

.demo-attach-thumb,
.live-attach-thumb {
  position: relative;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.28);
  background: #0a1422;
  flex: 0 0 auto;
}

.demo-attach-thumb img,
.live-attach-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-attach-thumb button,
.live-attach-thumb button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.demo-note {
  margin-top: 0.85rem;
}

.demo-stage {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}

.demo-device {
  width: min(100%, 340px);
}

.demo-device-shell {
  position: relative;
  border-radius: 2.4rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #243246, #0a1422 55%, #050a14);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 242, 255, 0.22),
    0 0 50px rgba(0, 242, 255, 0.1);
}

.section-demo.is-playing .demo-device-shell {
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 242, 255, 0.4),
    0 0 70px rgba(0, 242, 255, 0.2);
}

.demo-island {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  z-index: 5;
  width: 28%;
  height: 1.15rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  pointer-events: none;
}

.demo-screen {
  position: relative;
  border-radius: 1.9rem;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: #050a14;
}

.demo-caption {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.4em;
  max-width: 22rem;
}

/* Live interactive Scanner */
.demo-live-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.35rem 0.8rem 0.55rem;
  background:
    linear-gradient(180deg, rgba(0, 242, 255, 0.05), transparent 28%),
    #050a14;
  color: var(--text);
  font-size: 0.72rem;
  height: 100%;
}

.live-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.live-top img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.live-top strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.live-top span {
  color: var(--cyan);
  font-size: 0.62rem;
}

.live-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.live-panel[hidden] {
  display: none !important;
}

.live-panel-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.live-panel-lead {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.4;
}

.live-paste {
  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 14px;
  padding: 0.55rem 0.6rem 0.45rem;
  background: rgba(7, 18, 38, 0.9);
  flex-shrink: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.live-paste.is-drop,
.demo-textarea.is-drop {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.35);
}

.live-msg-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.68rem;
  line-height: 1.35;
  resize: none;
  min-height: 5.2rem;
  padding: 0;
}

.live-msg-input:focus {
  outline: none;
}


.live-attach {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.45rem;
}

.live-attach-thumb {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 8px;
}

.live-upload-link {
  display: inline-block;
  margin: 0 0 0.55rem;
  cursor: pointer;
}

.live-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.live-tool-btn {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-body);
}

.live-tool-btn svg {
  display: block;
}

.live-tools .is-glow,
.live-tool-btn.is-glow {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.55);
  background: rgba(0, 242, 255, 0.15);
}

.live-more {
  margin: 0.55rem 0 0.25rem;
  flex-shrink: 0;
}

.live-more > span {
  display: block;
  color: var(--faint);
  font-size: 0.58rem;
  margin-bottom: 0.3rem;
}

.live-more div {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.live-more button {
  appearance: none;
  font-style: normal;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  color: var(--muted);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
}

.live-more button:hover {
  border-color: rgba(0, 242, 255, 0.4);
  color: var(--cyan);
}

.live-hero {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 3.5rem;
}

.live-orb {
  position: relative;
  width: 5.4rem;
  height: 5.4rem;
  display: grid;
  place-items: center;
}

.live-orb img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.35), 0 0 28px rgba(0, 242, 255, 0.2);
}

.live-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 242, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 242, 255, 0.18);
}

.section-demo.is-playing .live-orb-ring {
  animation: live-orb-spin 1.1s linear infinite;
  border-color: rgba(0, 242, 255, 0.75);
  border-top-color: transparent;
  box-shadow: 0 0 32px rgba(0, 242, 255, 0.35);
}

.live-focus {
  margin: 0 0 0.45rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.6rem;
}

.live-scan-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  min-height: 44px;
  background: var(--cyan);
  color: #041018;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s ease;
}

.live-scan-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.live-text-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-family: var(--font-body);
  font-size: 0.7rem;
  margin-top: 0.55rem;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.live-photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.live-photo-row img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 242, 255, 0.2);
}

.live-video-card {
  display: grid;
  gap: 0.25rem;
  place-items: center;
  min-height: 7rem;
  margin-bottom: 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 18, 28, 0.9);
  color: var(--muted);
  padding: 0.75rem 0.6rem;
  text-align: center;
}

.live-video-card strong {
  color: var(--text);
  font-size: 0.78rem;
}

.live-audio-card .live-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 1.4rem;
  margin-top: 0.35rem;
}

.live-audio-card .live-wave i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--cyan);
  opacity: 0.75;
  animation: live-wave 0.9s ease-in-out infinite;
}

.live-audio-card .live-wave i:nth-child(1) { height: 35%; animation-delay: 0s; }
.live-audio-card .live-wave i:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.live-audio-card .live-wave i:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.live-audio-card .live-wave i:nth-child(4) { height: 90%; animation-delay: 0.05s; }
.live-audio-card .live-wave i:nth-child(5) { height: 55%; animation-delay: 0.15s; }
.live-audio-card .live-wave i:nth-child(6) { height: 75%; animation-delay: 0.25s; }
.live-audio-card .live-wave i:nth-child(7) { height: 40%; animation-delay: 0.12s; }

.live-call-card .live-call-pulse {
  color: #ff8a96;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.live-call-quote {
  margin: 0.35rem 0 0;
  max-width: 14rem;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.35;
  font-style: italic;
}

.live-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.1rem;
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(0, 242, 255, 0.22);
  flex-shrink: 0;
}

.live-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  font-size: 0.42rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0.15rem 0;
}

.live-tabs button i {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: block;
}

.live-tabs .is-on {
  color: var(--cyan);
}

.live-tabs .is-on i {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.35);
}

.live-backdrop {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(2, 5, 8, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.live-backdrop[hidden] {
  display: none !important;
}

.live-sheet {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  top: 18%;
  z-index: 6;
  padding: 0.9rem 0.85rem 0.85rem;
  border-radius: 18px;
  background: rgba(7, 18, 38, 0.96);
  border: 1px solid rgba(0, 242, 255, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 242, 255, 0.12);
  backdrop-filter: blur(12px);
  animation: live-sheet-in 0.28s ease;
}

.live-sheet[hidden] {
  display: none !important;
}

.live-analyzing {
  top: 22%;
}

.live-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.live-sheet-kicker {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 600;
}

.live-sheet h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.live-status {
  margin: 0 0 0.55rem !important;
  color: var(--muted) !important;
  font-size: 0.68rem !important;
  min-height: 1.3em;
}

.live-steps {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
  display: grid;
  gap: 0.22rem;
}

.live-steps li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--faint);
  font-size: 0.58rem;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.live-steps .step-dot {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}

.live-steps li.is-active {
  color: var(--cyan);
}

.live-steps li.is-active .step-dot {
  border-color: var(--cyan);
  background: rgba(0, 242, 255, 0.35);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.55);
  animation: live-pulse 1s ease-in-out infinite;
}

.live-steps li.is-done {
  color: rgba(255, 255, 255, 0.72);
}

.live-steps li.is-done .step-dot {
  border-color: var(--cyan);
  background: var(--cyan);
  animation: none;
}

.live-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.live-bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 242, 255, 0.45);
  transition: width 0.05s linear;
}

.live-pct {
  margin: 0 !important;
  color: var(--cyan) !important;
  font-weight: 700;
  font-size: 0.78rem !important;
}

.live-verdict {
  top: 12%;
  border-color: rgba(255, 82, 82, 0.55);
  max-height: 76%;
  overflow: auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 60, 80, 0.12);
}

.live-verdict.is-ok {
  border-color: rgba(46, 226, 125, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(46, 226, 125, 0.12);
}

.live-risk {
  margin: 0.4rem 0 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: rgba(120, 20, 35, 0.88);
  display: grid;
  gap: 0.2rem;
}

.live-verdict.is-ok .live-risk {
  background: rgba(14, 70, 48, 0.88);
}

.live-risk-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.live-risk-score strong {
  color: #ff8a96;
  font-size: 1.05rem;
  font-weight: 800;
}

.live-verdict.is-ok .live-risk-score strong {
  color: #5dffb0;
}

.live-risk-score span {
  color: rgba(255, 180, 180, 0.9);
  font-size: 0.62rem;
  font-weight: 600;
}

.live-verdict.is-ok .live-risk-score span {
  color: rgba(160, 255, 210, 0.9);
}

.live-risk-pattern {
  margin: 0 !important;
  color: #ffb4b8 !important;
  font-size: 0.62rem !important;
  line-height: 1.35;
}

.live-verdict.is-ok .live-risk-pattern {
  color: #b6ffd8 !important;
}

.live-flags-title {
  margin: 0 0 0.3rem !important;
  color: #ff6b7a !important;
  font-weight: 700;
  font-size: 0.72rem !important;
}

.live-verdict.is-ok .live-flags-title {
  color: #5dffb0 !important;
}

.live-flag-list {
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.28rem;
}

.live-flag-list li {
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: #351820;
  color: #ffdad6;
  font-size: 0.62rem;
  line-height: 1.35;
}

.live-verdict.is-ok .live-flag-list li {
  background: rgba(20, 80, 55, 0.55);
  color: #c9ffe0;
}

.live-rec-block {
  margin: 0 0 0.55rem;
}

.live-rec-label {
  margin: 0 0 0.2rem !important;
  color: var(--cyan) !important;
  font-weight: 700;
  font-size: 0.72rem !important;
}

.live-rec {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.65rem !important;
  line-height: 1.4;
}

.live-secondary,
.live-primary,
.live-gotit,
.live-clear-scan {
  appearance: none;
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 0.35rem;
}

.live-secondary {
  background: transparent;
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.live-primary {
  background: var(--cyan);
  border: 0;
  color: #041018;
}

.live-gotit {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
}

.live-clear-scan {
  background: transparent;
  border: 0;
  color: var(--muted);
  min-height: auto;
  font-weight: 600;
  font-size: 0.68rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  margin-top: 0.55rem;
}

@keyframes live-sheet-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes live-wave {
  0%,
  100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

@keyframes live-pulse {
  0%,
  100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes live-orb-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .live-audio-card .live-wave i,
  .live-call-card .live-call-pulse,
  .live-steps li.is-active .step-dot,
  .section-demo.is-playing .live-orb-ring {
    animation: none;
  }
}

/* Scan explorer — Arc / Linear product tour */
.scan-explorer {
  margin-top: 0.5rem;
}

.scan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.scan-tab {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 18, 38, 0.65);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.scan-tab:hover {
  color: var(--text);
  border-color: rgba(0, 242, 255, 0.35);
}

.scan-tab.is-active {
  color: #041018;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 600;
}

.scan-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.scan-phone .phone-bezel {
  width: min(100%, 320px);
  margin-inline: auto;
}

.scan-laser {
  opacity: 0.55;
}

.scan-copy {
  position: relative;
  min-height: 280px;
}

.scan-panel {
  display: none;
  animation: rise 0.45s ease both;
}

.scan-panel.is-active {
  display: block;
}

.scan-panel h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
}

.scan-panel p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.scan-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.scan-panel li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.98rem;
}

.scan-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.55);
}

.scan-progress {
  margin-top: 1.75rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  max-width: 16rem;
}

.scan-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--cyan));
  border-radius: 2px;
}

.scan-progress.is-running i {
  animation: progress-fill 5.5s linear forwards;
}

/* Profile photo demo */
.section-photos {
  background:
    radial-gradient(55% 55% at 15% 20%, rgba(0, 242, 255, 0.1), transparent 55%),
    radial-gradient(40% 45% at 90% 70%, rgba(255, 70, 90, 0.06), transparent 50%),
    var(--bg);
}

.photo-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.photo-demo {
  margin-top: 0.5rem;
}

.photo-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.photo-slot {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.22);
  background: #0a1422;
  aspect-ratio: 3 / 4;
}

.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-slot .scan-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 242, 255, 0.35) 48%,
    transparent 100%
  );
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.photo-slot.is-scanning .scan-veil {
  opacity: 1;
  animation: slot-scan 1.1s ease-in-out;
}

.photo-slot.is-done {
  box-shadow: 0 0 0 1px rgba(0, 242, 255, 0.45), 0 10px 28px rgba(0, 0, 0, 0.35);
}

.photo-results {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.photo-results li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(7, 18, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.photo-results li.is-shown {
  opacity: 1;
  transform: none;
}

.res-label {
  font-size: 0.92rem;
  font-weight: 500;
}

.res-label.warn-red {
  color: #ff6b7a;
}

.res-label.warn-amber {
  color: #ffb347;
}

.res-label.warn-green {
  color: #5dffb0;
}

.res-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}

.photo-verdict {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 242, 255, 0.28);
  background: rgba(0, 242, 255, 0.08);
  color: var(--cyan);
  font-weight: 500;
  font-size: 0.98rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.photo-verdict.is-shown {
  opacity: 1;
  transform: none;
}

.photo-phone .phone-bezel.static {
  width: min(100%, 300px);
  margin-inline: auto;
}

.photo-caption {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--faint);
  font-size: 0.85rem;
}

/* Bento — Apple / Notion style moments */
.section-bento {
  background: linear-gradient(180deg, #040910 0%, var(--bg) 100%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.bento-cell {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 242, 255, 0.16);
  background: #071226;
  min-height: 240px;
  isolation: isolate;
}

.bento-wide {
  grid-column: span 2;
  min-height: 300px;
}

.bento-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.bento-cell:hover img {
  transform: scale(1.04);
}

.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(2, 5, 8, 0.92) 88%);
  z-index: 1;
  pointer-events: none;
}

.bento-cell > div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.15rem 1.2rem;
}

.bento-cell h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.bento-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* How */
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.steps li {
  padding-top: 0.35rem;
  border-top: 1px solid var(--cyan-line);
}

.step-num {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.phone-stack {
  position: relative;
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 9 / 17;
}

.stack-back,
.stack-front {
  position: absolute;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 242, 255, 0.25);
  object-fit: cover;
  object-position: top;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.stack-back {
  width: 58%;
  left: 0;
  top: 18%;
  transform: rotate(-8deg);
  opacity: 0.9;
  animation: stack-drift 6s ease-in-out infinite;
}

.stack-front {
  width: 72%;
  right: 0;
  top: 0;
  transform: rotate(3deg);
  animation: stack-drift 6s ease-in-out infinite reverse;
}

.inline-link {
  margin: 0;
}

.fineprint {
  margin: 1.25rem 0 0;
  color: var(--faint);
  font-size: 0.85rem;
}

.join-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.join-visual img {
  width: min(260px, 100%);
  margin-inline: auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 242, 255, 0.28);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: phone-float 8s ease-in-out infinite;
}

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  background: #010308;
  border-top: 1px solid rgba(0, 242, 255, 0.12);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.site-footer p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--cyan);
}

/* Docs */
.page-doc .site-header {
  position: relative;
  background: rgba(5, 10, 20, 0.92);
  border-bottom: 1px solid rgba(0, 242, 255, 0.12);
}

.doc {
  width: min(44rem, 100%);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.doc h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
}

.doc-updated {
  color: var(--faint);
  margin: 0 0 1.5rem;
}

.doc h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc ul {
  padding-left: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scan-y {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(55vh);
    opacity: 0.85;
  }
}

@keyframes laser-y {
  0%,
  100% {
    top: 14%;
    opacity: 0.35;
  }
  50% {
    top: 78%;
    opacity: 1;
  }
}

@keyframes stack-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, 4%) scale(1.08);
  }
}

@keyframes slot-scan {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(120%);
  }
}

@keyframes progress-fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .site-header.is-glass {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .hero {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: auto;
    overflow: hidden;
    background:
      radial-gradient(90% 55% at 50% 0%, rgba(0, 242, 255, 0.14), transparent 55%),
      #03070f;
  }

  .hero-stage {
    position: relative;
    inset: auto;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0.25rem 1rem max(2rem, env(safe-area-inset-bottom));
    min-height: 0;
  }

  .hero-phone {
    position: relative;
    right: auto;
    top: auto;
    width: min(56vw, 240px);
    margin: 0 auto;
    transform: none !important;
  }

  .hero-orb-a,
  .hero-orb-b {
    width: 70vw;
    height: 70vw;
    filter: blur(50px);
    opacity: 0.85;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(2, 5, 8, 0.35) 0%, rgba(2, 5, 8, 0.88) 42%, #020508 100%),
      radial-gradient(90% 55% at 50% 18%, rgba(0, 242, 255, 0.18), transparent 65%);
  }

  .hero-copy {
    order: 1;
    position: relative;
    z-index: 4;
    padding: calc(4.75rem + env(safe-area-inset-top)) 1.25rem 1.25rem;
    max-width: none;
    text-align: left;
  }

  .brand-hero {
    font-size: clamp(2.75rem, 15vw, 3.75rem);
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  .hero-support {
    font-size: 1rem;
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    text-align: center;
  }

  .hero-pulse {
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 1.75rem));
  }

  .section {
    padding: clamp(2.75rem, 7vh, 4rem) 0;
  }

  .how-grid,
  .join-panel,
  .photo-layout,
  .scan-stage,
  .demo-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .demo-layout {
    align-items: stretch;
  }

  .demo-stage {
    order: 0;
  }

  .demo-device {
    width: min(86vw, 340px);
  }

  .demo-samples {
    gap: 0.4rem;
  }

  .demo-chip {
    min-height: 40px;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }

  .demo-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .demo-controls .btn {
    min-height: 46px;
    width: 100%;
    justify-content: center;
  }

  .demo-controls .btn-primary {
    grid-column: 1 / -1;
  }

  .demo-upload-row {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-phone {
    order: -1;
  }

  .photo-phone .phone-bezel.static,
  .scan-phone .phone-bezel {
    width: min(70vw, 280px);
  }

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

  .bento-wide {
    grid-column: span 2;
  }

  .story-track {
    grid-auto-columns: minmax(78vw, 300px);
    gap: 1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .site-nav {
    gap: 0.55rem;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .site-nav .nav-cta {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
  }

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

@media (max-width: 560px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .bento-cell,
  .bento-wide {
    min-height: 220px;
  }

  .scan-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .scan-tabs::-webkit-scrollbar {
    display: none;
  }

  .scan-tab {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .demo-controls {
    grid-template-columns: 1fr;
  }

  .demo-device {
    width: min(92vw, 360px);
  }

  .demo-caption {
    font-size: 0.88rem;
    padding: 0 0.5rem;
  }

  .live-sheet {
    left: 0.45rem;
    right: 0.45rem;
    top: 14%;
    max-height: 78%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .live-verdict {
    top: 10%;
  }

  .section h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .story-beat h2 {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-hero,
  .hero h1,
  .hero-support,
  .hero-actions,
  .hero-pulse,
  .phone-bezel,
  .phone-laser,
  .hero-scanline,
  .hero-orb,
  .stack-back,
  .stack-front,
  .join-visual img,
  .reveal,
  .photo-slot .scan-veil,
  .scan-panel,
  .scan-progress.is-running i {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .photo-results li,
  .photo-verdict {
    opacity: 1 !important;
    transform: none !important;
  }
}
