:root {
  color-scheme: dark;
  --bg: #070808;
  --panel: #101312;
  --panel-2: #151817;
  --text: #f5f4ee;
  --muted: #a8aaa2;
  --line: #2a2f2b;
  --accent: #66e3a6;
  --accent-2: #9be7ff;
  --warn: #ffc56d;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(102, 227, 166, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%);
}

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

p {
  margin: 0;
}

.page {
  min-height: 100vh;
  position: relative;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 8, 0.88);
  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: 24px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #08100d;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  font-size: 14px;
  font-weight: 800;
}

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

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

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

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 56px;
  padding: 64px 0 48px;
}

.kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(42px, 8vw, 86px);
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--text);
  color: #07100b;
}

.button.secondary {
  background: transparent;
  color: var(--text);
}

.device-board {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.watch-stack {
  width: min(360px, 100%);
  aspect-ratio: 0.72;
  position: relative;
}

.watch,
.phone {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c0f0e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.watch {
  width: 68%;
  aspect-ratio: 0.78;
  border-radius: 42px;
  left: 0;
  top: 42px;
  padding: 18px;
}

.phone {
  width: 48%;
  aspect-ratio: 0.48;
  border-radius: 34px;
  right: 0;
  bottom: 0;
  padding: 14px;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(160deg, #0f1412, #18221d);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone .screen {
  border-radius: 24px;
  padding: 16px 12px;
}

.score {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.micro-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent);
  font-weight: 800;
}

section {
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

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

.card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 18, 0.72);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card p,
.text-block p,
.legal p,
.legal li {
  color: var(--muted);
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #07100b;
  font-weight: 900;
  background: linear-gradient(145deg, var(--accent), var(--warn));
  margin-bottom: 24px;
}

.card-link {
  margin-top: 22px;
  color: var(--accent);
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.text-block {
  display: grid;
  gap: 18px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li + li {
  margin-top: 10px;
}

.page-title {
  padding: 82px 0 42px;
}

.page-title p {
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.legal {
  max-width: 820px;
  padding-bottom: 82px;
}

.legal h2 {
  font-size: 28px;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal ul {
  margin-top: 12px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding: 30px 0;
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer a {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero,
  .two-col {
    grid-template-columns: 1fr;
  }

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

  .device-board {
    min-height: 420px;
  }

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

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 17px;
  }

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

  section {
    padding: 52px 0;
  }
}
