:root {
  --ink: #0b0e12;
  --ink-soft: #12161c;
  --paper: #ffffff;
  --text: #f8f8f6;
  --muted: #b6aedf;
  --muted-2: #8b879b;
  --coral: #ff573f;
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.28);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

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

html {
  min-width: 320px;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.course-legal-links {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--course-muted, #908ba0);
  font-size: 12px;
}

.course-legal-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.course-legal-links-app {
  margin: 42px 0 24px;
}

body.course-locked {
  min-height: 100svh;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.access-gate {
  display: grid;
  min-height: 100svh;
  padding: clamp(24px, 6vw, 84px);
  place-items: center;
  background: var(--ink);
}

.access-gate-inner {
  position: relative;
  width: min(100%, 760px);
  padding: clamp(30px, 6vw, 78px);
  border: 1px solid var(--line-strong);
  background: var(--ink);
}

.gate-brand {
  display: inline-block;
  margin-bottom: clamp(70px, 10vw, 128px);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .03em;
}

.gate-index {
  position: absolute;
  top: clamp(34px, 6vw, 78px);
  right: clamp(30px, 6vw, 78px);
  color: var(--coral);
  font-weight: 800;
}

.access-gate h1 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .94;
  letter-spacing: -.055em;
}

.access-gate-inner > p:not(.gate-index) {
  max-width: 590px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.access-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.access-field {
  display: grid;
  grid-template-columns: 1fr auto;
}

.access-field input,
.access-field button {
  min-height: 68px;
  border: 1px solid var(--line-strong);
}

.access-field input {
  min-width: 0;
  padding: 0 20px;
  border-right: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 18px;
}

.access-field input:focus {
  border-color: var(--coral);
}

.access-field button {
  padding: 0 28px;
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.access-error {
  margin: 12px 0 0 !important;
  color: #ff8a78 !important;
  font-size: 15px !important;
}

.gate-actions {
  display: grid;
  gap: 12px;
}

.gate-primary,
.gate-secondary {
  min-height: 68px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--coral);
  font-weight: 900;
  text-align: center;
}

.gate-primary {
  background: var(--coral);
  color: var(--ink);
}

.gate-secondary {
  color: var(--text);
}

.gate-support {
  display: inline-block;
  margin-top: 30px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.course-app {
  min-height: 100svh;
  background: var(--ink);
}

.course-preview-note {
  padding: 11px 22px;
  border-bottom: 1px solid rgba(11, 14, 18, .22);
  background: var(--coral);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.course-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  min-height: 76px;
  padding: 0 clamp(22px, 3vw, 46px);
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 18, .96);
  grid-template-columns: 1fr auto 1fr;
}

.course-brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .03em;
}

.course-header p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.course-exit {
  justify-self: end;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.course-shell {
  display: grid;
  min-height: calc(100svh - 76px);
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.course-sidebar {
  position: sticky;
  top: 76px;
  height: calc(100svh - 76px);
  padding: 36px 30px 28px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
}

.ui-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.progress-copy strong {
  display: block;
  margin-bottom: 18px;
  font-size: 34px;
  line-height: 1;
}

.progress-copy strong span {
  color: var(--coral);
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.progress-track i {
  display: block;
  width: 4%;
  height: 100%;
  background: var(--coral);
}

.progress-copy small {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
}

.week-nav {
  display: grid;
  margin-top: 36px;
  grid-template-columns: repeat(4, 1fr);
}

.week-nav .ui-label {
  grid-column: 1 / -1;
}

.week-button {
  min-height: 72px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted-2);
}

.week-button:not(:disabled) {
  cursor: pointer;
}

.week-button:disabled {
  opacity: .45;
}

.week-button span,
.week-button small {
  display: block;
}

.week-button span {
  font-size: 24px;
  font-weight: 900;
}

.week-button.is-active {
  border: 1px solid var(--coral);
  color: var(--text);
}

.sidebar-days {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sidebar-days li {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar-day-button {
  display: grid;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  text-align: left;
  grid-template-columns: 28px 1fr auto;
}

.sidebar-day-button:not(:disabled) {
  cursor: pointer;
}

.sidebar-day-button strong {
  font-size: 14px;
}

.sidebar-day-button i {
  font-size: 0;
}

.sidebar-day-button i::after {
  display: block;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--muted);
}

.sidebar-day-button.is-active {
  border-left: 3px solid var(--coral);
  background: rgba(255,87,63,.12);
  color: var(--text);
}

.sidebar-day-button.is-complete i::after {
  background: var(--coral);
}

.sidebar-day-button:disabled {
  opacity: .5;
}

.sidebar-support {
  display: inline-block;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 800;
}

.course-main {
  width: min(100%, 1120px);
  padding: clamp(36px, 3vw, 48px) clamp(24px, 5vw, 76px) 96px;
}

.mobile-progress,
.mobile-day-rail,
.mobile-support {
  display: none;
}

.day-heading {
  margin-bottom: 24px;
}

.day-heading h1 {
  margin: 0 0 16px;
  font-size: clamp(50px, 5.5vw, 82px);
  line-height: .95;
  letter-spacing: -.055em;
}

.day-heading h1 b {
  color: var(--coral);
}

.day-heading h1 em {
  font-style: normal;
}

.day-heading > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted-2);
  font-size: 18px;
}

.lesson-player {
  margin-bottom: 26px;
}

.lesson-shell {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #05070a;
  grid-template-columns: minmax(360px, 440px) minmax(320px, 1fr);
}

.lesson-media {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 87, 63, .11), transparent 42%),
    #05070a;
}

