:root {
  --bg: #080f1d;
  --bg-soft: #0e1b2c;
  --panel: #132235;
  --panel-strong: #182a3f;
  --text: #fff;
  --muted: #bdcad8;
  --muted-strong: #e1e8f0;
  --line: rgba(207, 226, 255, .20);
  --line-strong: rgba(116, 174, 255, .65);
  --cyan: #8dbdff;
  --green: #38b56a;
  --blue: #2266d5;
  --amber: #e12742;
  --danger: #e12742;
  --street-cyan: #3484eb;
  --street-orange: #df243f;
  --street-blue: #276bd6;
  --street-lime: #43b868;
}
html[data-theme='light'] {
  --bg: #fff;
  --bg-soft: #f2f6fb;
  --panel: #fff;
  --panel-strong: #f5f8fc;
  --text: #0b2041;
  --muted: #40536d;
  --muted-strong: #263d5b;
  --line: rgba(20, 61, 116, .2);
  --line-strong: rgba(27, 91, 177, .55);
  --cyan: #0754a0;
  --green: #147a42;
  --blue: #175dc5;
  --amber: #b71d38;
  --danger: #b71d38;
}
body { background: var(--bg); }
.site-header { border-bottom-color: var(--line); }
.hero { background: #0a1c37; min-height: 690px; }
.hero::before, html[data-theme='light'] .hero::before { opacity: .16; }
.hero-content { padding-top: 64px; padding-bottom: 64px; }
.hero-logo { width: min(380px, 72vw); margin-bottom: 32px; }
.hero h1 { max-width: 570px; font-size: 3.65rem; line-height: 1.05; }
.hero .hero-text { max-width: 520px; }
.hero .eyebrow { color: #c3e2ff; }
.hero .button-primary { background: #fff; color: #102a50; }
.hero .button-secondary { border-color: #fff; color: #fff; }
.hero-projects { gap: 18px; }
.hero-project { border: 2px solid #fff; min-height: 208px; border-radius: 6px; background-color: #fff; background-size: 100% 100%, cover; background-position: center; }
.hero-project-lms { background-image: linear-gradient(0deg, #07172de8, transparent 65%), url('../images/editorial-project-0.webp'); }
.hero-project-physio { background-image: linear-gradient(0deg, #07172de8, transparent 65%), url('../images/editorial-project-1.webp'); }
.hero-project-shmel { background-image: linear-gradient(0deg, #07172de8, transparent 65%), url('../images/editorial-project-2.webp'); }
.hero-project-csofp { background-image: linear-gradient(0deg, #07172de8, transparent 65%), url('../images/editorial-project-3.webp'); }
.hero-project span, html[data-theme='light'] .hero-project span { color: #fff; }
.hero-project:hover, .hero-project:focus-visible { outline-color: #fff; }
.eyebrow::before { background: #e12742; }
.section-heading { border-left-color: #236bc9; }
.section-about, .section-contacts, html[data-theme='light'] .section-about, html[data-theme='light'] .section-contacts { background: var(--bg-soft); }
.value-row { gap: 16px; }
.value-item { background: var(--panel); border-top-color: #2773d7; }
.value-item:nth-child(2) { border-top-color: #e12742; }
.value-item:nth-child(3) { border-top-color: #2aa65b; }
.value-item::before { content: ''; display: block; width: 78px; height: 78px; margin-bottom: 20px; border-radius: 4px; background: #fff center / cover no-repeat; }
.value-item:nth-child(1)::before { background-image: url('../images/editorial-project-4.webp'); }
.value-item:nth-child(2)::before { background-image: url('../images/editorial-project-5.webp'); }
.value-item:nth-child(3)::before { background-image: url('../images/editorial-detail-0.webp'); }
.value-item span { margin-bottom: 12px; }
.ecosystem-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ecosystem-node { min-height: 165px; background: var(--panel); box-shadow: none; }
.ecosystem-node span { width: 38px; height: 38px; margin-bottom: 22px; border-color: var(--line); color: var(--text); background: transparent; }
.ecosystem-node::before { background: var(--street-blue); }
.ecosystem-node-physio::before { background: #e12742; }
.ecosystem-node-shmel::before { background: #2aa65b; }
.ecosystem-node-ai::before { background: #4b81d7; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.project-card { display: flex; flex-direction: column; min-height: 0; padding: 0 26px 26px; background: var(--panel); box-shadow: none; }
.project-card::before { z-index: 2; }
.project-card::after { content: ''; position: static; order: -1; display: block; flex: none; width: calc(100% + 52px); height: 205px; margin: 0 -26px 20px; border: 0; border-radius: 0; background: #fff center / contain no-repeat; }
.project-card-lms::after { background-image: url('../images/editorial-project-0.webp'); }
.project-card-physio::after { background-image: url('../images/editorial-project-1.webp'); }
.project-card-shmel::after { background-image: url('../images/editorial-project-2.webp'); }
.project-card-ai::after { background-image: url('../images/editorial-project-3.webp'); }
.project-meta { min-height: 0; margin-bottom: 15px; }
.project-card h3 { min-height: 0; padding: 0; font-size: 1.45rem; line-height: 1.25; overflow-wrap: anywhere; }
.project-card p { min-height: 0; }
.project-card ul { margin-top: auto; padding-top: 8px; }
.project-card-lms::before { border-color: #246bd0; }
.project-card-physio::before { border-color: #df243f; }
.project-card-shmel::before { border-color: #2aa65b; }
.project-card-ai::before { border-color: #246bd0; }
.project-card li::before { background: var(--cyan); }
.section-access { background: var(--bg-soft); }
.access-flow div { background: var(--panel); }
.partners-band { border-left-color: #df243f; }
.button-primary { background: #2167c5; color: #fff; box-shadow: none; }
.button-primary:hover { background: #154c9b; }
.button-secondary { border-color: var(--line-strong); }
.site-footer { border-top-color: #276bd6; }
.page-hero { background: #0a1c37; }
.page-hero .eyebrow, .page-hero .breadcrumbs a { color: #c3e2ff; }
.service-login-card span { background: #fff center / cover no-repeat; color: transparent; }
.service-login-lms span { background-image: url('../images/editorial-project-0.webp'); }
.service-login-physio span { background-image: url('../images/editorial-project-1.webp'); }
.service-login-shmel span { background-image: url('../images/editorial-project-2.webp'); }
.service-login-ai span { background-image: url('../images/editorial-project-3.webp'); }
.service-login-lms { border-top-color: #246bd0; }
.service-login-physio { border-top-color: #df243f; }
.service-login-shmel { border-top-color: #2aa65b; }
.service-login-ai { border-top-color: #246bd0; }
.auth-list li::before { border-color: var(--line-strong); }
.lead-form, .auth-card { border-top-color: #246bd0; }
.lead-form::after { content: ''; display: block; width: 72px; height: 72px; background: #fff url('../images/editorial-detail-2.webp') center / cover; border-radius: 4px; grid-row: 1; justify-self: end; }
.partners-band::before { content: ''; display: block; width: 96px; height: 96px; background: #fff url('../images/editorial-detail-1.webp') center / cover; border-radius: 4px; }
.partners-band { grid-template-columns: auto minmax(0,.95fr) minmax(0,1.1fr) auto; }
.auth-signal-strip span:nth-child(1) { border-top: 3px solid #246bd0; }
.auth-signal-strip span:nth-child(2) { border-top: 3px solid #df243f; }
.auth-signal-strip span:nth-child(3) { border-top: 3px solid #2aa65b; }
.auth-signal-strip span:first-child::after { content: ''; width: 42px; height: 42px; background: #fff url('../images/editorial-detail-3.webp') center / cover; border-radius: 4px; }
.doc-section.content-panel::before { content: ''; display: block; width: 72px; height: 72px; margin-bottom: 18px; background: #fff url('../images/editorial-detail-4.webp') center / cover; border-radius: 4px; }
.project-visual-ai { background: #fff url('../images/editorial-detail-5.webp') center / contain no-repeat !important; }
.project-visual-ai span { padding: 8px; background: #08162b; color: #fff; }
.auth-page { background-image: none; }
html[data-theme='light'] .hero .hero-logo { background: #fff; }
html[data-theme='light'] .hero { background: #fff; }
html[data-theme='light'] .hero h1, html[data-theme='light'] .hero .hero-lead { color: #0b2041; }
html[data-theme='light'] .hero .hero-text { color: #263d5b; }
html[data-theme='light'] .hero .eyebrow { color: #0754a0; }
html[data-theme='light'] .hero .button-primary { background: #175dc5; color: #fff; }
html[data-theme='light'] .hero .button-secondary { background: #fff; color: #0b2041; border-color: #175dc5; }
html[data-theme='light'] .hero-project { border-color: #d4dfed; }
@media (max-width: 1080px) {
  .partners-band { grid-template-columns: 1fr; }
  .ecosystem-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero h1 { font-size: 2.7rem; }
  .hero-content { padding-top: 44px; padding-bottom: 30px; }
  .hero-projects { gap: 12px; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: 2.35rem; }
  .hero-logo { width: min(300px, 84vw); margin-bottom: 24px; }
  .hero-projects { gap: 10px; }
  .hero-project { min-height: 175px; }
  .hero-project strong { font-size: .9rem; }
  .project-grid, .ecosystem-map { grid-template-columns: 1fr; }
  .project-card { padding: 0 20px 20px; }
  .project-card::after { width: calc(100% + 40px); height: 190px; margin: 0 -20px 20px; }
  .project-card h3 { font-size: 1.3rem; }
}
