:root {
  color-scheme: dark;
  --bg: #071523;
  --panel: #10243a;
  --panel-2: #183552;
  --ink: #f7fbff;
  --muted: #94aac8;
  --line: #274967;
  --brand: #12bdd3;
  --brand-2: #ff7a1a;
  --soft: rgba(18, 189, 211, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 21, 35, 0.88);
  border-bottom: 1px solid rgba(39, 73, 103, 0.6);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 20px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

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

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding: 48px 0 76px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(44px, 8vw, 82px);
  max-width: 840px;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 23px);
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #062130;
}

.button.secondary {
  background: var(--panel);
  color: var(--ink);
}

.device-art {
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 0.62;
  border: 1px solid rgba(148, 170, 200, 0.26);
  border-radius: 38px;
  background: linear-gradient(180deg, #102b48, #081927);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.device-art::before {
  content: "";
  position: absolute;
  inset: auto 72px 18px;
  height: 5px;
  border-radius: 4px;
  background: rgba(247, 251, 255, 0.28);
}

.phone-screen {
  height: 100%;
  border-radius: 28px;
  background: #071523;
  border: 1px solid rgba(39, 73, 103, 0.7);
  padding: 28px 22px;
}

.session-card,
.sensor-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.sensor-card {
  margin-top: 18px;
}

.wave-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 24px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.stat {
  background: var(--soft);
  border-radius: 8px;
  padding: 14px;
}

.stat b {
  display: block;
  font-size: 24px;
}

.stat span,
.sensor-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.band {
  border-top: 1px solid rgba(39, 73, 103, 0.55);
  padding: 76px 0;
}

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

.section h2 {
  font-size: clamp(32px, 5vw, 52px);
}

.section-intro {
  margin-top: 16px;
  color: var(--muted);
  max-width: 720px;
  font-size: 18px;
}

.feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 18px;
}

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

.cta {
  background: linear-gradient(135deg, rgba(18, 189, 211, 0.18), rgba(255, 122, 26, 0.1));
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.legal h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.legal .updated {
  margin: 16px 0 36px;
  color: var(--muted);
}

.legal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.legal-card h2 {
  font-size: 26px;
  margin-top: 34px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #c7d5e8;
}

.legal-card ul {
  padding-left: 22px;
}

.footer {
  border-top: 1px solid rgba(39, 73, 103, 0.6);
  color: var(--muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label,
.check-field {
  color: var(--ink);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1d30;
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  outline: none;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18, 189, 211, 0.18);
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c7d5e8;
}

.check-field input {
  margin-top: 6px;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
  font-weight: 700;
}

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

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .device-art {
    width: min(100%, 360px);
  }

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

  .cta-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .legal-card {
    padding: 22px;
  }
}