.course-video-main {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 9 / 16;
  background: #000;
  object-fit: cover;
}

.course-seek-controls {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(5,7,10,.76);
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
  backdrop-filter: blur(10px);
}

.course-seek-controls[hidden] {
  display: none;
}

.course-seek-controls button {
  min-width: 64px;
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.course-seek-controls button:hover,
.course-seek-controls button:focus-visible {
  background: var(--coral);
  color: #07090c;
}

.course-seek-controls button:disabled {
  cursor: default;
  opacity: .45;
}

.motion-reference {
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 18px auto 20px;
  overflow: hidden;
  border: 1px solid var(--coral);
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 87, 63, .12), transparent 45%),
    #05070a;
}

.motion-reference video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lesson-placeholder {
  display: grid;
  width: 100%;
  min-height: min(70vh, 720px);
  padding: clamp(28px, 5vw, 64px);
  place-content: center;
  background: transparent;
  text-align: center;
}

.lesson-placeholder span {
  color: var(--coral);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 900;
  line-height: .9;
}

.lesson-placeholder strong {
  margin-top: 18px;
  font-size: clamp(22px, 3vw, 34px);
}

.lesson-placeholder p {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted-2);
}

.lesson-placeholder code {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.lesson-player-copy {
  display: block;
}

.lesson-player-copy h2,
.plan-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}

.lesson-player-copy .ui-label {
  margin-bottom: 12px;
}

.lesson-detail {
  padding: clamp(26px, 3vw, 38px);
  border-left: 1px solid var(--line-strong);
  background: #0b0e12;
}

.lesson-key {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--coral);
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.5;
}

.lesson-actions {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  gap: 10px;
}

.lesson-actions[hidden] {
  display: none;
}

