:root {
  --bone: #ece8e1;
  --bone-2: #e1dcd3;
  --paper: #f5f2ed;
  --black: #0b0b0b;
  --ink-2: #1d1d1c;
  --graphite: #3a3a38;
  --muted: #8b8a86;
  --line: rgba(11, 11, 11, 0.14);
  --red: #c8102e;
  --red-2: #a30d25;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--sans); background: var(--bone); color: var(--black); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--bone); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -0.01em; }
h2 { font-size: clamp(54px, 7.5vw, 120px); }
.red { color: var(--red); }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--graphite); margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-red { background: var(--red); color: var(--bone); }
.btn-red:hover { background: var(--red-2); }
.btn-line { border: 2px solid var(--black); }
.btn-line:hover { background: var(--black); color: var(--bone); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn.wide { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; padding: 0 var(--pad); background: rgba(236,232,225,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--black); }
.logo { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 6px; }
.logo i, .foot-big i { width: .3em; height: .3em; border-radius: 50%; background: var(--red); animation: beat 1s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.35); } 30% { transform: scale(.95); } 45% { transform: scale(1.15); } }
.nav-links { display: flex; gap: 30px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.nav-links a:hover { color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 60px var(--pad) 150px; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); overflow: hidden; }
.bpm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: beat 1s infinite; }
.hero .tag b { color: var(--black); font-variant-numeric: tabular-nums; }
.hero h1 { font-size: clamp(84px, 12vw, 200px); }
.lede { margin-top: 26px; font-size: clamp(16px, 1.4vw, 19px); color: var(--graphite); max-width: 470px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.proof { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.proof b { font-family: var(--display); font-size: 32px; font-weight: 900; line-height: 1; }
.proof span { color: var(--red); letter-spacing: 2px; }
.proof small { color: var(--muted); font-size: 13px; width: 100%; }
.hero-visual { position: relative; display: grid; place-items: center; height: 100%; min-height: 560px; }
.big-num { position: absolute; font-family: var(--display); font-weight: 900; font-size: clamp(260px, 32vw, 520px); line-height: .8; color: var(--bone-2); letter-spacing: -0.03em; user-select: none; font-variant-numeric: tabular-nums; }
.phone { position: relative; width: 280px; border-radius: 44px; background: var(--black); padding: 11px; box-shadow: 24px 24px 0 var(--red); transform: rotate(4deg); }
.screen { border-radius: 34px; background: var(--black); border: 1px solid #222; padding: 46px 20px 24px; color: var(--bone); }
.s-label { font-size: 12px; color: var(--muted); text-align: center; }
.ring { width: 100%; height: auto; margin: 8px 0; }
.ring-fill { animation: fillRing 2.4s var(--ease) both; }
@keyframes fillRing { from { stroke-dashoffset: 528; } }
.s-list { list-style: none; display: grid; gap: 6px; font-size: 13px; }
.s-list li { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: var(--ink-2); color: var(--muted); }
.s-list li.done { text-decoration: line-through; }
.s-list li.now { background: var(--red); color: var(--bone); }
.s-list b { font-weight: 600; color: inherit; }
.ecg { position: absolute; left: 0; right: 0; bottom: 36px; width: 100%; height: 110px; pointer-events: none; }

/* ---------- Strip ---------- */
.strip { background: var(--black); color: var(--bone); overflow: hidden; padding: 16px 0; }
.strip-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marquee 26s linear infinite; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); text-transform: uppercase; line-height: 1; }
.strip i { font-style: normal; color: var(--red); }
@keyframes marquee { to { transform: translateX(calc(-50% - 15px)); } }

/* ---------- Sections ---------- */
.section { padding: 130px var(--pad); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }

/* ---------- Timer ---------- */
.timer-sec { background: var(--paper); border-bottom: 2px solid var(--black); }
.timer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.timer-copy > p:not(.tag) { margin-top: 24px; color: var(--graphite); font-size: 17px; max-width: 460px; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; max-width: 520px; }
.presets button { text-align: left; padding: 16px; border: 2px solid var(--black); display: flex; flex-direction: column; gap: 2px; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; transition: background .2s, color .2s; }
.presets small { font-family: var(--sans); font-weight: 500; font-size: 12px; color: var(--muted); }
.presets button[aria-checked="true"] { background: var(--black); color: var(--bone); }
.presets button:disabled { opacity: .4; cursor: not-allowed; }
.sound { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--graphite); cursor: pointer; }
.sound input { accent-color: var(--red); width: 18px; height: 18px; }
.timer { position: relative; background: var(--black); color: var(--bone); padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 26px; transition: background .4s; }
.timer[data-phase="work"] { color: var(--red); }
.timer[data-phase="rest"] { color: var(--bone); }
.timer[data-phase="done"] { background: var(--red); color: var(--bone); }
.t-ring { width: min(340px, 100%); height: auto; }
#tProg { transition: stroke-dashoffset .25s linear; }
.t-center { position: absolute; top: 40px; left: 40px; right: 40px; aspect-ratio: 1; max-width: 340px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.t-phase { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: .06em; }
.t-time { font-family: var(--display); font-weight: 900; font-size: clamp(90px, 10vw, 130px); line-height: .9; color: var(--bone); font-variant-numeric: tabular-nums; }
.t-round { font-size: 14px; color: var(--muted); }
.timer[data-phase="done"] .t-round { color: var(--bone); }
.t-controls { display: flex; gap: 10px; width: 100%; max-width: 340px; }
.t-controls .btn { flex: 1; }
.timer .btn-line { border-color: #3a3a38; color: var(--bone); }
.timer .btn-line:hover { background: var(--bone); color: var(--black); }
.timer[data-phase="done"] .btn-red { background: var(--black); }

/* ---------- Programs ---------- */
.goal, .bill { display: flex; gap: 0; border: 2px solid var(--black); }
.goal button, .bill button { padding: 11px 16px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; border-left: 2px solid var(--black); transition: background .2s, color .2s; }
.goal button:first-child, .bill button:first-child { border-left: 0; }
.goal button.on, .bill button.on { background: var(--black); color: var(--bone); }
.bill small { color: var(--red); font-weight: 700; margin-left: 4px; }
.bill button.on small { color: #ff6b7e; }
.prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { border: 2px solid var(--black); background: var(--paper); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.pcard:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--red); }
.pcard-art { aspect-ratio: 4 / 3; background: var(--black); position: relative; overflow: hidden; border-bottom: 2px solid var(--black); }
.pcard-art svg { width: 100%; height: 100%; display: block; }
.pcard-art .lvl { position: absolute; top: 12px; left: 12px; background: var(--bone); color: var(--black); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; }
.pcard-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard h3 { font-size: 36px; }
.pcard p { color: var(--graphite); font-size: 14px; }
.pmeta { display: flex; gap: 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pmeta span { color: var(--muted); font-weight: 500; }

/* ---------- Progress ---------- */
.progress { background: var(--black); color: var(--bone); }
.progress .tag { color: var(--muted); }
.prog-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.sub { color: var(--muted); margin-top: 24px; max-width: 440px; font-size: 16px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; border-top: 1px solid #2a2a29; padding-top: 24px; }
.pstats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(48px, 5vw, 72px); line-height: .9; }
.pstats small { font-size: .5em; color: var(--red); }
.pstats span { font-size: 13px; color: var(--muted); }
.heat { display: grid; grid-template-columns: repeat(20, 1fr); grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; gap: 5px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: #1d1d1c; transition: transform .15s; cursor: pointer; }
.heat i:hover { transform: scale(1.35); outline: 2px solid var(--bone); }
.heat i.l1, .heat-legend .l1 { background: #5a1420; }
.heat i.l2, .heat-legend .l2 { background: #94102a; }
.heat i.l3, .heat-legend .l3 { background: var(--red); }
.heat-legend { display: flex; align-items: center; gap: 5px; justify-content: flex-end; margin-top: 14px; font-size: 12px; color: var(--muted); }
.heat-legend i { width: 14px; height: 14px; border-radius: 3px; }
.heat-legend .l0 { background: #1d1d1c; }
.heat-legend span:first-child { margin-right: 4px; }
.heat-legend span:last-child { margin-left: 4px; }
.heat-tip { margin-top: 10px; font-size: 14px; min-height: 22px; color: var(--bone); }

/* ---------- Reviews ---------- */
.rev-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; align-items: stretch; }
.rev { border: 2px solid var(--black); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--paper); }
.rev blockquote { font-size: 18px; font-weight: 500; line-height: 1.4; }
.rev.big { background: var(--red); color: var(--bone); border-color: var(--red); }
.rev.big blockquote { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; }
.rev figcaption { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }

/* ---------- Pricing ---------- */
.pricing { border-top: 2px solid var(--black); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { position: relative; border: 2px solid var(--black); padding: 30px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.plan.feat { background: var(--black); color: var(--bone); box-shadow: 10px 10px 0 var(--red); }
.plan h3 { font-size: 38px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 5.4vw, 80px); line-height: 1; transition: opacity .2s; }
.price small { color: var(--muted); }
.billed { font-size: 13px; color: var(--muted); min-height: 20px; }
.plan ul { list-style: none; display: grid; gap: 9px; padding: 16px 0 24px; border-top: 1px solid var(--line); font-size: 15px; }
.plan.feat ul { border-color: #2a2a29; }
.plan li::before { content: "→ "; color: var(--red); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan.feat .btn-line { border-color: var(--bone); }
.badge { position: absolute; top: -14px; left: 28px; background: var(--red); color: var(--bone); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; }
.swap { opacity: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--bone); padding: 60px var(--pad) 26px; overflow: hidden; }
.foot-big { font-family: var(--display); font-weight: 900; font-size: clamp(120px, 26vw, 420px); line-height: .78; display: flex; align-items: flex-end; gap: .04em; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid #2a2a29; font-size: 13px; color: var(--muted); }
.foot-row a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root { --pad: 18px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px var(--pad) 140px; min-height: 0; }
  .hero-visual { min-height: 480px; }
  .phone { width: 250px; box-shadow: 16px 16px 0 var(--red); }
  .section { padding: 90px var(--pad); }
  .timer-grid, .prog-split { grid-template-columns: 1fr; gap: 48px; }
  .presets button { font-size: 20px; padding: 12px; }
  .timer { padding: 28px 18px; }
  .t-center { top: 28px; left: 18px; right: 18px; }
  .prog-grid { grid-template-columns: 1fr 1fr; }
  .goal, .bill { flex-wrap: wrap; }
  .heat { gap: 3px; }
  .rev-grid, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .prog-grid { grid-template-columns: 1fr; }
  .goal { width: 100%; }
  .goal button { flex: 1 1 45%; border-left: 0; border-top: 2px solid var(--black); }
  .goal button:nth-child(-n+2) { border-top: 0; }
  .goal button:nth-child(even) { border-left: 2px solid var(--black); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
