:root {
  --ink: #142033;
  --ink-soft: #24344d;
  --paper: #eef2f4;
  --paper-deep: #e2e8ec;
  --sea: #0f6e6a;
  --sea-bright: #14948e;
  --sand: #f7f4ef;
  --mist: rgba(20, 32, 51, 0.68);
  --line: rgba(20, 32, 51, 0.12);
  --shadow: rgba(20, 32, 51, 0.18);
  --font-display: "Syne", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(20, 148, 142, 0.18), transparent 58%),
    radial-gradient(740px 460px at 100% 0%, rgba(36, 52, 77, 0.12), transparent 55%),
    linear-gradient(180deg, #f5f7f8 0%, #e8eef1 45%, #dde6ea 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  pointer-events: none;
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.phase {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 4.5rem);
  padding: 2.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: var(--ink);
  animation: rise 0.8s ease both;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  animation: rise 0.85s ease 0.08s both;
}

.lede {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--mist);
  font-size: 1.05rem;
  animation: rise 0.9s ease 0.14s both;
}

.waitlist {
  display: grid;
  gap: 0.75rem;
  max-width: 420px;
  animation: rise 1s ease 0.2s both;
}

.waitlist input[type="email"] {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1rem;
}

.waitlist input:focus {
  outline: 2px solid var(--sea-bright);
  outline-offset: 1px;
}

.waitlist button {
  border: 0;
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  font: inherit;
  font-weight: 700;
  color: #f4fffe;
  background: linear-gradient(180deg, var(--sea-bright), var(--sea));
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.waitlist button:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.waitlist button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.extra {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
}

.extra label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--mist);
}

.extra select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mist);
}

.form-status[data-tone="ok"] {
  color: #0d6a4f;
}

.form-status[data-tone="err"] {
  color: #a33b2b;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  animation: float-in 1.1s ease 0.15s both;
}

.mock {
  position: absolute;
  inset: 8% 4% 12% 8%;
  background: linear-gradient(165deg, #ffffff 0%, var(--sand) 100%);
  color: var(--ink);
  border-radius: 18px;
  border: 1px solid rgba(20, 32, 51, 0.08);
  box-shadow: 0 28px 70px var(--shadow);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: #edf1f4;
  font-size: 0.78rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ced6;
}

.mock-title {
  margin-left: 0.5rem;
  font-weight: 600;
  flex: 1;
}

.pill-live {
  background: #d8f0eb;
  color: #0f5f5a;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  animation: pulse-soft 2.8s ease-in-out infinite;
}

.mock-body {
  padding: 1.4rem 1.35rem 1.6rem;
  display: grid;
  gap: 0.65rem;
}

.line {
  height: 10px;
  border-radius: 999px;
  background: #d9e0e6;
}

.line.w40 {
  width: 40%;
}
.line.w55 {
  width: 55%;
}
.line.w60 {
  width: 60%;
}
.line.w80 {
  width: 80%;
}

.block {
  height: 88px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d9ebe7, #e8eef2);
  margin: 0.35rem 0;
}

.sign-row {
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px dashed #b7c3cd;
  border-radius: 10px;
  font-size: 0.85rem;
}

.signed {
  color: var(--sea);
  font-weight: 700;
}

.billing-chip {
  position: absolute;
  right: -4%;
  bottom: -6%;
  min-width: 200px;
  background: var(--ink);
  color: #f2f6f8;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 18px 40px var(--shadow);
  animation: chip-in 1.2s ease 0.45s both;
}

.chip-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 246, 248, 0.65);
  margin-bottom: 0.25rem;
}

.chip-state {
  font-weight: 700;
  color: #7ee0d6;
}

.why {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}

.why h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.why > p {
  max-width: 52ch;
  color: var(--mist);
  margin: 0 0 1.75rem;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.points li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.points strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.points span {
  color: var(--mist);
  font-size: 0.95rem;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(20, 32, 51, 0.45);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.75rem;
  }

  .hero-visual {
    min-height: 340px;
    order: -1;
  }

  .mock {
    inset: 0 6% 8%;
  }

  .points {
    grid-template-columns: 1fr;
  }

  .extra {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
