/* Promo landing — палитра бренда CalorieBot (--cb-icon-* из правил) */
:root {
  --cb-blue: #2a90e4;
  --cb-blue-deep: #24a0ed;
  --cb-mint: #53c28d;
  --cb-mint-light: #a6e7d1;
  --cb-sky: #69bce8;
  --cb-teal: #82d2d9;
  --cb-text: #1a1a1a;
  --cb-muted: #5c5c5c;
  --cb-border: #e8e8e8;
  --cb-surface: #f7f9fb;
  --cb-card-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cb-text);
  background: #fff;
}

a {
  color: var(--cb-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--cb-blue-deep);
  color: #fff;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */
.promo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cb-border);
}

.promo-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.promo-logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cb-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.promo-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.promo-logo__text {
  white-space: nowrap;
}

.promo-nav {
  display: none;
  gap: 0.55rem 0.85rem;
  font-size: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}
.promo-nav a {
  color: var(--cb-muted);
  font-weight: 500;
  text-decoration: none;
}
.promo-nav a:hover {
  color: var(--cb-blue);
}

.promo-header__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.promo-lang-select {
  appearance: auto;
  max-width: min(11rem, 38vw);
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--cb-border);
  background: #fff;
  color: var(--cb-text);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.promo-lang-select:focus {
  outline: 2px solid rgba(42, 144, 228, 0.45);
  outline-offset: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}
.promo-btn:hover {
  opacity: 0.92;
  text-decoration: none;
}
.promo-btn:active {
  transform: scale(0.98);
}

.promo-btn--primary {
  background: var(--cb-blue-deep);
  color: #fff;
}

.promo-btn--ghost {
  background: #fff;
  color: var(--cb-blue);
  border: 1px solid var(--cb-border);
}

.promo-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.35rem;
  cursor: pointer;
}
.promo-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cb-text);
  border-radius: 1px;
}

.promo-mobile-nav {
  display: none;
  border-top: 1px solid var(--cb-border);
  padding: 0.75rem 1.25rem 1rem;
  background: #fff;
  flex-direction: column;
  gap: 0.5rem;
}
.promo-mobile-nav.is-open {
  display: flex;
}
.promo-mobile-nav a {
  padding: 0.5rem 0;
  color: var(--cb-text);
  font-weight: 500;
}

@media (min-width: 1024px) {
  .promo-nav {
    display: flex;
  }
  .promo-menu-toggle {
    display: none;
  }
  .promo-mobile-nav {
    display: none !important;
  }
}

/* Hero */
.promo-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.25rem 3.5rem;
  background: linear-gradient(
    165deg,
    #f0faf6 0%,
    #e8f4fc 45%,
    #fff 100%
  );
}

.promo-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(42, 144, 228, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.promo-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.promo-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .promo-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  }
}

.promo-hero__copy {
  min-width: 0;
}

.promo-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.promo-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.08rem;
  color: var(--cb-muted);
  max-width: 42rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.promo-hero__pillars {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  grid-auto-rows: 1fr;
}

@media (min-width: 640px) {
  .promo-hero__pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.promo-pillar {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: var(--cb-card-shadow);
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-pillar__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cb-text);
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-pillar__body {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cb-muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  flex: 1 1 auto;
}

.promo-hero__trust {
  margin: 0 0 1.1rem;
  font-size: 0.82rem;
  color: var(--cb-muted);
  line-height: 1.45;
  max-width: 40rem;
  overflow-wrap: anywhere;
}

.promo-hero__viz {
  position: relative;
  justify-self: center;
  max-width: 280px;
  width: 100%;
}

.promo-phone {
  border-radius: 32px;
  padding: 12px;
  background: linear-gradient(145deg, #e8e8e8 0%, #fafafa 40%, #fff 100%);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06) inset;
}

.promo-phone__screen {
  border-radius: 22px;
  overflow: hidden;
  background: #f0f2f5;
  line-height: 0;
}

.promo-phone__screen img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-phone__badge {
  position: absolute;
  width: 58%;
  right: -8%;
  bottom: -6%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  display: none;
  line-height: 0;
  background: #fff;
}

.promo-phone__badge img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 1100px) {
  .promo-phone__badge {
    display: block;
  }
}

.promo-hero__actions--center {
  justify-content: center;
}

.promo-illust-caption {
  font-size: 0.75rem;
  color: var(--cb-muted);
  margin-top: 0.4rem;
  line-height: 1.35;
}

.promo-card--viz {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.promo-card__top {
  flex: 1 1 auto;
  min-width: 0;
}

.promo-card__top .promo-card__icon {
  margin-bottom: 0.75rem;
}

.promo-card__viz {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eef1f4;
  border: 1px solid #e2e6ea;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.promo-card__viz img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 720px) {
  .promo-audience-card {
    flex-direction: row;
    align-items: stretch;
  }
  .promo-audience-card__body {
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }
  .promo-audience-card__viz {
    flex: 0 0 140px;
    width: 140px;
    max-width: 140px;
    min-height: 120px;
    height: 120px;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.promo-audience-card__viz {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eef1f4;
  border: 1px solid #e2e6ea;
  line-height: 0;
  flex-shrink: 0;
}

.promo-audience-card__viz img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

.promo-dev-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 860px) {
  .promo-dev-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  }
}

.promo-dev-layout__viz {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--cb-card-shadow);
}

.promo-dev-layout__viz img {
  width: 100%;
  height: auto;
  display: block;
}

.promo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Sections */
.promo-section {
  padding: 3rem 1.25rem;
}
.promo-section--muted {
  background: var(--cb-surface);
}

.promo-section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.promo-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.promo-section__intro {
  margin: 0 0 1.75rem;
  color: var(--cb-muted);
  max-width: 46rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Feature grid */
.promo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .promo-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.promo-card {
  background: #fff;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--cb-card-shadow);
}

.promo-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.promo-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cb-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.promo-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(83, 194, 141, 0.15), rgba(42, 144, 228, 0.15));
}

