/* Watch us make magic marketing site
   Palette from product logo: black stage, white signal, cyan/red chromatic fringe.
   Zinc neutrals echo the desktop operator UI. */

:root {
  --ink: #09090b;
  --ink-2: #121214;
  --ink-3: #1c1c1f;
  --panel: #18181b;
  --line: #3f3f46;
  --mute: #a1a1aa;
  --soft: #d4d4d8;
  --paper: #fafafa;
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.35);
  --red: #fb7185;
  --red-dim: rgba(251, 113, 133, 0.35);
  --green: #34d399;
  --amber: #fbbf24;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wrap: 1120px;
  --gutter: 1.25rem;
  --page-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--soft);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: #67e8f9;
}

code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9em;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--paper);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-weight: 600;
}

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

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

.wrap--narrow {
  width: min(100% - 2.5rem, 820px);
}

.wrap--split {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 860px) {
  .wrap--split {
    grid-template-columns: 1.3fr 1fr;
  }
}

.wrap--cta {
  width: min(100% - 2.5rem, 640px);
}

.wrap--cta h2 {
  max-width: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 11, 0.82);
  border-bottom: 1px solid rgba(63, 63, 70, 0.55);
}

.site-header__inner {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark img {
  border-radius: 50%;
  box-shadow:
    -2px 0 0 var(--red-dim),
    2px 0 0 var(--cyan-dim);
}

.brand-mark__name {
  max-width: 12ch;
  line-height: 1.15;
}

@media (min-width: 720px) {
  .brand-mark__name {
    max-width: none;
  }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

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

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

.site-nav .btn--nav {
  margin-left: 0.35rem;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--paper);
}

@media (min-width: 920px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: var(--paper);
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid rgba(63, 63, 70, 0.5);
  font-weight: 500;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn--solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  box-shadow:
    -3px 0 0 var(--red),
    3px 0 0 var(--cyan);
}

.btn--solid:hover {
  color: var(--ink);
  background: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--soft);
  color: var(--paper);
}

.btn--wide {
  width: 100%;
}

.btn--nav {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.88rem;
  box-shadow:
    -2px 0 0 var(--red),
    2px 0 0 var(--cyan);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2rem, 5vw, 3rem);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-inline: 0;
    padding: 0;
    min-height: 0;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    /* Same left edge as .wrap / header; only pad toward the visual */
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem) var(--page-inline);
  }

  .hero__visual {
    margin: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
  }
}

.hero__stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 15% 0%, rgba(34, 211, 238, 0.08), transparent 55%),
    radial-gradient(700px 420px at 90% 70%, rgba(251, 113, 133, 0.07), transparent 50%),
    linear-gradient(180deg, #09090b 0%, #0c0c0e 45%, #09090b 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero__beam {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--red), transparent);
  opacity: 0.55;
  animation: beam-pulse 5.5s ease-in-out infinite;
}

@keyframes beam-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(1);
  }
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

@media (min-width: 960px) {
  .hero__content,
  .hero__visual {
    width: 100%;
    margin: 0;
  }
}

.hero__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1.05;
}

.hero__logo {
  width: clamp(2.75rem, 6vw, 3.5rem);
  height: auto;
  border-radius: 50%;
  flex-shrink: 0;
  animation: logo-settle 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  box-shadow:
    -4px 0 0 var(--red-dim),
    4px 0 0 var(--cyan-dim);
}

