/* SNG article blocks for Tilda — scoped to .sng-article */

.sng-article {
  --sng-text: #1b1b1b;
  --sng-line: #8c0099;
  --sng-num: #f7ea56;
  --sng-highlight: #fdfbdd;
  --sng-card: #f1f7ea;
  --sng-story-a: #fefdec;
  --sng-story-b: #e9f4fa;
  --sng-split-drop: #fff5f2;
  --sng-accent: #047835;
  --sng-max: 1296px;
  --sng-font: "Evolventa", "Onest", Arial, Helvetica, sans-serif;

  box-sizing: border-box;
  color: var(--sng-text);
  font-family: var(--sng-font);
  font-size: 25px;
  line-height: 1.52;
  margin: 0 auto;
  max-width: var(--sng-max);
  padding: 0 16px 40px;
  width: 100%;
}

.sng-article *,
.sng-article *::before,
.sng-article *::after {
  box-sizing: border-box;
}

.sng-article p,
.sng-article h2,
.sng-article h3,
.sng-article ul,
.sng-article ol {
  margin: 0;
  padding: 0;
}

.sng-article ul,
.sng-article ol {
  list-style: none;
}

/* ---------- Intro ---------- */

.sng-intro {
  margin-bottom: 56px;
}

.sng-intro__title {
  color: var(--sng-text);
  font-family: var(--sng-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 40px;
  text-transform: uppercase;
}

.sng-intro .sng-text + .sng-text {
  margin-top: 15px;
}

.sng-intro .sng-highlight {
  margin-top: 40px;
}

/* ---------- Section (H2 + purple line) ---------- */

.sng-section {
  margin-top: 72px;
}

.sng-section__title {
  color: var(--sng-text);
  font-family: var(--sng-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.sng-section__title::after {
  background: var(--sng-line);
  content: "";
  display: block;
  height: 7px;
  margin-top: 26px;
  width: 100%;
}

.sng-section > .sng-text:first-of-type,
.sng-section > .sng-subtitle:first-of-type {
  margin-top: 16px;
}

/* ---------- Subtitle ---------- */

.sng-subtitle {
  color: var(--sng-text);
  font-family: var(--sng-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  margin: 48px 0 24px;
}

/* ---------- Text ---------- */

.sng-text {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 38px;
  margin: 0 0 15px;
}

.sng-text:last-child {
  margin-bottom: 0;
}

.sng-text--accent {
  color: var(--sng-accent);
  font-weight: 700;
}

.sng-intro .sng-text {
  font-size: 30px;
  line-height: 46px;
}

/* ---------- Highlight box ---------- */

.sng-highlight {
  background: var(--sng-highlight);
  border-radius: 20px;
  margin: 32px 0;
  padding: 35px;
}

.sng-highlight__title {
  color: var(--sng-text);
  font-size: 30px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 15px;
}

.sng-highlight .sng-list {
  margin: 0;
}

.sng-highlight .sng-text {
  margin-bottom: 0;
}

.sng-highlight .sng-list li {
  font-size: 25px;
  line-height: 45px;
  margin-bottom: 5px;
}

.sng-highlight .sng-list li:last-child {
  margin-bottom: 0;
}

/* ---------- List ---------- */

.sng-list {
  margin: 16px 0 24px;
}

.sng-list li {
  color: var(--sng-text);
  font-size: 25px;
  line-height: 38px;
  margin-bottom: 5px;
  padding-left: 38px;
  position: relative;
}

.sng-list li::before {
  color: var(--sng-text);
  content: "•";
  font-size: 28px;
  left: 8px;
  line-height: 38px;
  position: absolute;
  top: 0;
}

.sng-list li:last-child {
  margin-bottom: 0;
}

/* ---------- Numbered ---------- */

.sng-numbered {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0;
}

.sng-numbered__item {
  align-items: flex-start;
  display: flex;
  gap: 24px;
}

.sng-numbered__num {
  align-items: center;
  background: var(--sng-num);
  border-radius: 50%;
  color: #000;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 40px;
  font-weight: 700;
  height: 65px;
  justify-content: center;
  line-height: 1;
  width: 65px;
}

.sng-numbered__body {
  flex: 1;
  min-width: 0;
  padding-top: 12px;
}

.sng-numbered__title {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 35px;
  margin: 0 0 8px;
}

.sng-numbered__text {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 35px;
  margin: 0;
}

.sng-numbered--rich .sng-numbered__body {
  padding-top: 0;
}

.sng-numbered--rich .sng-numbered__item {
  align-items: flex-start;
}

.sng-numbered--rich .sng-numbered__num {
  margin-top: 0;
}

/* ---------- Cards grid ---------- */

.sng-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
}

.sng-cards__item {
  background: var(--sng-card);
  border-radius: 20px;
  min-height: 224px;
  padding: 20px 35px 28px;
  position: relative;
}

.sng-cards__num {
  align-items: center;
  background: var(--sng-num);
  border-radius: 19px;
  box-shadow:
    -6px -6px 0 0 rgba(247, 234, 86, 0.4),
    -10px -10px 0 0 rgba(247, 234, 86, 0.2);
  color: var(--sng-text);
  display: inline-flex;
  font-size: 40px;
  font-weight: 700;
  height: 62px;
  justify-content: center;
  line-height: 1;
  margin: 10px 0 18px 10px;
  min-width: 62px;
  padding: 0 10px;
  position: relative;
}

.sng-cards__title {
  color: var(--sng-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.sng-cards__text {
  color: var(--sng-text);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  margin: 0;
}

/* ---------- Compare (2 cols) ---------- */

.sng-compare {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
}

.sng-compare__col {
  background: var(--sng-highlight);
  border-radius: 20px;
  padding: 35px;
}

.sng-compare__title {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 15px;
}

.sng-compare__col .sng-list {
  margin: 0;
}

.sng-compare__col .sng-list li {
  line-height: 40px;
  margin-bottom: 7px;
}

/* ---------- Calc ---------- */

.sng-calc {
  align-items: flex-start;
  display: grid;
  gap: 28px 40px;
  grid-template-columns: 395px 1fr;
  margin: 28px 0;
}

.sng-calc__card {
  background: var(--sng-card);
  border-radius: 20px;
  padding: 30px;
}

.sng-calc__label {
  color: #000;
  font-size: 25px;
  font-weight: 700;
  line-height: 44px;
  margin: 0;
}

.sng-calc__value {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 44px;
  margin: 0 0 20px;
}

.sng-calc__value:last-child {
  margin-bottom: 0;
}

.sng-calc__results {
  min-width: 0;
}

.sng-calc__heading {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 44px;
  margin: 0 0 12px;
}

.sng-calc__results .sng-list {
  margin: 0 0 28px;
}

.sng-calc__results .sng-list:last-child {
  margin-bottom: 0;
}

.sng-calc__results .sng-list li {
  line-height: 44px;
}

/* ---------- Stats ---------- */

.sng-stats {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
}

.sng-stats__item {
  background: var(--sng-card);
  border-radius: 20px;
  min-height: 234px;
  padding: 20px 35px 28px;
  position: relative;
}

.sng-stats__value {
  align-items: center;
  background: var(--sng-num);
  border-radius: 19px;
  box-shadow:
    -6px -6px 0 0 rgba(247, 234, 86, 0.4),
    -10px -10px 0 0 rgba(247, 234, 86, 0.2);
  color: var(--sng-text);
  display: inline-flex;
  font-size: 30px;
  font-weight: 700;
  height: 62px;
  justify-content: center;
  line-height: 1;
  margin: 10px 0 20px 10px;
  min-width: 62px;
  padding: 0 14px;
  position: relative;
  white-space: nowrap;
}

.sng-stats__text {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 400;
  line-height: 38px;
  margin: 0;
}

/* ---------- Story (no photo) ---------- */

.sng-story {
  margin: 28px 0;
  padding: 45px;
}

.sng-story--a {
  background: var(--sng-story-a);
}

.sng-story--b {
  background: var(--sng-story-b);
}

.sng-story__header {
  margin-bottom: 25px;
}

.sng-story__name,
.sng-story__meta {
  color: var(--sng-text);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.sng-story__meta {
  margin-top: 8px;
}

.sng-story__block {
  margin-top: 25px;
}

.sng-story__label {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}

.sng-story__text {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 300;
  line-height: 34px;
  margin: 0;
}

/* ---------- Split cards ---------- */

.sng-split {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
}

.sng-split__card {
  border-radius: 20px;
  padding: 35px 35px 40px;
  position: relative;
}

.sng-split__card--keep {
  background: var(--sng-card);
}

.sng-split__card--drop {
  background: var(--sng-split-drop);
}

.sng-split__icon {
  align-items: center;
  background: var(--sng-num);
  border-radius: 50%;
  color: var(--sng-text);
  display: inline-flex;
  font-size: 28px;
  font-weight: 700;
  height: 58px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 20px;
  width: 58px;
}

.sng-split__card--keep .sng-split__icon::before {
  content: "✓";
}

.sng-split__card--drop .sng-split__icon::before {
  content: "!";
}

.sng-split__title {
  color: var(--sng-text);
  font-size: 25px;
  font-weight: 700;
  line-height: 38px;
  margin: 0 0 16px;
}

.sng-split__card .sng-list {
  margin: 0;
}

.sng-split__card .sng-list li {
  margin-bottom: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .sng-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sng-calc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sng-article {
    font-size: 18px;
    padding: 0 12px 32px;
  }

  .sng-intro__title,
  .sng-section__title {
    font-size: 26px;
    line-height: 1.25;
  }

  .sng-section__title::after {
    height: 5px;
    margin-top: 16px;
  }

  .sng-subtitle {
    font-size: 22px;
    margin: 32px 0 16px;
  }

  .sng-text,
  .sng-intro .sng-text {
    font-size: 18px;
    line-height: 28px;
  }

  .sng-highlight {
    padding: 24px;
  }

  .sng-highlight__title {
    font-size: 22px;
    line-height: 32px;
  }

  .sng-list li,
  .sng-highlight .sng-list li,
  .sng-numbered__text,
  .sng-numbered__title,
  .sng-stats__text,
  .sng-story__text,
  .sng-story__label,
  .sng-split__title,
  .sng-compare__title,
  .sng-calc__label,
  .sng-calc__value,
  .sng-calc__heading {
    font-size: 18px;
    line-height: 28px;
  }

  .sng-story__name,
  .sng-story__meta {
    font-size: 20px;
  }

  .sng-numbered__num {
    font-size: 28px;
    height: 48px;
    width: 48px;
  }

  .sng-numbered__item {
    gap: 14px;
  }

  .sng-cards,
  .sng-compare,
  .sng-stats,
  .sng-split {
    grid-template-columns: 1fr;
  }

  .sng-cards__item,
  .sng-stats__item {
    min-height: 0;
  }

  .sng-cards__num {
    font-size: 28px;
    height: 48px;
    min-width: 48px;
  }

  .sng-cards__title,
  .sng-cards__text {
    font-size: 18px;
    line-height: 28px;
  }

  .sng-stats__value {
    font-size: 24px;
    height: 48px;
  }

  .sng-story {
    padding: 28px 20px;
  }

  .sng-section {
    margin-top: 48px;
  }
}
