/* S.Ler Group landing — clean editorial style */

/* ========== RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f5f4f0;
  color: #1a1a1a;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== TOKENS ========== */
:root {
  --bg: #f5f4f0;
  --bg-2: #ecebe5;
  --ink: #1a1a1a;
  --ink-soft: #555;
  --ink-faint: #8a8a82;
  --accent: #6c6aff;
  --accent-2: #a78bfa;
  --divider: #dad8d0;
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  background: rgba(245, 244, 240, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--divider);
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .dot {
  color: var(--accent);
}
.brand-tail {
  font-weight: 300;
  color: var(--ink-soft);
  margin-left: 0.1em;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-nav a:hover {
  color: var(--accent);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.7rem;
  background: transparent;
  border: 1px solid var(--divider);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.lang-toggle .lang-en,
.lang-toggle .lang-ru {
  transition: color 0.2s;
}
.lang-toggle[data-lang="en"] .lang-en {
  color: var(--accent);
}
.lang-toggle[data-lang="ru"] .lang-ru {
  color: var(--accent);
}
.lang-sep {
  opacity: 0.5;
}

@media (max-width: 800px) {
  .site-nav { display: none; }
}

/* ========== HERO ========== */
.hero {
  padding: clamp(3rem, 10vw, 7rem) var(--gutter) clamp(3rem, 7vw, 5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-inner {
  max-width: 900px;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.hero-title strong {
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(108, 106, 255, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ========== TRACTION ========== */
.traction {
  padding: 3rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.traction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stat-unit {
  font-size: 0.55em;
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 0.15em;
}
.stat-lbl {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 820px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-sub,
.section-body {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ========== CHANNELS ========== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.channel {
  position: relative;
  padding: 1.75rem;
  background: var(--bg-2);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.channel:hover {
  transform: translateY(-4px);
  border-color: var(--divider);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.12);
}
.channel-swatch {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}
.channel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  margin-top: 0.5rem;
}
.channel-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.channel-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
  flex: 1;
}
.channel-meta {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.channel-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1rem;
  color: var(--ink-faint);
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
a.channel:hover .channel-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translate(3px, -3px);
}
.channel-pilot-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(108, 106, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(108, 106, 255, 0.2);
}
.channel-pilot {
  opacity: 0.85;
}

/* Channel palettes */
.channel-ff .channel-swatch { background: linear-gradient(90deg, #2D5F3F, #C9A961); }
.channel-ff:hover { background: #f0f3ec; }
.channel-lg .channel-swatch { background: linear-gradient(90deg, #7AA55A, #C7C77D); }
.channel-lg:hover { background: #f0f1e9; }
.channel-mh .channel-swatch { background: linear-gradient(90deg, #E89B4A, #F2C879); }
.channel-mh:hover { background: #f5eee0; }
.channel-ya .channel-swatch { background: linear-gradient(90deg, #4A5B75, #A78BA6); }
.channel-ya:hover { background: #eceef1; }
.channel-rh .channel-swatch { background: linear-gradient(90deg, #8B5A3C, #C9A961); }
.channel-rh:hover { background: #f0ebe3; }

/* ========== PIPELINE ========== */
.pipeline-diagram-wrap {
  overflow-x: auto;
  padding: 2rem 0;
  margin-bottom: 3rem;
}
.pipeline-diagram {
  width: 100%;
  min-width: 900px;
  height: auto;
  display: block;
}
.pipeline-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.pipeline-note-num {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pipeline-note p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
}

/* ========== CLOUD ========== */
.cloud {
  background: var(--bg-2);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.cloud-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cloud-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cloud-list li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.55;
  font-weight: 300;
}
.cloud-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.cloud-list strong {
  color: var(--ink);
  font-weight: 600;
}
.cloud-badge {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 800px) {
  .cloud-inner {
    grid-template-columns: 1fr;
  }
  .cloud-badge {
    order: -1;
  }
}

/* ========== ROADMAP ========== */
.roadmap-timeline {
  position: relative;
  padding-left: 2rem;
}
.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.3;
}
.roadmap-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}
.roadmap-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.roadmap-current::before {
  background: var(--accent);
}
.roadmap-period {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.roadmap-status {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.roadmap-item p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-weight: 300;
  max-width: 680px;
}

/* ========== CONTACT ========== */
.contact-box {
  padding: 3rem 2rem;
  background: var(--bg-2);
  border-radius: 16px;
  text-align: center;
}
.contact-email {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
  transition: color 0.2s, border-color 0.2s;
}
.contact-email:hover {
  color: var(--accent);
}
.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 300;
}
.contact-address {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
}
.contact-address-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.contact-address address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--divider);
  padding: 2rem var(--gutter);
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.footer-link {
  color: var(--ink-faint);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
}
