:root {
  --bg: #030916;
  --bg-deep: #02050d;
  --surface: rgba(8, 20, 44, 0.68);
  --surface-strong: rgba(10, 24, 52, 0.9);
  --surface-soft: rgba(9, 24, 48, 0.56);
  --border: rgba(84, 162, 255, 0.16);
  --border-strong: rgba(84, 162, 255, 0.28);
  --text: #eef6ff;
  --muted: #8ea7c8;
  --accent: #47b1ff;
  --accent-strong: #96dfff;
  --accent-warm: #b1d8ff;
  --accent-hot: #ff4f7a;
  --shadow: 0 32px 120px rgba(1, 8, 28, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 999px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(35, 127, 255, 0.2), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(58, 170, 255, 0.16), transparent 22%),
    radial-gradient(circle at 76% 72%, rgba(255, 79, 122, 0.08), transparent 18%),
    linear-gradient(180deg, #051022 0%, #030916 48%, #02050d 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 162, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 162, 255, 0.03) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.2), #000 25%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-glow {
  position: absolute;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
}

.page-glow-left {
  top: 4rem;
  left: -10rem;
  background: rgba(66, 164, 255, 0.28);
}

.page-glow-right {
  top: 32rem;
  right: -12rem;
  background: rgba(47, 126, 255, 0.2);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: rgba(3, 10, 24, 0.58);
  border-bottom: 1px solid rgba(84, 162, 255, 0.1);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(84, 162, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 8, 24, 0.32);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-wordmark {
  font-size: 0.84rem;
  color: var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  justify-self: end;
}

.site-nav a,
.footer-copy,
.panel-metrics span,
.feed-copy,
.hero-text,
.section-heading p,
.feature-card p,
.persona-card p,
.trust-points,
.proof-item span,
.cta-panel p,
.rail-inner,
.button-ghost,
.button-primary,
.video-caption,
.floating-card p {
  color: var(--muted);
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background: rgba(7, 18, 40, 0.42);
  color: var(--text);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-login:hover,
.nav-login:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(150, 223, 255, 0.28);
  background: rgba(10, 28, 58, 0.58);
  box-shadow: 0 14px 28px rgba(1, 8, 28, 0.24);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions,
.hero-actions,
.cta-actions {
  display: inline-flex;
  gap: 0.85rem;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, rgba(71, 177, 255, 0.24), rgba(104, 208, 255, 0.18));
  border-color: rgba(150, 223, 255, 0.32);
  color: var(--text);
  box-shadow: 0 12px 32px rgba(26, 114, 255, 0.18);
}

.button-ghost {
  background: rgba(7, 18, 40, 0.46);
  border-color: rgba(84, 162, 255, 0.16);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid rgba(84, 162, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 18, 40, 0.7);
  color: var(--text);
}

.menu-toggle span {
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  padding: 2rem 0 2.25rem;
}

.hero-shell {
  position: relative;
  --hero-x: 50%;
  --hero-y: 50%;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  --hero-band-shift-x: 0px;
  --hero-band-shift-y: 0px;
  min-height: 820px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 40px;
  border: 1px solid rgba(84, 162, 255, 0.1);
  background: linear-gradient(180deg, rgba(4, 14, 32, 0.68), rgba(3, 9, 22, 0.54));
  box-shadow: 0 28px 120px rgba(0, 8, 28, 0.36);
  overflow: hidden;
  transform: perspective(1400px) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(90, 162, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 162, 255, 0.035) 1px, transparent 1px);
  background-size: 104px 104px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), #000 18%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--hero-x) var(--hero-y),
      rgba(150, 223, 255, 0.16),
      rgba(71, 177, 255, 0.08) 18%,
      transparent 40%
    );
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-shell.is-hovering {
  border-color: rgba(150, 223, 255, 0.18);
  box-shadow: 0 34px 140px rgba(0, 8, 28, 0.42);
}

.hero-shell.is-hovering::after {
  opacity: 1;
}

.hero-grid,
.trust-grid,
.docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  grid-template-columns: 1fr;
  align-items: start;
  padding-top: clamp(4.5rem, 10vh, 7rem);
}

.hero-copy {
  max-width: min(1040px, 100%);
  padding: 0 0 0.35rem;
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
  transition: transform 220ms ease;
}

.hero-copy h1,
.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3.2rem, 5.6vw, 4.45rem);
  max-width: none;
  text-shadow: 0 12px 42px rgba(1, 8, 28, 0.42);
}

.hero-copy h1 span {
  display: block;
}

.hero-headline-top {
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.14rem;
  line-height: 1.76;
  color: rgba(238, 246, 255, 0.84);
  text-shadow: 0 10px 36px rgba(1, 8, 28, 0.36);
}

