:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #111315;
  color: #ffffff;
  --background: #111315;
  --elevated: #171a1f;
  --surface: #1d2128;
  --surface-alt: #252a33;
  --border: #303641;
  --primary: #6d5ef5;
  --primary-bright: #7c4dff;
  --primary-soft: #9b8cff;
  --text-secondary: #b8bdc7;
  --text-tertiary: #7e8592;
  --success: #38d996;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 26%, rgba(109, 94, 245, 0.2), transparent 31rem),
    radial-gradient(circle at 8% 5%, rgba(124, 77, 255, 0.08), transparent 25rem), var(--background);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header,
.hero,
.product-loop,
footer {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-top: env(safe-area-inset-top);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  border-radius: 10px;
}

.contact-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  min-height: calc(100svh - 82px);
  padding: 54px 0 86px;
}

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

.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 24px;
  color: var(--primary-soft);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 15px rgba(56, 217, 150, 0.75);
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 6.6rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.accent-line {
  color: var(--primary-soft);
}

.hero-description {
  max-width: 620px;
  margin: 28px 0 30px;
  color: var(--text-secondary);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.waitlist-card {
  max-width: 690px;
}

.waitlist-form {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(29, 33, 40, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.waitlist-form:focus-within {
  border-color: rgba(155, 140, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(109, 94, 245, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.25);
}

.waitlist-form input[type="email"] {
  min-width: 0;
  flex: 1;
  padding: 0 17px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

.waitlist-form input::placeholder {
  color: var(--text-tertiary);
}

.waitlist-form button {
  display: inline-flex;
  min-height: 56px;
  padding: 0 18px 0 22px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-bright));
  box-shadow: 0 10px 28px rgba(109, 94, 245, 0.34);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  white-space: nowrap;
}

.waitlist-form button img {
  object-fit: contain;
}

.waitlist-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  cursor: wait;
  filter: saturate(0.5);
  opacity: 0.72;
  transform: none;
}

.form-trap {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  min-height: 22px;
  margin: 9px 4px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

.form-status.is-error {
  color: #ff6b7a;
}

.waitlist-proof {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.waitlist-proof p {
  margin: 0;
}

.waitlist-proof strong {
  color: #fff;
}

.crew-faces span {
  display: grid;
  place-items: center;
  border: 2px solid var(--background);
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary-soft);
  font-weight: 750;
}

.founding-reward {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 570px;
  margin-top: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(155, 140, 255, 0.18);
  border-radius: 14px;
  background: rgba(109, 94, 245, 0.07);
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.founding-reward p {
  margin: 0;
}

.founding-reward strong {
  color: #fff;
}

.reward-mark {
  color: var(--primary-soft);
  font-size: 1.2rem;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  isolation: isolate;
}

.phone-stage::before {
  position: absolute;
  z-index: -3;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 94, 245, 0.32), transparent 67%);
  content: "";
  filter: blur(8px);
}

.ambient-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(155, 140, 255, 0.13);
  border-radius: 50%;
}

.orbit-one {
  width: 500px;
  height: 500px;
}

.orbit-two {
  width: 580px;
  height: 580px;
}

.phone-shell {
  position: relative;
  width: min(360px, 88vw);
  padding: 10px;
  border: 1px solid #454b57;
  border-radius: 46px;
  background: #090a0d;
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.56),
    0 0 48px rgba(109, 94, 245, 0.11);
  transform: rotate(2.2deg);
  animation: phone-float 6s ease-in-out infinite;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 19px;
  left: 50%;
  width: 86px;
  height: 24px;
  border-radius: 999px;
  background: #090a0d;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  min-height: 676px;
  padding: 17px 15px 13px;
  border-radius: 37px;
  background:
    radial-gradient(circle at 50% 0, rgba(109, 94, 245, 0.12), transparent 230px), #111315;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 9px 15px;
  color: #d5d7dc;
  font-size: 0.67rem;
  font-weight: 650;
}

.night-heading,
.preview-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.night-heading p,
.night-heading h2,
.preview-section-heading h3,
.night-summary span,
.night-summary strong,
.vault-preview strong,
.vault-preview span {
  margin: 0;
}

.night-heading p {
  color: var(--text-tertiary);
  font-size: 0.72rem;
}

.night-heading h2 {
  margin-top: 2px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.live-chip {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(56, 217, 150, 0.1);
  color: var(--success);
  font-size: 0.66rem;
  font-weight: 700;
}

.live-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.night-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 17px;
  padding: 13px;
  border: 1px solid rgba(155, 140, 255, 0.16);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(109, 94, 245, 0.15), rgba(29, 33, 40, 0.88));
}

.night-summary > div:first-child {
  display: grid;
  gap: 3px;
}

.night-summary span {
  color: var(--text-tertiary);
  font-size: 0.66rem;
}

