:root {
  --ink: #f1f2eb;
  --ink-muted: #8b8e87;
  --page: #0b0c0d;
  --panel: #111314;
  --panel-soft: #171919;
  --line: rgba(241, 242, 235, 0.13);
  --line-strong: rgba(241, 242, 235, 0.25);
  --signal: #dfff68;
  --signal-soft: rgba(223, 255, 104, 0.12);
  --sky: #8bd6ff;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(223, 255, 104, 0.05), transparent 31rem),
    var(--page);
  color: var(--ink);
  font-family: "Helvetica Neue", "Neue Haas Grotesk Text Pro", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.ambient-one {
  top: -24rem;
  right: -12rem;
  background: rgba(223, 255, 104, 0.11);
}

.ambient-two {
  left: -26rem;
  top: 90vh;
  background: rgba(139, 214, 255, 0.08);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 5rem 5vw 7rem;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 65%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 92rem);
  text-align: center;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.4rem);
  color: #a7aaa1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-dot,
.state-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0.28rem rgba(223, 255, 104, 0.08), 0 0 1rem rgba(223, 255, 104, 0.55);
}

.signal-dot {
  animation: breathe 2.4s ease-in-out infinite;
}

.wordmark {
  display: inline-block;
  margin: 0;
  color: var(--ink);
  font-size: clamp(5.2rem, 19vw, 17.5rem);
  font-weight: 500;
  letter-spacing: -0.095em;
  line-height: 0.72;
  transform: translateX(-0.025em);
}

.wordmark-ai {
  color: var(--signal);
}

.wordmark-dot {
  display: inline-block;
  width: 0.15em;
  color: var(--signal);
  transform: translateX(-0.03em);
}

.signup {
  width: min(100%, 36rem);
  margin: clamp(3rem, 8vw, 5.8rem) auto 0;
}

.signup-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.38rem 0.4rem 0.38rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.05rem;
  background: rgba(20, 22, 22, 0.78);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.signup-shell:focus-within {
  border-color: rgba(223, 255, 104, 0.58);
  box-shadow: 0 0 0 4px rgba(223, 255, 104, 0.06), 0 1.5rem 5rem rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.mail-icon {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  color: #777b74;
}

.mail-icon svg {
  width: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.signup input[type="email"] {
  width: 100%;
  min-width: 0;
  height: 3.3rem;
  padding: 0 0.9rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.96rem;
}

.signup input::placeholder {
  color: #74776f;
  opacity: 1;
}

.signup button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--signal);
  color: #0b0c0d;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: filter 180ms ease, transform 180ms var(--ease-out);
}

.signup button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.signup button:active {
  transform: translateY(1px) scale(0.985);
}

.signup button:focus-visible,
.scenario-control:focus-visible,
.next-scenario:focus-visible,
.continue:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.signup button:disabled {
  cursor: wait;
  filter: saturate(0.5);
  opacity: 0.72;
}

.signup button svg,
.next-scenario svg {
  width: 1.15rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms var(--ease-out);
}

.signup button:hover svg,
.next-scenario:hover svg {
  transform: translateX(3px);
}

.form-note {
  min-height: 1.1rem;
  margin: 0.8rem 0 0;
  color: #686b65;
  font-size: 0.7rem;
  letter-spacing: 0.025em;
}

.form-note.is-error {
  color: #ff9a8f;
}

.form-note.is-success {
  color: var(--signal);
}

.honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.continue {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: #777a74;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 180ms ease;
}

.continue:hover {
  color: var(--ink);
}

.continue svg {
  width: 0.8rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  animation: drift-down 2.4s ease-in-out infinite;
}

.experience {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(4.5rem, 8vw, 8rem) max(1rem, 4vw);
}

.experience::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 88rem);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  transform: translateX(-50%);
}

.demo-shell {
  --pointer-x: 50%;
  --pointer-y: 50%;
  position: relative;
  width: min(100%, 82rem);
  min-height: 46rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1.35rem, 3vw, 2.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 38%),
    rgba(16, 18, 18, 0.9);
  box-shadow: 0 4rem 10rem rgba(0, 0, 0, 0.42);
  isolation: isolate;
}

.demo-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 82%);
}

.demo-glow {
  position: absolute;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(223, 255, 104, 0.07);
  filter: blur(75px);
  pointer-events: none;
  transform: translate(calc(var(--pointer-x) - 17rem), calc(var(--pointer-y) - 17rem));
  transition: transform 120ms linear;
}

.demo-header,
.demo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-header {
  min-height: 4.6rem;
  padding: 0 clamp(1.2rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--line);
  color: #8f928b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listening,
.demo-state {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.listening-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(223, 255, 104, 0.22);
  border-radius: 50%;
  background: var(--signal-soft);
}

.listening-orb i {
  display: block;
  width: 1px;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--signal);
  animation: waveform 1.1s ease-in-out infinite;
}

