/*
 * FitFreakk - global styles (custom CSS, served by Propshaft; no build step).
 * Sections: tokens > base > layout > header > hero > sections > cards > cta/footer > pages > responsive
 */

/* ---------- Tokens ---------- */
:root {
  --g-900: #0a4a26;
  --g-800: #0f5f31;
  --g-700: #167a3c;
  --g-600: #1e7a37;
  --lime: #6fc65b;
  --mint: #eef6ef;
  --mint-2: #dcefdf;
  --ink: #0f1a14;
  --muted: #5b6b62;
  --line: #e3ece5;
  --white: #fff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 60, 30, .07);
  --shadow-md: 0 12px 30px rgba(15, 60, 30, .12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --section-y: 72px;       /* vertical rhythm between sections */
  --course-img-ratio: 1 / 1; /* change to 4 / 3 for shorter course cards */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.icon { flex: none; }
.icon--fill { fill: currentColor; }
.hide-sm { display: inline; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1800px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: 40px; }
.section--mint { background: var(--mint); }
.section--page { min-height: 60vh; }
.section--cta { padding-block: 24px var(--section-y); }
.section__head { text-align: center; margin: 0 auto 44px; max-width: 760px; }
.section__head--sm { margin-bottom: 28px; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.section__title span { color: var(--g-600); }
.section__title--green { color: var(--g-600); font-size: clamp(2rem, 4vw, 2.8rem); }
.section__title--sm { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.section__sub { margin-top: 12px; color: var(--muted); font-size: 1.02rem; }
.section__more { text-align: center; margin-top: 36px; }

/* ---------- Buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: .92rem; line-height: 1.2; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav__link:focus-visible, .icon-btn:focus-visible { outline: 2px solid var(--g-600); outline-offset: 3px; }
.btn--primary { background: var(--g-600); color: #fff; box-shadow: 0 6px 16px rgba(30, 122, 55, .3); }
.btn--primary:hover { background: var(--g-800); }
.btn--white { background: #fff; color: var(--g-800); }
.btn--white:hover { box-shadow: var(--shadow-md); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.btn--outline { border-color: var(--g-600); color: var(--g-600); background: #fff; }
.btn--outline:hover { background: var(--g-600); color: #fff; }
.btn--sm { padding: 8px 12px; font-size: .8rem; border-radius: 8px; }
.btn--lg { padding: 14px 30px; font-size: .95rem; letter-spacing: .04em; }
.btn--block { width: 100%; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 8px; font-size: .74rem; font-weight: 700; }
.pill--dark { background: rgba(60, 120, 70, .45); color: #d7f5d5; border: 1px solid rgba(255,255,255,.08); }
.pill--soft { background: var(--mint-2); color: var(--g-800); letter-spacing: .08em; margin-bottom: 14px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 60, 30, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { flex: none; width: auto; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: .62rem; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav__link { font-size: .9rem; font-weight: 700; padding: 6px 0; position: relative; white-space: nowrap; transition: color .2s; }
.nav__link:hover { color: var(--g-600); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--g-600); transform: scaleX(0); transition: transform .25s; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; display: grid; place-items: center; border-radius: 50%; color: var(--g-800); transition: color .2s, transform .2s; }
.icon-btn .profile-icon { width: 36px; height: 36px; }
.icon-btn:hover { color: var(--g-600); transform: translateY(-1px); }
.cart__badge { position: absolute; top: -8px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--g-800); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 0; }
.hero__card { position: relative; overflow: hidden; border-radius: 24px; background: #070a08; color: #fff; padding: 64px 56px 128px; min-height: 600px; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; }
.hero__img { width: 100%; height: 130%; object-fit: cover; object-position: left center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070a08 0%, rgba(7,10,8,.72) 24%, rgba(7,10,8,0) 62%), linear-gradient(0deg, rgba(7,10,8,.55), transparent 35%); }
.hero__content { position: relative; z-index: 2; max-width: 560px; }
.hero h1 { margin-top: 22px; font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
.hero h1 span { display: block; color: var(--lime); }
.hero__lead { margin-top: 20px; color: rgba(255,255,255,.88); font-size: 1rem; }
.hero__features { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 24px; }
.hero__features li { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; line-height: 1.25; color: rgba(255,255,255,.9); }
.hero__features .icon { color: var(--lime); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__floats { position: absolute; z-index: 2; right: 32px; top: 64px; display: flex; flex-direction: column; gap: 22px; width: 236px; }
.float-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.float-card--offset { margin-left: -14px; }
.float-card__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--g-600); display: grid; place-items: center; flex: none; }
.float-card strong { display: block; font-size: .84rem; font-weight: 800; line-height: 1.2; }
.float-card small { display: block; margin-top: 2px; font-size: .72rem; color: var(--muted); }

.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); margin: -62px 40px 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md); padding: 22px 12px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 10px; color: var(--g-700); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--g-800); line-height: 1.2; }
.stat small { display: block; font-size: .74rem; color: var(--muted); font-weight: 600; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.steps__arrow { color: var(--g-600); }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--mint-2); }
.step__tag { position: absolute; top: -13px; left: 20px; background: var(--g-800); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 14px; border-radius: 99px; }
.step__main { display: flex; align-items: flex-start; gap: 16px; }
.step__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--g-800); color: #fff; display: grid; place-items: center; flex: none; transition: transform .3s; }
.step:hover .step__icon { transform: scale(1.08) rotate(-4deg); }
.step h3 { font-size: 1rem; font-weight: 800; }
.step p { margin-top: 6px; font-size: .84rem; color: var(--muted); }

/* ---------- Categories ---------- */
.categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; }
.category { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 92px; text-align: center; }
.category__image { width: 76px; height: 76px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; object-fit: cover; transition: transform .25s, box-shadow .25s; }
.category:hover .category__image { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category__label { font-size: .78rem; font-weight: 700; line-height: 1.25; }

/* ---------- Course cards (small, square) ---------- */
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.course { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course__media { position: relative; aspect-ratio: var(--course-img-ratio); overflow: hidden; background: var(--mint-2); }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course:hover .course__media img { transform: scale(1.06); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--g-600); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.course__body { padding: 14px 14px 10px; flex: 1; }
.course__rating { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--muted); }
.stars { display: inline-flex; gap: 1px; color: #f5a623; }
.course__title { margin-top: 6px; font-size: .98rem; font-weight: 800; color: var(--g-800); line-height: 1.3; }
.course__meta { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--g-600); font-weight: 600; }
.course__by { margin-top: 6px; font-size: .74rem; color: var(--muted); line-height: 1.4; }
.course__by strong { color: var(--g-600); font-weight: 600; }
.course__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); background: #fafcfa; }
.price strong { font-size: .95rem; font-weight: 800; }
.price s { font-size: .74rem; color: var(--muted); margin-left: 2px; }

/* ---------- Why 1:1 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why__head { display: flex; align-items: center; gap: 12px; padding: 20px 20px 0; }
.why__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--mint-2); color: var(--g-800); display: grid; place-items: center; flex: none; }
.why h3 { font-size: 1rem; font-weight: 800; color: var(--g-800); line-height: 1.25; }
.why p { padding: 12px 20px 0; font-size: .82rem; color: var(--muted); }
.why__photo { position: relative; margin-top: auto; padding-top: 16px; }
.why__photo img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
.why__pill { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); padding: 10px 12px; border-radius: 12px; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.why__check { width: 22px; height: 22px; border-radius: 50%; background: var(--g-700); color: #fff; display: grid; place-items: center; flex: none; }

/* ---------- Second banner ---------- */
.banner2 { position: relative; max-width: 1800px; margin-inline: auto; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.banner2 img { width: 100%; height: auto; }
.banner2__hit { position: absolute; border-radius: 10px; }
.banner2__hit--book { left: 6.2%; top: 68.5%; width: 16.6%; height: 9.5%; }
.banner2__hit--explore { left: 23.6%; top: 68.5%; width: 13.8%; height: 9.5%; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 18px; padding: 64px 24px; text-align: center; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #0f6a38 0%, var(--g-900) 55%, #06361c 100%); }
.cta::before { content: ""; position: absolute; left: 24px; top: 34px; width: 64px; height: 40px; background-image: radial-gradient(rgba(255,255,255,.35) 1.2px, transparent 1.4px); background-size: 12px 12px; }
.cta__img { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 42%; object-fit: cover; opacity: .55; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.cta__body { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
.cta p { margin-top: 8px; color: rgba(255,255,255,.9); }
.cta .btn { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1.2fr; gap: 0; padding-block: 48px 40px; }
.footer__grid > div { padding-inline: 32px; }
.footer__grid > div:first-child { padding-left: 0; }
.footer__grid > div + div { border-left: 1px solid var(--line); }
.footer__wordmark { margin-top: 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); }
.footer__wordmark span { color: var(--g-800); }
.footer__rule { display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--g-600); margin: 10px 0 14px; }
.footer__brand p { font-size: .84rem; color: var(--muted); max-width: 270px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 32px; height: 32px; border-radius: 50%; background: var(--g-800); color: #fff; display: grid; place-items: center; transition: transform .2s, background .2s; }
.social a:hover { background: var(--g-600); transform: translateY(-2px); }
.footer__col h3 { font-size: .9rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--g-800); position: relative; padding-bottom: 12px; margin-bottom: 8px; }
.footer__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--g-600); }
.footer__col li { padding: 11px 0; font-size: .86rem; }
.footer__col li + li { border-top: 1px solid var(--line); }
.footer__col li a { display: flex; align-items: center; gap: 12px; color: #2b3a31; transition: color .2s, transform .2s; }
.footer__col li a:hover { color: var(--g-600); transform: translateX(3px); }
.footer__col li a .icon { color: var(--g-700); }
.footer__col--contact li { display: flex; align-items: center; gap: 12px; border-top: 0 !important; padding: 8px 0; }
.chip { width: 30px; height: 30px; border-radius: 8px; background: var(--mint-2); color: var(--g-800); display: grid; place-items: center; flex: none; }
.footer__bar { background: var(--g-900); color: #fff; }
.footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; font-size: .8rem; }
.footer__copy { display: flex; align-items: center; gap: 10px; }
.shield { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--g-800); display: grid; place-items: center; }
.footer__power b { color: #8be07f; font-weight: 600; }

/* ---------- Content pages ---------- */
.prose { color: #2b3a31; font-size: 1.02rem; }
.prose p + p, .prose p + h2 { margin-top: 18px; }
.prose h2 { font-size: 1.15rem; font-weight: 800; color: var(--g-800); margin-bottom: 6px; }
.prose h3 { margin-top: 22px; font-size: 1rem; font-weight: 800; color: var(--ink); }
.prose ul { margin: 8px 0 18px; padding-left: 1.35rem; list-style: disc; }
.prose li { padding-left: .25rem; }
.prose ul + h2, .prose div + h2, .prose dl + p, .prose-box + .prose-box, .prose-box + .prose-note, .prose-table + .prose-note { margin-top: 18px; }
.prose p + ul { margin-top: 8px; }
.prose h2:not(:first-child) { margin-top: 30px; }
.prose a.prose__strong, .prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--g-800); } .prose a:hover { text-decoration: underline; }
.prose-note { font-size: .88rem; color: var(--muted); }
.prose-table { margin-top: 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .95rem; }
.prose-table th, .prose-table td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--line); }
.prose-table thead th { border-top: 0; background: var(--g-800); color: #fff; font-weight: 700; }
.prose-table tbody th, .prose-table tfoot th { font-weight: 700; color: var(--ink); }
.prose-table tfoot th, .prose-table tfoot td { background: var(--mint); font-weight: 700; color: var(--ink); }
.prose-box { margin-top: 12px; padding: 18px 20px; border: 1.5px solid; border-radius: 12px; }
.prose-box h3 { margin: 0 0 8px; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; color: var(--g-800); }
.prose-box ul { margin-bottom: 10px; }
.prose-box--green { border-color: #2f8a4c; background: #eef8f0; }
.prose-box--amber { border-color: #e6b740; background: #fff7e2; }
.prose-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--mint); }
.prose-contact dt { font-weight: 700; color: var(--ink); }
.prose-contact dd { margin: 2px 0 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .prose-contact { grid-template-columns: 1fr; } }
.faq-group + .faq-group { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.faq-group h2 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 800; color: var(--g-800); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; color: var(--ink); font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; color: var(--g-700); font-size: 1.25rem; font-weight: 500; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 36px 16px 0; color: var(--muted); }
.faq-item summary:focus-visible { outline: 2px solid var(--g-600); outline-offset: 4px; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact__info li { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .84rem; font-weight: 700; }
.form input, .form textarea { width: 100%; font: inherit; font-weight: 500; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--g-600); box-shadow: 0 0 0 3px rgba(30,122,55,.15); }
.auth { max-width: 440px; margin: 0 auto; padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.auth h1 { font-size: 1.7rem; font-weight: 800; }
.auth h1 span { color: var(--g-600); }
.auth__sub { margin: 6px 0 24px; color: var(--muted); font-size: .92rem; }
.auth__alt { margin-top: 20px; text-align: center; font-size: .88rem; color: var(--muted); }
.auth__alt a { color: var(--g-600); font-weight: 700; }

/* ---------- Scroll reveal (replaces old card animation) ---------- */
/* .reveal is added by reveal_controller only to below-the-fold elements, then removed once shown,
   so the doubled class just has to outrank component transitions while it is running. */
.reveal.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.reveal--in { opacity: 1; transform: none; }
/* keep hover-lift working once revealed */
.reveal--in.step:hover, .reveal--in.course:hover, .reveal--in.why:hover { transform: translateY(-6px); transition-delay: 0s; }

/* card hover-lift, as on the home page, for the cards on the other pages */
.pcard, .plans-faq li, .plans-step, .ab-purpose__list li, .ab-steps li, .ct-qa, .ct-strip__item, .hw-why__item, .ht-plan, .ht-svc, .ht-list li, .faq-item { transition: transform .3s cubic-bezier(.2, .7, .3, 1), box-shadow .3s ease, background-color .3s ease; }
@media (hover: hover) {
  .pcard:hover, .ht-plan:hover, .ht-svc:hover, .ct-qa:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 70, 40, .13); }
  .plans-faq li:hover, .plans-step:hover, .ab-steps li:hover, .ct-strip__item:hover, .hw-why__item:hover { transform: translateY(-4px); }
  .ab-purpose__list li:hover, .ht-list li:hover { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 26px; }
  .why-grid, .course-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps__arrow { justify-self: center; transform: rotate(90deg); }
  .step { margin-top: 10px; }
  .footer__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer__grid > div:nth-child(odd) { padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --section-y: 56px; }
  .site-header__inner { height: 68px; flex-wrap: wrap; }
  .brand__text small { display: none; }
  .nav { order: 3; width: 100%; justify-content: space-between; gap: 20px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav__link { font-size: .84rem; }
  .site-header__inner { height: auto; padding-block: 12px 0; }
  .hero__card { padding: 44px 28px 100px; min-height: 0; }
  .hero__media { width: 100%; opacity: .5; }
  .hero__floats { position: relative; right: auto; top: auto; width: 100%; margin-top: 32px; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .float-card { flex: 1 1 200px; }
  .float-card--offset { margin-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-inline: 12px; row-gap: 16px; }
  .stat + .stat { border-left: 0; }
  .stat { justify-content: flex-start; padding-left: 16px; }
  .cta__img { opacity: .25; max-width: 70%; }
  .contact { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .course-grid { gap: 12px; }
  .course__body { padding: 10px; }
  .course__title { font-size: .86rem; }
  .course__foot { flex-direction: column; align-items: stretch; }
  .why-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > div { padding-inline: 0 !important; border-left: 0 !important; }
  .footer__bar-inner { flex-direction: column; padding-block: 14px; }
  .pulse-line { display: none; }
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

.journey__page-title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#how-it-works { padding-block: 28px 72px; background: linear-gradient(180deg, #f4f8f5 0, #fff 34%); }
.journey { max-width: 1520px; }
.journey__intro { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 430px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.journey__intro-copy { align-self: center; padding: 48px clamp(24px, 4vw, 64px); }
.journey__eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--g-700); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.journey__eyebrow::before { width: 28px; height: 2px; background: var(--g-600); content: ""; }
.journey__intro h2 { margin-top: 18px; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 800; line-height: 1.08; }
.journey__intro h2 span, .journey__section-head h2 span { color: var(--g-700); }
.journey__intro-copy > p { max-width: 480px; margin-top: 16px; color: var(--muted); font-size: .98rem; }
.journey__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.journey__hero-image { position: relative; min-height: 360px; overflow: hidden; }
.journey__hero-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.2), transparent 35%), linear-gradient(0deg, rgba(7,43,25,.22), transparent 45%); content: ""; pointer-events: none; }
.journey__hero-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 42%; }
.journey__message { position: absolute; z-index: 1; right: 24px; top: 24px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-md); font-size: .84rem; line-height: 1.3; }
.journey__message-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mint-2); color: var(--g-800); }
.journey__section-head { margin: 48px 0 24px; text-align: center; }
.journey__section-head .journey__eyebrow { justify-content: center; }
.journey__section-head h2 { margin-top: 10px; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; line-height: 1.2; }
.journey__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.journey-step { display: flex; flex-direction: column; min-width: 0; padding: 16px 16px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.journey-step__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.journey-step__number { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--g-800); color: #fff; font-size: 1rem; font-weight: 800; }
.journey-step__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--mint-2); color: var(--g-800); }
.journey-step h3, .journey-share h3 { font-size: 1.03rem; font-weight: 800; line-height: 1.3; }
.journey-step > p, .journey-share__copy > p { margin-top: 6px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.journey-step__image { width: 100%; aspect-ratio: 1.3 / 1; margin-top: 14px; border-radius: 8px; object-fit: cover; }
.journey-step__link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 14px; color: var(--g-700); font-size: .79rem; font-weight: 800; }
.journey-step__link::after { content: "→"; transition: transform .2s; }
.journey-step__link:hover::after { transform: translateX(3px); }
.journey-step--confirm { background: linear-gradient(180deg, #fff, #f3f8f4); }
.journey-confirmation { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 160px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.journey-confirmation > span { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 50%; background: var(--g-700); color: #fff; }
.journey-confirmation strong { font-size: .92rem; }
.journey-confirmation small { margin-top: 4px; color: var(--muted); font-size: .72rem; }
.journey-share { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; align-items: center; margin-top: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(100deg, #f2f8f4, #fff 70%); }
.journey-share__copy { max-width: 450px; }
.journey-share__visuals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.journey-share__visuals figure { position: relative; min-width: 0; min-height: 230px; overflow: hidden; border-radius: 8px; background: #e5efe8; }
.journey-share__visuals img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 35%; }
.journey-share__visuals figure:nth-child(2) img { object-fit: contain; object-position: center bottom; background: linear-gradient(180deg, #d9eee0, #f8fbf8); }
.journey-share__visuals figcaption { position: absolute; right: 8px; bottom: 8px; left: 8px; padding: 8px 10px; border-radius: 6px; background: rgba(255,255,255,.94); font-size: .76rem; font-weight: 800; }
.journey-benefits { padding-block: 34px; border-bottom: 1px solid var(--line); }
.journey-benefits > h2 { margin-bottom: 20px; text-align: center; font-size: 1rem; font-weight: 800; text-transform: uppercase; color: var(--g-800); }
.journey-benefits__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.journey-benefits__grid > div { display: flex; align-items: center; gap: 10px; }
.journey-benefits__grid > div > span { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--mint-2); color: var(--g-800); }
.journey-benefits__grid p strong, .journey-benefits__grid p small { display: block; }
.journey-benefits__grid p strong { font-size: .79rem; line-height: 1.35; }
.journey-benefits__grid p small { margin-top: 3px; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.journey-cta { position: relative; display: flex; min-height: 290px; align-items: center; margin-top: 28px; padding: 38px clamp(24px, 5vw, 64px); overflow: hidden; border-radius: 12px; background: #073c25; color: #fff; }
.journey-cta::after { position: absolute; inset: 0; background: linear-gradient(90deg, #073c25 0%, rgba(7,60,37,.97) 40%, rgba(7,60,37,.3) 100%); content: ""; }
.journey-cta__copy { position: relative; z-index: 1; max-width: 650px; }
.journey-cta__copy .journey__eyebrow { color: #9cdda4; }
.journey-cta h2 { margin-top: 12px; font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.journey-cta h2 span { color: #9cdda4; }
.journey-cta__copy > p { margin-top: 10px; color: rgba(255,255,255,.82); font-size: .9rem; }
.journey-cta__image { position: absolute; top: 0; right: 0; width: 54%; height: 100%; object-fit: cover; object-position: center 38%; }
.journey-cta .btn--ghost-light { border-color: rgba(255,255,255,.7); }
@media (max-width: 1000px) {
  .journey__intro { grid-template-columns: 1fr 1fr; min-height: 360px; }
  .journey__intro-copy { padding: 30px 24px; }
  .journey__intro h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
  .journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  #how-it-works { padding-block: 16px 44px; }
  .journey__intro { grid-template-columns: 1fr; }
  .journey__intro-copy { padding: 30px 22px 22px; }
  .journey__intro h2 { font-size: 2.2rem; }
  .journey__hero-image { min-height: 260px; }
  .journey__message { right: 12px; top: 12px; }
  .journey__section-head { margin-top: 34px; }
  .journey__steps { grid-template-columns: 1fr; gap: 12px; }
  .journey-step { padding: 16px; }
  .journey-step__image { aspect-ratio: 1.6 / 1; }
  .journey-share { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .journey-share__visuals figure { min-height: 180px; }
  .journey-benefits__grid { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .journey-cta { min-height: 0; padding: 30px 22px; }
  .journey-cta__image { width: 100%; opacity: .24; }
  .journey-cta::after { background: linear-gradient(90deg, rgba(7,60,37,.98), rgba(7,60,37,.76)); }
  .journey__actions .btn { flex: 1 1 auto; }
}

/* Sign-in "profile under review" popup (login_notice_controller) */
.auth-modal { width: min(420px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(10, 40, 20, .25); }
.auth-modal::backdrop { background: rgba(10, 25, 15, .55); backdrop-filter: blur(2px); }
.auth-modal[open] { animation: auth-modal-in .25s ease-out; }
.auth-modal__body { padding: 32px 28px 24px; text-align: center; }
.auth-modal__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 50%; background: var(--mint); color: var(--g-600); }
.auth-modal h2 { margin: 0 0 10px; font-size: 1.3rem; font-weight: 800; }
.auth-modal p { margin: 0 0 24px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.auth-modal__actions { display: grid; gap: 14px; }
.auth-modal__link { color: var(--g-600); font-size: .88rem; font-weight: 700; }
.auth-modal__link:hover { text-decoration: underline; }
@keyframes auth-modal-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@media (prefers-reduced-motion: reduce) { .auth-modal[open] { animation: none; } }
