* {
  box-sizing: border-box;
}

:root {
  --bg: #050d18;
  --bg-elevated: #0d1a2a;
  --panel: rgba(17, 32, 49, 0.78);
  --panel-strong: rgba(20, 39, 60, 0.92);
  --ink: #f4f8fb;
  --muted: #aebbcc;
  --subtle: #748398;
  --line: rgba(196, 215, 234, 0.18);
  --line-strong: rgba(209, 226, 245, 0.28);
  --blue: #76a8ff;
  --blue-strong: #2f73ff;
  --clear: #7ad4b8;
  --watch: #e9bc68;
  --storm: #e87070;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  --radius: 28px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 16% -8%, rgba(54, 96, 148, 0.32), transparent 32rem),
    radial-gradient(circle at 88% 7%, rgba(233, 188, 104, 0.09), transparent 27rem),
    linear-gradient(180deg, #07111d 0%, #040a13 46%, #07101b 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 86%);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(118, 168, 255, 0.78);
  outline-offset: 3px;
}

.atmosphere {
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 30%, rgba(118, 168, 255, 0.13), transparent 25rem),
    radial-gradient(circle at 76% 26%, rgba(122, 212, 184, 0.08), transparent 21rem),
    radial-gradient(circle at 64% 82%, rgba(233, 188, 104, 0.08), transparent 23rem);
  filter: blur(2px);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.site-header,
.hero,
.section-block,
.trust-panel,
.waitlist-panel,
footer {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(118, 168, 255, 0.2), rgba(118, 168, 255, 0.08));
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

nav a {
  padding-block: 8px;
}

nav a:hover,
.nav-cta {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 56px;
  padding: 22px 0 58px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fbfdff;
  font-size: clamp(46px, 6.6vw, 78px);
  line-height: 0.97;
  letter-spacing: 0;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  color: #e4ebf4;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 650;
  line-height: 1.42;
}

.hero-support {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  font-weight: 650;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 14px;
}

.button,
button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
}

.button.primary,
button {
  border: 0;
  background: linear-gradient(180deg, #8db8ff, #2f73ff);
  color: #04101e;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

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

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c6d1df;
  font-size: 15px;
  font-weight: 700;
}

.trust-line::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--clear);
  box-shadow: 0 0 18px rgba(122, 212, 184, 0.45);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.glass-card,
.trust-panel,
.waitlist-panel,
.screenshot-card,
.legal section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 40, 60, 0.82), rgba(10, 24, 39, 0.74));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.device-stack {
  position: absolute;
  inset: 0;
}

.device-shot {
  position: absolute;
  display: block;
  width: min(36vw, 300px);
  max-width: 300px;
  overflow: hidden;
  border: 1px solid rgba(209, 226, 245, 0.2);
  border-radius: 38px;
  background: #07111e;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
  filter: saturate(1.08) brightness(1.08);
}

.device-shot-daily {
  right: 14px;
  bottom: 0;
  z-index: 3;
}

.device-shot-forecast {
  left: 0;
  bottom: 84px;
  z-index: 2;
  transform: rotate(-3deg) scale(0.92);
  opacity: 0.28;
  filter: saturate(0.9) brightness(0.72) blur(1px);
}

.section-block,
.trust-panel,
.waitlist-panel {
  padding: 84px 0;
}

.system-section {
  width: min(1160px, calc(100% - 32px));
  border: 1px solid rgba(209, 226, 245, 0.14);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(33, 48, 64, 0.76), rgba(18, 30, 44, 0.86)),
    radial-gradient(circle at 18% 0%, rgba(118, 168, 255, 0.12), transparent 30rem);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 54px 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p,
.trust-panel p,
.waitlist-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.glass-card {
  min-height: 214px;
  border-radius: var(--radius);
  padding: 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::after,
.trust-panel::after,
.waitlist-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 168, 255, 0.42), transparent);
}

.system-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(118, 168, 255, 0.28);
  border-radius: 15px;
  background: rgba(118, 168, 255, 0.1);
  color: #dbe8ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.system-mark.warn {
  border-color: rgba(233, 188, 104, 0.32);
  background: rgba(233, 188, 104, 0.11);
  color: #f4cc7d;
}

.card-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.glass-card p {
  color: var(--muted);
  line-height: 1.55;
}

.trust-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 40px;
  align-items: start;
  border-radius: 36px;
  padding: 34px;
}

.trust-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-matrix article {
  min-height: 224px;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
}

.trust-matrix h3 {
  margin-bottom: 10px;
}

.trust-matrix p,
.trust-matrix li {
  color: var(--muted);
  line-height: 1.5;
}

.trust-matrix ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-matrix li + li {
  margin-top: 8px;
}

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

.screenshot-card {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
}

.screenshot-card img {
  width: 100%;
  display: block;
  aspect-ratio: 0.56;
  object-fit: cover;
  object-position: center top;
}

.screenshot-card figcaption {
  display: grid;
  gap: 5px;
  padding: 16px 18px 20px;
}

.screenshot-card strong {
  color: var(--ink);
}

.screenshot-card span {
  color: var(--muted);
  line-height: 1.45;
}

.sample-caption {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.waitlist-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  border-radius: 36px;
  padding: 34px;
}

.waitlist-copy {
  position: sticky;
  top: 24px;
}

.beta-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.beta-notes span {
  border: 1px solid rgba(209, 226, 245, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd7e5;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 800;
}

.waitlist {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
}

label span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 54px;
  padding: 0 15px;
}

select {
  min-height: 54px;
  padding: 0 15px;
  appearance: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px 15px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(174, 187, 204, 0.68);
}

.consent-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
}

.consent-row span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

button {
  width: 100%;
  margin-top: 4px;
}

button:disabled {
  cursor: not-allowed;
  background: linear-gradient(180deg, rgba(142, 161, 187, 0.34), rgba(83, 101, 126, 0.32));
  color: rgba(244, 248, 251, 0.72);
}

.form-status {
  margin: 0;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
  color: var(--muted);
}

footer p {
  margin: 0;
  line-height: 1.5;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-weight: 750;
}

.legal {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 66px);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal section {
  margin-top: 24px;
  border-radius: 24px;
  padding: 24px;
}

.legal ul {
  padding-left: 22px;
}

.reveal {
  animation: panel-enter 720ms ease both;
}

.hero-visual.reveal {
  animation-delay: 120ms;
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(-1%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1%, 1.5%, 0) scale(1.03);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 26px;
  }

  .hero-visual {
    min-height: 720px;
  }

  .device-stack {
    min-height: 700px;
  }

  .device-shot {
    width: min(42vw, 300px);
  }

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

  .pillar-grid,
  .trust-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-panel,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .hero-visual {
    min-height: 600px;
  }

  .device-stack {
    position: relative;
    min-height: 560px;
    margin-top: 18px;
  }

  .device-shot {
    width: min(72vw, 268px);
    border-radius: 30px;
  }

  .device-shot-daily {
    right: 0;
    bottom: 0;
  }

  .device-shot-forecast {
    left: 0;
    bottom: 96px;
  }

  .pillar-grid,
  .screen-grid,
  .trust-matrix {
    grid-template-columns: 1fr;
  }

  .section-block,
  .trust-panel,
  .waitlist-panel {
    padding-block: 58px;
  }

  .trust-panel,
  .waitlist-panel {
    padding-inline: 20px;
  }

  .waitlist-copy {
    position: static;
  }

  footer {
    flex-direction: column;
  }

  footer div {
    justify-content: flex-start;
  }
}

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

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