.lesson-action {
  display: inline-flex;
  min-height: 46px;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.lesson-action:hover,
.lesson-action:focus-visible {
  border-color: var(--coral);
}

.lesson-action:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.lesson-action.is-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.lesson-action.is-primary:hover,
.lesson-action.is-primary:focus-visible {
  background: #ff735f;
}

.exercise-guide {
  margin-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.guide-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.guide-tabs button {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.guide-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.guide-tabs button[aria-selected="true"] {
  color: #f8f8f6;
}

.guide-tabs button[aria-selected="true"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.guide-tabs button:focus-visible {
  z-index: 1;
  outline: 2px solid var(--coral);
  outline-offset: -2px;
}

.guide-panel {
  min-height: 300px;
  padding-top: 18px;
  animation: guide-panel-in 160ms ease both;
}

.guide-muscles {
  text-align: center;
}

.guide-muscles-label {
  margin: 12px 0 6px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.guide-muscles h3 {
  margin: 0;
  color: #f8f8f6;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.muscle-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 8px 18px;
  color: #f8f8f6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  list-style: none;
  text-transform: uppercase;
}

.muscle-tags li::before {
  margin-right: 7px;
  color: var(--coral);
  content: "•";
}

.guide-steps,
.guide-control {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-steps {
  counter-reset: guide-step;
}

.guide-steps li,
.guide-control li {
  display: grid;
  padding: 15px 0;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: #f8f8f6;
  font-size: 15px;
  line-height: 1.45;
  grid-template-columns: 30px 1fr;
}

.guide-steps li {
  counter-increment: guide-step;
}

.guide-steps li::before {
  color: var(--coral);
  content: counter(guide-step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.guide-control li::before {
  width: 6px;
  height: 6px;
  margin-top: .55em;
  border-radius: 50%;
  background: var(--coral);
  color: var(--coral);
  content: "";
}

.guide-variants {
  margin: 0;
}

.guide-variants > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.guide-variants dt {
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.guide-variants dd {
  margin: 0;
  color: #f8f8f6;
  font-size: 15px;
  line-height: 1.5;
}

@keyframes guide-panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.plan-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.plan-heading > p {
  margin: 0;
  color: var(--muted-2);
}

.lesson-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

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

.lesson-row.is-active {
  border-left: 3px solid var(--coral);
  background: rgba(255, 87, 63, .08);
}

.lesson-select {
  display: grid;
  width: 100%;
  min-height: 104px;
  padding: 16px 18px;
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  grid-template-columns: 72px 1fr;
}

.lesson-select:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.lesson-number {
  color: var(--text);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.lesson-row.is-available .lesson-number {
  color: var(--coral);
}

.lesson-row.is-complete {
  background: rgba(255, 87, 63, .05);
}

.lesson-copy strong,
.lesson-copy small {
  display: block;
}

.lesson-copy strong {
  margin-bottom: 4px;
  font-size: 21px;
}

.lesson-copy small {
  color: var(--muted-2);
  font-size: 15px;
}

.lesson-row.is-coming {
  color: var(--muted-2);
}

.lesson-row.is-coming .lesson-number {
  color: #585764;
}

.lesson-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.complete-button {
  display: grid;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: transparent;
  cursor: pointer;
  place-items: center;
}

.complete-button svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.complete-button.is-complete {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.complete-button:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.day-navigation {
  display: grid;
  margin-top: 36px;
  gap: 14px;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
}

.previous-day {
  display: flex;
  min-height: 126px;
  padding: 22px;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.previous-day svg {
  width: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.previous-day small,
.previous-day strong {
  display: block;
}

.previous-day small {
  margin-bottom: 4px;
  color: var(--muted-2);
}

.next-day {
  display: grid;
  min-height: 126px;
  padding: 22px;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted-2);
  cursor: not-allowed;
  text-align: left;
  grid-template-columns: auto 1fr auto;
}

.next-day.is-unlocked {
  border-color: var(--coral);
  cursor: pointer;
}

.next-day:disabled {
  opacity: .72;
}

.next-day > span {
  color: var(--muted);
  font-size: 48px;
  font-weight: 900;
}

.next-day strong {
  color: var(--text);
  font-size: 22px;
}

.next-day p {
  margin: 4px 0 0;
}

.lock-icon {
  width: 32px;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.next-day.is-unlocked .lock-icon {
  stroke: var(--coral);
}

@media (max-width: 860px) {
  .course-header {
    min-height: 68px;
    padding-inline: 20px;
    grid-template-columns: 1fr auto;
  }

  .course-header p {
    display: none;
  }

  .course-brand {
    font-size: 26px;
  }

  .course-shell {
    display: block;
  }

  .course-sidebar {
    display: none;
  }

  .course-main {
    width: 100%;
    padding: 24px 20px 72px;
  }

  .mobile-progress {
    display: grid;
    margin-bottom: 48px;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
  }

  .day-heading {
    margin-bottom: 28px;
  }

  .day-heading h1 {
    max-width: 100%;
    font-size: clamp(40px, 11vw, 56px);
  }

  .day-heading > p:last-child {
    font-size: 16px;
  }

  .mobile-day-rail {
    display: grid;
    margin: 0 -20px 26px;
    padding: 0 20px 8px;
    overflow-x: auto;
    gap: 10px;
    grid-auto-columns: 76px;
    grid-auto-flow: column;
    scrollbar-width: none;
  }

  .mobile-day-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-day {
    min-height: 88px;
    padding: 10px 4px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted-2);
  }

  .mobile-day span,
  .mobile-day small {
    display: block;
  }

  .mobile-day span {
    font-size: 31px;
    font-weight: 900;
  }

  .mobile-day small {
    margin-top: 2px;
    font-size: 10px;
    text-transform: uppercase;
  }

  .mobile-day.is-active {
    border-color: var(--coral);
    color: var(--coral);
  }

  .mobile-day.is-complete {
    border-color: rgba(255,87,63,.5);
  }

  .mobile-day:not(:disabled) {
    cursor: pointer;
  }

  .mobile-day:disabled {
    opacity: .45;
  }

  .lesson-player {
    margin-bottom: 46px;
  }

  .lesson-shell {
    display: block;
  }

  .course-video-main {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }

  .motion-reference {
    width: min(100%, 320px);
    margin: 16px auto 18px;
  }

  .lesson-media {
    min-height: 0;
    overflow: hidden;
    aspect-ratio: 9 / 16;
  }

  .lesson-placeholder {
    min-height: min(62svh, 520px);
    padding: 28px 18px;
  }

  .lesson-player-copy {
    display: block;
  }

  .lesson-detail {
    padding: 20px 18px 22px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .lesson-player-copy h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .lesson-key {
    margin-top: 16px;
    font-size: 14px;
  }

  .exercise-guide {
    margin-top: 22px;
  }

  .guide-tabs {
    margin-inline: -18px;
    padding-inline: 8px;
  }

  .guide-tabs button {
    min-height: 46px;
    padding-inline: 4px;
    font-size: 12px;
  }

  .guide-panel {
    min-height: 0;
    padding-top: 8px;
  }

  .guide-steps li,
  .guide-control li {
    padding: 14px 0;
    gap: 8px;
    font-size: 15px;
    grid-template-columns: 28px 1fr;
  }

  .plan-heading {
    display: block;
  }

  .plan-heading > p {
    margin-top: 10px;
    font-size: 14px;
  }

  .lesson-row {
    min-height: 96px;
    padding: 0;
    gap: 4px;
    grid-template-columns: 1fr auto;
  }

  .lesson-select {
    min-height: 94px;
    padding: 14px 10px;
    gap: 14px;
    grid-template-columns: 58px 1fr;
  }

  .lesson-number {
    font-size: 38px;
  }

  .lesson-copy strong {
    font-size: 17px;
  }

  .lesson-copy small {
    font-size: 13px;
  }

  .lesson-status {
    font-size: 10px;
  }

  .complete-button {
    width: 48px;
    height: 48px;
    margin-right: 8px;
  }

  .day-navigation {
    display: block;
    margin-top: 34px;
  }

  .previous-day,
  .next-day {
    width: 100%;
    min-height: 112px;
    padding: 18px 14px;
    gap: 16px;
  }

  .previous-day {
    margin-bottom: 12px;
  }

  .next-day > span {
    font-size: 38px;
  }

  .next-day p {
    font-size: 13px;
  }

  .mobile-support {
    display: flex;
    min-height: 74px;
    margin-top: 26px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-weight: 800;
  }

  .mobile-support svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }
}

@media (max-width: 520px) {
  .access-gate {
    padding: 16px;
  }

  .access-gate-inner {
    padding: 28px 22px 34px;
  }

  .gate-brand {
    margin-bottom: 84px;
  }

  .gate-index {
    top: 32px;
    right: 22px;
  }

  .access-gate h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .access-field {
    display: block;
  }

  .access-field input,
  .access-field button {
    width: 100%;
  }

  .access-field input {
    border-right: 1px solid var(--line-strong);
    border-bottom: 0;
  }

  .course-main {
    padding-inline: 16px;
  }

  .mobile-day-rail {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .lesson-row {
    grid-template-columns: 1fr auto;
  }

  .lesson-select {
    padding-left: 8px;
    grid-template-columns: 46px 1fr;
  }

  .lesson-number {
    font-size: 32px;
  }

  .lesson-status {
    writing-mode: vertical-rl;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
