:root {
  --bg: #0b0f14;
  --bg-elev: #121820;
  --ink: #e8eef6;
  --muted: #8b98a8;
  --line: rgba(232, 238, 246, 0.1);
  --accent: #2ee6a6;
  --accent-dim: #1aa879;
  --warn: #ffb454;
  --danger: #ff6b6b;
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(46, 230, 166, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 8%, rgba(56, 120, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #0d1218 0%, var(--bg) 40%, #080b10 100%);
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo__mark {
  color: var(--accent);
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top__nav a:hover {
  color: var(--ink);
}

.top__cta {
  color: var(--bg) !important;
  background: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.top__cta:hover {
  background: #5ff0bc;
  color: var(--bg) !important;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) var(--pad) 3rem;
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  inset: 10% auto auto 40%;
  width: min(40vw, 28rem);
  height: min(40vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 166, 0.22), transparent 70%);
  filter: blur(24px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: rise 0.7s ease both;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  animation: rise 0.8s 0.05s ease both;
}

.hero__lead {
  margin: 1.4rem 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  animation: rise 0.8s 0.12s ease both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: rise 0.8s 0.18s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.55rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: #062218;
}

.btn--primary:hover {
  background: #5ff0bc;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: rgba(232, 238, 246, 0.35);
}

.btn--wide {
  width: 100%;
  margin-top: 0.5rem;
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hero__stage {
  margin-top: clamp(2.5rem, 8vh, 4.5rem);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.55rem;
}

.hero__grid span {
  aspect-ratio: 1.35;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, rgba(46, 230, 166, 0.12), rgba(18, 24, 32, 0.8));
  border: 1px solid var(--line);
  animation: seat 3.2s ease-in-out infinite;
}

.hero__grid span:nth-child(3n) {
  animation-delay: 0.4s;
  background: linear-gradient(145deg, rgba(56, 120, 255, 0.14), rgba(18, 24, 32, 0.85));
}

.hero__grid span:nth-child(5n) {
  animation-delay: 0.9s;
}

@keyframes seat {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) var(--pad);
}

.section--alt {
  border-block: 1px solid var(--line);
  background: rgba(18, 24, 32, 0.45);
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section__sub {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.features {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem 1.5rem;
}

.features h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.steps code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent);
}

.trial-form {
  margin-top: 2rem;
  max-width: min(40rem, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  padding: 1.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}

.trial-form__full {
  grid-column: 1 / -1;
}

.trial-form label {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.trial-phone__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.45rem;
}

.trial-phone__row select {
  padding-left: 0.55rem;
  padding-right: 0.35rem;
  font-size: 0.9rem;
}

.trial-form__hint-inline {
  align-self: end;
  padding-bottom: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

.trial-form__hint-inline strong {
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.trial-form__hint-soft {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}

.trial-form__preview {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  word-break: break-all;
}

.trial-form label span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.trial-form label em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.75;
}

.trial-form input,
.trial-form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  background: #0b1016;
  color: var(--ink);
  font: inherit;
}

.trial-form input:focus,
.trial-form select:focus {
  outline: 2px solid rgba(46, 230, 166, 0.45);
  outline-offset: 1px;
  border-color: var(--accent-dim);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.trial-form__hint {
  margin: 0.25rem 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--muted);
}

.trial-form__hint.is-ok {
  color: var(--accent);
}

.trial-form__hint.is-err {
  color: var(--danger);
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--pad) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.foot__links a {
  color: var(--muted);
  text-decoration: none;
}

.foot__links a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .top__nav a:not(.top__cta) {
    display: none;
  }

  .trial-form {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__grid span:nth-child(n + 9) {
    display: none;
  }
}
