/* The home page (spec 009 · NFR-1). Only what the shared pages.css and
   atlas.css lack: the cards, the numbers, the lists. Same tokens, no new fonts. */

.hm-wrap { max-width: 1040px; }
.hm-hero { padding-top: 8px; }

/* The 7-day landing's wordmark (remix-2.css), on this page's tokens. */
.hm-wrap .tv-hero-wordmark {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em;
  margin: 14px 0 6px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(72px, 17vw, 200px); line-height: 0.8; letter-spacing: -0.03em;
}
.hm-wrap .tv-hero-wordmark .t1 { color: transparent; -webkit-text-stroke: 1.6px rgba(246, 244, 240, 0.85); }
.hm-wrap .tv-hero-wordmark .t2 { color: var(--tv-accent); -webkit-text-fill-color: var(--tv-accent); text-shadow: 0 0 70px rgba(230, 0, 18, 0.5); }
@media (max-width: 700px) { .hm-wrap .tv-hero-wordmark { flex-direction: column; gap: 0; line-height: 0.84; font-size: clamp(64px, 24vw, 110px); } }

.hm-hero-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .hm-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; } }

/* The intro clip, as on the landing (remix-5-refine.css): poster until pressed. */
.hm-intro { position: relative; overflow: hidden; background: #060607; box-shadow: inset 0 0 0 1px rgba(246, 244, 240, 0.1); }
.hm-intro video, .hm-intro img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 40%; }
.hm-intro .tv-hero-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding-top: 34%; border: 0; cursor: pointer; color: var(--fg);
  background: linear-gradient(180deg, transparent 45%, rgba(6, 6, 7, 0.85) 100%);
}
.hm-intro .tv-hero-play[hidden] { display: none; }
.hm-intro .ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%; padding-left: 3px;
  border: 1px solid rgba(246, 244, 240, 0.32); background: rgba(6, 6, 7, 0.5);
  font-size: 16px;
}
.hm-intro .tv-hero-play:hover .ring { border-color: var(--tv-accent); background: rgba(230, 0, 18, 0.25); }
.hm-intro .lbl { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-muted); }
.hm-intro .dur { color: var(--fg-faint); }
.hm-wrap .hm-lead {
  margin: 18px 0 0; max-width: 32ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 32px); line-height: 1.2; color: var(--fg);
}
.hm-wrap .hm-big {
  margin: 0; max-width: 34ch;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.25; color: var(--fg);
}
.hm-h3 {
  margin: 30px 0 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--fg);
}
.hm-wrap .hm-lead { margin-bottom: 14px; }
.hm-wrap .hm-big { margin-bottom: 12px; }

/* The message, made to stand out with the site's one red accent (Roman's review). */
.hm-wrap .hm-red { color: var(--tv-accent); text-shadow: 0 0 40px rgba(230, 0, 18, 0.35); }
.hm-wrap .hm-hero .hm-red { white-space: nowrap; } /* the phrase stays on one line */
.hm-wrap .hm-hero .hm-lead {
  max-width: 26ch; margin-top: 22px; padding-left: 18px;
  border-left: 3px solid var(--tv-accent);
  font-size: clamp(26px, 3.8vw, 40px); line-height: 1.12; font-weight: 600;
}
.hm-wrap .hm-hero .atl-hero-title { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.06em; color: var(--fg-muted); margin-top: 6px; }
.hm-wrap .hm-big { color: var(--fg-muted); font-size: clamp(24px, 3.4vw, 36px); max-width: 30ch; }
.hm-wrap .hm-white { color: var(--fg); }
.hm-wrap p.hm-formula, body.has-ambient .hm-wrap p.hm-formula {
  display: inline-block; margin: 14px 0 6px; padding: 10px 16px;
  color: var(--tv-accent); font-weight: 500; letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 1px rgba(230, 0, 18, 0.55);
}
/* Bigger reading sizes (Roman's review): body 17–18 px, section titles as headings. */
.hm-wrap p, .hm-wrap li { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; }
.hm-wrap .atl-hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-muted); }
.hm-wrap .atl-h2 {
  margin: 0 0 20px; color: var(--fg);
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: 0.01em; line-height: 1.1;
}
.hm-wrap .atl-h2::before { content: ''; display: inline-block; width: 10px; height: 10px; margin: 0 14px 0.2em 0; background: var(--tv-accent); vertical-align: middle; }
.hm-wrap .atl-sec { margin-top: 72px; }
.hm-wrap .atl-weeks-list h3, .hm-wrap .hm-situations h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(19px, 1.8vw, 22px); letter-spacing: 0.01em; line-height: 1.2;
}
.hm-wrap .atl-weeks-list p, .hm-wrap .hm-situations p, .hm-wrap .hm-card p { font-size: clamp(15.5px, 1.3vw, 17px); }
.hm-wrap .hm-card h3 { font-size: clamp(22px, 2.2vw, 28px); }
.hm-wrap .hm-h3 { font-size: clamp(20px, 2vw, 24px); }
.hm-wrap .hm-disciplines li { font-size: clamp(16px, 1.4vw, 18px); }
.hm-wrap .hm-numbers span { font-size: 14.5px; }

