:root {
  color-scheme: dark;
  --app-background: #0d1110;
  --app-surface: #151b19;
  --app-surface-raised: #1e2321;
  --app-field: rgba(255, 255, 255, 0.075);
  --app-text: #f2f6f4;
  --app-muted: rgba(242, 246, 244, 0.58);
  --app-tertiary: rgba(242, 246, 244, 0.42);
  --app-border: rgba(242, 246, 244, 0.12);
  --workout-start: #22c55e;
  --workout-start-soft: rgba(34, 197, 94, 0.18);
  --progress: #6ea8ff;
  --warning: #f5b74e;
  --destructive: #ff6b6b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 12%, rgba(34, 197, 94, 0.12), transparent 34rem),
    linear-gradient(180deg, #0b100e 0%, var(--app-background) 42%, #090d0c 100%);
  color: var(--app-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 76px;
}

.site-footer {
  padding: 36px 0 44px;
  color: var(--app-muted);
}

.brand-link,
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-link {
  color: var(--app-text);
  font-weight: 850;
  text-decoration: none;
}

.brand-link img {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.2);
}

.site-header nav a,
.site-footer nav a,
.text-link {
  color: var(--app-muted);
  font-weight: 760;
  text-underline-offset: 0.2em;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a[aria-current="page"],
.text-link {
  color: #5ff0a0;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 44px;
  align-items: center;
  padding: 38px 0 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 12px;
  color: var(--workout-start);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.45rem, 6.6vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.26rem;
}

.lede {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(242, 246, 244, 0.72);
  font-size: clamp(1.15rem, 1.9vw, 1.42rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.status-pill {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--workout-start);
  color: #050907;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.23);
}

.link-pill {
  background: var(--workout-start);
}

.device-showcase {
  position: relative;
  min-height: 640px;
}

.screenshot-shot {
  position: absolute;
  margin: 0;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.screenshot-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.screenshot-home {
  top: 56px;
  right: 286px;
  width: 246px;
  z-index: 1;
  transform: rotate(-5deg);
}

.screenshot-active {
  top: 0;
  right: 28px;
  width: 276px;
  z-index: 3;
  transform: rotate(3deg);
}

.screenshot-resume {
  right: 128px;
  bottom: 12px;
  width: 236px;
  z-index: 2;
  opacity: 0.88;
  transform: rotate(-2deg);
}

.feature-band,
.privacy-band,
.launch-band,
.legal-shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-band,
.privacy-band,
.launch-band {
  padding: 86px 0;
}

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

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

.feature-card,
.privacy-band,
.launch-band,
.support-panel {
  border: 1px solid var(--app-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}

.feature-card {
  min-height: 244px;
  padding: 22px;
}

.feature-card p,
.privacy-band p,
.launch-band p,
.legal-shell p {
  color: var(--app-muted);
}

.privacy-band {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 32px;
  align-items: center;
  padding: 42px;
}

.privacy-band p {
  margin: 0;
  font-size: 1.05rem;
}

.launch-band {
  text-align: center;
}

.launch-band p {
  width: min(680px, 100%);
  margin: 18px auto 0;
}

.legal-shell {
  max-width: 820px;
  padding: 72px 0 96px;
}

.legal-shell h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.legal-shell h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.legal-shell p {
  font-size: 1.05rem;
}

.support-shell {
  display: grid;
  gap: 18px;
}

.support-panel {
  padding: 26px;
}

.support-panel h2 {
  margin-top: 0;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .device-showcase {
    min-height: 660px;
  }

  .screenshot-home {
    left: 8%;
    right: auto;
  }

  .screenshot-active {
    right: 7%;
  }

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

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

@media (max-width: 720px) {
  .site-header,
  .site-footer,
  .hero,
  .feature-band,
  .privacy-band,
  .launch-band,
  .legal-shell {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand-link {
    gap: 10px;
  }

  .site-header nav {
    gap: 10px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 70px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .lede {
    font-size: 1.08rem;
  }

  .cta-row {
    align-items: stretch;
  }

  .status-pill {
    width: 100%;
    text-align: center;
  }

  .device-showcase {
    min-height: 720px;
    margin-top: 8px;
  }

  .screenshot-home {
    width: 230px;
    top: 0;
    left: 0;
    transform: rotate(-3deg) scale(0.92);
    transform-origin: top left;
  }

  .screenshot-active {
    top: 110px;
    right: -8px;
    width: 246px;
    transform: rotate(3deg) scale(0.92);
    transform-origin: top right;
  }

  .screenshot-resume {
    right: 56px;
    bottom: 12px;
    width: 220px;
  }

  .feature-band,
  .privacy-band,
  .launch-band {
    padding-top: 62px;
    padding-bottom: 62px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .privacy-band {
    padding: 24px;
  }

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