/* Tokens = remove-mobile RemoveColors (dark) + Manrope */
:root {
  --brand: #c93636;
  --brand-deep: #a12b2b;
  --brand-soft: #3a1f1f;
  --success: #2a7a52;
  --canvas: #121010;
  --surface: #1c1a1a;
  --paper: #f4f1ef;
  --muted: #a39c99;
  --line: #2e2a2a;
  --radius: 18px;
  --radius-pill: 999px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  --font: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--paper);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--canvas);
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 88% 30%, rgba(201, 54, 54, 0.12), transparent 65%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 2.75rem 3.5rem;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.hero__copy {
  display: grid;
  gap: 1.25rem;
  padding-right: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

.brand__mark {
  width: 40px;
  height: 40px;
}

.brand__word {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand__name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand__name .dash,
.close-brand .dash,
.app-header__name span {
  color: var(--brand);
}

.brand__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--brand);
}

.hero__title {
  margin: 0;
  max-width: 13ch;
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
}

.hero__lead {
  margin: 0;
  max-width: 28rem;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.26s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.36s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  background: var(--brand-deep);
}

.btn--ghost {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* —— Phone (Shell + Home) —— */
.hero__product {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.phone {
  width: min(100%, 300px);
}

.phone__bezel {
  position: relative;
  border-radius: 28px;
  padding: 8px;
  background: #0a0909;
  border: 1px solid #3d3838;
  box-shadow: var(--shadow);
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: 36%;
  height: 14px;
  background: #0a0909;
  border-radius: var(--radius-pill);
}

.phone__screen {
  border-radius: 22px;
  overflow: hidden;
  background: var(--canvas);
  aspect-ratio: 9 / 19.4;
}

.app {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 16px 10px;
}

.app-header__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.app-header__word {
  flex: 1;
  min-width: 0;
  line-height: 1.1;
}

.app-header__name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.app-header__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: var(--brand);
}

.app-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.app-scroll {
  flex: 1;
  overflow: hidden;
  padding: 6px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-today-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.app-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--brand);
}

.app-hi {
  margin-top: 2px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.app-sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.app-count {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  padding-top: 14px;
}

.app-progress {
  margin-top: 10px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--line);
  overflow: hidden;
}

.app-progress span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
  transform-origin: left;
  animation: barFill 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.app-section-label {
  margin: 16px 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand);
}

/* ExerciseCard */
.exercise-card {
  position: relative;
  height: 118px;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #a12b2b 0%, #c93636 45%, #5c1818 100%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.exercise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.exercise-card__top,
.exercise-card__title,
.exercise-card__meta {
  position: relative;
  z-index: 1;
}

.exercise-card__top {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.glass-pill svg {
  width: 11px;
  height: 11px;
}

.exercise-card__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
}

.exercise-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exercise-card__meta span {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(245, 240, 230, 0.92);
  color: #141414;
  font-size: 9px;
  font-weight: 800;
}

/* SoftCard */
.soft-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 12px;
}

.soft-card--row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px 12px 12px;
}

.soft-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.soft-card__icon svg {
  width: 18px;
  height: 18px;
}

.soft-card__body {
  flex: 1;
  min-width: 0;
}

.soft-card__title {
  font-size: 12px;
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.soft-card__sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
}

.soft-card__chev {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  padding-right: 2px;
}

.status-chip {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.week-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.week-head .muted {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.day {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.day__l {
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
}

.day__d {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
  background: var(--canvas);
  color: var(--muted);
}

.day__d.done {
  background: var(--success);
  color: #fff;
}

.day__d.planned {
  background: var(--brand-soft);
  color: var(--brand);
}

.day__d.today {
  background: var(--brand);
  color: #fff;
}

.app-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 6px 2px 8px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.app-nav span {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
}

.app-nav svg {
  width: 16px;
  height: 16px;
}

.app-nav .on {
  color: var(--brand);
}

/* —— Sections —— */
.section {
  width: min(680px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 5rem 0 5.5rem;
  border-top: 1px solid var(--line);
}

.section__label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand);
}

.section__title {
  margin: 0 0 16px;
  max-width: 18ch;
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section__text {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.steps {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.steps__n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand);
  padding-top: 2px;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.section--band {
  width: 100%;
  max-width: none;
  padding: 5.5rem 0;
  background: var(--surface);
}

.section--band .section__inner {
  width: min(680px, calc(100% - 4rem));
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.section--band .cta-row,
.section--close .cta-row {
  opacity: 1;
  transform: none;
  animation: none;
  margin-top: 0.75rem;
}

.section--close {
  display: grid;
  justify-items: start;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section--close .section__title {
  margin-bottom: 18px;
}

.section--close .section__text {
  margin-bottom: 1.75rem;
}

.section--close .cta-row {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.close-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.close-brand img {
  width: 40px;
  height: 40px;
}

.close-brand span {
  font-weight: 800;
  font-size: 18px;
}

.contact-line {
  margin: 0;
  padding-top: 0.25rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-line a {
  color: var(--brand);
  font-weight: 700;
}

.site-footer {
  width: min(680px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.site-footer a {
  color: var(--paper);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes barFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

  .brand,
  .hero__title,
  .hero__lead,
  .cta-row,
  .hero__product,
  .app-progress span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
    width: min(1080px, calc(100% - 2.5rem));
    padding: 2rem 0 0;
    gap: 2rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__copy {
    padding-right: 0;
  }

  .hero__title {
    max-width: none;
  }

  .hero__product {
    margin: 0 -1.25rem;
    width: calc(100% + 2.5rem);
    padding: 0.5rem 0 2.25rem;
  }

  .phone {
    width: min(78vw, 300px);
  }
}

@media (max-width: 640px) {
  .hero__grid,
  .section,
  .section--band .section__inner,
  .site-footer {
    width: calc(100% - 2.75rem);
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section,
  .section--band,
  .section--close {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section--close .section__text {
    margin-bottom: 1.5rem;
  }

  .section--close .cta-row {
    margin-bottom: 1.5rem;
  }

  .steps li {
    grid-template-columns: 2rem 1fr;
    gap: 0.85rem;
    padding: 1.25rem 0;
  }
}
