:root {
  --black: #050505;
  --black-2: #121214;
  --white: #ffffff;
  --pink: #ff2b91;
  --pink-soft: #ff75b9;
  --pink-dark: #d90f70;
  --gray-50: #f4f4f5;
  --gray-100: #ececef;
  --gray-200: #dddddf;
  --gray-300: #c9c9ce;
  --gray-600: #68686e;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--gray-50);
  color: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

.app {
  width: 100%;
  min-height: 100vh;
}

.content {
  width: min(100%, 788px);
  margin: 0 auto;
  padding: 28px 14px 40px;
}

.hero {
  max-width: 700px;
  margin: 0 auto 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 43, 145, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 43, 145, 0.1), transparent 52%),
    var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.subtitle,
h1 {
  margin: 0;
}

h1 {
  font-size: 38px;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.title-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background-image: url("strongman-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: brightness(0) saturate(100%) invert(35%) sepia(82%) saturate(3106%) hue-rotate(310deg) brightness(103%) contrast(101%);
}

.subtitle {
  margin-top: 10px;
  color: #eeeeef;
  font-size: 0.9rem;
  line-height: 1.35;
}

.coach-note {
  margin: 0 0 16px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 43, 145, 0.18);
  border-left: 4px solid var(--pink);
  border-radius: 10px;
  color: var(--black-2);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.38;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.progress-card {
  position: sticky;
  top: 8px;
  z-index: 5;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
}

.progress-copy strong {
  color: var(--pink-dark);
  font-size: 0.95rem;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  background: #ececf0;
  border-radius: 999px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 43, 145, 0.58), rgba(255, 117, 185, 0.72));
  border-radius: inherit;
  transition: width 180ms ease;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.secondary-button,
.reset-button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.secondary-button {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
}

.reset-button {
  background: var(--black);
  color: var(--white);
}

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

.section {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
}

.section-toggle {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 16px 14px 16px 16px;
  background: linear-gradient(180deg, var(--white), #fbfbfc);
  border: 0;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.section-heading {
  min-width: 0;
}

.section-title {
  display: block;
  font-size: 1.17rem;
  font-weight: 900;
  line-height: 1;
}

.section-count {
  display: block;
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-status {
  min-width: 52px;
  padding: 7px 9px;
  background: var(--black);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.chevron {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  align-self: center;
  background: var(--pink);
  color: var(--white);
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

.section.is-collapsed .chevron {
  transform: rotate(-90deg);
}

.items {
  display: grid;
  gap: 8px;
  padding: 0 10px 12px;
  background: var(--white);
}

.section.is-collapsed .items {
  display: none;
}

.check-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px;
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.check-item:active {
  transform: scale(0.99);
}

.check-item input {
  width: 38px;
  height: 38px;
  margin: 0;
  accent-color: var(--pink);
  cursor: pointer;
}

.item-text {
  padding-top: 0;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.22;
}

.check-item input:checked + .item-text {
  color: var(--gray-600);
  text-decoration: line-through;
}

.check-item:has(input:checked) {
  background: #fff4fa;
  border-color: rgba(255, 43, 145, 0.28);
}

@media (min-width: 640px) {
  .hero {
    padding: 34px;
  }

  .title-icon {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: 64px;
  }

  .subtitle {
    font-size: 0.94rem;
  }

  .toolbar {
    display: flex;
    justify-content: flex-end;
  }

  .secondary-button,
  .reset-button {
    min-width: 138px;
  }
}

@media (max-width: 640px) {
  .hero {
    width: calc(100% - 32px);
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
  }

  .title-icon {
    width: 54px;
    height: 54px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.05;
    text-align: left;
  }

  .subtitle {
    font-size: 13px;
    line-height: 1.35;
  }
}
