:root {
  --ink: #11141c;
  --muted: #687083;
  --line: #e9ecf2;
  --soft: #f7f8fb;
  --white: #fff;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
main { overflow: hidden; }

.site-header { width: min(1180px, calc(100% - 48px)); height: 82px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.site-header nav { display: flex; align-items: center; gap: 36px; color: #566078; font-size: .9rem; }
.site-header nav a:hover, .login-link:hover { color: var(--ink); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 24px; font-size: .9rem; }
.mobile-menu { display: none; background: none; border: 0; }
.mobile-nav { display: none; }
.play-icon { width: 18px; height: 18px; display: inline-grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%; font-size: .55rem; padding-left: 1px; }
.logo-crop { display: block; position: relative; width: 140px; height: 31px; overflow: hidden; }
.logo-crop img { position: absolute; width: 190px; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: .9rem; border: 1px solid var(--line); transition: .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 9px 25px rgb(10 18 39 / 10%); }
.button-dark { color: #fff; background: #151821; border-color: #151821; }
.button-light { background: #fff; }

.hero { text-align: center; width: min(820px, calc(100% - 40px)); margin: 74px auto 50px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; color: #424b60; background: #f6f7f9; border-radius: 99px; padding: 5px 11px 5px 5px; font-size: .78rem; font-weight: 700; }
.eyebrow-pill span { color: #fff; background: var(--ink); border-radius: 99px; padding: 4px 7px; }
.hero h1 { margin: 25px auto 17px; max-width: 720px; font-size: clamp(3rem, 6vw, 5.55rem); line-height: .95; letter-spacing: -.075em; }
.hero > p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.17rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 15px; }
.video-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; font-weight: 700; font-size: .9rem; }
.hero > small { color: #8e95a4; }

.dashboard-shell { width: min(1060px, calc(100% - 40px)); margin: 0 auto; min-height: 570px; display: grid; grid-template-columns: 190px 1fr; border: 1px solid #e6eaf1; border-radius: 19px; background: #fff; box-shadow: 0 28px 80px rgb(27 35 55 / 9%); overflow: hidden; }
.dash-sidebar { border-right: 1px solid #edf0f5; padding: 25px 18px; display: flex; flex-direction: column; gap: 7px; }
.dash-sidebar .logo-crop { width: 112px; height: 35px; margin: 0 5px 22px; }
.dash-sidebar .logo-crop img { width: 154px; }
.dash-sidebar > span { display: flex; align-items: center; gap: 12px; color: #687083; font-size: .78rem; padding: 10px 12px; border-radius: 8px; }
.dash-sidebar > span.active { background: #f0f2f5; color: var(--ink); font-weight: 700; }
.dash-sidebar i { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; }
.dash-main { padding: 28px 30px 35px; }
.dash-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 15px; }
.fake-search { width: 240px; border-radius: 99px; padding: 10px 16px; background: #f8f9fb; color: #9aa1ae; font-size: .78rem; }
.avatar, .mini-avatar, .review-avatar { display: grid; place-items: center; border-radius: 50%; background: #f4dccf; color: #684130; font-weight: 800; }
.avatar { width: 36px; height: 36px; }
.dash-main h2 { margin: 18px 0 3px; font-size: 1.45rem; letter-spacing: -.03em; }
.dash-main > p { margin: 0; color: #8b92a0; font-size: .82rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0; }
.stat-card { min-height: 115px; border: 1px solid #edf0f5; border-radius: 11px; padding: 18px; box-shadow: 0 8px 18px rgb(24 32 52 / 4%); display: flex; flex-direction: column; }
.stat-card small { color: #626a78; font-weight: 700; font-size: .72rem; }
.stat-card strong { font-size: 1.65rem; margin: 10px 0 4px; }
.stat-card em { color: #1fc386; font-style: normal; font-size: .72rem; font-weight: 700; }
.dash-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; border-top: 1px solid #f0f2f6; padding-top: 22px; }
.dash-columns h3 { font-size: .85rem; margin: 0 0 14px; }
.session-row { display: grid; grid-template-columns: 40px 28px 1fr auto; align-items: center; gap: 9px; min-height: 45px; font-size: .7rem; }
.session-row b { font-size: .65rem; }
.session-row small { color: #8991a1; }
.mini-avatar { width: 26px; height: 26px; font-size: .65rem; }
.tone-0 { background: #f4dbd0 !important; color: #7a4437 !important; }
.tone-1 { background: #dcebea !important; color: #2e6460 !important; }
.tone-2 { background: #e8def9 !important; color: #5d4c91 !important; }
.tone-3 { background: #fff0c9 !important; color: #7d6224 !important; }
.activity-row { display: flex; gap: 10px; align-items: center; min-height: 54px; }
.activity-row > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.activity-row strong { font-size: .72rem; }
.activity-row small { color: #979dab; font-size: .65rem; }

.trusted { width: min(1160px, calc(100% - 40px)); margin: 60px auto 105px; text-align: center; }
.trusted p, .kicker { text-transform: uppercase; letter-spacing: .1em; color: #8991a2; font-size: .7rem; font-weight: 700; }
.trusted > div { margin-top: 27px; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; }
.trusted strong { min-height: 34px; padding: 0 20px; border-right: 1px solid #e7e9ed; color: #9197a5; font-size: .86rem; line-height: 1; display: grid; place-items: center; }
.trusted strong:last-child { border: 0; }

.section, .section-block, .highlights, .final-cta, footer { width: min(1160px, calc(100% - 40px)); margin-left: auto; margin-right: auto; }
.section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; margin-bottom: 120px; }
.section-copy h2, .section-heading h2, .highlight-card h2, .final-cta h2 { margin: 12px 0 15px; font-size: clamp(2.3rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.06em; }
.section-copy > p, .highlight-card > p { color: var(--muted); line-height: 1.65; }
.feature-list { margin: 29px 0; display: grid; gap: 20px; }
.feature-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 7px 20px rgb(24 32 52 / 6%); }
.feature-list h3 { font-size: .98rem; margin: 0 0 5px; }
.feature-list p { color: var(--muted); font-size: .84rem; line-height: 1.45; margin: 0; }
.workout-panel { min-height: 490px; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 22px 60px rgb(24 32 52 / 6%); }
.panel-top { display: flex; justify-content: space-between; align-items: center; }
.panel-top h3 { font-size: 1.25rem; }
.panel-top button { background: var(--ink); color: #fff; border: 0; border-radius: 8px; padding: 10px 14px; font-size: .73rem; }
.panel-tabs { color: #8d94a3; font-size: .75rem; padding: 22px 0 15px; border-bottom: 1px solid var(--line); }
.panel-search { margin: 16px 0; padding: 12px 14px; background: #f7f8fa; color: #a0a7b3; border-radius: 8px; font-size: .76rem; }
.workout-row { min-height: 65px; display: grid; grid-template-columns: 45px 1fr auto; gap: 13px; align-items: center; padding: 8px 5px; border-bottom: 1px solid #f2f3f6; }
.workout-thumb { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 8px; }
.workout-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.workout-row strong { font-size: .8rem; }
.workout-row small { color: #939aa8; font-size: .68rem; }
.workout-row em { font-size: .65rem; color: #7664c7; background: #eeeafd; border-radius: 99px; padding: 5px 8px; font-style: normal; }

.section-block { margin-bottom: 32px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; padding: 27px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 28px rgb(24 32 52 / 5%); }
.review-card > p { color: #5d6575; line-height: 1.6; margin: 0; }
.review-card > div { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; font-size: .8rem; }
.review-card > div > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.review-card strong { font-size: .76rem; }
.review-card small { color: #979dab; font-size: .66rem; }
.review-card em { color: #f2a900; font-style: normal; font-size: .75rem; letter-spacing: .03em; }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; margin-bottom: 30px; }
.highlight-card { position: relative; overflow: hidden; min-height: 590px; padding: 36px; border-radius: 16px; }
.highlight-card.warm { background: linear-gradient(145deg, #f9f3ec, #fdfbf8); }
.highlight-card.cool { background: linear-gradient(145deg, #f4f7fd, #eef4ff); min-height: 405px; }
.label-chip { display: inline-flex; padding: 6px 10px; background: rgb(255 255 255 / 70%); border-radius: 99px; font-size: .65rem; font-weight: 700; }
.highlight-card h2 { max-width: 500px; font-size: 2.55rem; }
.highlight-card > p { max-width: 470px; font-size: .92rem; }
.highlight-card > a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .8rem; font-weight: 700; }
.package-list { background: #fff; border-radius: 13px; padding: 10px 20px; margin-top: 40px; box-shadow: 0 15px 50px rgb(83 56 36 / 8%); }
.package-list > div { min-height: 76px; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.package-list > div:last-child { border: 0; }
.package-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; }
.package-list span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.package-list strong, .package-list b { font-size: .8rem; }
.package-list small { color: #8c93a1; font-size: .68rem; }
.progress-stack { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.chart-card { position: absolute; right: 28px; bottom: 29px; width: 240px; height: 122px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 14px 30px rgb(62 91 150 / 9%); }
.chart-card small { display: block; color: #8d94a2; font-size: .65rem; }
.chart-card strong { color: #20bf82; display: block; margin: 5px 0; }
.chart-card svg { color: #4a7ffd; width: 100%; height: 50px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-grid article { min-height: 166px; border: 1px solid var(--line); border-radius: 14px; padding: 25px; }
.mini-grid svg, .mini-feature-icon { padding: 8px; width: 39px; height: 39px; background: #f4f6fa; border-radius: 9px; display: grid; place-items: center; }
.mini-grid h3 { font-size: .9rem; margin: 18px 0 8px; }
.mini-grid p { color: var(--muted); font-size: .78rem; line-height: 1.5; margin: 0; }

.final-cta { min-height: 300px; margin-top: 65px; padding: 45px; display: grid; grid-template-columns: 1fr 320px; align-items: center; gap: 50px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(120deg, #fff, #f9fafc); box-shadow: 0 18px 50px rgb(24 32 52 / 5%); }
.final-cta h2 { max-width: 650px; font-size: 3.25rem; }
.cta-actions { display: flex; gap: 12px; margin-top: 25px; }
.final-cta ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.final-cta li { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; }
.final-cta li svg, .final-cta .check { color: #fff; background: var(--ink); border-radius: 50%; padding: 2px; width: 16px; height: 16px; display: grid; place-items: center; font-size: .62rem; }

footer { min-height: 260px; padding: 55px 0 45px; display: grid; grid-template-columns: 1.4fr repeat(3, .65fr) 1.15fr; gap: 35px; align-items: start; }
.footer-brand p { color: #9aa0ad; font-size: .76rem; margin: 15px 0; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-column strong { font-size: .78rem; margin-bottom: 5px; }
.footer-column a { color: #89909e; font-size: .72rem; }
.footer-meta { display: flex; flex-direction: column; gap: 24px; align-items: flex-end; color: #9299a5; }
.footer-meta > div { display: flex; gap: 10px; }
.footer-meta a { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .58rem; font-weight: 800; }
.footer-meta small { text-align: right; font-size: .68rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .mobile-nav { position: fixed; z-index: 20; top: 70px; left: 15px; right: 15px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgb(24 32 52 / 18%); padding: 16px; flex-direction: column; gap: 4px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav > a:not(.button) { padding: 12px; color: #51596a; font-size: .9rem; }
  .hero { margin-top: 50px; }
  .dashboard-shell { grid-template-columns: 1fr; min-height: 0; }
  .dash-sidebar { display: none; }
  .dash-main { padding: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-columns { grid-template-columns: 1fr; }
  .trusted > div { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .section { grid-template-columns: 1fr; gap: 45px; }
  .review-grid, .highlights { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1.2fr repeat(3, 1fr); }
  .footer-meta { grid-column: 1 / -1; align-items: flex-start; }
}

@media (max-width: 600px) {
  .site-header { width: calc(100% - 30px); height: 70px; }
  .logo-crop { width: 125px; height: 28px; }
  .logo-crop img { width: 170px; }
  .hero { margin-top: 40px; }
  .hero h1 { font-size: 3.15rem; }
  .hero > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button, .video-link { width: 100%; }
  .dashboard-shell { width: calc(100% - 24px); }
  .dash-main { padding: 18px 14px; }
  .fake-search { width: 180px; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 13px; min-height: 105px; }
  .stat-card strong { font-size: 1.3rem; }
  .session-row { grid-template-columns: 34px 25px 1fr; }
  .session-row small { display: none; }
  .trusted { margin-bottom: 75px; }
  .trusted > div { grid-template-columns: repeat(2, 1fr); }
  .section, .section-block, .highlights, .final-cta, footer { width: calc(100% - 30px); }
  .section-copy h2, .section-heading h2, .highlight-card h2, .final-cta h2 { font-size: 2.45rem; }
  .workout-panel { padding: 20px 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .review-grid { grid-template-columns: 1fr; }
  .highlight-card { padding: 28px 22px; min-height: 0; }
  .highlight-card.warm { padding-bottom: 28px; }
  .package-list { margin-top: 28px; padding: 8px 12px; }
  .chart-card { position: relative; right: auto; bottom: auto; margin: 35px 0 0 auto; width: 88%; }
  .mini-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 30px 23px; }
  .cta-actions { flex-direction: column; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

.admin-shell { min-height: 100vh; background: #f6f7f9; overflow: visible; padding-bottom: 60px; }
.admin-header { background: #fff; border-bottom: 1px solid var(--line); padding: 28px max(28px, calc((100vw - 1280px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.admin-header span { color: #7d8493; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 800; }
.admin-header h1 { margin: 5px 0; font-size: 1.8rem; letter-spacing: -.04em; }
.admin-header p { margin: 0; color: var(--muted); font-size: .82rem; }
.admin-header > div:last-child { display: flex; gap: 10px; }
.admin-header a { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; background: #fff; font-size: .78rem; font-weight: 700; }
.cms-layout { width: min(1280px, calc(100% - 40px)); margin: 28px auto; display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; }
.cms-layout > aside { position: sticky; top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 3px; }
.cms-layout > aside button { display: flex; justify-content: space-between; align-items: center; text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 11px 12px; color: #606878; font-size: .8rem; cursor: pointer; }
.cms-layout > aside button.active { background: #151821; color: #fff; }
.cms-layout > aside button span { width: 7px; height: 7px; border-radius: 50%; background: #36bb83; }
.cms-layout > aside button span.off { background: #c9cdd5; }
.cms-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.cms-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.cms-panel-heading span { color: #9299a6; text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; font-weight: 800; }
.cms-panel-heading h2 { margin: 5px 0 0; font-size: 1.45rem; }
.cms-panel-heading button { background: #151821; color: #fff; }
.cms-object { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cms-object > .cms-toggle, .cms-object > .cms-array, .cms-object > .cms-object { grid-column: 1 / -1; }
.cms-field { display: grid; gap: 7px; min-width: 0; }
.cms-field > span:first-child, .array-heading > strong { font-size: .74rem; font-weight: 800; color: #4f5765; }
.cms-field input, .cms-field textarea { background: #fbfbfc; border-color: #dfe3e9; }
.cms-field textarea { resize: vertical; line-height: 1.5; }
.cms-toggle { display: flex; justify-content: space-between; align-items: center; border-radius: 10px; padding: 15px 17px; background: #f5f6f8; }
.cms-toggle > div { display: flex; flex-direction: column; gap: 3px; }
.cms-toggle strong { font-size: .78rem; }
.cms-toggle small { color: #8b92a0; font-size: .67rem; }
.cms-array { border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.array-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.array-item { position: relative; padding: 16px 48px 16px 42px; border-top: 1px solid #eff1f4; }
.array-item:first-of-type { border-top: 0; }
.array-item .cms-object { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item-number { position: absolute; left: 5px; top: 21px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f1f2f5; font-size: .67rem; font-weight: 800; }
.remove-item { position: absolute; right: 2px; top: 14px; color: #9a5360; }
.upload-line { display: flex; align-items: center; gap: 12px; }
.upload-button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: .72rem; font-weight: 700; }
.upload-button input { display: none; }
.upload-line img { width: 86px; height: 38px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; }
.admin-denied { max-width: 600px; margin: 120px auto; text-align: center; }

@media (max-width: 800px) {
  .admin-header { align-items: flex-start; flex-direction: column; }
  .cms-layout { grid-template-columns: 1fr; }
  .cms-layout > aside { position: static; display: flex; overflow-x: auto; }
  .cms-layout > aside button { flex: 0 0 auto; gap: 12px; }
  .cms-object { grid-template-columns: 1fr; }
  .cms-object > * { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .admin-header, .cms-panel { padding: 20px; }
  .admin-header > div:last-child { width: 100%; }
  .admin-header a { flex: 1; justify-content: center; }
  .cms-layout { width: calc(100% - 20px); }
  .cms-panel-heading { align-items: flex-start; flex-direction: column; }
  .cms-panel-heading button { width: 100%; }
  .array-item { padding-right: 38px; padding-left: 0; }
  .item-number { display: none; }
}