.hero-actions-main {
  position: relative;
  z-index: 1;
  margin: 2rem 0 1.8rem;
}

.signal-list,
.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li,
.trust-points li {
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(84, 162, 255, 0.14);
  background: rgba(8, 20, 44, 0.52);
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proof-item {
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 20, 44, 0.6);
  border: 1px solid rgba(84, 162, 255, 0.14);
}

.proof-item strong,
.floating-card p,
.panel-metrics strong,
.code-panel,
.flow-card p,
.feed-type,
.panel-title,
.card-tag,
.caption-kicker {
  color: var(--text);
}

.proof-label,
.step-index,
.panel-badge,
.card-tag,
.code-panel-header,
.panel-title,
.caption-kicker {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.media-frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.hero-video,
.media-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05) brightness(0.88);
  transform: scale(1.015);
  transition: transform 260ms ease, filter 260ms ease;
}

.media-scrim {
  background:
    radial-gradient(circle at 72% 18%, rgba(110, 201, 255, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(2, 8, 20, 0.84) 0%, rgba(2, 8, 20, 0.68) 26%, rgba(2, 8, 20, 0.16) 58%, rgba(2, 8, 20, 0.5) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.2) 0%, rgba(2, 8, 20, 0.08) 26%, rgba(2, 8, 20, 0.62) 100%);
  transition: opacity 220ms ease, background-position 220ms ease;
}

.hero-shell.is-hovering .hero-video {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.08) brightness(0.94);
}

.hero-shell.is-hovering .media-scrim {
  background:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(150, 223, 255, 0.2), transparent 20%),
    linear-gradient(90deg, rgba(2, 8, 20, 0.78) 0%, rgba(2, 8, 20, 0.6) 24%, rgba(2, 8, 20, 0.12) 60%, rgba(2, 8, 20, 0.44) 100%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.18) 0%, rgba(2, 8, 20, 0.06) 26%, rgba(2, 8, 20, 0.56) 100%);
}

.floating-card,
.explorer-panel,
.code-panel,
.cta-panel,
.feature-card,
.persona-card,
.flow-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  max-width: 250px;
  padding: 1rem 1.1rem;
}

.floating-card-top {
  top: 1.35rem;
  left: 1.35rem;
}

.floating-card-right {
  top: 18%;
  right: 1.35rem;
}

.floating-card-bottom {
  left: 1.35rem;
  bottom: 5.25rem;
}

.video-caption {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  max-width: 280px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(194, 255, 242, 0.15);
  background: rgba(5, 13, 20, 0.68);
  backdrop-filter: blur(18px);
}

.hero-ledger {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ledger-row {
  display: grid;
  gap: 0.22rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(8, 20, 44, 0.76);
  border: 1px solid rgba(84, 162, 255, 0.1);
}

.ledger-label,
.overlay-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.ledger-row strong,
.overlay-step strong {
  color: var(--text);
  line-height: 1.55;
}

.media-topbar {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  right: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.card-tag,
.media-badge {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background: rgba(4, 14, 30, 0.5);
  backdrop-filter: blur(18px);
}

.card-tag {
  margin-bottom: 0;
  color: var(--accent-strong);
}

.media-badge {
  color: var(--text);
  font-size: 0.88rem;
}

.hero-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(4, 14, 30, 0.58);
  border: 1px solid rgba(84, 162, 255, 0.14);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 8, 24, 0.28);
  transform: translate3d(var(--hero-band-shift-x), var(--hero-band-shift-y), 0);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-shell.is-hovering .hero-band {
  border-color: rgba(150, 223, 255, 0.18);
  box-shadow: 0 26px 72px rgba(0, 8, 24, 0.34);
}

.hero-band-item {
  display: grid;
  gap: 0.28rem;
  padding: 0.15rem 0.2rem;
}

.hero-band-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero-band span,
.hero-band strong {
  color: var(--muted);
}

.hero-band strong {
  font-weight: 600;
  line-height: 1.5;
}

.rail {
  padding: 1rem 0 0;
}

.rail-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(194, 255, 242, 0.1);
  border-bottom: 1px solid rgba(194, 255, 242, 0.1);
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
}

.section-heading > p:last-child,
.cta-panel p {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.flow-grid,
.feature-grid,
.persona-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.persona-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
}

.flow-card,
.feature-card,
.persona-card {
  min-height: 220px;
  padding: 1.5rem;
}