.hm-wrap .hm-manifesto { color: var(--fg); font-size: clamp(28px, 4.4vw, 48px); max-width: 24ch; line-height: 1.12; }
.hm-wrap .atl-formula {
  margin: 4px 0 6px;
  font-family: var(--font-display); font-weight: 300; letter-spacing: 0.04em;
  font-size: clamp(20px, 3vw, 26px); line-height: 1.3; color: var(--tv-gold);
}
/* Numbered lists: the item's own «01» in a 44 px column, no browser number (bug 029, as before 17.10).
   Kept above the three-column rule below so it still wins on a computer. */
.atl-weeks-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .atl-weeks-list { grid-template-columns: 1fr 1fr; } }
.atl-weeks-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px; background: rgba(11, 11, 13, 0.6); box-shadow: inset 0 0 0 1px rgba(246, 244, 240, 0.08); }
.atl-wk-n { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--tv-accent); }
.atl-weeks-list h3 { margin: 0 0 6px; }
.atl-weeks-list p { margin: 0; color: var(--fg-muted); }
.hm-theses, .hm-steps { margin-top: 20px; }
@media (min-width: 900px) { .hm-theses, .hm-steps { grid-template-columns: 1fr 1fr 1fr; } }

.hm-wrap .hm-disciplines { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.hm-wrap .hm-disciplines li { font-size: 15.5px; line-height: 1.55; color: var(--fg-muted); }
.hm-disciplines strong { color: var(--fg); font-weight: 700; }

.hm-name {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.6vw, 44px); text-transform: uppercase; letter-spacing: 0.01em;
}
.hm-wrap .hm-role { margin: 6px 0 16px; color: var(--tv-gold); letter-spacing: 0.04em; }
.hm-wrap .hm-numbers {
  list-style: none; margin: 22px 0; padding: 0;
  display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) { .hm-wrap .hm-numbers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-wrap .hm-numbers li {
  padding: 18px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.hm-numbers b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 4vw, 36px); color: var(--tv-accent); line-height: 1.05;
}
.hm-wrap .hm-numbers span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--fg-muted); }

.hm-cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .hm-cards { grid-template-columns: 1fr 1fr; } }
.hm-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--tv-accent);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), 0 12px 32px -4px rgba(0, 0, 0, 0.45);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.hm-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  border-top-color: var(--tv-accent);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.24), 0 16px 40px -6px rgba(0, 0, 0, 0.6), 0 0 24px rgba(230, 0, 18, 0.15);
}
.hm-card h3 {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  color: #FFFFFF; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em;
}
.hm-wrap .hm-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #B4B4B0; }
.hm-card .pg-btn { margin-top: auto; align-self: flex-start; }
.hm-card button.pg-btn { cursor: pointer; }
.hm-wrap .hm-price { font-family: var(--font-display); font-size: 26px !important; font-weight: 700; color: #FFFFFF !important; }
.hm-state {
  align-self: flex-start; padding: 4px 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted); box-shadow: inset 0 0 0 1px rgba(246, 244, 240, 0.2);
}
.hm-state--live { color: var(--fg); box-shadow: inset 0 0 0 1px var(--tv-accent); }
.hm-state--soon { color: var(--tv-gold); box-shadow: inset 0 0 0 1px var(--tv-gold); }

