/* Sonbrio - маркетинг сайт.
   Цветовете и мотивът идват от самото приложение, за да не се разминат. */

:root {
  --ink: #0B1220;
  --ink-soft: #1E293B;
  --paper: #FBFBFA;
  --white: #ffffff;
  --line: #E7E9E6;
  --text: #0B1220;
  --muted: #64748B;
  --muted-dark: #94A3B8;
  --dim: #475569;
  --brand: #0891b2;
  --brand-deep: #0E7490;
  --brand-bright: #22D3EE;
  --brand-pale: #ECFEFF;
  --brand-pale-line: #A5F3FC;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Golos Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Unbounded", ui-sans-serif, system-ui, sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── навигация ─────────────────────────────── */
.nav { background: var(--ink); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__name {
  font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 17px;
  color: #fff; letter-spacing: -0.01em;
}
.nav__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
/* :not(.btn) е задължително - иначе това правило е по-специфично от
   .btn--primary и боядисва текста на бутона в сиво. Личеше само в нормално
   състояние, защото hover правилото отдолу го връщаше в бяло. */
.nav__links a:not(.btn) { color: var(--muted-dark); font-size: 14.5px; }
.nav__links a:not(.btn):hover { color: #fff; }

.lang { display: flex; align-items: center; gap: 2px; border: 1px solid var(--ink-soft); border-radius: 999px; padding: 3px; }
.lang a, .lang span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.lang span { font-weight: 600; color: var(--ink); background: #E2E8F0; }
.lang a { font-weight: 500; color: var(--muted-dark); }
.lang a:hover { color: #fff; }

/* ── бутони ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 9px;
  min-height: 46px; transition: background-color .15s, color .15s, border-color .15s;
}
/* По-тъмното синьо е заради контраста: бяло върху --brand дава 3.68:1, а
   изискването за нормален текст е 4.5:1. --brand-deep дава 5.36:1. Марковият
   цвят остава за акценти, икони и лентата на нивото. */
.btn--primary { background: var(--brand-deep); color: #fff; }
.btn--primary:hover { background: #155E75; color: #fff; }
.btn--ghost { color: #E2E8F0; border: 1px solid var(--ink-soft); }
.btn--ghost:hover { color: #fff; border-color: #334155; }
.btn--outline { color: var(--ink); border: 1px solid #CBD5E1; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn--white { background: #fff; color: var(--brand-deep); }
.btn--white:hover { background: #F1F5F9; color: var(--brand-deep); }
.btn--sm { font-size: 14.5px; padding: 10px 18px; min-height: 40px; }
.btn--block { display: flex; width: 100%; }

/* ── герой ─────────────────────────────────── */
.hero { background: var(--ink); padding: 88px 0 104px; }
.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink-soft); border-radius: 999px; padding: 6px 14px;
  font-size: 13px; color: var(--muted-dark); margin-bottom: 26px;
}
.pill__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand-bright); }
.hero h1 {
  font-weight: 600; font-size: clamp(38px, 5vw, 62px); line-height: 1.05;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 22px; text-wrap: balance;
}
.hero__lead {
  font-size: 18.5px; line-height: 1.6; color: var(--muted-dark);
  margin-bottom: 32px; max-width: 30em; text-wrap: pretty;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero__note { font-size: 13.5px; color: var(--muted); }

/* лентичката за диктовка, каквато е в приложението */
.strip { background: #F1F5F9; border-radius: 14px; padding: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.strip__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #CBD5E1; border-radius: 999px; padding: 4px 10px;
  font-size: 11.5px; color: var(--muted);
}
.strip__body { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.strip__stop {
  width: 56px; height: 56px; border-radius: 999px; background: #dc2626;
  display: flex; align-items: center; justify-content: center;
}
.strip__stop span { width: 16px; height: 16px; border-radius: 2px; background: #fff; }
.meter { display: flex; align-items: center; gap: 3px; height: 30px; }
.meter i { width: 3px; background: var(--brand); border-radius: 2px; display: block; }
.strip__text { font-size: 13px; color: #475569; text-align: center; }
.strip__caption { font-size: 12.5px; color: var(--dim); text-align: center; margin-top: 14px; }

/* ── трите факта ───────────────────────────── */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 44px 24px; }
.fact__n { font-family: "Unbounded", sans-serif; font-size: 25px; font-weight: 500; margin-bottom: 6px; }
.fact__d { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── секции ────────────────────────────────── */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--white { background: #fff; border-top: 1px solid var(--line); }
.section--ink { background: var(--ink); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--brand-bright); }
.section h2 {
  font-weight: 500; font-size: clamp(27px, 3.4vw, 38px); line-height: 1.2;
  letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance;
}
.section--ink h2 { color: #fff; }
.section__lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 36em; margin-bottom: 52px; }

/* ── карти ─────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card svg { margin-bottom: 16px; }
.card h3 { font-family: inherit; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ── стъпки ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.step { border-top: 2px solid var(--ink-soft); padding-top: 22px; }
.step--first { border-top-color: var(--brand); }
.step__n { font-family: "Unbounded", sans-serif; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.step--first .step__n { color: var(--brand-bright); }
.step h3 { font-family: inherit; font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted-dark); }

/* ── превключвател месец/година ─────────────── */
.billing-toggle {
  display: flex; align-items: center; gap: 3px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px;
  /* width: max-content с автоматични полета центрира лентата, без да пипа
     подравняването на заглавията над нея. */
  width: max-content; max-width: 100%;
  margin: 0 auto 40px;
}
.billing-toggle button {
  border: 0; background: none; cursor: pointer; font: inherit;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; min-height: 40px;
  transition: background-color .15s, color .15s;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button { display: inline-flex; align-items: center; gap: 8px; }
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Отстъпката стои В бутона за годишно - тя е негово свойство, не отделна
   бележка встрани. Цветовете се сменят, за да се чете и върху тъмното. */
.billing-toggle .save {
  font-size: 11.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--brand-deep); background: var(--brand-pale);
  border-radius: 999px; padding: 3px 8px; white-space: nowrap;
}
.billing-toggle button[aria-pressed="true"] .save {
  color: var(--ink); background: var(--brand-bright);
}

/* ── цени ──────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.plan--hi { background: var(--ink); border-color: var(--ink); position: relative; }
.plan h3 { font-family: inherit; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.plan--hi h3 { color: #fff; }
.plan__for { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 20px; }
.plan--hi .plan__for { color: var(--muted-dark); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__price b { font-family: "Unbounded", sans-serif; font-size: 36px; font-weight: 500; }
.plan--hi .plan__price b { color: #fff; }
.plan__per { font-size: 14.5px; color: var(--muted); }
.plan__year { font-size: 13px; color: #94A3B8; margin-bottom: 20px; }
.plan--hi .plan__year { color: var(--muted); }
.plan .btn { margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: #334155; line-height: 1.5; }
.plan--hi li { color: #CBD5E1; }
.plan li svg { flex-shrink: 0; margin-top: 3px; }
.tag {
  position: absolute; top: -11px; left: 30px; background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px;
}
.founder {
  margin: 26px auto 0; background: var(--brand-pale); border: 1px solid var(--brand-pale-line);
  border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
  /* Само колкото е текстът, центрирано - на цял ред отдясно оставаше празно. */
  width: max-content; max-width: 100%;
}
.founder p { font-size: 14.5px; color: #0A5A6E; line-height: 1.5; }
.founder svg { flex-shrink: 0; }

/* ── въпроси ───────────────────────────────── */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.faq h2 { font-size: clamp(25px, 3vw, 32px); }
.faq__intro { font-size: 15px; line-height: 1.6; color: var(--muted); }
.qa { border-top: 1px solid var(--line); padding: 22px 0; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa h3 { font-family: inherit; font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.qa p { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ── призив ────────────────────────────────── */
.cta { background: var(--brand); padding: 64px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { font-weight: 500; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.22; letter-spacing: -.02em; color: #fff; margin-bottom: 8px; }
.cta p { font-size: 16px; color: #CFFAFE; }

/* ── подножие ──────────────────────────────── */
.foot { background: var(--ink); padding: 52px 0 36px; }
.foot__grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--ink-soft); }
.foot__about { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 32ch; margin-top: 12px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__h { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.foot__col a { font-size: 14px; color: var(--muted-dark); }
.foot__col a:hover { color: #fff; }
.foot__col span { font-size: 14px; color: var(--muted); }
.foot__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; flex-wrap: wrap; }
.foot__bottom p { font-size: 13px; color: var(--dim); }

/* ── правни страници ───────────────────────── */
.legal { background: #fff; padding: 64px 0 88px; }
.legal__inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.legal h1 { font-weight: 500; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 10px; }
.legal__meta { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
/* Датата стои в края на документа, отделена с линия - там я търси човек. */
.legal__meta--end { margin: 68px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
.legal h2 { font-family: inherit; font-size: 18px; font-weight: 600; margin: 36px 0 12px; letter-spacing: 0; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.7; color: #334155; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal__back { display: inline-block; margin-top: 44px; font-size: 15px; }

/* ── по-малки екрани ───────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .facts__grid { grid-template-columns: 1fr; gap: 22px; }
  .cards, .steps, .plans { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
}

@media (max-width: 560px) {
  .nav__inner { min-height: 0; }
  .nav__links { gap: 18px; font-size: 14px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .foot__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}
