/* 10 Squats a Day — Landing. Mobile-first, monochrome (brand). */

:root {
  --bg: #fafafa;
  --fg: #262626;
  --muted: #737373;
  --border: #e5e5e5;
  --surface: #f5f5f5;
  --radius: 10px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --max-width: 72rem;
  --max-width-narrow: 42rem;
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  z-index: 100;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 1.125rem;
}
.logo:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-list a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
}
.nav-list a:hover {
  text-decoration: underline;
}
.nav-list a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-cta {
  padding: var(--space-xs) var(--space-md);
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
}
.nav-cta:hover {
  text-decoration: none;
  opacity: 0.9;
}
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
  }
  .nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open .nav-list li {
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav-list a {
    display: block;
    padding: var(--space-sm);
  }
  .menu-toggle {
    display: block;
    padding: var(--space-sm);
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    font-size: 1.25rem;
  }
  .menu-toggle[aria-expanded="true"]::before {
    content: "✕";
  }
  .menu-toggle:not([aria-expanded="true"])::before {
    content: "☰";
  }
}

/* Sections */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}
.section-inner.narrow {
  max-width: var(--max-width-narrow);
}
section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 var(--space-lg);
  letter-spacing: -0.02em;
}
section p {
  margin: 0 0 var(--space-md);
  color: var(--fg);
}
section p:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
}
.hero-subhead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    padding-top: var(--space-lg);
  }
  .hero-visual {
    justify-content: flex-end;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  border: none;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-primary:hover {
  opacity: 0.9;
}

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* At a glance */
.at-a-glance {
  background: var(--bg);
}

/* Problem / Solution */
.problem {
  background: var(--surface);
}
.solution {
  background: var(--bg);
}

/* Features */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  padding-left: 1.5em;
  position: relative;
}
.features-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}
.features-list li:last-child {
  border-bottom: none;
}

/* How it works */
.steps-list {
  padding-left: 1.25em;
  margin: 0 0 var(--space-md);
}
.steps-list li {
  margin-bottom: var(--space-sm);
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}
.screenshots-grid figure {
  margin: 0;
  text-align: center;
}
.screenshots-grid img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
}
.screenshots-grid figcaption {
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .screenshots-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .screenshots-grid img {
    max-width: 100%;
  }
}

/* FAQ */
.faq-list {
  margin: 0;
}
.faq-list dt {
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}
.faq-list dt:first-of-type {
  margin-top: 0;
}
.faq-list dd {
  margin: 0 0 0 0;
  color: var(--muted);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}
.faq-list dd:last-of-type {
  border-bottom: none;
}

/* Final CTA */
.cta-final {
  background: var(--surface);
  text-align: center;
}
.cta-final .hero-cta {
  justify-content: center;
  margin-top: var(--space-md);
}

/* Footer */
.footer {
  background: var(--fg);
  color: var(--bg);
  padding: var(--space-xl) var(--space-md);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-inner p {
  margin: 0 0 var(--space-sm);
  font-size: 0.9375rem;
}
.footer-brand {
  font-weight: 700;
  font-size: 1rem;
}
.footer-legal {
  font-size: 0.8125rem;
  opacity: 0.85;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.footer-links a {
  color: var(--bg);
  text-decoration: underline;
}
.footer-links a:hover {
  opacity: 0.9;
}
.footer-links a:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky CTA (mobile) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 40;
  display: flex;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.sticky-cta .btn {
  width: 100%;
  max-width: 20rem;
  text-align: center;
}
.sticky-cta[hidden] {
  display: none !important;
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none;
  }
}
