
/* Detail refinements: secondary plans, quieter scenery and opening sequence. */
.plan:not(.plan--featured) {
  padding: 1.8rem 1.5rem;
  border: 1px dashed #5b8877;
  border-radius: 1.3rem;
  background: #0b141180;
}
.page-shell .features, .page-shell .support { position: relative; isolation: isolate; background: none; }
.features::before, .support::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url('./gym-dark.png') center top / 100% auto no-repeat;
  filter: blur(5px) brightness(.6); pointer-events: none;
}
.hero .scroll-cue span { position: relative; animation: scroll-cue-breathe 2.2s ease-in-out infinite; }
.scroll-cue span::before, .scroll-cue span::after {
  content: ""; position: absolute; inset: -1px; border: 1px solid #6ceabd;
  border-radius: 50%; pointer-events: none;
  animation: scroll-cue-wave 2.6s ease-out infinite;
}
.scroll-cue span::after { animation-delay: 1.3s; }
.scroll-cue span i { animation: none; transform: none; }
.hero-title-animated { display: grid; }
.hero-title-reserve, .hero-title-typed { grid-area: 1 / 1; }
.hero-title-reserve { visibility: hidden; }
.hero-sequence .hero-bottom,
.hero-sequence main > section:not(.hero),
.hero-sequence footer {
  opacity: 0; transition: opacity .8s ease;
}
.hero-sequence.hero-sequence-complete .hero-bottom,
.hero-sequence.hero-sequence-complete main > section:not(.hero),
.hero-sequence.hero-sequence-complete footer { opacity: 1; }
.hero-sequence .hero-bottom { transition-duration: .6s; }
.hero-sequence.hero-sequence-complete main > section:not(.hero) { transition-delay: .15s; }
@keyframes scroll-cue-wave {
  0% { opacity: .65; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.75); }
}
@keyframes scroll-cue-breathe {
  0%, 100% { box-shadow: 0 0 10px #4de3b410; }
  50% { box-shadow: 0 0 24px #4de3b43a; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .scroll-cue span, .scroll-cue span::before, .scroll-cue span::after, .scroll-cue span i { animation: none; }
  .scroll-cue span::before, .scroll-cue span::after { display: none; }
  .hero-sequence .hero-bottom, .hero-sequence main > section:not(.hero), .hero-sequence footer { opacity: 1; transition: none; }
}
:root {
  --bg: #070b0c; --ink: #f6f7f6; --muted: #acb2b5; --green: #3de4a7;
  --line: #344b44; --panel: #0d1415; --telegram: #3ceac0;
  font: clamp(10px, 2.7027vw, 16px)/1.45 Arial, Helvetica, sans-serif;
  color: var(--ink); background: var(--bg); color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
main section[tabindex="-1"]:focus { outline: none; }
img { max-width: 100%; }
em { font-style: normal; color: var(--green); }
h1, h2, h3, h4, p { margin: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1100; padding: 12px 18px; background: var(--green); color: #07120f; }
.skip-link:focus { top: 1rem; }
.page-shell { width: 100%; max-width: 1184px; margin: auto; position: relative; background: var(--bg); overflow: clip; }
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 6rem; display: flex; align-items: center; justify-content: space-between; padding: 0 2.4rem; }
.wordmark { font-size: 2rem; letter-spacing: .16em; font-weight: 800; white-space: nowrap; }
.menu-button { display: grid; place-items: center; width: 44px; height: 44px; font-size: 2.5rem; border: 0; padding: 0; color: #f6f7f6; background: transparent; }
.hero { position: relative; height: 80rem; isolation: isolate; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.hero-copy { position: absolute; top: 5.8rem; left: 2.4rem; right: 1.5rem; }
.eyebrow { display: flex; align-items: center; gap: 1rem; color: #b2b7b6; font-size: 1.22rem; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: #7abb9e; }
h1 { font-size: 5.7rem; line-height: .95; letter-spacing: -.055em; font-weight: 750; margin-top: 1.8rem; }
h1 em { color: #31c688; }
.hero-bottom { position: absolute; left: 2.4rem; right: 2.4rem; bottom: 2.6rem; }
.hero-pillars { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.hero-pillars a { display: flex; align-items: center; gap: 1.2rem; font-size: 1.05rem; min-height: 44px; }
.hero-pillars a + a { padding-left: 1.4rem; border-left: 1px solid #48665a; }
.hero-pillars i { color: #63d9ac; font-size: 2rem; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 1.7rem; width: fit-content; margin: 0 auto; font-size: 1.14rem; color: #bfc5c3; }
.scroll-cue span { display: grid; place-items: center; width: 4.3rem; height: 4.3rem; border: 1px solid #6ceabd; border-radius: 50%; box-shadow: 0 0 0 7px #4de3b40a, 0 0 0 14px #4de3b406; color: #fff; font-size: 1.6rem; animation: scroll-ring 3s ease-in-out infinite; }
.section { padding-left: 2rem; padding-right: 2rem; }
.features { position: relative; padding-top: 11.8rem; background: url('./gym-dark.png') center top / 100% auto no-repeat; }
.features-intro { margin: 0 .6rem 2.8rem; }
.features-intro::before, .pricing h2::before { content: ""; display: block; width: 3.2rem; height: 2px; background: #52dcb0; margin-bottom: 1.8rem; }
.features h2 { font-size: 5.3rem; line-height: .94; letter-spacing: -.05em; font-weight: 750; }
.features-intro > p { margin-top: 1.5rem; font-size: 1.6rem; color: #c4c7c6; letter-spacing: -.025em; }
.feature-grid { display: grid; gap: 3.4rem; }
.feature-card { min-width: 0; scroll-margin-top: 2rem; }
.feature-copy { display: grid; grid-template-columns: 4.6rem minmax(0,1fr); gap: .35rem 1.2rem; align-items: center; margin: 0 .6rem 2rem; }
.round-icon { width: 4.6rem; height: 4.6rem; display: grid; place-items: center; grid-column: 1; grid-row: 1 / 3; align-self: start; border-radius: 50%; border: 1px solid #36594c; background: #12332980; box-shadow: inset 0 0 12px #62e7b50a; color: #50ebb3; font-size: 2.6rem; }
.feature-copy h3 { grid-column: 2; font-size: 3.15rem; line-height: 1.15; letter-spacing: -.035em; font-weight: 750; }
.feature-copy p { grid-column: 2; color: #b6bcbd; font-size: 1.55rem; line-height: 1.4; letter-spacing: -.02em; }
.training-card { padding: 1.8rem 1.4rem; border: 1px solid #409f78; border-radius: 1.7rem; background: #0c1313ed; box-shadow: inset 0 0 25px #5beca70b, 0 0 16px #37df8e09; }
.training-card .feature-copy { margin-bottom: 1.3rem; }
.training-card h3 { font-size: 2.4rem; }
.mini-ui { padding: 1.4rem; border: 1px solid #34413f; border-radius: 1rem; background: #0c1214e8; box-shadow: inset 0 1px 2px #ffffff08; min-width: 0; }
.mini-ui > small { display: flex; gap: .6rem; align-items: center; color: #afb7b8; font-size: 1.32rem; margin-bottom: .7rem; }
.workout-ui { padding: 1.2rem 1.4rem .65rem; }
.exercise { display: grid; grid-template-columns: 7.1rem minmax(0,1fr) 1rem; align-items: center; gap: 1.3rem; padding: .85rem 0; border-bottom: 1px solid #3c4443; }
.exercise:last-child { border: none; }
.exercise img { width: 7.1rem; height: 7.1rem; object-fit: cover; border-radius: 1rem; }
.exercise b { display: block; font-size: 1.55rem; font-weight: 500; }
.exercise em { display: block; color: #8e999c; font-size: 1.3rem; margin-top: .15rem; }
.exercise > i { color: #dfe4e3; font-size: 1.05rem; }
.nutrition-card .feature-copy, .progress-card .feature-copy { margin-bottom: 2.2rem; }
.nutrition-card .round-icon::after, .progress-card .round-icon::after { content: ""; position: absolute; bottom: -1.2rem; width: 3.7rem; border-top: 1px solid #71e1b4; }
.nutrition-card .round-icon, .progress-card .round-icon { position: relative; }
.nutrition-ui { padding: 1.2rem .9rem .85rem; }
.nutrition-ui > small { margin: .4rem 1rem 1.3rem; font-size: 1.5rem; color: #e0e3e1; }
.macro-row { display: flex; gap: 2.2rem; align-items: center; margin: 0 1rem 1.5rem; }
.calorie-ring { position: relative; flex: 0 0 10rem; width: 10rem; height: 10rem; border: .7rem solid #3cdda1; border-left-color: #18372e; border-radius: 50%; display: grid; align-content: center; text-align: center; }
.calorie-ring b { font-size: 2.8rem; line-height: 1.1; }
.calorie-ring span { color: #abb3b5; font-size: 1.4rem; }
.calorie-ring.is-animated circle { stroke: #17322b; }
.calorie-ring.is-animated .calorie-fill { stroke: #3fe7a7; }
.macro-row ul { margin: 0; padding: 0; list-style: none; flex: 1; min-width: 0; }
.macro-row li { display: flex; justify-content: space-between; gap: 1rem; line-height: 3.15rem; border-bottom: 1px solid #35433f; font-size: 1.6rem; }
.macro-row li b { color: #65e6b8; font-weight: 500; }
.food-photo { display: block; width: 100%; height: 19rem; object-fit: cover; object-position: 50% 50%; border: 1px solid #2b3835; border-radius: 1.35rem; }
.progress-ui { padding: 1.5rem 1.7rem 1.1rem; }
.progress-chart { display: block; width: 100%; height: auto; aspect-ratio: 360 / 164; }
.weight-change { display: block; font-size: 3.5rem; line-height: 1.2; letter-spacing: -.035em; margin-top: 1.1rem; }
.progress-period { color: #9da7a8; font-size: .95rem; }
.support { padding: 3.4rem 2.6rem 3rem; background: url('./gym-dark.png') center top / 100% auto no-repeat; }
.support .feature-grid { gap: 3.5rem; }
.support .feature-copy { grid-template-columns: 5.3rem minmax(0,1fr); gap: .6rem 1.5rem; margin: 0 0 1.8rem; }
.support .feature-copy > .round-icon { width: 5.3rem; height: 5.3rem; border-radius: 1.5rem; }
.support h3 { font-size: 2.7rem; }
.support .feature-copy p { font-size: 1.4rem; }
.ai-ui { display: grid; grid-template-columns: 4.4rem minmax(0,1fr); align-items: start; gap: 1rem; padding: 1.9rem 1.5rem 1.1rem; border-radius: 1.5rem; border-color: #527568; }
.ai-avatar { grid-row: 1; width: 4.2rem; height: 4.2rem; font-size: 2.3rem; }
.question { grid-column: 2; padding: 1.4rem 1.2rem; font-size: 1.45rem; line-height: 1.4; border: 1px solid #293533; border-radius: 1.2rem; background: #192123; color: #e1e5e4; }
.typing { grid-column: 2; justify-self: end; width: 5rem; height: 3rem; margin: 0; border: 1px solid #234236; border-radius: 1.2rem; background: #0f2c22; box-shadow: inset 0 0 12px #40ecaa08; display: grid; place-items: center; color: #6cebc0; }
.typing.is-animated span { background: #82f6d2; box-shadow: 0 0 8px #58e9b570; }
.coach-message { display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.9rem 1.5rem; border: 1px solid #527568; border-radius: 1.5rem; background: #0d1516ed; }
.coach-avatar { flex: 0 0 4.4rem; width: 4.4rem; height: 4.4rem; border-radius: 50%; object-fit: cover; }
.coach-bubble { flex: 1; min-width: 0; position: relative; padding: 1.2rem 1.3rem; border: 1px solid #2d3835; border-radius: 1.2rem; background: #192123; font-size: 1.4rem; line-height: 1.6; }
.coach-bubble b { font-weight: 400; }
.coach-bubble time { display: none; }
.benefit-strip { margin-top: 2.5rem; padding: .8rem 1.6rem; border: 1px solid #527568; border-radius: 1.5rem; background: #0b1415e8; }
.benefit-strip > span { display: flex; align-items: center; gap: 1.5rem; min-height: 5.6rem; font-size: 1.35rem; }
.benefit-strip > span + span { border-top: 1px solid #3b5049; }
.benefit-strip i { width: 3rem; text-align: center; color: #77ecc7; font-size: 2.6rem; }
.how { padding-top: 1rem; padding-bottom: 4.5rem; }
.how h2 { font-size: 4rem; line-height: 1.08; letter-spacing: -.045em; margin-bottom: 3rem; }
.steps { display: grid; gap: 2.5rem; list-style: none; margin: 0; padding: 0 1.1rem; }
.steps li { position: relative; display: grid; grid-template-columns: 8.5rem 5.5rem minmax(0,1fr); align-items: center; column-gap: 1.1rem; min-height: 7.7rem; }
.steps li > span { font-size: 6.6rem; line-height: 1; letter-spacing: -.05em; font-weight: 700; -webkit-text-stroke: 1px #75eac0; color: transparent; }
.steps li:not(:last-child)::after { content: ""; position: absolute; width: 1px; height: 3.5rem; background: #6ee5c0; left: 3.8rem; top: calc(100% + .2rem); }
.steps li > i { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 1px solid #293d34; background: #101b17; color: #60e5b6; font-size: 2.6rem; }
.steps b { font-size: 1.85rem; line-height: 1.2; }
.pricing { padding: 3rem 2.3rem 0; }
.pricing h2 { font-size: 3.8rem; line-height: 1.08; letter-spacing: -.045em; margin-bottom: 3.8rem; }
.plans { display: grid; gap: 1.6rem; }
.plan { display: grid; grid-template-columns: minmax(0,1fr) 3rem; gap: .75rem 1rem; padding: 1.9rem 0; width: 100%; text-align: left; background: transparent; color: #f2f4f3; border: 0; border-bottom: 1px solid #3a4b45; border-radius: 0; }
.plan-copy { grid-column: 1; }
.plan-copy > b { display: block; font-size: 2.2rem; line-height: 1.2; letter-spacing: -.025em; margin-bottom: .65rem; }
.plan-copy > small { display: block; line-height: 1.25; }
.plan-copy .plan-price-uah { color: #f4f7f5; font-size: 2.45rem; font-weight: 700; letter-spacing: -.04em; }
.plan-copy .plan-price-period { color: #aab2bb; font-size: 1.45rem; white-space: nowrap; }
.plan-copy .plan-price-usd { color: #8f9a9e; font-size: 1rem; margin-top: .4rem; }
.plan-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; justify-self: end; color: #98a4ac; font-size: 1.5rem; }
.plan--featured { padding: 1.7rem 1.9rem; margin: 0 -.8rem; width: calc(100% + 1.6rem); grid-template-columns: minmax(0,1fr) 4.7rem; border: 1px solid #54f0c4; border-radius: 1.3rem; background: #07120fee; box-shadow: 0 0 24px #2fe8b017; animation: dark-premium-pulse 3s ease-in-out infinite; }
.plan--featured .plan-copy { grid-column: 1 / -1; }
.plan--featured .plan-copy > b { font-size: 2.4rem; margin-bottom: .45rem; }
.plan--featured .plan-price-uah { color: #3de9b4; font-size: 2.9rem; }
.plan--featured .plan-arrow { width: 4.5rem; height: 4.5rem; grid-row: 2 / 4; border-radius: 50%; display: grid; place-items: center; border: 2px solid #53ebc3; font-size: 2rem; color: #63f0c9; box-shadow: 0 0 22px #41eabc20; }
.plan-badge { grid-column: 1; justify-self: start; border: 1px solid #4fe7bf; color: #62eac3; border-radius: 2rem; padding: .3rem 1.1rem; font-size: 1.25rem; line-height: 1.4; }
.plan-hint { grid-column: 1; margin-top: .7rem; color: #aab4bf; text-align: left; font-size: 1.15rem; }
.plan:hover .plan-arrow { color: #70f6cb; }
.final-cta { padding: 2.6rem 2rem 2.4rem; }
.final-cta a { display: flex; align-items: center; justify-content: center; gap: 1.8rem; min-height: 6.3rem; padding: 1rem 1.4rem; background: #3aecc0; color: #020d0a; border-radius: 1.2rem; box-shadow: 0 0 24px #2bf0ba28; }
.final-cta a strong { font-size: 2.25rem; line-height: 1.15; letter-spacing: -.035em; }
.final-cta a > i { font-size: 2.8rem; }
.final-cta a:hover { background: #77f6d3; }
.final-cta a { animation: cta-gentle-nudge 4.5s ease-in-out infinite; }
.final-cta a:hover, .final-cta a:focus-visible, .final-cta a:active { animation: none; }
@keyframes cta-gentle-nudge {
  0%, 72%, 100% { transform: translateX(0) rotate(0); }
  77%, 85% { transform: translateX(-2px) rotate(-.35deg); }
  81%, 89% { transform: translateX(2px) rotate(.35deg); }
  94% { transform: translateX(0) rotate(0); }
}
.final-cta > p { color: #a7b1bb; text-align: center; margin-top: 1.25rem; font-size: 1.5rem; }
footer { margin: 0 2.3rem; border-top: 1px solid #3a4b45; padding: 2.5rem 0 3.6rem; }
footer .wordmark { display: inline-block; font-size: 1.6rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .8rem 2.7rem; margin-top: 1.6rem; }
footer nav a { display: flex; align-items: center; min-height: 44px; font-size: 1.1rem; color: #aab3bd; }
.toast { position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 20px); width: min(90%, 480px); padding: 16px 20px; border: 1px solid #3d6656; border-radius: 16px; background: #14221e; color: #e6f4ec; font-size: 15px; opacity: 0; visibility: hidden; z-index: 1200; transition: .2s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }
/* Theme existing interaction surfaces without replacing their behavior. */
.site-intro, .fullscreen-menu, .fullscreen-menu::backdrop { background: #070b0c; color: #f4f7f5; }
html.intro-active { background: #070b0c; }
.site-intro__track { background: #20382e; }
.site-intro__fill { background: #41e5ae; }
.site-intro__captions { color: #aab8b1; }
.fullscreen-menu__links a { color: #edf6f0; border-color: #2b4037; }
.fullscreen-menu__links a:first-child, .fullscreen-menu__links a:hover,
.fullscreen-menu__links a span, .fullscreen-menu__links a i { color: #55e4b1; }
.fullscreen-menu__close { background: #14251e; color: #6decbd; border-color: #335c47; }
.fullscreen-menu__close:hover { background: #254535; }
.fullscreen-menu__footer span { color: #a2b0a7; }
.plan-details.plan-details--self { background: #0b1211; color: #eef5f0; border-color: #41614f; }
.plan-details--self .plan-details__header h2::before,
.plan-details--self .plan-details__price::before { color: #6eddad; }
.plan-details--self .plan-details__subtitle,
.plan-details--self .plan-details__period,
.plan-details--self .plan-details__usd { color: #a8b6ad; }
.plan-details--self .plan-details__price { background: #13251b; border-color: #345b44; box-shadow: none; }
.plan-details--self .plan-details__uah { color: #52e8af; }
.plan-details--self .plan-details__close { background: #16281f; border-color: #335a44; color: #79e9b7; }
.plan-self-intro, .plan-self-group li, .plan-self-note { color: #acb9b0; }
.plan-self-intro strong, .plan-self-note strong { color: #f0f6f2; }
.plan-self-group { background: #111b17; border-color: #2b4236; }
.plan-self-group > i { background: #183b29; color: #5ee5aa; }
.plan-self-note { border-color: #3a7050; }
.plan-details--self .plan-details__cta { background: #40e7b7; color: #06170e; }
.plan-details--self .plan-details__cta:hover { background: #74f5ca; }
@keyframes scroll-ring { 50% { box-shadow: 0 0 0 8px #4de3b40c, 0 0 0 17px #4de3b406; } }
@keyframes dark-premium-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 16px #39efb912, 0 0 0 0 #46f0c000; }
  50% { transform: scale(1.012); box-shadow: 0 0 32px #39efb938, 0 0 0 4px #46f0c014; }
}
@media (min-width: 761px) {
  .site-header { padding: 0 4rem; height: 7rem; }
  .hero { height: 900px; }
  .hero-scene { left: auto; right: 0; width: 67%; object-fit: contain; object-position: right center; }
  .hero-copy { top: 12rem; left: 4rem; right: auto; width: 70%; }
  h1 { font-size: clamp(76px,8vw,112px); }
  .hero-bottom { left: 4rem; right: auto; width: 45%; bottom: 4rem; }
  .hero-pillars { gap: 1rem; }
  .hero-pillars a { gap: .6rem; font-size: .9rem; }
  .hero-pillars a + a { padding-left: 1rem; }
  .hero-pillars i { font-size: 1.6rem; }
  .section { padding-left: 4rem; padding-right: 4rem; }
  .features { padding-top: 7rem; background-size: 100% auto; }
  .features-intro { margin-bottom: 4rem; }
  .features h2 { font-size: 5rem; }
  .features .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 4rem 2rem; }
  .feature-copy h3 { font-size: 2.4rem; }
  .feature-copy p { font-size: 1.15rem; }
  .feature-copy { grid-template-columns: 4rem minmax(0,1fr); gap: .4rem 1rem; }
  .round-icon { width: 4rem; height: 4rem; font-size: 2.2rem; }
  .exercise { grid-template-columns: 5.5rem minmax(0,1fr) 1rem; gap: 1rem; }
  .exercise img { width: 5.5rem; height: 5.5rem; }
  .exercise b { font-size: 1.2rem; }
  .macro-row { gap: 1.4rem; margin-left: .4rem; margin-right: .4rem; }
  .calorie-ring { flex-basis: 7rem; width: 7rem; height: 7rem; }
  .calorie-ring b { font-size: 2rem; }
  .macro-row li { font-size: 1.3rem; }
  .food-photo { height: 16rem; }
  .progress-card { grid-column: 1 / -1; width: 75%; margin: 0 auto; }
  .support { padding-top: 4rem; }
  .support .feature-grid { grid-template-columns: minmax(0,1fr); max-width: 720px; margin-inline: auto; gap: 2rem; }
  .support h3 { font-size: 2rem; }
  .support .feature-copy p { font-size: 1.1rem; }
  .support .feature-copy { grid-template-columns: 4rem minmax(0,1fr); gap: .4rem 1rem; min-height: 6rem; }
  .support .feature-copy > .round-icon { width: 4rem; height: 4rem; }
  .ai-ui { grid-template-columns: 3rem minmax(0,1fr); padding: 1.4rem; }
  .ai-avatar { width: 3rem; height: 3rem; font-size: 1.8rem; }
  .question, .coach-bubble { font-size: 1.1rem; }
  .coach-message { padding: 1.4rem; gap: .8rem; }
  .coach-avatar { flex-basis: 3rem; width: 3rem; height: 3rem; }
  .benefit-strip { display: flex; justify-content: space-between; gap: 1rem; }
  .benefit-strip > span { font-size: 1rem; gap: 1rem; }
  .benefit-strip > span + span { border: 0; }
  .benefit-strip i { width: 2rem; font-size: 2rem; }
  .how { padding-top: 5rem; }
  .steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; padding: 0; }
  .steps li { grid-template-columns: 4.5rem minmax(0,1fr); gap: 1rem; }
  .steps li > span { font-size: 4rem; }
  .steps li > i { width: 4rem; height: 4rem; font-size: 2rem; }
  .steps li b { grid-column: 1 / -1; font-size: 1.5rem; }
  .steps li::after { display: none; }
  .pricing, .final-cta { max-width: 960px; margin: auto; }
  footer { margin: 0 4rem; }
}
/* Fit the opening screen with mobile browser toolbars expanded.
   svh stays stable when Safari collapses its bottom toolbar on scroll. */
@media (max-width: 760px) {
  .hero {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }
  .hero-scene {
    top: 14rem;
    height: calc(100% - 14rem);
    min-height: 0;
    object-position: center top;
    mask-image: linear-gradient(transparent, #000 4rem);
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 55% 0 0;
    background: linear-gradient(transparent, #070b0c80 55%, #070b0ce6);
    pointer-events: none;
    z-index: 0;
  }
  .hero-copy, .hero-bottom { z-index: 1; }
  .hero-bottom { bottom: max(18px, env(safe-area-inset-bottom, 0px)); }
  .hero-pillars { margin-bottom: clamp(18px, 3svh, 30px); }
  .scroll-cue { gap: 12px; }
  .scroll-cue span { width: 48px; height: 48px; }
}
@media (max-width: 359px) {
  .hero-pillars a { gap: .6rem; font-size: 1rem; }
  .hero-pillars a + a { padding-left: .8rem; }
  .support { padding-left: 2rem; padding-right: 2rem; }
  .support .feature-copy { gap: .6rem 1rem; grid-template-columns: 4.5rem minmax(0,1fr); }
  .support .feature-copy > .round-icon { width: 4.5rem; height: 4.5rem; }
  .support h3 { font-size: 2.45rem; }
  .steps li { grid-template-columns: 7rem 4.7rem minmax(0,1fr); }
  .steps b { font-size: 1.6rem; }
  .plan-copy > b { font-size: 2rem; }
}
/* Desktop layout. Mobile styles above remain the source of truth below 761px. */
@media (min-width: 761px) {
  :root { --desktop-inset: max(48px, calc((100vw - 1360px) / 2)); }
  .page-shell { max-width: none; }
  .site-header {
    left: var(--desktop-inset); right: var(--desktop-inset);
    height: 100px; padding: 0;
  }
  .wordmark { font-size: 1.75rem; }
  .hero {
    height: clamp(680px, 88svh, 920px);
    overflow: hidden;
    background: radial-gradient(ellipse at 72% 44%, #17322935, transparent 48%), #070b0c;
  }
  .hero-scene {
    top: 0; bottom: 0; left: auto; right: 0;
    width: min(56vw, 930px); height: 100%;
    object-fit: cover; object-position: center 25%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24%);
    mask-image: linear-gradient(to right, transparent, #000 24%);
  }
  .hero-copy {
    top: clamp(158px, 21vh, 235px); left: var(--desktop-inset);
    right: auto; width: min(52vw, 700px); z-index: 1;
  }
  .hero h1 { font-size: clamp(58px, 6.4vw, 104px); line-height: .98; }
  .hero-bottom {
    left: var(--desktop-inset); right: var(--desktop-inset);
    bottom: clamp(34px, 6vh, 72px); width: auto;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
    z-index: 1;
  }
  .hero-pillars { width: min(56%, 690px); margin: 0; gap: 16px; }
  .hero-pillars a { gap: 10px; font-size: 1rem; white-space: nowrap; }
  .hero-pillars a + a { padding-left: 18px; }
  .hero-pillars i { font-size: 1.8rem; }
  .scroll-cue { margin: 0 20px 0 0; gap: 12px; }
  .section { padding-left: var(--desktop-inset); padding-right: var(--desktop-inset); }
  .features { padding-top: 112px; padding-bottom: 96px; }
  .features::before, .support::before {
    background-size: cover; background-position: center top;
    filter: blur(8px) brightness(.42);
  }
  .features-intro, .features .feature-grid, .support .feature-grid,
  .benefit-strip, .steps, .pricing h2, .plans {
    max-width: 1360px; margin-left: auto; margin-right: auto;
  }
  .features-intro { margin-bottom: 54px; }
  .features h2 { font-size: clamp(56px, 5vw, 82px); }
  .features .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px; align-items: stretch;
  }
  .features .feature-card {
    display: flex; flex-direction: column; min-width: 0;
    padding: 28px; border: 1px solid #446d5d;
    border-radius: 26px; background: #0a1111df;
    box-shadow: inset 0 0 28px #44e3a708;
  }
  .features .feature-copy { margin: 0 0 24px; }
  .features .mini-ui { flex: 1; }
  .progress-card { grid-column: 1 / -1; width: min(100%, 680px); }
  .feature-copy h3 { font-size: clamp(30px, 2.6vw, 40px); }
  .feature-copy p { font-size: 1.1rem; }
  .support { padding-top: 72px; padding-bottom: 82px; }
  .support .feature-grid { max-width: 720px; }
  .support h3 { font-size: 2.25rem; }
  .support .feature-copy p { font-size: 1.15rem; }
  .support .feature-copy { min-height: auto; }
  .coach-message { padding: 24px; gap: 16px; }
  .coach-avatar { flex-basis: 64px; width: 64px; height: 64px; }
  .coach-bubble { font-size: 1.1rem; }
  .benefit-strip { margin-top: 44px; }
  .benefit-strip > span { font-size: 1.1rem; }
  .how { padding-top: 88px; padding-bottom: 92px; }
  .how h2 { max-width: 1360px; margin-left: auto; margin-right: auto; }
  .steps { gap: 34px; }
  .pricing { max-width: none; padding-top: 88px; }
  .pricing h2 { margin-bottom: 52px; }
  .plans { max-width: 900px; }
  .final-cta {
    width: min(500px, calc(100% - 2 * var(--desktop-inset)));
    max-width: 500px; padding: 62px 0 90px;
  }
  footer {
    max-width: 1360px; margin: 0 var(--desktop-inset);
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
  }
  footer nav { margin-top: 0; }
  .plan--featured { animation: desktop-premium-glow 3s ease-in-out infinite; }
}
@media (min-width: 1100px) {
  .support { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
  .support .feature-grid { width: 100%; max-width: none; }
  .benefit-strip { display: block; width: 100%; max-width: none; margin-top: 0; padding: 10px 28px; }
  .benefit-strip > span { min-height: 74px; gap: 18px; }
  .benefit-strip > span + span { border: 0; border-top: 1px solid #3b5049; }
  .plans { max-width: 1360px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
  .plan, .plan:not(.plan--featured) {
    width: 100%; min-height: 270px; margin: 0;
    padding: 28px; border-radius: 22px;
    grid-template-columns: minmax(0, 1fr) 48px;
  }
  .plan--featured { width: 100%; margin: 0; padding: 28px; }
  .plan-copy > b, .plan--featured .plan-copy > b { font-size: clamp(1.5rem, 2vw, 2rem); }
  .plan-copy .plan-price-uah, .plan--featured .plan-price-uah { font-size: clamp(1.65rem, 2.1vw, 2.4rem); }
  .plan-copy .plan-price-period { font-size: 1rem; }
  .plan-hint { align-self: end; }
}
@media (min-width: 1380px) {
  .features .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .progress-card { grid-column: auto; width: 100%; }
  .workout-ui { display: flex; flex-direction: column; justify-content: space-between; }
  .progress-ui { display: flex; flex-direction: column; justify-content: center; }
  .food-photo { height: 13rem; }
}
@keyframes desktop-premium-glow {
  0%, 100% { box-shadow: 0 0 16px #39efb912, 0 0 0 0 #46f0c000; }
  50% { box-shadow: 0 0 32px #39efb938, 0 0 0 4px #46f0c014; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue span, .plan--featured, .final-cta a { animation: none; }
}
