:root {
  --bg: #07111f;
  --ink: #f8fafc;
  --muted: #a8b3c4;
  --soft: #dbeafe;
  --line: rgba(148, 163, 184, 0.24);
  --panel: rgba(15, 23, 42, 0.78);
  --panel-solid: #101c2d;
  --green: #10b981;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --coral: #fb7185;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color-scheme: dark;
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(16, 185, 129, 0.2), transparent 30rem),
    radial-gradient(circle at 82% 32%, rgba(34, 211, 238, 0.14), transparent 24rem),
    linear-gradient(140deg, #06101d 0%, #0e1726 42%, #07111f 100%);
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 70%);
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.78);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.icon-button {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
}

.icon-button:hover {
  border-color: rgba(16, 185, 129, 0.8);
  background: rgba(16, 185, 129, 0.1);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(38px, 6vw, 86px) clamp(18px, 5vw, 72px) 42px;
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 112px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.14;
  letter-spacing: 0;
}

.lede {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-action,
.secondary-action,
.signup button {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: var(--green);
  color: #04110c;
  box-shadow: 0 16px 38px rgba(16, 185, 129, 0.24);
}

.action-icon {
  width: 16px;
  height: 16px;
  border-top: 3px solid #04110c;
  border-right: 3px solid #04110c;
  transform: rotate(45deg);
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.proof-strip {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.proof-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.44);
}

.hero-stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-stage img,
.demo-frame img {
  width: 100%;
  max-width: 720px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal {
  position: absolute;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 8px;
  animation: drift 8s ease-in-out infinite;
}

.signal-a {
  width: 96px;
  height: 96px;
  top: 18px;
  right: 8%;
}

.signal-b {
  width: 68px;
  height: 68px;
  bottom: 16px;
  left: 4%;
  border-color: rgba(251, 113, 133, 0.34);
  animation-delay: -3s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

.ticker {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 16px clamp(18px, 5vw, 72px);
  border-block: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.46);
}

.ticker span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  color: #06101d;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-size: 13px;
  font-weight: 900;
}

.section-intro,
.demo-switcher,
.feature-grid,
.split-band,
.launch,
footer {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.section-intro {
  padding: 96px 0 28px;
}

.section-intro p:not(.eyebrow),
.launch-copy p,
.feature-grid p,
.demo-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.demo-switcher {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
}

.demo-controls,
.demo-copy,
.feature-grid article,
.metrics div,
.signup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.demo-controls {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 10px;
}

.demo-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.demo-tab span {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--line);
}

.demo-tab.is-active {
  background: rgba(16, 185, 129, 0.14);
  color: var(--ink);
}

.demo-tab.is-active span {
  background: var(--green);
}

.demo-frame {
  display: grid;
  place-items: center;
}

.demo-copy {
  padding: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 80px 0;
}

.feature-grid article {
  padding: 24px;
}

.feature-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 8px;
}

.mark-green {
  background: var(--green);
}

.mark-cyan {
  background: var(--cyan);
}

.mark-amber {
  background: var(--amber);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  align-items: end;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.16), transparent 42%),
    rgba(15, 23, 42, 0.7);
}

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

.metrics div {
  padding: 18px;
}

.metrics strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.launch {
  display: grid;
  gap: 24px;
  padding: 96px 0;
}

.pricing-head {
  max-width: 820px;
}

.pricing-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 18px;
}

.store-badge {
  display: grid;
  min-width: 190px;
  min-height: 70px;
  align-content: center;
  gap: 2px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 34, 0.9);
}

.store-badge span,
.store-badge em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.store-badge strong {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.primary-store {
  border-color: rgba(16, 185, 129, 0.72);
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.18), transparent 70%),
    rgba(8, 19, 34, 0.9);
}

.disabled-store {
  opacity: 0.72;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 19, 34, 0.9);
}

.billing-option {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.billing-option.is-active {
  background: var(--green);
  color: #04110c;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card,
.launch-signup {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

.price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 20px;
  padding: 24px;
}

.price-card.featured {
  border-color: rgba(16, 185, 129, 0.8);
  background:
    linear-gradient(180deg, rgba(16, 185, 129, 0.14), transparent 38%),
    var(--panel);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--green);
  color: #04110c;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card-head {
  padding-right: 88px;
}

.price-card:not(.featured) .price-card-head {
  padding-right: 0;
}

.price-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price strong {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--soft);
  line-height: 1.45;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--green);
}

.plan-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--green);
  color: #04110c;
  font-weight: 900;
}

.plan-action.muted {
  border: 1px solid var(--line);
  background: rgba(8, 19, 34, 0.86);
  color: var(--ink);
}

.launch-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.signup {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.signup label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.signup input,
.signup select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #081322;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.signup input:focus,
.signup select:focus {
  border-color: var(--green);
}

.signup button {
  border: 0;
  background: var(--cyan);
  color: #041018;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

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

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 46px;
  color: var(--muted);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

footer span {
  color: var(--ink);
  font-weight: 900;
}

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

  nav {
    display: none;
  }

  .hero,
  .demo-switcher,
  .split-band,
  .launch-signup {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 0;
  }

  .demo-controls {
    display: flex;
  }

  .demo-tab {
    flex: 1;
    justify-content: center;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

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

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 30px 14px 28px;
    gap: 22px;
  }

  h1 {
    font-size: clamp(56px, 20vw, 82px);
  }

  h2 {
    font-size: clamp(30px, 10.6vw, 42px);
    line-height: 1.02;
  }

  .lede {
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions a,
  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .hero-stage img,
  .demo-frame img {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  }

  .signal {
    display: none;
  }

  .ticker {
    padding-inline: 14px;
  }

  .section-intro,
  .demo-switcher,
  .feature-grid,
  .split-band,
  .launch,
  footer {
    width: calc(100% - 28px);
  }

  .section-intro {
    padding: 58px 0 20px;
  }

  .demo-controls {
    overflow-x: auto;
  }

  .demo-tab {
    min-width: 104px;
    padding-inline: 10px;
  }

  .feature-grid {
    padding: 44px 0;
  }

  .feature-grid article,
  .price-card,
  .launch-signup {
    padding: 18px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .split-band {
    padding: 20px;
  }

  .launch {
    padding: 58px 0;
  }

  .billing-toggle {
    width: 100%;
  }

  .store-row {
    display: grid;
  }

  .store-badge {
    width: 100%;
  }

  .billing-option {
    padding-inline: 10px;
  }

  .price-card {
    gap: 16px;
  }

  .plan-badge {
    position: static;
    justify-self: start;
    order: -1;
  }

  .price-card-head {
    padding-right: 0;
  }

  .price {
    display: grid;
    gap: 3px;
  }

  .launch-signup {
    gap: 18px;
  }

  .signup {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  footer {
    flex-direction: column;
  }
}

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

  .signal {
    animation: none;
  }
}