.hm-lead-box { margin-top: 22px; }
.hm-lead-box .hm-h3 { margin-top: 0; }
.hm-form { max-width: 520px; }
.hm-wrap .hm-legal { margin: 4px 0 0; font-size: 13px; color: var(--fg-muted); }
.hm-legal a { color: var(--fg); }
/* People never see this field; bots fill it (FR-10). */
.hm-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hm-wrap .hm-thanks { font-size: 16px; }

.hm-wrap .hm-situations { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .hm-wrap .hm-situations { grid-template-columns: 1fr 1fr; } }
.hm-wrap .hm-situations li {
  padding: 18px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.hm-wrap .hm-situations li:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 12px 32px rgba(0, 0, 0, 0.45);
}
.hm-situations h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #FFFFFF; text-transform: uppercase; letter-spacing: 0.02em; }
.hm-wrap .hm-situations p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #B4B4B0; }

.hm-closing { text-align: left; }
.hm-closing a { color: var(--fg); }

/* Keyboard focus is always visible (NFR-2). */
.hm-wrap :is(button, a, input, textarea):focus-visible { outline: 2px solid var(--tv-gold); outline-offset: 3px; }

/* ── The course page «Голос без затисків» (spec 007, version 2) reuses this file ── */
.hm-wrap .hm-course-title { font-size: clamp(44px, 8vw, 96px); line-height: 0.95; margin-top: 16px; }
.hm-wrap .hm-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.hm-wrap .hm-ticks li { position: relative; padding-left: 28px; margin: 0; color: var(--fg); }
.hm-wrap .hm-ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--tv-accent); font-weight: 700; }
.hm-wrap .hm-ticks--big li { font-size: clamp(17px, 1.6vw, 20px); }
.hm-wrap .hm-offer-price { margin: 22px 0 0; font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); color: var(--fg); }
.hm-wrap .hm-offer-price s, .hm-wrap .hm-was { color: var(--fg-faint); font-weight: 400; margin-right: 10px; text-decoration-thickness: 2px; text-decoration-color: var(--tv-accent); }
.hm-wrap .hm-offer-price b { color: var(--tv-accent); font-weight: 700; }
.hm-wrap .hm-meta { margin-top: 14px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
@media (min-width: 900px) { .hm-steps--4 { grid-template-columns: 1fr 1fr !important; } }

.hm-program { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm-program > li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.09), 0 8px 24px rgba(0, 0, 0, 0.35);
  margin: 0;
}
.hm-program h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; text-transform: uppercase; color: #FFFFFF; }
.hm-wrap .hm-program ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.hm-wrap .hm-program ul li { margin: 0; font-size: clamp(15px, 1.3vw, 16.5px); color: #B4B4B0; }
.hm-wrap .hm-result { margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--tv-accent); color: var(--fg); font-size: clamp(15px, 1.3vw, 16.5px); }

.hm-before-after { display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .hm-before-after { grid-template-columns: 1fr 1fr; } }
.hm-before-after > div {
  padding: 20px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.09), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.hm-before-after .hm-after {
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(230, 0, 18, 0.55), 0 8px 24px rgba(230, 0, 18, 0.12);
}
.hm-before-after h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; }
.hm-before-after .hm-after h3 { color: var(--tv-accent); }
.hm-wrap .hm-before-after ul { margin: 0; padding-left: 18px; color: #B4B4B0; }

.hm-faq { display: grid; gap: 8px; }
.hm-faq details {
  padding: 16px 20px;
  background: var(--glass-tint);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.09), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.hm-faq details:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(0, 0, 0, 0.45);
}
.hm-faq summary { cursor: pointer; font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; color: #FFFFFF; }
.hm-faq summary::marker { color: var(--tv-accent); }
.hm-wrap .hm-faq p { margin: 12px 0 0; color: #B4B4B0; }

/* Narrow phones: the header keeps the logo on one line next to its button. */
@media (max-width: 480px) { .pg-nav .pg-logo .sub { display: none; } .pg-nav .pg-logo .name { white-space: nowrap; } }