.listening-orb i:nth-child(2) {
  height: 0.7rem;
  animation-delay: 140ms;
}

.listening-orb i:nth-child(3) {
  animation-delay: 280ms;
}

.demo-state {
  color: #656861;
}

.state-dot {
  width: 0.35rem;
  height: 0.35rem;
}

.command-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  min-height: 16.5rem;
  padding: clamp(3.6rem, 7vw, 6.1rem) clamp(1.25rem, 5vw, 5rem) 2rem;
}

.command-mark {
  flex: 0 0 auto;
  width: clamp(1.4rem, 2.6vw, 2.2rem);
  margin-top: 0.35rem;
  color: var(--signal);
}

.command-mark svg {
  width: 100%;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.command {
  width: min(100%, 61rem);
  min-height: 2.4em;
  margin: 0;
  color: #f5f5ef;
  font-size: clamp(1.9rem, 4.7vw, 4.6rem);
  font-weight: 420;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
}

.cursor {
  display: inline-block;
  width: 0.045em;
  height: 0.88em;
  margin: 0 0.04em -0.08em 0.07em;
  background: var(--signal);
  animation: cursor-blink 900ms steps(1) infinite;
}

.translation-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(90%, 68rem);
  margin: 0 auto 1.2rem;
  color: #62655f;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.translation-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.8rem minmax(0, 1fr) 3.8rem minmax(0, 1fr);
  align-items: center;
  width: min(90%, 68rem);
  margin: 0 auto;
}

.flow-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 14rem;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(23, 25, 25, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: border-color 420ms ease, background 420ms ease, transform 420ms var(--ease-out);
}

.flow-card::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, rgba(223, 255, 104, 0.1), transparent 60%);
  transition: opacity 420ms ease;
}

.flow-card.is-updating {
  border-color: rgba(223, 255, 104, 0.35);
  background: rgba(27, 30, 27, 0.92);
  transform: translateY(-4px);
}

.flow-card.is-updating::after {
  opacity: 1;
}

.card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: start;
  color: #656861;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.card-number {
  color: var(--signal);
}

.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-top: 1.3rem;
  place-items: center;
  border: 1px solid rgba(223, 255, 104, 0.2);
  border-radius: 0.75rem;
  background: var(--signal-soft);
  color: var(--signal);
}

.card-icon svg {
  width: 1.25rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.card-label,
.card-value {
  position: relative;
  z-index: 1;
  margin: 0;
}

.card-label {
  align-self: end;
  margin-top: 1.5rem;
  color: #71756e;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-value {
  margin-top: 0.35rem;
  overflow: hidden;
  color: #e9eae4;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  font-weight: 520;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-link {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.flow-link span {
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.flow-link span:first-child::after {
  display: block;
  width: 60%;
  height: 1px;
  content: "";
  background: var(--signal);
  box-shadow: 0 0 0.6rem rgba(223, 255, 104, 0.5);
  animation: travel 2s ease-in-out infinite;
}

.flow-link i {
  width: 0.34rem;
  height: 0.34rem;
  margin: 0 0.28rem;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0.65rem rgba(223, 255, 104, 0.55);
}

.demo-footer {
  width: min(90%, 68rem);
  margin: 2rem auto 0;
  padding: 1.25rem 0 2.2rem;
}

.scenario-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.scenario-control {
  width: 2.6rem;
  height: 1.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.scenario-control span {
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: #343733;
}

.scenario-control span::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
}

.scenario-control.is-active span::after {
  animation: scenario-progress 7.2s linear forwards;
}

.next-scenario {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
  color: #8b8e87;
  cursor: pointer;
  font-size: 0.72rem;
  transition: color 180ms ease;
}

.next-scenario:hover {
  color: var(--ink);
}

.next-scenario svg {
  width: 1rem;
}

.noscript {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  color: var(--ink-muted);
  font-size: 0.7rem;
}

@keyframes breathe {
  50% { opacity: 0.55; transform: scale(0.75); }
}

@keyframes drift-down {
  50% { transform: translateY(4px); }
}

@keyframes waveform {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes travel {
  from { transform: translateX(-110%); }
  to { transform: translateX(190%); }
}

@keyframes scenario-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 780px) {
  .hero {
    padding-inline: 1rem;
  }

  .signal {
    margin-bottom: 1.8rem;
  }

  .wordmark {
    font-size: clamp(5.1rem, 24vw, 10rem);
  }

  .signup {
    margin-top: 3.2rem;
  }

  .signup-shell {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.35rem 0.35rem 0.35rem 1rem;
  }

  .signup button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.2rem;
  }

  .mail-icon,
  .signup input[type="email"] {
    grid-row: 1;
  }

  .signup input[type="email"] {
    height: 3.5rem;
  }

  .demo-shell {
    min-height: 0;
  }

  .demo-header {
    min-height: 4rem;
  }

  .demo-state {
    display: none;
  }

  .command-wrap {
    min-height: 14.5rem;
    padding-top: 3.4rem;
  }

  .command {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .translation-label,
  .flow,
  .demo-footer {
    width: calc(100% - 2rem);
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow-card {
    min-height: 9rem;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 1rem;
  }

  .card-topline {
    grid-column: 1 / -1;
  }

  .card-icon {
    grid-row: 2 / 4;
    margin-top: 1rem;
  }

  .card-label {
    align-self: end;
    margin-top: 1rem;
  }

  .card-value {
    align-self: start;
  }

  .flow-link {
    grid-template-columns: 1fr;
    justify-items: center;
    height: 2.3rem;
  }

  .flow-link span {
    width: 1px;
    height: 0.8rem;
  }

  .flow-link span:first-child::after {
    display: none;
  }

  .flow-link i {
    margin: 0.05rem 0;
  }

  .demo-footer {
    margin-top: 1rem;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 46rem;
  }

  .wordmark {
    font-size: 5.3rem;
  }

  .signal {
    font-size: 0.58rem;
  }

  .experience {
    padding-inline: 0.65rem;
  }

  .demo-header {
    padding-inline: 1rem;
  }

  .command-wrap {
    gap: 0.7rem;
    min-height: 14rem;
    padding-inline: 1rem;
  }

  .command-mark {
    width: 1.25rem;
  }

  .scenario-control {
    width: 1.9rem;
  }

  .next-scenario span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cursor {
    display: none;
  }
}

/* Single-viewport composition: brand, product moment, then signup. */
body {
  display: grid;
  height: 100svh;
  overflow: hidden;
  place-items: center;
}

.single-screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.65rem, 1.2vh, 0.9rem);
  width: min(100%, 96rem);
  height: min(100svh, 54rem);
  margin: 0 auto;
  padding: clamp(1rem, 2vh, 1.45rem) max(1rem, 4vw) clamp(1.25rem, 2.5vh, 2rem);
}

.single-screen::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 76%, transparent);
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  width: min(100%, 82rem);
  margin: 0 auto;
}

