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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Segoe UI", sans-serif;
  background: #0b1120;
  color: #e5e7eb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.s-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.s-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.9)
  );
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.s-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.s-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.s-brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 20% 20%, #f97316, #22c55e 60%, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #020617;
}

.s-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s-brand__title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.s-brand__subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.s-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
}

.s-nav__link {
  position: relative;
  text-decoration: none;
  color: #d1d5db;
  padding: 6px 0;
}

.s-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width 0.16s ease;
}

.s-nav__link:hover {
  color: #ffffff;
}

.s-nav__link:hover::after,
.s-nav__link--active::after {
  width: 100%;
}

.s-main {
  flex: 1 0 auto;
}

.s-hero {
  padding: 40px 0 32px;
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(34, 197, 94, 0.18), transparent 55%),
    #020617;
}

.s-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.s-hero__tagline {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 8px;
}

.s-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.4;
}

.s-hero__subtitle {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: #e5e7eb;
  max-width: 520px;
}

.s-hero__grid {
  display: grid;
  gap: 14px;
}

.s-hero__p {
  margin: 0;
  font-size: 0.92rem;
  color: #cbd5f5;
  line-height: 1.9;
}

.s-hero__p strong {
  color: #facc15;
}

.s-hero__actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.s-btn--primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.35);
}

.s-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.45);
}

.s-btn--ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
}

.s-btn--ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.s-hero-panel {
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, #0f172a, #020617 70%);
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  display: grid;
  gap: 14px;
}

.s-hero-panel__image {
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.s-hero-panel__caption {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.7;
}

.s-hero-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.78rem;
}

.s-chip {
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  text-align: center;
  color: #e5e7eb;
}

.s-chip span {
  display: block;
}

.s-chip__label {
  font-size: 0.7rem;
  color: #9ca3af;
}

.s-chip__value {
  font-weight: 600;
}

.s-section {
  padding: 28px 0 30px;
  background: #020617;
}

.s-section--alt {
  background: radial-gradient(circle at 100% 0, rgba(52, 211, 153, 0.12), #020617);
}

.s-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.s-section__head {
  margin-bottom: 18px;
  max-width: 760px;
}

.s-section__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38bdf8;
  margin: 0 0 4px;
}

.s-section__title {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.s-section__subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.8;
}

.s-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.s-card {
  padding: 12px 12px 14px;
  border-radius: 14px;
  background: #020617;
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.s-card__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.s-card__title a {
  text-decoration: none;
  color: inherit;
}

.s-card__title a:hover {
  color: #22c55e;
}

.s-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #9ca3af;
  line-height: 1.8;
}

.s-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
}

.s-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 16px;
}

.s-footer__line {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7280;
}

.s-footer__line + .s-footer__line {
  margin-top: 4px;
}

.s-footer__muted {
  color: #9ca3af;
}

/* sub pages */

.s-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #020617;
}

.s-page-main {
  flex: 1 0 auto;
}

.s-page-hero {
  padding: 34px 0 20px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), #020617);
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.s-page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.s-page-hero__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.s-page-hero__subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #9ca3af;
  line-height: 1.8;
  max-width: 780px;
}

.s-page-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 40px;
}

.s-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.s-page-list {
  display: grid;
  gap: 12px;
}

.s-article {
  max-width: 820px;
}

.s-article__image {
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  margin-bottom: 14px;
}

.s-article__p {
  margin: 0 0 12px;
  font-size: 0.93rem;
  color: #e5e7eb;
  line-height: 1.9;
}

.s-article__p strong {
  color: #22c55e;
}

.s-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.8);
  font-size: 0.82rem;
  color: #bfdbfe;
}

.s-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
}

.s-two-col__block {
  font-size: 0.93rem;
  color: #e5e7eb;
  line-height: 1.9;
}

.s-back-home {
  margin-top: 16px;
  font-size: 0.8rem;
}

.s-back-home a {
  color: #38bdf8;
  text-decoration: none;
}

.s-back-home a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .s-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .s-nav {
    justify-content: center;
  }

  .s-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .s-hero-panel {
    order: -1;
  }

  .s-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .s-hero__inner,
  .s-section__inner,
  .s-page-hero__inner,
  .s-page-body {
    padding-inline: 16px;
  }

  .s-grid,
  .s-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

