:root {
  --ink: #111111;
  --muted: #626262;
  --paper: #f5f4f1;
  --card: #ffffff;
  --orange: #ff6a00;
  --orange-dark: #b84900;
  --orange-soft: #fff0e5;
  --yellow: #e8f000;
  --red: #ee374c;
  --line: #deddd9;
  --radius: 22px;
  --shadow: 0 14px 38px rgba(17, 17, 17, .09);
}

* { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { width: 100%; height: auto; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; overflow-wrap: anywhere; }
section, .anchor-alias { scroll-margin-top: 76px; }
.shell { width: min(calc(100% - 24px), 1040px); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: rgba(17, 17, 17, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
}
.topbar-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: inherit;
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-style: italic;
}
.topbar-train {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 8px 10px;
  border-radius: 11px;
  color: #fff;
  background: #2b2b2b;
  text-decoration: none;
  font-size: .79rem;
  font-weight: 850;
}
.model {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 850;
  letter-spacing: .05em;
}

.hero { padding: 34px 0 18px; }
.eyebrow, .section-kicker, .summary-eyebrow {
  margin: 0 0 7px;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 800px;
  margin-bottom: 14px;
  font-size: clamp(2.18rem, 11vw, 5.2rem);
  line-height: .95;
  letter-spacing: -.06em;
}
.hero h1 span { color: var(--orange); }
.lead {
  max-width: 660px;
  margin-bottom: 18px;
  color: #3e3e3e;
  font-size: clamp(1rem, 3.4vw, 1.18rem);
}
.journey {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0 0 19px;
  overflow-x: auto;
  color: var(--muted);
  scrollbar-width: none;
}
.journey::-webkit-scrollbar { display: none; }
.journey-step, .journey-arrow { flex: 0 0 auto; }
.journey-step { font-size: .7rem; font-weight: 950; letter-spacing: .055em; text-transform: uppercase; }
.journey-step.active { color: var(--orange-dark); }
.journey-arrow { color: #aaa; font-weight: 900; }

.primary-cta {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 15px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  color: #fff;
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--ink);
  text-decoration: none;
}
.primary-cta span:first-child { min-width: 0; }
.primary-cta strong, .primary-cta small { display: block; white-space: normal; }
.primary-cta strong { font-size: 1.04rem; line-height: 1.2; letter-spacing: .015em; }
.primary-cta small { margin-top: 3px; font-size: .78rem; font-weight: 650; line-height: 1.35; }
.cta-arrow { flex: 0 0 auto; font-size: 1.9rem; font-weight: 950; line-height: 1; }

.quick-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 15px;
}
.quick-nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(17,17,17,.04);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 850;
}
.quick-nav a span { color: var(--orange-dark); font-size: .66rem; letter-spacing: .08em; }
.quick-nav .quick-train { grid-column: 1 / -1; color: #fff; border-color: var(--ink); background: var(--ink); }
.quick-nav .quick-train span { color: var(--orange); }

.start-note {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 15px;
  background: #fbffd8;
}
.start-note strong, .start-note span { display: block; }
.start-note strong { font-size: .9rem; }
.start-note div span { color: #555; font-size: .79rem; }

.mini-ball, .ball {
  display: inline-block;
  flex: 0 0 auto;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: inset -5px -6px 0 rgba(0,0,0,.13);
}
.mini-ball { width: 30px; height: 30px; }
.ball { width: 58px; height: 58px; }
.mini-ball--yellow, .ball-yellow { background: var(--yellow); }
.mini-ball--red, .ball-red { background: var(--red); }
.mini-ball--black, .ball-black { background: #222; }

.section { padding: 54px 0 4px; }
.section-head {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 18px;
}
.section-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .04em;
}
.section-kicker { margin-bottom: 3px; }
.section-head h2, .training-intro h2 {
  margin-bottom: 5px;
  font-size: clamp(1.65rem, 6.7vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-head p:last-child, .training-intro p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }

.card, .vector-panel, .knot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,17,.045);
}
.card { padding: 17px; }
.checklist, .safety-list, .steps { margin: 0; padding: 0; list-style: none; }
.checklist li, .safety-list li {
  position: relative;
  padding: 11px 0 11px 32px;
  border-bottom: 1px solid #ecebe7;
  overflow-wrap: anywhere;
}
.checklist li:last-child, .safety-list li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: .7rem;
  font-weight: 950;
}