.site-header .wordmark {
  grid-column: 2;
  font-size: clamp(3rem, 5.4vw, 5rem);
  justify-self: center;
  line-height: 0.72;
}

.site-header .signal {
  grid-column: 3;
  justify-self: end;
  margin: 0 0 0.16rem;
}

.single-screen .experience {
  display: grid;
  min-height: 0;
  place-items: stretch center;
  padding: 0;
}

.single-screen .experience::before {
  display: none;
}

.single-screen .demo-shell {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  width: min(100%, 82rem);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  border-radius: clamp(1.15rem, 2vw, 1.8rem);
}

.single-screen .demo-header {
  min-height: clamp(2.85rem, 5.5vh, 3.55rem);
  padding-inline: clamp(1rem, 2.5vw, 1.8rem);
}

.single-screen .listening-orb {
  width: 1.35rem;
  height: 1.35rem;
}

.single-screen .command-wrap {
  align-items: center;
  min-height: 0;
  padding: clamp(0.9rem, 2.5vh, 1.8rem) clamp(1rem, 4vw, 3.5rem) clamp(0.65rem, 1.7vh, 1.2rem);
}

.single-screen .command-mark {
  width: clamp(1.2rem, 2vw, 1.8rem);
  margin-top: 0.2rem;
}

.single-screen .command {
  width: min(100%, 58rem);
  min-height: 2.08em;
  font-size: clamp(1.65rem, 3.45vw, 3.45rem);
  line-height: 1.02;
}

.single-screen .translation-label {
  width: min(91%, 68rem);
  margin-bottom: clamp(0.55rem, 1.2vh, 0.9rem);
}

.single-screen .flow {
  grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr) 3rem minmax(0, 1fr);
  width: min(91%, 68rem);
  height: 100%;
}

.single-screen .flow-card {
  min-height: 0;
  height: 100%;
  padding: clamp(0.75rem, 1.4vw, 1rem);
  border-radius: 0.9rem;
}

.single-screen .card-icon {
  width: 2.15rem;
  height: 2.15rem;
  margin-top: clamp(0.45rem, 1vh, 0.85rem);
  border-radius: 0.62rem;
}

.single-screen .card-icon svg {
  width: 1.05rem;
}

.single-screen .card-label {
  margin-top: clamp(0.5rem, 1vh, 0.9rem);
}

.single-screen .card-value {
  margin-top: 0.22rem;
  font-size: clamp(0.9rem, 1.35vw, 1.12rem);
}

