:root {
  color-scheme: dark;
  --black: #050505;
  --charcoal: #111211;
  --panel: #191b19;
  --panel-soft: #222520;
  --white: #f6f3eb;
  --muted: #a7aaa0;
  --line: rgba(246, 243, 235, 0.14);
  --green: #b8ef37;
  --court: #2e6351;
  --warm: #d8c8aa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: rgba(246, 243, 235, 0.78);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:last-child {
  background: rgba(246, 243, 235, 0.1);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 116px clamp(18px, 4vw, 44px) 76px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 74% 42%, rgba(184, 239, 55, 0.13), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
    linear-gradient(135deg, #141714 0%, #050505 58%);
}

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

.kicker {
  margin: 0 0 17px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(54px, 8.4vw, 108px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
}

.waitlist {
  max-width: 570px;
  margin-top: 38px;
}

.waitlist label {
  display: block;
  margin-bottom: 10px;
  color: rgba(246, 243, 235, 0.88);
  font-size: 14px;
  font-weight: 760;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

input {
  min-width: 0;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgba(246, 243, 235, 0.2);
  border-radius: 6px;
  background: rgba(246, 243, 235, 0.08);
  color: var(--white);
  outline: none;
}

input::placeholder {
  color: rgba(246, 243, 235, 0.45);
}

input:focus {
  border-color: var(--green);
}

button,
.closing-cta a {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #111111;
  cursor: pointer;
  font-weight: 850;
  text-decoration: none;
}

button:hover,
.closing-cta a:hover {
  background: #cdfb5d;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-note {
  min-height: 22px;
  margin: 11px 0 0;
  color: rgba(246, 243, 235, 0.58);
  font-size: 14px;
}

.hero-product {
  position: relative;
  display: flex;
  min-height: 640px;
  align-items: center;
  justify-content: flex-end;
}

.app-preview {
  width: min(100%, 540px);
  min-height: 590px;
  padding: 22px;
  border: 1px solid rgba(246, 243, 235, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    var(--panel);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.app-bar,
.hero-metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-bar {
  color: var(--muted);
  font-size: 13px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.app-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.app-bar strong {
  color: var(--green);
}

.app-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}

.app-title span,
.hero-metrics span,
.activity-head span {
  color: var(--muted);
  font-size: 12px;
}

.app-title strong {
  color: var(--white);
  font-size: 22px;
  font-weight: 850;
  white-space: nowrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgba(246, 243, 235, 0.12);
  border-radius: 8px;
  background: rgba(246, 243, 235, 0.12);
}

.hero-metrics div {
  position: relative;
  display: block;
  min-height: 116px;
  padding: 18px 56px 18px 18px;
  background: var(--panel-soft);
}

.hero-metrics strong {
  display: block;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
}

.hero-metrics em {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #41ded0;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
}

.activity-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(246, 243, 235, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.24);
}

.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.activity-head strong {
  display: block;
  color: var(--white);
  font-size: 24px;
  font-weight: 760;
}

.activity-head span {
  display: block;
  margin-top: 4px;
}

.trend-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 4px solid #41ded0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(65, 222, 208, 0.18);
}

.chart {
  position: relative;
  height: 170px;
  margin-top: 18px;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(246, 243, 235, 0.12);
  border-radius: 8px;
  background: #121512;
}

.chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart-area {
  fill: rgba(30, 28, 76, 0.9);
}

.chart-line {
  fill: none;
  stroke: #41ded0;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.axis {
  position: absolute;
  left: 14px;
  color: rgba(246, 243, 235, 0.78);
  font-size: 13px;
}

.axis.top {
  top: 16px;
}

.axis.middle {
  top: 50%;
  transform: translateY(-50%);
}

.axis.bottom {
  bottom: 12px;
}

.insights-section {
  background: var(--white);
  color: #111111;
  padding: 92px clamp(18px, 4vw, 44px);
}

.section-heading,
.insight-grid,
.sensor-section,
.closing-cta,
footer {
  max-width: 1180px;
  margin-inline: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  align-items: end;
  gap: clamp(28px, 6vw, 76px);
}

.section-heading .kicker,
.sensor-section .kicker,
.closing-cta .kicker {
  color: #406044;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin: 0;
  color: #575a53;
  font-size: 18px;
  line-height: 1.55;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid #d7d2c8;
  border-radius: 8px;
  background: #d7d2c8;
}

article {
  min-height: 275px;
  padding: 26px;
  background: #fbfaf6;
}

article h3 {
  margin: 0;
  font-size: 23px;
}

article p {
  margin: 18px 0 0;
  color: #5b5d57;
  line-height: 1.55;
}

.sensor-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  padding: 92px clamp(18px, 4vw, 44px);
}

.sensor-copy {
  max-width: 710px;
}

.build-list {
  display: grid;
  align-self: start;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: build;
}

.build-list li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.5;
  counter-increment: build;
}

.build-list li::before {
  color: var(--green);
  content: "0" counter(build);
  font-weight: 850;
}

.closing-cta {
  padding: 82px clamp(18px, 4vw, 44px);
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing-cta h2 {
  max-width: 820px;
  margin: 0 auto;
}

.closing-cta a {
  margin-top: 30px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 44px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer span:first-child {
  color: var(--white);
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .sensor-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-product {
    min-height: auto;
    justify-content: center;
  }

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

@media (max-width: 680px) {
  .site-header {
    position: relative;
    padding: 16px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    padding: 42px 16px 58px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .input-row,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  .hero-product {
    min-height: auto;
  }

  .app-preview {
    width: 100%;
    min-height: auto;
    padding: 18px;
  }

  .app-title {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 26px;
  }

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

  .hero-metrics div {
    min-height: 92px;
    padding-right: 60px;
  }

  .hero-metrics strong {
    font-size: 38px;
  }

  .activity-card {
    padding: 14px;
  }

  .chart {
    height: 140px;
  }

  .insights-section,
  .sensor-section,
  .closing-cta {
    padding: 62px 16px;
  }

  article {
    min-height: auto;
    padding: 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 16px;
  }
}