.flow-card h3,
.feature-card h3,
.persona-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.flow-card p,
.feature-card p,
.persona-card p,
.panel-metrics strong,
.feed-copy,
.cta-panel p,
.video-caption strong {
  line-height: 1.7;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.explorer-panel {
  padding: 1.5rem;
}

.panel-header,
.code-panel-header,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.panel-badge {
  margin: 0;
  padding: 0.42rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(84, 162, 255, 0.16);
  color: var(--accent);
}

.panel-metrics {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.panel-metrics div,
.feed-row {
  padding: 1rem 0;
  border-top: 1px solid rgba(84, 162, 255, 0.08);
}

.panel-metrics strong {
  display: block;
  margin-top: 0.25rem;
}

.explorer-feed {
  margin-top: 1.5rem;
}

.feed-type {
  margin-right: 0.85rem;
  color: var(--accent-hot);
}

.docs-grid {
  align-items: stretch;
}

.code-panel {
  padding: 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 24, 38, 0.92), rgba(6, 12, 20, 0.94)),
    rgba(6, 12, 20, 0.94);
}

.code-panel pre {
  margin: 0;
  overflow-x: auto;
}

.code-panel code {
  display: block;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #dff9f2;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-inner {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(84, 162, 255, 0.08);
}

body.modal-open {
  overflow: hidden;
}

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.login-modal[hidden],
.login-form[hidden],
.login-inline-error[hidden],
.login-result[hidden] {
  display: none !important;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(71, 177, 255, 0.14), transparent 30%),
    rgba(2, 8, 20, 0.76);
  backdrop-filter: blur(16px);
}

.login-dialog {
  position: relative;
  width: min(520px, 100%);
  z-index: 1;
}

.login-dialog-shell {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background:
    radial-gradient(circle at top left, rgba(71, 177, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(7, 18, 40, 0.96), rgba(3, 10, 24, 0.94));
  box-shadow: 0 32px 100px rgba(0, 8, 28, 0.5);
}

.login-dialog-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(90, 162, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 162, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), #000 18%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.login-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background: rgba(4, 14, 30, 0.65);
  color: var(--text);
  cursor: pointer;
}

.login-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
}

.login-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.login-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.login-kicker,
.login-label,
.login-result-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.login-kicker,
.login-result-badge {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background: rgba(4, 14, 30, 0.52);
  color: var(--accent-strong);
}

.login-dialog h2,
.login-subtitle,
.login-form,
.login-inline-error,
.login-result {
  position: relative;
  z-index: 1;
}

.login-dialog h2 {
  margin: 1.15rem 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 2.7rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.login-subtitle,
.login-result-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.login-label {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-strong);
}

.login-input {
  min-height: 56px;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid rgba(84, 162, 255, 0.16);
  background: rgba(5, 16, 34, 0.84);
  color: var(--text);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.login-input::placeholder {
  color: rgba(142, 167, 200, 0.72);
}

.login-input:focus {
  border-color: rgba(150, 223, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(71, 177, 255, 0.12);
  background: rgba(7, 20, 42, 0.92);
}

.login-submit {
  width: 100%;
  margin-top: 0.2rem;
}

.login-inline-error {
  margin: 0.9rem 0 0;
  color: #ff9bb1;
}

.login-result {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 79, 122, 0.18);
  background: linear-gradient(180deg, rgba(33, 12, 24, 0.88), rgba(18, 8, 18, 0.82));
}

.login-result-copy {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .menu-toggle {
    grid-area: toggle;
    justify-self: end;
    display: inline-flex;
  }

  .site-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .nav-login {
    min-height: 42px;
  }

  .hero-grid,
  .trust-grid,
  .docs-grid,
  .split-layout,
  .flow-grid,
  .feature-grid,
  .persona-grid,
  .hero-proof-strip,
  .rail-inner,
  .hero-band {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 720px;
    padding: 1.2rem;
  }

  .hero-grid {
    min-height: 520px;
    padding-top: 4rem;
  }

  .media-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .rail-inner {
    gap: 0.7rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100vw - 24px, 100%);
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.9rem, 12vw, 3.9rem);
  }

  .hero-headline-top {
    white-space: normal;
  }

  .hero-shell {
    min-height: 640px;
    padding: 0.95rem;
  }

  .hero-grid {
    min-height: 440px;
    padding-top: 3.25rem;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .media-topbar {
    left: 1rem;
    right: 1rem;
    top: 1rem;
  }

  .video-caption {
    position: static;
    margin: 0 1rem 1rem;
    max-width: none;
  }

  .proof-item,
  .flow-card,
  .feature-card,
  .persona-card {
    min-height: auto;
  }

  .cta-panel,
  .footer-inner,
  .panel-header,
  .code-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 4.5rem 0;
  }

  .login-dialog-shell {
    padding: 1.5rem;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-shell,
  .hero-copy,
  .hero-band,
  .hero-video,
  .media-scrim {
    transform: none !important;
    transition: none !important;
  }

  .hero-shell::after {
    display: none;
  }
}
