:root {
  color-scheme: light;
  --sky: #f3f9fd;
  --surface: #ffffff;
  --brand: #4a9fe0;
  --ink: #1c2b3a;
  --muted: #5a7a94;
  --shadow: 0 10px 32px rgba(74, 159, 224, .10);
  --radius-card: 24px;
  --radius-bar: 20px;
  --bs-body-font-family: "Nunito", system-ui, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--sky);
  --bs-secondary-bg: var(--sky);
  --bs-border-color: rgba(74, 159, 224, .14);
}

body {
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(74, 159, 224, .16), transparent 70%),
    var(--sky);
  background-attachment: fixed;
}

/* Header */
.site-header {
  padding: 12px 0 0;
}
.site-header-bar {
  display: flex;
  align-items: center;
  padding: .7rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius-bar);
  box-shadow: var(--shadow);
}
.site-header-bar .brand-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.brand-horn {
  width: 1.35em;
  height: 1.15em;
  overflow: visible;
  color: var(--brand);
  flex: 0 0 auto;
}
.brand-horn-body {
  fill: var(--brand);
  stroke: var(--brand);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.brand-horn-handle {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
}
.brand-horn-wave {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.7;
  stroke-linecap: round;
  animation: horn-wave 1.7s ease-in-out infinite;
}
.brand-horn-wave--2 { animation-delay: .35s; }
@keyframes horn-wave {
  0%, 100% { opacity: .18; }
  45% { opacity: 1; }
}

/* Page rhythm */
.site-main { padding-top: 1.75rem; padding-bottom: 2.5rem; }
.site-section + .site-section { margin-top: 2.75rem; }

.cloud-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cloud-card-pad { padding: 1.15rem 1.25rem; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  margin: 0 0 1.15rem;
}
.section-head:has(+ .news-tabs) {
  margin-bottom: .7rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--brand);
  background: rgba(74, 159, 224, .12);
  padding: .22rem .75rem;
  border-radius: 2rem;
  text-decoration: none;
  line-height: 1.2;
  transition: background .15s, color .15s;
}
.section-kicker:hover {
  background: rgba(74, 159, 224, .22);
  color: var(--ink);
}
.section-title {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin: 0;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: -.15rem 0 1rem;
}
.news-tab {
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .4rem .95rem;
  border-radius: 2rem;
  cursor: pointer;
  border: none;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  line-height: 1.2;
  transition: background .15s, color .15s;
}
.news-tab:hover { color: var(--brand); }
.news-tab.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(74, 159, 224, .28);
}

.ad-slot ins { display: block; margin: 0 auto; }
.ad-h ins { width: 100%; height: auto; min-height: 100px; }
.ad-v ins { width: 200px; height: 300px; }
.news-widget { min-height: 513px; }
.ad-h { width: 960px; max-width: 100%; height: auto; min-height: 100px; margin: 0 auto; }
.ad-v { width: 200px; height: 300px; margin: 0 auto; }
.ad-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  min-height: 100%;
}

.funding-wrap { height: 680px; overflow: hidden; }
.telepat-wrap { height: 720px; overflow: hidden; }
.funding-wrap,
.telepat-wrap { background: var(--surface); }

.sitesale-promo {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-card);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(100deg, #016dbb 0%, #0a86c8 55%, #28e4f6 145%);
  box-shadow: var(--shadow);
}
.sitesale-brand { font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.sitesale-brand i { font-weight: 400; font-style: normal; opacity: .8; }
.sitesale-text { flex: 1 1 260px; line-height: 1.35; }
.sitesale-text b { display: block; font-size: 1.12rem; font-weight: 700; }
.sitesale-text span { opacity: .92; font-size: .95rem; }
.sitesale-btn {
  margin-left: auto;
  background: #fff;
  color: #016dbb;
  font-weight: 700;
  padding: .55rem 1.25rem;
  border-radius: 2rem;
  white-space: nowrap;
  transition: background .15s;
}
.sitesale-promo:hover .sitesale-btn { background: #effeff; }

.site-footer {
  padding: 0 0 2rem;
}
.site-footer .cloud-card { padding: 1.1rem; }

@media (max-width: 767.98px) {
  .footer-banner { display: none !important; }
}
