:root {
  --paper: #fbfaf6;
  --paper-strong: #f4efe2;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #625f55;
  --soft: #8a8577;
  --line: #ded8c8;
  --green: #1f6b4b;
  --green-dark: #164d37;
  --lime: #b7ff2a;
  --coral: #ff6b4a;
  --amber: #f5b84b;
  --teal: #0f766e;
  --shadow: 0 18px 50px rgba(21, 21, 21, 0.11);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 216, 200, 0.86);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid rgba(21, 21, 21, 0.2);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--paper-strong);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.menu-lines::before {
  transform: translateY(-6px);
}

.menu-lines::after {
  transform: translateY(4px);
}

.menu-open .menu-lines {
  transform: rotate(45deg);
}

.menu-open .menu-lines::before {
  opacity: 0;
}

.menu-open .menu-lines::after {
  transform: translateY(-2px) rotate(90deg);
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 56px 0;
}

.section.alt {
  background: var(--paper-strong);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 900;
}

h2 {
  max-width: 760px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
}

h3 {
  font-size: 22px;
  font-weight: 850;
}

.lead {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.body-copy {
  color: var(--muted);
  font-size: 17px;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.22) 100%),
    url("assets/workout-hero.png");
  background-position: center 35%;
  background-size: cover;
}

.hero .container {
  padding: 96px 0 54px;
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
  border-color: rgba(255, 255, 255, 0.2);
}

.button.dark {
  color: #fff;
  background: var(--ink);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.button.outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.hero-proof {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  max-width: 860px;
}

.proof-item {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.proof-item strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

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

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(21, 21, 21, 0.03);
}

.card.feature-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon-block {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.card p,
.timeline p,
.legal-body p,
.support-row p {
  color: var(--muted);
}

.timer-demo {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.timer-face {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 26px;
  color: #fff;
  background: #171714;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.timer-ring {
  width: min(310px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--lime) var(--progress, 0deg), rgba(255, 255, 255, 0.12) 0);
  position: relative;
}

.timer-ring::before {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: #171714;
  content: "";
}

.timer-ring::after {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  content: "";
}

.timer-readout {
  z-index: 2;
  text-align: center;
}

.phase {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.time {
  margin-top: 8px;
  font-size: clamp(52px, 9vw, 84px);
  font-weight: 900;
  line-height: 1;
}

.round {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.control-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.preset-row,
.timer-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.chip.active,
.chip:hover {
  border-color: rgba(31, 107, 75, 0.3);
  background: #e7f8d3;
}

.setting-list {
  display: grid;
  gap: 12px;
}

.setting {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.setting:last-child {
  border-bottom: 0;
}

.setting strong {
  display: block;
}

.setting span {
  color: var(--muted);
  font-size: 14px;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat {
  min-height: 150px;
  padding: 26px;
  background: var(--surface);
}

.stat strong {
  display: block;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.image-panel {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-weight: 900;
}

.page-hero {
  padding: 82px 0 58px;
  background: linear-gradient(135deg, var(--paper) 0%, #eef5dc 52%, #fff4df 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 78px);
}

.subnav {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subnav a {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.subnav a:hover {
  color: var(--ink);
  background: #fff;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.feature-list li,
.legal-body li {
  margin-bottom: 8px;
  color: var(--muted);
}

.feature-list strong {
  color: var(--ink);
}

.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.store-box {
  padding: 28px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.store-box .lead {
  color: rgba(255, 255, 255, 0.74);
}

.release-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.release-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.release-item span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 900;
}

.support-row {
  border-top: 1px solid var(--line);
}

.support-row button {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.support-row button::after {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
}

.support-row.open button::after {
  content: "-";
}

.support-content {
  display: none;
  padding: 0 0 20px;
}

.support-row.open .support-content {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item a,
.contact-item strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 850;
}

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

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

.field label {
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

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

.form-status {
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 800;
}

.legal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
}

.legal-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: var(--radius);
  font-weight: 750;
}

.legal-nav a:hover {
  color: var(--ink);
  background: var(--paper-strong);
}

.legal-body {
  display: grid;
  gap: 28px;
}

.legal-section {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 38px);
}

.legal-section h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 19px;
}

.legal-section ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.notice {
  padding: 18px;
  background: #fff8df;
  border: 1px solid #edd489;
  border-radius: var(--radius);
}

.site-footer {
  padding: 54px 0 32px;
  color: #fff;
  background: #171714;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 30px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-title {
  margin-bottom: 12px;
  color: #fff;
  font-weight: 850;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(21, 21, 21, 0.12);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    min-height: 48px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero .container {
    padding: 86px 0 42px;
  }

  .hero-proof,
  .grid.three,
  .grid.two,
  .section-head,
  .timer-demo,
  .split,
  .download-panel,
  .contact-grid,
  .legal-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof,
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .container {
    width: min(100% - 24px, var(--max));
  }

  .section {
    padding: 62px 0;
  }

  .section.tight {
    padding: 42px 0;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .hero {
    background-position: center top;
  }

  .hero-proof,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .timer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .timer-face {
    min-height: 330px;
    padding: 18px;
  }

  .card {
    padding: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
