:root {
  color-scheme: dark;
  --bg: #07070a;
  --surface: #111116;
  --surface-2: #181820;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f8f8fb;
  --muted: #a7a7b2;
  --red: #ff264f;
  --blue: #3aa7ff;
  --green: #57f287;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

a { 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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 10, 0.9);
  backdrop-filter: blur(20px);
}

.nav,
.section-inner,
.legal,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 750;
}

.tm {
  margin-left: 3px;
  font-size: 0.22em;
  font-weight: 700;
  vertical-align: top;
}
.brand .tm { margin-left: 2px; font-size: 0.48em; }

.brand img {
  width: 54px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }

.hero {
  min-height: calc(100svh - 64px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #050507;
}

.social-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(11, 11, 16, 0.38);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #fff;
  backdrop-filter: blur(20px) saturate(160%);
}

.reaction-float {
  top: 92px;
  right: max(28px, calc((100vw - var(--max)) / 2 + 36px));
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 20px;
  animation: social-bob 5s ease-in-out infinite;
}
.reaction-float span { font-size: 12px; font-weight: 800; }

.message-float {
  right: max(22px, calc((100vw - var(--max)) / 2));
  bottom: 42px;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  font-size: 12px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 60px 0 76px;
  text-align: center;
}

.brand-stage {
  position: relative;
  display: block;
  width: 205px;
  max-width: 48vw;
  margin: 0 auto 14px;
  isolation: isolate;
}

.note-halo {
  position: absolute;
  z-index: -1;
  inset: 8% 5% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 38, 79, 0.2) 0, rgba(255, 38, 79, 0.07) 42%, transparent 72%);
  filter: blur(16px);
  animation: note-breathe 4.6s ease-in-out infinite;
}

.note-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(255, 41, 79, 0.16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3d3d43;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 38, 79, 0.52);
  animation: signal-pulse 2s ease-out infinite;
}

h1, h2, h3 { margin: 0; line-height: 1.08; }

h1 {
  margin-top: 12px;
  font-size: clamp(48px, 8vw, 76px);
  font-weight: 780;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
}

.launch-form {
  width: min(100%, 530px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.launch-form input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #cfcfd6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #07070a;
  font: inherit;
  font-size: 16px;
  outline: none;
}

.launch-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58, 167, 255, 0.18);
}

.launch-form button { min-height: 52px; cursor: pointer; }
.launch-form button:disabled { cursor: wait; opacity: 0.72; }

.form-status {
  min-height: 22px;
  margin: 10px auto 0;
  color: #63636c;
  font-size: 14px;
}

