:root {
  color-scheme: dark;
  --bg: #080a0f;
  --panel: #111722;
  --panel-2: #151d2a;
  --text: #f5f8fb;
  --muted: #aab6c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #44b78b;
  --accent-2: #78d9b4;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(68, 183, 139, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(80, 118, 205, 0.16), transparent 26rem),
    linear-gradient(180deg, #090d14 0%, #080a0f 58%, #0b0f16 100%);
  color: var(--text);
  font-family: Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  gap: 20px;
}

.site-header {
  padding: 24px 0;
}

.brand,
nav,
footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(68, 183, 139, 0.28);
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

main {
  overflow: hidden;
}

.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  min-height: calc(100vh - 92px);
  gap: 54px;
  padding: 24px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  background: var(--accent);
  color: #06110d;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.note {
  color: var(--muted);
  font-size: 0.98rem;
}

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

.phone {
  position: absolute;
  width: min(285px, 50vw);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.phone-a {
  top: 16px;
  left: 0;
  transform: rotate(-5deg);
}

.phone-b {
  right: 0;
  bottom: 12px;
  transform: rotate(5deg);
}

.section {
  padding: 82px 0;
}

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

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

.feature-grid article,
.feedback,
.feedback-card,
.form-card,
.step-list li,
.link-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.78);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.22);
}

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

.feature-grid p,
.feedback p,
.feedback-card,
footer {
  color: var(--muted);
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.78);
  box-shadow: var(--shadow);
}

.video-panel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: #071220;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.video-copy {
  max-width: 560px;
}

.video-copy p,
.section-heading p {
  color: var(--muted);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.screenshot-row img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  margin-bottom: 72px;
}

.feedback-page {
  width: min(780px, calc(100% - 32px));
  min-height: calc(100vh - 156px);
  margin: 0 auto;
  padding: 72px 0;
}

.legal-page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-page h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.legal-page h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page a {
  color: var(--accent-2);
  font-weight: 800;
}

.disclosure {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.72);
}

.disclosure summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.disclosure p:first-of-type {
  margin-top: 14px;
}

.join-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 72px 0;
  gap: 48px;
  align-items: start;
}

.join-copy {
  position: sticky;
  top: 32px;
}

.feedback-card {
  margin: 32px 0 18px;
  padding: 26px;
}

.feedback-card li + li {
  margin-top: 8px;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.privacy-note {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 23, 34, 0.58);
}

.privacy-note h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.privacy-note p {
  color: var(--muted);
}

.privacy-note p:last-child {
  margin-bottom: 0;
}

.form-card h2 {
  margin-bottom: 4px;
  font-size: 1.6rem;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  padding: 13px 14px;
}

.form-card select {
  color: var(--text);
}

.form-card option {
  background: var(--panel);
  color: var(--text);
}

.form-card textarea {
  resize: vertical;
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-status {
  min-height: 22px;
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: var(--accent-2);
}

.beta-steps {
  padding-top: 0;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: beta-step;
}

.step-list li {
  position: relative;
  min-height: 190px;
  padding: 58px 20px 20px;
  color: var(--muted);
  counter-increment: beta-step;
}

.step-list li::before {
  content: counter(beta-step);
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #06110d;
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.link-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

footer {
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

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

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

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

  .phone {
    width: min(240px, 58vw);
  }

  .feature-grid,
  .video-panel,
  .screenshot-row,
  .feedback,
  .join-page,
  .step-list {
    grid-template-columns: 1fr;
  }

  .join-copy {
    position: static;
  }

  .step-list li {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3rem;
  }

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

  .phone {
    width: 190px;
    border-radius: 22px;
  }
}
