/* Home page cache-busted styles.
   Kept separate so browsers with an old cached extra.css still receive the landing layout. */

.md-typeset .sote-home {
  --sote-home-border: rgba(102, 252, 241, 0.22);
  --sote-home-panel: rgba(20, 24, 32, 0.76);
  --sote-home-panel-strong: rgba(14, 17, 24, 0.9);
  --sote-home-text: #f4fbff;
  --sote-home-muted: rgba(244, 251, 255, 0.76);
  --sote-home-cyan: #66fcf1;
  --sote-home-gold: #f8c76a;
  --sote-home-vk: #7fb7ff;
  --sote-home-tg: #66fcf1;
  color: var(--sote-home-text);
}

[data-md-color-scheme="light-custom"] .md-typeset .sote-home {
  --sote-home-border: rgba(0, 82, 115, 0.18);
  --sote-home-panel: rgba(255, 255, 255, 0.88);
  --sote-home-panel-strong: rgba(248, 252, 255, 0.96);
  --sote-home-text: #172033;
  --sote-home-muted: rgba(23, 32, 51, 0.72);
  --sote-home-cyan: #007f87;
  --sote-home-gold: #8d5b00;
  --sote-home-vk: #115ea8;
  --sote-home-tg: #00858f;
}

.md-typeset .sote-home a {
  color: inherit;
}

.md-typeset .sote-home-hero {
  position: relative;
  min-height: 440px;
  margin: 0 0 1.2rem;
  padding: 4.2rem 3rem 3rem;
  overflow: hidden;
  border: 1px solid var(--sote-home-border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.92) 0%, rgba(7, 10, 16, 0.72) 42%, rgba(7, 10, 16, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 10, 16, 0.04) 0%, rgba(7, 10, 16, 0.84) 100%),
    url("../assets/soteworld-home-hero.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

[data-md-color-scheme="light-custom"] .md-typeset .sote-home-hero {
  background:
    linear-gradient(90deg, rgba(246, 252, 255, 0.94) 0%, rgba(246, 252, 255, 0.78) 44%, rgba(246, 252, 255, 0.16) 100%),
    linear-gradient(180deg, rgba(246, 252, 255, 0.02) 0%, rgba(246, 252, 255, 0.8) 100%),
    url("../assets/soteworld-home-hero.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(17, 94, 168, 0.16);
}

.md-typeset .sote-home-kicker {
  margin: 0 0 0.55rem;
  color: var(--sote-home-cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.md-typeset .sote-home-hero h1 {
  max-width: 12em;
  margin: 0 0 0.9rem;
  color: var(--sote-home-text) !important;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.md-typeset .sote-home-hero p {
  max-width: 31rem;
  margin: 0;
  color: var(--sote-home-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.md-typeset .sote-home-actions {
  margin-top: 1.6rem;
}

.md-typeset .sote-home-actions > p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.md-typeset .sote-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.64rem 1rem;
  border: 1px solid var(--sote-home-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sote-home-text);
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.md-typeset .sote-home-button--primary {
  border-color: rgba(102, 252, 241, 0.58);
  background: linear-gradient(135deg, rgba(102, 252, 241, 0.24), rgba(248, 199, 106, 0.18));
}

.md-typeset .sote-home-button:hover,
.md-typeset .sote-platform-card:hover,
.md-typeset .sote-quick-link:hover {
  transform: translateY(-2px);
}

.md-typeset .sote-home-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.6rem;
}

.md-typeset .sote-home-platforms > p {
  display: contents;
}

.md-typeset .sote-platform-card {
  display: grid;
  min-height: 13rem;
  padding: 1.15rem;
  border: 1px solid var(--sote-home-border);
  border-radius: 8px;
  background: var(--sote-home-panel);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.md-typeset .sote-platform-card--vk {
  border-top: 4px solid var(--sote-home-vk);
}

.md-typeset .sote-platform-card--tg {
  border-top: 4px solid var(--sote-home-tg);
}

.md-typeset .sote-platform-card__tag {
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(102, 252, 241, 0.1);
  color: var(--sote-home-cyan);
  font-size: 0.72rem;
  font-weight: 800;
}

.md-typeset .sote-platform-card__title {
  color: var(--sote-home-text);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.1;
}

.md-typeset .sote-platform-card__text {
  margin: 0.75rem 0 1rem;
  color: var(--sote-home-muted);
  line-height: 1.55;
}

.md-typeset .sote-platform-card__cta {
  align-self: end;
  color: var(--sote-home-gold);
  font-weight: 800;
}

.md-typeset .sote-home-section {
  margin-top: 1.6rem;
}

.md-typeset .sote-home-section h2 {
  margin: 0 0 0.85rem;
  color: var(--sote-home-text) !important;
  font-size: 1.35rem;
  letter-spacing: 0;
}

[data-md-color-scheme="light-custom"] .md-typeset .sote-home-section h2,
[data-md-color-scheme="light-custom"] .md-typeset .sote-quick-link span {
  color: #172033 !important;
}

.md-typeset .sote-quick-grid {
  display: block;
}

.md-typeset .sote-quick-grid > p {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13.5rem, 100%), 1fr));
  gap: 0.7rem;
  margin: 0;
}

.md-typeset .sote-quick-link {
  display: grid;
  min-height: 5.8rem;
  padding: 0.85rem;
  border: 1px solid var(--sote-home-border);
  border-radius: 8px;
  background: var(--sote-home-panel-strong);
  text-decoration: none;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.md-typeset .sote-quick-link span {
  color: var(--sote-home-text);
  font-weight: 850;
}

.md-typeset .sote-quick-link small {
  margin-top: 0.3rem;
  color: var(--sote-home-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.md-typeset .sote-home-strip {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(248, 199, 106, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(248, 199, 106, 0.13), rgba(102, 252, 241, 0.08));
  color: var(--sote-home-muted);
}

.md-typeset .sote-home-strip p {
  margin: 0;
}

.md-typeset .sote-home-strip strong {
  color: var(--sote-home-gold);
}

.md-typeset .sote-home-button:focus-visible,
.md-typeset .sote-platform-card:focus-visible,
.md-typeset .sote-quick-link:focus-visible {
  outline: 3px solid rgba(102, 252, 241, 0.48);
  outline-offset: 3px;
}

@media screen and (max-width: 76.1875em) {
  .md-typeset .sote-home-hero {
    min-height: 380px;
    padding: 3.4rem 2.2rem 2.4rem;
  }

  .md-typeset .sote-home-hero h1 {
    font-size: 2.7rem;
  }
}

@media screen and (max-width: 44.9375em) {
  .md-typeset .sote-home-hero {
    min-height: 430px;
    padding: 2.3rem 1.1rem 1.2rem;
    background-position: center;
  }

  .md-typeset .sote-home-hero h1 {
    font-size: 2.25rem;
  }

  .md-typeset .sote-home-hero p {
    font-size: 0.95rem;
  }

  .md-typeset .sote-home-platforms,
  .md-typeset .sote-quick-grid > p {
    grid-template-columns: 1fr;
  }

  .md-typeset .sote-home-actions > p {
    display: grid;
    grid-template-columns: 1fr;
  }
}