@keyframes logo-settle {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.glitch-text {
  position: relative;
  display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero__brand:hover .glitch-text::before,
.hero__brand:hover .glitch-text::after,
.glitch-text.is-live::before,
.glitch-text.is-live::after {
  opacity: 0.75;
}

.glitch-text::before {
  color: var(--cyan);
  transform: translate(2px, -1px);
  clip-path: inset(0 0 55% 0);
}

.glitch-text::after {
  color: var(--red);
  transform: translate(-2px, 1px);
  clip-path: inset(45% 0 0 0);
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 12ch;
  margin-bottom: 0.7rem;
  animation: rise 800ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__lede {
  max-width: 38ch;
  color: var(--mute);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  animation: rise 800ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 800ms 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

.hero__visual {
  margin-top: 2.5rem;
}

@media (min-width: 960px) {
  .hero__visual {
    margin-top: 0;
    align-items: stretch;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.28rem 0;
}

.status-pill::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #71717a;
}

.status-pill[data-state="on"] {
  color: var(--green);
}

.status-pill[data-state="on"]::before {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2);
}

.status-pill[data-state="uncertain"] {
  color: var(--amber);
}

.status-pill[data-state="uncertain"]::before {
  background: var(--amber);
}

.status-pill[data-state="off"] {
  color: var(--red);
}

.status-pill[data-state="off"]::before {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.22);
}

.status-pill[data-state="idle"] {
  color: var(--mute);
}

/* Bands */

.band {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  border-top: 1px solid rgba(63, 63, 70, 0.55);
}

.section-lede {
  color: var(--mute);
  max-width: 48ch;
  margin: -0.2rem 0 2.25rem;
  font-size: 1.05rem;
}

.section-lede--light {
  color: #d4d4d8;
}

.band--problem {
  background:
    linear-gradient(180deg, #0c0c0e 0%, #09090b 100%);
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.problem-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(63, 63, 70, 0.7);
}

.problem-item:last-child {
  border-bottom: 1px solid rgba(63, 63, 70, 0.7);
}

.problem-item__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  line-height: 1;
  padding-top: 0.15rem;
}

.problem-item h3 {
  margin-bottom: 0.35rem;
}

.problem-item p {
  color: var(--mute);
  max-width: 52ch;
}

/* Steps: equal grid */

.steps {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
}

.step {
  padding: 1.4rem 0 0;
  border-top: 2px solid var(--line);
  margin: 0;
}

.step:nth-child(odd) {
  border-top-color: var(--cyan);
}

.step:nth-child(even) {
  border-top-color: var(--red);
}

.step__index {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  color: var(--paper);
}

.step p {
  color: var(--mute);
}

/* Features */

.band--features {
  background: var(--ink-2);
}

.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .feature-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }

  .feature--wide {
    grid-row: span 2;
  }

  .feature--tune {
    grid-column: 1 / -1;
  }
}

.feature {
  padding: 1.5rem 1.4rem;
  background: var(--panel);
  border: 1px solid rgba(63, 63, 70, 0.8);
}

.feature--wide {
  border-radius: 0 0 1.5rem 0;
  border-left: 3px solid var(--cyan);
}

.feature:not(.feature--wide):not(.feature--tune) {
  border-radius: 0 1rem 0 0;
}

.feature:not(.feature--wide):not(.feature--tune):last-of-type {
  border-radius: 0;
  border-right: 3px solid var(--red);
}

.feature--tune {
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--red);
}

.feature p,
.feature-points {
  color: var(--mute);
}

.feature-points {
  margin: 1.1rem 0 0;
  padding: 0 0 0 1.1rem;
  display: grid;
  gap: 0.45rem;
}

/* Ops console (hero demo) */

.ops-console {
  background: #0b0b0d;
  border: 1px solid var(--line);
  box-shadow:
    -5px 0 0 rgba(251, 113, 133, 0.45),
    5px 0 0 rgba(34, 211, 238, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ops-console--hero {
  min-height: 0;
}

@media (min-width: 960px) {
  .ops-console--hero {
    border: none;
    border-left: 1px solid rgba(63, 63, 70, 0.7);
    box-shadow: none;
    height: 100%;
    background:
      linear-gradient(180deg, rgba(9, 9, 11, 0.15), rgba(9, 9, 11, 0.45)),
      #0b0b0d;
  }

  .ops-console--hero .ops-console__body {
    flex: 1;
    align-content: start;
    padding: 1rem 1.25rem;
    gap: 0.85rem;
  }

  .ops-console--hero .ops-console__caption {
    padding: 1rem 1.25rem 1.2rem;
  }

  .ops-console--hero .ops-caption-line {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  }

  .ops-console--hero .ops-asr,
  .ops-console--hero .ops-bars {
    min-height: 5rem;
  }
}

.ops-console__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #141416;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.ops-console__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--paper);
}

.ops-console__body {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

@media (min-width: 720px) {
  .ops-console__body {
    grid-template-columns: 1fr 1fr;
  }
}

.ops-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
}

.ops-asr {
  margin: 0;
  min-height: 4.75rem;
  padding: 0.7rem 0.8rem;
  background: #09090b;
  border: 1px solid #27272a;
  color: #d6d3d1;
  font-size: 0.85rem;
  line-height: 1.45;
  white-space: pre-wrap;
  font-family: ui-monospace, "IBM Plex Mono", monospace;
}

.ops-bars {
  display: grid;
  gap: 0.45rem;
  min-height: 4.75rem;
}

.ops-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  font-size: 0.82rem;
}