.height-layout { display: grid; gap: 14px; }
.height-illustration { overflow: hidden; }
.height-illustration svg { width: 100%; height: auto; aspect-ratio: 680 / 470; }
.height-rule {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: var(--ink);
}
.height-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--orange);
  font-size: 1.55rem;
  font-weight: 950;
}
.height-rule strong, .height-rule span { display: block; }
.height-rule strong { font-size: .91rem; line-height: 1.3; }
.height-rule span { margin-top: 3px; color: #d4d4d4; font-size: .78rem; }

.steps { counter-reset: step; padding: 6px 15px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid #ecebe7;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange-soft);
  font-size: .78rem;
  font-weight: 950;
}
.steps strong, .steps span { display: block; }
.steps strong { margin: 1px 0 2px; font-size: .9rem; }
.steps span { color: var(--muted); font-size: .79rem; }
.callout {
  margin: 14px 0 0;
  padding: 14px 15px;
  border-left: 5px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: var(--orange-soft);
  font-size: .88rem;
  overflow-wrap: anywhere;
}
.callout strong { color: #983900; }

.knot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.knot-card { overflow: hidden; padding: 12px; }
.knot-step { display: flex; align-items: center; gap: 7px; min-height: 32px; }
.knot-step span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-size: .73rem;
  font-weight: 950;
}
.knot-step strong { font-size: .8rem; line-height: 1.15; }
.knot-card svg { width: 100%; margin: 4px 0; }
.knot-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.4; }

