:root {
  color-scheme: dark;
  --bg: #090b10;
  --surface: #11151d;
  --surface-2: #171d27;
  --line: #2a3342;
  --text: #f6f7fb;
  --muted: #a8b1c2;
  --soft: #747f92;
  --primary: #ff5a1f;
  --primary-2: #22c55e;
  --cyan: #11b5d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 16, 0.64), var(--bg) 520px),
    url("https://images.unsplash.com/photo-1566577739112-5180d4bf9390?auto=format&fit=crop&w=2200&q=80") center top / cover no-repeat fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(9, 11, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

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

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

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

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-cta,
.primary-action {
  background: var(--primary);
  color: #120703;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

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

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 11vw, 142px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.lede {
  max-width: 620px;
  color: #dce2ed;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

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

.product-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 430px);
  border-radius: 28px;
  padding: 16px;
  background: rgba(17, 21, 29, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.screen-top {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.screen-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #374151;
}

.video-panel {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52)),
    url("https://images.unsplash.com/photo-1593341646782-e0b495cff86d?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
}

.metric-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(9, 11, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.pitcher {
  position: absolute;
  inset: 36px 42px 44px;
}

.joint,
.bone {
  position: absolute;
  display: block;
}

.joint {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.22);
}

.bone {
  height: 4px;
  border-radius: 2px;
  background: var(--primary-2);
  transform-origin: left center;
  opacity: 0.92;
}

.head { left: 154px; top: 20px; }
.shoulder-l { left: 112px; top: 66px; }
.shoulder-r { left: 176px; top: 78px; }
.elbow { left: 205px; top: 112px; }
.wrist { left: 246px; top: 91px; }
.hip { left: 145px; top: 146px; }
.knee { left: 112px; top: 194px; }
.ankle { left: 76px; top: 226px; }
.spine { left: 156px; top: 82px; width: 70px; transform: rotate(86deg); }
.arm { left: 183px; top: 90px; width: 76px; transform: rotate(9deg); }
.lead-leg { left: 144px; top: 158px; width: 86px; transform: rotate(128deg); }

.curve-panel {
  margin-top: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 16px;
}

.curve-title {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.curve-panel svg {
  width: 100%;
  height: 96px;
}

.curve-panel path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 5;
}

.curve-panel line {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2;
  stroke-dasharray: 5 5;
}

.curve-panel circle {
  fill: var(--primary);
}

.curve-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.curve-labels strong {
  color: var(--primary);
}

.section {
  padding: clamp(62px, 8vw, 108px) clamp(20px, 5vw, 72px);
  background: var(--bg);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.feature-card,
.detail-grid > div,
.install-section,
details {
  background: rgba(17, 21, 29, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card,
.detail-grid > div {
  padding: 22px;
}

.feature-card p,
.detail-grid p,
.workflow-list p,
.install-copy p,
details p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-list span,
.install-steps span {
  color: var(--primary);
  font-weight: 850;
}

.install-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: clamp(28px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px);
}

.install-copy .primary-action {
  margin-top: 20px;
}

.small-note {
  margin-top: 12px;
  color: var(--soft);
  font-size: 13px;
}

.install-steps {
  display: grid;
  gap: 12px;
}

.install-steps div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.faq-section {
  padding-top: 40px;
}

details {
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
}

.site-footer {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #050609;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer span {
  color: var(--text);
  font-weight: 850;
}

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

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

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

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

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

  .install-section {
    margin: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