/* Audience */
.promo-audience {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .promo-audience {
    grid-template-columns: repeat(2, 1fr);
  }
}

.promo-audience-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--cb-card-shadow);
  border-top: 3px solid var(--cb-blue);
  min-width: 0;
}

@media (max-width: 719px) {
  .promo-audience-card__viz {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
  }
}

.promo-audience-card--mint {
  border-top-color: var(--cb-mint);
}
.promo-audience-card--teal {
  border-top-color: var(--cb-teal);
}
.promo-audience-card--sky {
  border-top-color: var(--cb-sky);
}

.promo-audience-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.promo-audience-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cb-blue);
  margin-bottom: 0.75rem;
}

.promo-audience-card--mint .promo-audience-card__tag {
  color: var(--cb-mint);
}
.promo-audience-card--teal .promo-audience-card__tag {
  color: #2a8a9e;
}
.promo-audience-card--sky .promo-audience-card__tag {
  color: var(--cb-sky);
}

.promo-roadmap {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: roadmap;
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.promo-roadmap__item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--cb-border);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--cb-blue);
  box-shadow: var(--cb-card-shadow);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-roadmap__phase {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--cb-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.promo-roadmap__body {
  font-size: 0.95rem;
  color: var(--cb-muted);
  line-height: 1.5;
}

.promo-investors-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--cb-muted);
  font-size: 0.95rem;
  max-width: 52rem;
  line-height: 1.55;
}

.promo-investors-list li {
  margin-bottom: 0.55rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-investors-footer {
  margin: 0;
  font-size: 0.88rem;
  color: var(--cb-muted);
  font-style: italic;
  max-width: 42rem;
  overflow-wrap: anywhere;
}

.promo-audience-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--cb-muted);
  font-size: 0.95rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.promo-audience-card li {
  margin-bottom: 0.45rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.promo-audience-card h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Dev strip */
.promo-dev {
  border: 1px dashed var(--cb-border);
  background: linear-gradient(180deg, #fafcfe 0%, #fff 100%);
}

.promo-dev h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.promo-dev p {
  margin: 0;
  color: var(--cb-muted);
  font-size: 0.95rem;
}

/* CTA */
.promo-cta {
  text-align: center;
  padding: 3rem 1.25rem;
  background: linear-gradient(135deg, #2a90e4 0%, #53c28d 100%);
  color: #fff;
}

.promo-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  font-weight: 800;
}

.promo-cta p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.promo-cta .promo-btn--primary {
  background: #fff;
  color: var(--cb-blue);
}

.promo-cta .promo-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* Footer */
.promo-footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--cb-border);
  font-size: 0.875rem;
  color: var(--cb-muted);
}

.promo-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.promo-footer__col--main {
  min-width: 0;
}

.promo-footer__brand {
  margin-bottom: 0.35rem;
}

.promo-footer__links {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}

.promo-footer__links a {
  color: var(--cb-blue);
  font-weight: 500;
  text-decoration: none;
}

.promo-footer__links a:hover {
  text-decoration: underline;
}

.promo-footer__links-sep {
  color: var(--cb-border);
}

.promo-footer__meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--cb-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.promo-footer__meta code {
  font-size: 0.88em;
  background: rgba(42, 144, 228, 0.08);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.promo-footer__col--disclaimer {
  max-width: 36rem;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .promo-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.promo-cta p {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .promo-audience-card ul {
  padding-left: 0;
  padding-right: 1.1rem;
}

[dir="rtl"] .promo-logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .promo-hero__actions,
[dir="rtl"] .promo-hero__actions--center {
  flex-direction: row-reverse;
}
