:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-soft: #0d111c;
  --panel: #111625;
  --panel-strong: #171c2a;
  --line: #222a3d;
  --text: #f3f7ff;
  --muted: #8490b2;
  --dim: #58627f;
  --nova: #0bd0ae;
  --nova-strong: #18f0c8;
  --blue: #6f94ff;
  --shadow: rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(14, 21, 35, 0.5), transparent 520px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  background: rgba(8, 11, 18, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.mini-brand,
.logo-lockup span,
.empty-chat strong {
  color: var(--nova);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.brand {
  font-size: 1.65rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 40px 0 72px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede,
.section p,
.feature-band p,
.steps p {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 520px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--nova);
  color: #04100f;
}

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-stage {
  position: relative;
  min-height: 680px;
}

.login-card {
  position: relative;
  z-index: 2;
  width: min(488px, 100%);
  margin: 0 auto;
  padding: 34px 40px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 22, 37, 0.96);
  box-shadow: 0 28px 90px var(--shadow);
}

.logo-lockup {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

.logo-lockup span {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
}

.logo-lockup small {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.tabs button,
.submit,
.google-button {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  font-weight: 900;
}

.tabs button {
  background: transparent;
  color: var(--dim);
}

.tabs .active {
  background: var(--nova);
  color: #04100f;
}

.login-card form,
.waitlist,
.steps {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
  color: #9caddb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 51px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171b27;
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: rgba(24, 240, 200, 0.65);
  box-shadow: 0 0 0 3px rgba(11, 208, 174, 0.12);
}

.submit {
  width: 100%;
  margin-top: 2px;
  background: var(--nova);
  color: #04100f;
  cursor: pointer;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
  color: var(--dim);
  font-size: 0.78rem;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.google-button {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
}

.google-button span {
  color: #4285f4;
  font-size: 1.4rem;
}

.chat-preview {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 230px 1fr;
  width: min(760px, 100%);
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b12;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.sidebar {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: #10131d;
}

.mini-brand {
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.profile {
  display: grid;
  grid-template-columns: 42px 1fr 9px;
  gap: 12px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.profile span {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 208, 174, 0.16);
  color: var(--nova);
  font-weight: 950;
}

.profile strong,
.activity strong {
  display: block;
  font-size: 0.95rem;
}

.profile small {
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 800;
}

.profile i {
  width: 9px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nova);
}

.search {
  margin: 16px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--dim);
  font-size: 0.82rem;
}

.switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-inline: -18px;
  border-block: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.switcher b,
.switcher span {
  padding: 13px 6px;
}

.switcher b {
  border-bottom: 2px solid var(--nova);
  color: var(--nova);
}

.activity {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 20px;
}

.activity span {
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #18233c;
}

.empty-chat {
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
}

.empty-chat strong {
  color: rgba(83, 94, 130, 0.42);
  font-size: clamp(3rem, 7vw, 5rem);
}

.empty-chat p {
  max-width: 300px;
  color: var(--dim);
  line-height: 1.55;
}

.empty-chat a {
  color: #a7bbff;
  font-weight: 800;
}

.section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.section h2,
.feature-band h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p {
  max-width: 570px;
  font-size: 1.04rem;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

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

.steps article,
.feature-band article {
  min-height: 212px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 22, 37, 0.74);
}

.steps span,
.icon {
  color: var(--nova);
  font-weight: 950;
}

.steps h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 88px;
}

.feature-band h2 {
  margin-top: 28px;
  font-size: 1.5rem;
}

.icon {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: rgba(11, 208, 174, 0.12);
}

.join {
  margin-bottom: 64px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 208, 174, 0.12), rgba(111, 148, 255, 0.06)), var(--panel);
}

.waitlist {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 11, 18, 0.42);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero,
  .section,
  .join {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-stage {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .login-card,
  .chat-preview {
    position: static;
    width: 100%;
  }
}

@media (max-width: 720px) {
  main,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 20px;
  }

  .login-card,
  .join {
    padding: 22px;
  }

  .chat-preview {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .steps,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .actions,
  .waitlist .button {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .site-header {
    min-height: 66px;
  }

  .header-action {
    padding: 0 12px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.9rem, 18vw, 4.2rem);
  }

  .logo-lockup small {
    letter-spacing: 0.18em;
  }
}