.form-status.success { color: #147a38; }
.form-status.error { color: #ff718d; }

.launch-note {
  width: min(100%, 620px);
  margin: 2px auto 0;
  color: #74747d;
  font-size: 11px;
  line-height: 1.55;
}
.launch-note a { color: #303038; font-weight: 700; text-underline-offset: 2px; }

.actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  border-color: rgba(87, 242, 135, 0.55);
  background: var(--green);
  color: #06120a;
}

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

.section { border-bottom: 1px solid var(--line); }
.section-inner { padding: 76px 0; }
.section h2 { font-size: clamp(30px, 5vw, 48px); }
.section-lead { max-width: 720px; margin: 14px 0 0; color: var(--muted); font-size: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.feature {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--blue);
  font-weight: 850;
}

.feature:nth-child(2) .feature-mark { color: var(--red); }
.feature:nth-child(3) .feature-mark { color: var(--green); }
.feature h3 { font-size: 21px; }
.feature p { margin: 10px 0 0; color: var(--muted); }

.trust-band { background: #0d0d12; }

.legal {
  max-width: 820px;
  padding: 72px 0 100px;
}

.legal h1 { font-size: clamp(40px, 7vw, 66px); }
.legal .updated { color: var(--green); font-size: 14px; font-weight: 750; }
.legal h2 { margin-top: 42px; font-size: 26px; }
.legal h3 { margin-top: 28px; font-size: 20px; }
.legal p, .legal li { color: #c4c4cc; }
.legal ul { padding-left: 22px; }
.legal strong { color: var(--text); }
.legal a { color: #77beff; }

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--green);
  background: var(--surface);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.support-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-item h2 { margin-top: 0; font-size: 23px; }

footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }
.powered-by a { color: var(--text); text-decoration: none; font-weight: 700; }

/* Coming-soon stage */
.nav-actions { position: relative; display: flex; align-items: center; gap: 12px; }
.nav-support { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav-support:hover, .nav-support:focus-visible { color: #fff; }

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.menu-bars {
  width: 18px;
  display: grid;
  gap: 6px;
}
.menu-bars i {
  width: 18px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}
.menu-toggle[aria-expanded="true"] .menu-bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.launch-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 12px);
  right: 0;
  width: 270px;
  padding: 8px 16px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px) saturate(140%);
}
.launch-menu[hidden] { display: none; }
.menu-heading {
  padding: 10px 4px 7px;
  color: #77777f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.launch-menu a {
  min-height: 48px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: #0b0b0e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 720;
}
.launch-menu a span:last-child { color: #8b8b92; font-size: 17px; transition: transform 160ms ease; }
.launch-menu a:hover span:last-child, .launch-menu a:focus-visible span:last-child { transform: translateX(3px); color: var(--red); }

.hero {
  min-height: calc(100svh - 64px);
  background: #fbfbfd;
  color: #07070a;
}

.brand-canvas {
  min-height: calc(100svh - 64px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 22%, rgba(69, 160, 255, 0.07), transparent 25%),
    radial-gradient(circle at 12% 73%, rgba(255, 38, 79, 0.07), transparent 28%),
    #fbfbfd;
}

.brand-canvas .hero-inner {
  width: min(calc(100% - 40px), 920px);
  padding: 72px 0;
}

.brand-canvas .social-float {
  border-color: rgba(12, 12, 18, 0.12);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(25, 25, 34, 0.12);
  color: #111116;
  backdrop-filter: blur(22px) saturate(150%);
}

.brand-canvas .reaction-float {
  top: auto;
  right: max(30px, calc((100vw - var(--max)) / 2 + 30px));
  bottom: 16%;
  left: auto;
  padding: 12px 16px;
  font-size: 26px;
}
.brand-canvas .reaction-float span { font-size: 13px; }

.brand-canvas .message-float {
  top: 17%;
  right: auto;
  bottom: auto;
  left: max(26px, calc((100vw - var(--max)) / 2 + 48px));
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14px;
  animation: social-bob 6.5s ease-in-out infinite reverse;
}

.brand-canvas .brand-stage { width: 222px; max-width: 48vw; }
.brand-canvas h1 { font-size: clamp(58px, 9vw, 92px); }
.brand-canvas .launch-form {
  width: min(100%, 650px);
  grid-template-columns: 1fr;
}

.signup-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.signup-actions .button { min-height: 52px; cursor: pointer; }
.beta-action {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}
.launch-action {
  border-color: #0c0c10;
  background: #0c0c10;
  color: #fff;
}

.footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.footer-links { justify-content: center; }
.footer-inner > span:first-child { order: 1; }
.footer-links { order: 2; }
.powered-by { order: 3; margin-top: 2px; font-size: 9px; opacity: 0.42; }
.powered-by a { font-weight: 650; }

.signup-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: min(90svh, 760px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #0b0b0f;
  overflow: visible;
}
.signup-dialog::backdrop {
  background: rgba(2, 2, 5, 0.72);
  backdrop-filter: blur(12px);
}
.signup-sheet {
  position: relative;
  max-height: min(90svh, 760px);
  padding: 30px;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.4);
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dedee3;
  border-radius: 50%;
  background: #f4f4f6;
  color: #111116;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.signup-kicker {
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.signup-sheet h2 { margin-top: 8px; padding-right: 42px; font-size: clamp(34px, 7vw, 48px); }
.signup-intro { max-width: 450px; margin: 12px 0 24px; color: #66666f; font-size: 14px; }
#waitlist-form { display: grid; gap: 14px; }
.name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-field { display: grid; gap: 7px; color: #28282e; font-size: 12px; font-weight: 750; }
.form-field em { color: #898991; font-style: normal; font-weight: 550; }
.form-field input,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d7d7dc;
  border-radius: 8px;
  background: #f8f8fa;
  color: #0b0b0f;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.form-field input:focus,
.form-field select:focus { border-color: #24242a; box-shadow: 0 0 0 3px rgba(17, 17, 22, 0.09); }
.check-row { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; color: #33333a; font-size: 12px; }
.check-row input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--red); }
.check-row.optional { color: #65656e; }
.dialog-submit { width: 100%; border-color: #0c0c10; background: #0c0c10; color: #fff; cursor: pointer; }
.signup-dialog.is-beta .dialog-submit { border-color: var(--red); background: var(--red); }
.dialog-legal { margin: -3px 0 0; color: #7a7a82; font-size: 10px; line-height: 1.5; text-align: center; }
.dialog-legal a { color: #303038; font-weight: 700; }
.signup-sheet .form-status { margin-top: -3px; text-align: center; }

@keyframes social-bob {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-7px) rotate(-2deg); }
}

@keyframes note-breathe {
  0%, 100% { opacity: 0.68; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 38, 79, 0.44); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(255, 38, 79, 0); }
}

@media (max-width: 760px) {
  .nav { min-height: 58px; }
  .nav-support { display: none; }
  .hero { min-height: calc(100svh - 58px); }
  .brand-canvas { min-height: calc(100svh - 58px); }
  .brand-canvas .hero-inner { padding: 138px 0 126px; }
  .brand-canvas .brand-stage { width: 166px; margin-bottom: 12px; }
  .brand-canvas h1 { font-size: clamp(48px, 15vw, 64px); }
  .brand-canvas .reaction-float { top: auto; right: 16px; bottom: 68px; left: auto; padding: 9px 12px; font-size: 21px; }
  .brand-canvas .message-float { top: 82px; right: auto; bottom: auto; left: 16px; padding: 10px 13px; font-size: 12px; }
  .brand-canvas .launch-form { grid-template-columns: 1fr; }
  .launch-form { grid-template-columns: 1fr; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 58px 0; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 430px) {
  .brand span { font-size: 14px; }
  .brand img { width: 46px; }
  .menu-toggle { width: 38px; padding: 0; justify-content: center; }
  .brand-canvas .hero-inner { padding-top: 134px; }
  .brand-canvas .reaction-float { top: auto; right: 12px; bottom: 68px; left: auto; }
  .brand-canvas .message-float { top: 74px; right: auto; left: 12px; }
  .signup-actions .button { padding: 0 9px; font-size: 12px; }
  .signup-sheet { padding: 26px 20px 22px; }
  .name-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