.progression { display: grid; gap: 11px; }
.progression-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
}
.progression-card::after {
  content: "";
  position: absolute;
  top: -44px;
  right: -40px;
  width: 145px;
  height: 145px;
  border: 22px solid rgba(17,17,17,.055);
  border-radius: 50%;
}
.progression-card.yellow { background: #fbffd8; }
.progression-card.red { background: #fff0f2; }
.progression-card.black { color: #fff; background: #191919; }
.progression-card.black::after { border-color: rgba(255,255,255,.07); }
.progression-card.black .ball { border-color: #fff; }
.progression-card.black p { color: #d8d8d8; }
.progression-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; }
.level-index { color: var(--orange-dark); font-size: .74rem; font-weight: 950; letter-spacing: .08em; }
.progression-card.black .level-index { color: var(--orange); }
.progression-label { margin: 0 0 2px; color: var(--orange-dark); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.progression-card h3 { margin-bottom: 8px; font-size: 1.35rem; line-height: 1.1; }
.progression-card h3 small { font-size: .72rem; font-weight: 800; }
.progression-card p:not(.progression-label) { margin-bottom: 13px; color: #4f4f4f; font-size: .85rem; }
.progression-skill { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.74); font-size: .7rem; font-weight: 850; }
.micro-note { margin: 12px auto 0; max-width: 680px; color: var(--muted); font-size: .78rem; text-align: center; }

.anchor-alias { display: block; height: 1px; }
.training-section {
  margin-top: 58px;
  padding: 48px 0 56px;
  color: #fff;
  background: var(--ink);
}
.training-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.training-intro > div:first-child { max-width: 700px; }
.training-intro p:last-child { color: #c9c9c9; }
.section-kicker--light { color: var(--orange); }
.library-count { display: none; flex: 0 0 auto; text-align: right; }
.library-count strong, .library-count span { display: block; }
.library-count strong { color: var(--orange); font-size: 2.3rem; line-height: .9; }
.library-count span { color: #bfbfbf; font-size: .72rem; font-weight: 800; text-transform: uppercase; }

.level-tabs {
  display: flex;
  gap: 8px;
  margin: 0 -12px 16px;
  padding: 0 12px 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.level-tabs::-webkit-scrollbar { display: none; }
.level-tab {
  min-width: 142px;
  min-height: 64px;
  display: flex;
  flex: 1 0 142px;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid #424242;
  border-radius: 15px;
  color: #fff;
  background: #252525;
  cursor: pointer;
  text-align: left;
}
.level-tab .mini-ball { width: 29px; height: 29px; border-color: #fff; }
.level-tab strong, .level-tab small { display: block; }
.level-tab strong { font-size: .88rem; }
.level-tab small { color: #bfbfbf; font-size: .68rem; }
.level-tab.is-active { color: var(--ink); border-color: #fff; background: #fff; box-shadow: 0 0 0 3px var(--orange); }
.level-tab.is-active small { color: #555; }
.level-tab.is-active .mini-ball { border-color: var(--ink); }

.level-feature {
  display: grid;
  overflow: hidden;
  margin-bottom: 17px;
  border: 1px solid #333;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
}
.level-photo-wrap { position: relative; overflow: hidden; background: #2a2a2a; }
.level-photo-wrap img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.photo-badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(17,17,17,.88); font-size: .69rem; font-weight: 900; }
.level-summary { padding: 18px; }
.level-summary h3 { margin-bottom: 8px; font-size: 1.35rem; line-height: 1.08; }
.level-summary > p:not(.summary-eyebrow) { margin-bottom: 17px; color: var(--muted); font-size: .87rem; }
.summary-eyebrow { margin-bottom: 5px; }
.local-progress { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.local-progress > span:first-child { color: var(--muted); font-size: .72rem; font-weight: 750; }
.local-progress > strong { font-size: .86rem; }
.progress-track { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 999px; background: #e4e4e4; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .25s ease; }

.exercise-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 21px 0 11px; }
.exercise-toolbar span, .exercise-toolbar strong { display: block; }
.exercise-toolbar span { color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.exercise-toolbar strong { font-size: 1.1rem; }
.exercise-toolbar p { display: none; margin: 0; color: #a8a8a8; font-size: .72rem; text-align: right; }
.exercise-list { display: grid; gap: 10px; outline: 0; }
.exercise-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dedede;
  border-radius: 17px;
  color: var(--ink);
  background: #fff;
}
.exercise-card[open] { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.exercise-summary {
  min-height: 75px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  cursor: pointer;
  list-style: none;
}
.exercise-summary::-webkit-details-marker { display: none; }
.exercise-index { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: var(--ink); font-size: .7rem; font-weight: 950; }
.exercise-title { min-width: 0; }
.exercise-title strong, .exercise-title span { display: block; }
.exercise-title strong { font-size: .9rem; line-height: 1.23; }
.exercise-title span { margin-top: 3px; color: var(--muted); font-size: .7rem; }
.exercise-duration { display: inline-flex; align-items: center; gap: 6px; color: #444; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.exercise-duration::after { content: "+"; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #f0efec; font-size: .9rem; }
.exercise-card[open] .exercise-duration::after { content: "−"; color: #fff; background: var(--orange); }
.completed-mark { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #fff; background: #168447; font-size: .68rem; }
.exercise-body { padding: 0 14px 14px; border-top: 1px solid #ecebe7; }
.exercise-objective { margin: 13px 0 10px; color: #333; font-size: .84rem; }
.exercise-objective strong { color: var(--orange-dark); }
.exercise-instruction { margin-bottom: 12px; padding: 12px; border-radius: 12px; background: #f5f4f1; font-size: .82rem; }
.exercise-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 0 0 12px; }
.exercise-meta div { padding: 8px; border: 1px solid #e4e4e4; border-radius: 10px; }
.exercise-meta dt { color: var(--muted); font-size: .62rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.exercise-meta dd { margin: 2px 0 0; font-size: .76rem; font-weight: 900; }
.exercise-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.skill-chip { display: inline-flex; padding: 6px 9px; border-radius: 999px; color: #444; background: #f1f0ed; font-size: .68rem; font-weight: 850; }
.difficulty { display: inline-flex; align-items: center; gap: 4px; }
.difficulty-label { margin-right: 3px; color: var(--muted); font-size: .64rem; }
.difficulty-dot { width: 7px; height: 7px; border-radius: 50%; background: #d6d6d6; }
.difficulty-dot.on { background: var(--orange); }
.start-exercise {
  width: 100%;
  min-height: 55px;
  margin-top: 13px;
  padding: 12px 14px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--ink);
  font-weight: 950;
  cursor: pointer;
}
.start-exercise span { color: var(--orange); }
.training-safety { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 10px; align-items: start; margin-top: 17px; padding: 13px; border: 1px solid #454545; border-radius: 15px; background: #202020; }
.training-safety > span { display: grid; place-items: center; width: 29px; height: 29px; border: 2px solid var(--orange); border-radius: 9px; color: var(--orange); font-weight: 950; }
.training-safety p { margin: 2px 0 0; color: #cfcfcf; font-size: .78rem; }
.training-safety strong { color: #fff; }

.warning { border: 2px solid var(--ink); background: #fff4e9; box-shadow: 5px 5px 0 var(--ink); }
.safety-list li::before {
  content: "!";
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 950;
}
.faq details { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq summary { min-height: 53px; display: flex; align-items: center; padding: 13px 42px 13px 14px; cursor: pointer; font-weight: 850; overflow-wrap: anywhere; }
.faq details { position: relative; }
.faq details::after { content: "+"; position: absolute; top: 13px; right: 15px; font-size: 1.1rem; font-weight: 900; pointer-events: none; }
.faq details[open]::after { content: "−"; color: var(--orange-dark); }
.faq details p { margin: 0; padding: 0 14px 14px; color: var(--muted); font-size: .86rem; }

footer { margin-top: 56px; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); color: #fff; background: var(--ink); }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
footer .brand { margin-bottom: 10px; }
footer p { margin: 0; color: #bdbdbd; font-size: .8rem; }

.workout-dialog {
  width: min(calc(100% - 18px), 510px);
  max-height: calc(100dvh - 18px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 25px;
  background: transparent;
}
.workout-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(6px); }
.workout-sheet { position: relative; max-height: calc(100dvh - 18px); overflow-y: auto; padding: 23px 18px calc(19px + env(safe-area-inset-bottom)); border-radius: 25px; color: #fff; background: #151515; box-shadow: 0 28px 80px rgba(0,0,0,.45); text-align: center; }
.dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 1px solid #444; border-radius: 50%; color: #fff; background: #272727; font-size: 1.55rem; line-height: 1; cursor: pointer; }
.workout-level { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin: 0 auto 12px; padding: 5px 10px 5px 6px; border-radius: 999px; color: #fff; background: #2b2b2b; font-size: .71rem; font-weight: 850; }
.workout-level .mini-ball { width: 26px; height: 26px; border-color: #fff; }
.workout-status { margin-bottom: 5px; color: var(--orange); font-size: .72rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.workout-sheet h2 { margin: 0 auto 14px; max-width: 390px; font-size: clamp(1.35rem, 6vw, 1.85rem); line-height: 1.05; }
.timer-face { display: grid; place-items: center; min-height: 190px; margin-bottom: 12px; padding: 14px; border: 2px solid #373737; border-radius: 24px; background: #0b0b0b; }
.timer-phase, .timer-unit { color: #aaa; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.timer-face strong { display: block; margin: -4px 0; color: #fff; font-size: clamp(4.8rem, 26vw, 7.8rem); line-height: .88; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.round-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #d0d0d0; font-size: .73rem; font-weight: 800; }
.timer-progress { height: 8px; overflow: hidden; margin-bottom: 13px; border-radius: 999px; background: #343434; }
.timer-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .25s linear; }
.timer-instruction { min-height: 39px; margin-bottom: 13px; color: #c9c9c9; font-size: .8rem; }
.timer-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.timer-controls button, .completion-panel button { min-height: 54px; padding: 11px; border-radius: 13px; font-weight: 900; cursor: pointer; }
.timer-secondary { border: 1px solid #555; color: #fff; background: #2a2a2a; }
.timer-stop { border: 0; color: var(--ink); background: var(--orange); }
.completion-panel { padding: 10px 0 4px; }
.completion-check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; color: #fff; background: #168447; font-size: 2rem; font-weight: 950; }
.completion-panel h3 { margin-bottom: 6px; font-size: 1.45rem; }
.completion-panel p { margin-bottom: 17px; color: #c7c7c7; font-size: .85rem; }
.completion-panel button { width: 100%; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (min-width: 480px) {
  .shell { width: min(calc(100% - 32px), 1040px); }
  .primary-cta { padding: 16px 18px; }
  .primary-cta strong { font-size: 1.16rem; }
  .primary-cta small { font-size: .82rem; }
  .quick-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .quick-nav .quick-train { grid-column: 1 / -1; }
  .knot-card { padding: 15px; }
  .knot-step strong { font-size: .9rem; }
  .knot-card p { font-size: .8rem; }
  .library-count { display: block; }
  .exercise-toolbar p { display: block; }
}

@media (min-width: 700px) {
  .topbar-inner { min-height: 64px; }
  .topbar-train { padding-inline: 15px; }
  .hero { padding-top: 54px; }
  .primary-cta { max-width: 680px; }
  .quick-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .quick-nav .quick-train { grid-column: auto; }
  .section { padding-top: 74px; }
  .section-head { grid-template-columns: 48px minmax(0, 1fr); gap: 15px; margin-bottom: 22px; }
  .section-number { width: 48px; height: 48px; }
  .card { padding: 22px; }
  .height-layout { grid-template-columns: minmax(0, 1.06fr) minmax(290px, .94fr); align-items: stretch; }
  .height-copy { display: flex; flex-direction: column; }
  .compact-steps { flex: 1; }
  .knot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .progression { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .training-section { padding: 66px 0 70px; }
  .level-tabs { margin-inline: 0; padding-inline: 0; }
  .level-feature { grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); }
  .level-photo-wrap img { aspect-ratio: 16 / 9; }
  .level-summary { display: flex; flex-direction: column; justify-content: center; padding: 25px; }
  .exercise-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .footer-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer-inner > p { text-align: right; }
}

@media (min-width: 1000px) {
  .hero { padding-top: 70px; }
  .lead { font-size: 1.18rem; }
  .quick-nav { max-width: 850px; }
  .section { padding-top: 90px; }
  .training-intro { margin-bottom: 27px; }
  .level-feature { grid-template-columns: 1.45fr .55fr; }
  .level-photo-wrap img { max-height: 430px; }
  .exercise-list { gap: 12px; }
}

@media (max-width: 359px) {
  .shell { width: min(calc(100% - 20px), 1040px); }
  .brand { font-size: .81rem; }
  .brand-mark { width: 27px; height: 27px; }
  .topbar-train { font-size: .72rem; padding-inline: 8px; }
  .model { padding-inline: 6px; font-size: .62rem; }
  .hero { padding-top: 27px; }
  .hero h1 { font-size: 2.05rem; }
  .primary-cta { padding: 13px; box-shadow: 4px 4px 0 var(--ink); }
  .primary-cta strong { font-size: .97rem; }
  .primary-cta small { font-size: .73rem; }
  .quick-nav a { padding-inline: 8px; font-size: .8rem; }
  .knot-grid { grid-template-columns: 1fr; }
  .exercise-summary { grid-template-columns: 35px minmax(0, 1fr); }
  .exercise-duration { grid-column: 2; justify-self: start; }
  .exercise-meta { grid-template-columns: 1fr; }
  .workout-sheet { padding-inline: 14px; }
}

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