/* Главная: изолированная композиция без влияния на тесты и навигацию. */
body:has(#home.active) .container { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
body #home { height: auto; min-height: 0; }
.electric-home { max-width: 1080px; margin: 0 auto; padding: 12px 10px 20px; }
.eh-intro { padding: 24px 28px 28px; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; background: #171719; overflow: hidden; }
.eh-eyebrow { display: flex; align-items: center; gap: 8px; color: #a9a9ad; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.eh-status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.eh-intro h1 { margin: 18px 0 24px; font-size: clamp(26px,3vw,36px); line-height: 1.15; font-weight: 700; letter-spacing: -.04em; }
.eh-intro h1 br { display: none; }
.eh-intro h1 span { color: var(--accent); white-space: nowrap; }
.eh-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; }
.eh-visual { position: relative; background: #141416; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.045); }
.eh-visual img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.eh-visual-caption { display: flex; justify-content: space-between; gap: 8px; padding: 11px 14px; color: #969699; font-size: 8px; font-weight: 600; letter-spacing: .13em; border-top: 1px solid rgba(255,255,255,.06); }
.eh-visual-caption span:last-child { color: var(--accent); }
.eh-copy h2 { font-size: 24px; line-height: 1.12; letter-spacing: -.035em; margin: 0 0 12px; font-weight: 650; }
.eh-copy p { color: #aaaab0; font-size: 13px; line-height: 1.65; max-width: 430px; }
.eh-copy .eh-start { margin-top: 20px; }
.eh-levels { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 430px; margin: 18px 0; font-size: 8px; letter-spacing: .1em; color: #a9a9ad; }
.eh-levels div { display: flex; gap: 4px; flex: 1; min-width: 0; }
.eh-levels i { flex: 1; height: 4px; background: var(--accent); border-radius: 1px; }
.eh-levels i:nth-child(2) { opacity: .8; }.eh-levels i:nth-child(3) { opacity: .6; }.eh-levels i:nth-child(4) { opacity: .4; }.eh-levels i:nth-child(5) { opacity: .23; }
.eh-start { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 430px; min-height: 46px; padding: 10px 16px; border: 0; border-radius: 9px; background: var(--accent); color: #181818; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.eh-arrow { font-size: 22px; line-height: 1; }.eh-start:hover { background: #efd078; }.eh-start:active { background: #d9b44d; }
.eh-note { display: block; margin-top: 10px; color: #848489; font-size: 10px; line-height: 1.5; }
.eh-features { margin-top: 26px; }
.eh-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 2px 14px; }
.eh-section-heading h2 { font-size: 20px; letter-spacing: -.025em; font-weight: 650; }.eh-section-heading > span { color: #717177; font-size: 9px; letter-spacing: .11em; white-space: nowrap; }
.eh-feature-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.08); }
.eh-feature { display: flex; gap: 15px; padding: 19px 16px 19px 2px; border-bottom: 1px solid rgba(255,255,255,.07); }
.eh-feature > div { flex: 1; min-width: 0; }
.eh-feature:nth-child(even) { padding-left: 2px; border-left: none; }
.eh-feature:last-child { grid-column: 1 / -1; }
.eh-feature:last-child p { max-width: none; }
.eh-feature p { max-width: none; }
.eh-number { flex: 0 0 24px; color: var(--accent); font-size: 11px; line-height: 1.7; font-variant-numeric: tabular-nums; font-weight: 550; }
.eh-feature h3,.eh-donut h3 { font-size: 13px; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }.eh-feature p,.eh-donut p { color: #96969d; font-size: 11px; line-height: 1.6; max-width: none; }
.eh-donut { display: flex; gap: 15px; align-items: center; margin-top: 14px; padding: 17px 18px; border: 1px solid rgba(230,193,88,.16); border-radius: 12px; background: rgba(230,193,88,.025); }
.eh-donut > div { flex: 1; }.eh-donut p { max-width: 550px; }.eh-donut button { display: flex; align-items: center; gap: 9px; flex-shrink: 0; color: var(--accent); background: transparent; border: none; padding: 8px 0 8px 12px; font: inherit; font-size: 11px; cursor: pointer; }.eh-donut .icon { width: 16px; height: 16px; }
.electric-home button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (min-width: 641px) and (max-height: 850px) {
  .electric-home { padding-top: 0; }
  .eh-intro { padding: 18px 24px 20px; }
  .eh-intro h1 { margin: 12px 0 18px; }
  .eh-visual img { aspect-ratio: 2 / 1; }
  .eh-hero-grid { gap: 24px; }
  .eh-features { margin-top: 18px; }
  .eh-feature { padding-top: 13px; padding-bottom: 13px; }
  .eh-donut { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 640px) {
  .electric-home { padding: 2px 2px 16px; }.eh-intro { padding: 20px 18px; border-radius: 16px; }
  .eh-eyebrow { font-size: 8px; letter-spacing: .12em; }.eh-intro h1 { font-size: clamp(29px,7.8vw,43px); margin: 16px 0 20px; }
  .eh-intro h1 br { display: initial; }
  .eh-hero-grid { grid-template-columns: 1fr; gap: 18px; }.eh-visual img { aspect-ratio: 2.1 / 1; object-position: center 50%; }.eh-visual-caption { font-size: 7px; padding: 9px 11px; }
  .eh-copy h2 { font-size: 21px; }.eh-copy h2 br { display: none; }.eh-copy p { font-size: 12px; line-height: 1.65; max-width: none; }
  .eh-levels { margin: 15px 0; max-width: none; }.eh-levels div { max-width: none; }.eh-start { max-width: none; }.eh-note { font-size: 9px; }
  .eh-features { margin: 22px 7px 0; }.eh-section-heading { display: block; padding-bottom: 12px; }.eh-section-heading h2 { font-size: 18px; }.eh-section-heading > span { display: block; font-size: 8px; margin-top: 7px; }
  .eh-feature-grid { grid-template-columns: 1fr; }.eh-feature,.eh-feature:nth-child(even) { padding: 15px 0; border-left: none; gap: 13px; }.eh-feature h3,.eh-donut h3 { font-size: 12px; }.eh-feature p,.eh-donut p { font-size: 11px; max-width: none; }
  .eh-donut { flex-wrap: wrap; gap: 10px; padding: 14px 12px; }.eh-donut > div { flex-basis: calc(100% - 40px); }.eh-donut button { margin-left: 34px; padding: 3px 0 0; font-size: 11px; }
}