.night-summary strong {
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.crew-faces {
  display: flex;
  justify-content: flex-end;
}

.crew-faces span {
  width: 28px;
  height: 28px;
  margin-left: -6px;
  border-color: #1b1c2a;
  font-size: 0.59rem;
}

.quick-log-preview {
  padding: 13px 12px 12px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(29, 33, 40, 0.84);
}

.preview-section-heading {
  margin-bottom: 10px;
}

.preview-section-heading h3 {
  font-size: 0.84rem;
}

.preview-section-heading span {
  color: var(--text-tertiary);
  font-size: 0.61rem;
}

.quick-log-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.quick-log-grid button {
  display: grid;
  min-width: 0;
  min-height: 74px;
  padding: 7px 3px 6px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--surface-alt);
  color: #d8dae0;
  pointer-events: none;
}

.quick-log-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.quick-log-grid span {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-preview {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.vault-icon {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  background: rgba(109, 94, 245, 0.13);
  color: var(--primary-soft);
  font-size: 1.2rem;
}

.vault-preview > div:nth-child(2) {
  display: grid;
  gap: 2px;
}

.vault-preview strong {
  font-size: 0.72rem;
}

.vault-preview span {
  color: var(--text-tertiary);
  font-size: 0.57rem;
}

.vault-preview .vault-count {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--primary-soft);
  font-weight: 750;
}

.phone-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 61px;
  margin: 12px -15px -13px;
  padding: 10px 18px 9px;
  border-top: 1px solid var(--border);
  background: var(--elevated);
  color: var(--text-tertiary);
  font-size: 1rem;
}

.camera-action {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  place-items: center;
  border: 5px solid #111315;
  border-radius: 50%;
  background: var(--primary);
  color: white;
}

.floating-recap {
  position: absolute;
  right: -18px;
  bottom: 88px;
  display: grid;
  gap: 3px;
  min-width: 160px;
  padding: 13px 15px;
  border: 1px solid rgba(155, 140, 255, 0.22);
  border-radius: 14px;
  background: rgba(23, 26, 31, 0.92);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(15px);
}

.floating-recap span {
  color: var(--primary-soft);
  font-size: 0.63rem;
}

.floating-recap strong {
  font-size: 0.78rem;
}

.product-loop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 110px;
  padding: 27px 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(29, 33, 40, 0.7);
}

.product-loop p {
  margin: 0;
  color: var(--primary-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-loop div {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 650;
}

.product-loop i {
  color: var(--primary-soft);
  font-style: normal;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  padding: 26px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.82rem;
}

footer > div {
  display: flex;
  gap: 20px;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-size: 0.94rem;
}

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

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(2.2deg);
  }
  50% {
    transform: translateY(-9px) rotate(1.5deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
    padding-top: 50px;
  }

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

  .phone-stage {
    min-height: 710px;
  }

  .product-loop {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .product-loop,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    min-height: 70px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 34px 0 64px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.69rem;
  }

  h1 {
    font-size: clamp(3rem, 14.8vw, 4.65rem);
    line-height: 0.94;
  }

  .hero-description {
    margin: 23px 0 25px;
    font-size: 1.03rem;
  }

  .waitlist-form {
    display: grid;
    gap: 8px;
    padding: 7px;
  }

  .waitlist-form input[type="email"] {
    min-height: 55px;
    padding: 0 15px;
    font-size: 16px;
  }

  .waitlist-form button {
    width: 100%;
    min-height: 57px;
  }

  .waitlist-proof {
    margin-top: 9px;
  }

  .founding-reward {
    align-items: flex-start;
  }

  .phone-stage {
    min-height: 690px;
  }

  .phone-stage::before {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .phone-shell {
    width: min(350px, 100%);
    transform: none;
    animation: none;
  }

  .floating-recap {
    right: -4px;
    bottom: 62px;
  }

  .orbit-one {
    width: min(390px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .orbit-two {
    width: min(470px, 100%);
    height: auto;
    aspect-ratio: 1;
  }

  .product-loop {
    margin-bottom: 64px;
    padding: 22px;
  }

  .product-loop div {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .product-loop i {
    display: none;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  footer > div {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 370px) {
  h1 {
    font-size: 2.85rem;
  }

  .contact-link {
    font-size: 0.66rem;
  }

  .phone-stage {
    min-height: 660px;
    transform: scale(0.93);
    transform-origin: top center;
  }
}

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

/* Privacy notice */
.privacy-main {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.privacy-main h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 8vw, 5rem);
}

.privacy-main h2 {
  margin: 38px 0 12px;
  font-size: 1.25rem;
}

.privacy-main p,
.privacy-main li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.privacy-main a {
  color: var(--primary-soft);
}

.privacy-main .notice-date {
  color: var(--text-tertiary);
  font-size: 0.86rem;
}