.single-screen .demo-footer {
  width: min(91%, 68rem);
  margin-top: clamp(0.55rem, 1vh, 0.9rem);
  padding: 0 0 clamp(0.7rem, 1.4vh, 1rem);
}

.single-screen .signup {
  align-self: end;
  width: min(100%, 35rem);
  margin: 0 auto;
}

.single-screen .signup-shell {
  min-height: 3.45rem;
  padding-block: 0.3rem;
}

.single-screen .signup input[type="email"] {
  height: 2.75rem;
}

.single-screen .signup button {
  min-height: 2.8rem;
}

.single-screen .form-note {
  margin-top: 0.35rem;
  font-size: 0.62rem;
}

@media (max-width: 780px) {
  .single-screen {
    gap: 0.55rem;
    padding: 0.8rem 0.7rem 1rem;
  }

  .site-header {
    padding-inline: 0.15rem;
  }

  .site-header .wordmark {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }

  .site-header .signal {
    display: none;
  }

  .single-screen .demo-header {
    min-height: 2.8rem;
    padding-inline: 0.9rem;
  }

  .single-screen .command-wrap {
    min-height: 0;
    gap: 0.65rem;
    padding: 0.8rem 0.85rem 0.55rem;
  }

  .single-screen .command {
    min-height: 2.9em;
    font-size: clamp(1.35rem, 6.3vw, 2rem);
    line-height: 1.04;
  }

  .single-screen .translation-label,
  .single-screen .flow,
  .single-screen .demo-footer {
    width: calc(100% - 1.4rem);
  }

  .single-screen .translation-label {
    margin-bottom: 0.5rem;
  }

  .single-screen .flow {
    grid-template-columns: minmax(0, 1fr) 1.1rem minmax(0, 1fr) 1.1rem minmax(0, 1fr);
    gap: 0;
    overflow: visible;
  }

  .single-screen .flow-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    padding: 0.58rem;
    column-gap: 0;
  }

  .single-screen .card-topline {
    grid-column: auto;
    font-size: 0.46rem;
  }

  .single-screen .card-icon {
    display: none;
  }

  .single-screen .card-label {
    align-self: end;
    margin-top: 0.55rem;
    font-size: 0.52rem;
  }

  .single-screen .card-value {
    align-self: start;
    margin-top: 0.22rem;
    overflow: visible;
    font-size: clamp(0.7rem, 2.9vw, 0.92rem);
    line-height: 1.12;
    text-overflow: clip;
    white-space: normal;
  }

  .single-screen .flow-link {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-items: stretch;
    height: auto;
  }

  .single-screen .flow-link span {
    width: auto;
    height: 1px;
  }

  .single-screen .demo-footer {
    margin-top: 0.55rem;
    padding-bottom: 0.65rem;
  }

  .single-screen .signup-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 3.2rem;
    padding: 0.28rem 0.3rem 0.28rem 0.9rem;
  }

  .single-screen .signup input[type="email"] {
    grid-row: auto;
    height: 2.6rem;
  }

  .single-screen .signup button {
    grid-column: auto;
    width: auto;
    min-height: 2.65rem;
    margin-top: 0;
    padding-inline: 1rem;
  }
}

@media (max-width: 470px) {
  .site-header .signal {
    gap: 0.42rem;
  }

  .single-screen .signup button {
    min-width: 2.65rem;
    padding-inline: 0.78rem;
  }

  .single-screen .signup button > span {
    display: none;
  }

  .single-screen .scenario-control {
    width: 1.65rem;
  }
}

@media (max-height: 760px) {
  .single-screen {
    gap: 0.45rem;
    padding-block: 0.7rem 1rem;
  }

  .site-header .wordmark {
    font-size: clamp(2.7rem, 4.8vw, 4.25rem);
  }

  .single-screen .demo-header {
    min-height: 2.65rem;
  }

  .single-screen .command-wrap {
    padding-block: 0.55rem 0.35rem;
  }

  .single-screen .command {
    font-size: clamp(1.35rem, 2.8vw, 2.45rem);
  }

  .single-screen .translation-label {
    margin-bottom: 0.38rem;
  }

  .single-screen .card-icon {
    display: none;
  }

  .single-screen .card-label {
    margin-top: 0.4rem;
  }

  .single-screen .demo-footer {
    margin-top: 0.4rem;
    padding-bottom: 0.5rem;
  }

  .single-screen .signup-shell {
    min-height: 3.05rem;
  }

  .single-screen .signup input[type="email"],
  .single-screen .signup button {
    height: 2.5rem;
    min-height: 2.5rem;
  }

  .single-screen .form-note {
    min-height: 0.75rem;
    margin-top: 0.2rem;
  }
}

@media (max-height: 640px) {
  body {
    height: auto;
    min-height: 640px;
    overflow-y: auto;
  }

  .single-screen {
    height: 640px;
  }
}