.ops-bar__label {
  color: var(--soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ops-bar__score {
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.ops-bar__track {
  grid-column: 1 / -1;
  height: 5px;
  background: #27272a;
}

.ops-bar__fill {
  height: 100%;
  width: 0;
  background: var(--cyan);
  transition: width 400ms ease;
}

.ops-bar.is-top .ops-bar__fill {
  background: linear-gradient(90deg, var(--cyan), #fff);
}

.ops-console__caption {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(145deg, #18181b 0%, #27272a 55%, #3f3f46 100%);
  margin-top: auto;
  flex-shrink: 0;
}

.ops-caption-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: #fafafa;
  min-height: 1.4em;
}

/* Use cases: list, not card tiles */

.use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.use-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(63, 63, 70, 0.65);
}

@media (min-width: 700px) {
  .use-list li {
    grid-template-columns: 14rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.use-list li:last-child {
  border-bottom: 1px solid rgba(63, 63, 70, 0.65);
}

.use-list strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--paper);
}

.use-list span {
  color: var(--mute);
}

/* Privacy */

.band--privacy {
  background: #f4f4f5;
  color: #27272a;
  border-top: none;
  position: relative;
}

.band--privacy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--cyan), var(--red));
}

.band--privacy h2 {
  color: #09090b;
  max-width: 14ch;
}

.band--privacy .section-lede {
  color: #52525b;
}

.privacy-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.privacy-facts li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #d4d4d8;
  font-weight: 500;
  color: #18181b;
}

.privacy-facts span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #71717a;
  padding-top: 0.2rem;
}

/* Free license */

.band--free {
  background: var(--ink-2);
  border-top: 1px solid rgba(63, 63, 70, 0.55);
}

.band--free h2 {
  max-width: 16ch;
}

.free-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.free-facts li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(63, 63, 70, 0.75);
  font-weight: 500;
  color: var(--paper);
}

.free-facts span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 0.2rem;
}

/* Integrations strip */

.int-strip {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .int-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.int-item {
  padding: 1.4rem 1.1rem 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .int-item {
    padding: 1.5rem 1.25rem 0 0;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }

  .int-item:last-child {
    border-right: none;
    padding-right: 0;
  }

  .int-item:nth-child(odd) h3 {
    color: var(--cyan);
  }

  .int-item:nth-child(even) h3 {
    color: var(--red);
  }
}

.int-item p {
  color: var(--mute);
  font-size: 0.98rem;
}

/* Compare */

.band--compare {
  background: var(--ink-2);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 1rem 0.85rem;
  border-bottom: 1px solid rgba(63, 63, 70, 0.75);
  vertical-align: top;
}

.compare-table th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
}

.compare-table td:first-child {
  color: var(--mute);
  width: 38%;
}

.compare-table td:last-child {
  color: var(--paper);
  font-weight: 500;
}

@media (max-width: 640px) {
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .compare-table td {
    border: none;
    padding: 0.2rem 0;
  }

  .compare-table td:first-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
  }
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 0;
}

.faq-item:nth-child(odd) {
  border-left: 3px solid var(--cyan);
}

.faq-item:nth-child(even) {
  border-left: 3px solid var(--red);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(63, 63, 70, 0.7);
}

.faq-item p {
  padding: 0.9rem 1.1rem 1.15rem;
  color: var(--mute);
  margin: 0;
}

/* CTA */

.band--cta {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(34, 211, 238, 0.1), transparent 55%),
    radial-gradient(600px 280px at 70% 100%, rgba(251, 113, 133, 0.08), transparent 50%),
    #09090b;
}

.demo-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0f0f12;
  color: var(--paper);
  padding: 0.85rem 0.95rem;
  font: inherit;
  border-radius: 0;
}

.demo-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a1a1aa' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.5rem;
}

.demo-form input:focus-visible,
.demo-form select:focus-visible,
.demo-form textarea:focus-visible,
.btn:focus-visible,
.faq-item summary:focus-visible,
.nav-toggle:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

.demo-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-note {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--mute);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  background: #050506;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.site-footer__brand img {
  border-radius: 50%;
}

.site-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--paper);
}

.site-footer__brand p,
.site-footer__copy {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
}

/* Reveal on scroll */

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

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

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

  .reveal,
  .hero__logo,
  .hero__headline,
  .hero__lede,
  .hero__actions,
  .hero__beam,
  .glitch-text::before,
  .glitch-text::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
