
:root {
  --bg: #f3f7fb;
  --panel: #ffffff;
  --text: #071329;
  --muted: #52647d;
  --line: rgba(89, 111, 138, .18);
  --blue: #2563eb;
  --blue2: #0ea5e9;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(37,99,235,.10), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(14,165,233,.12), transparent 34%),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }

.sj-top {
  background: #0f172a;
  color: #e5edff;
  font-size: 14px;
}

.sj-top-inner,
.sj-header-inner,
.sj-container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.sj-top-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.sj-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.sj-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sj-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -.04em;
}

.sj-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 10px 25px rgba(37,99,235,.25);
}

.sj-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sj-nav a {
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 999px;
  color: #334155;
  font-weight: 750;
  font-size: 14px;
}

.sj-nav a:hover,
.sj-nav a.active {
  background: rgba(37,99,235,.09);
  color: var(--blue);
}

.sj-hero {
  padding: 72px 0 44px;
}

.sj-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 28px;
  align-items: stretch;
}

.sj-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 950;
  font-size: 13px;
}

.sj-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -.06em;
}

.sj-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.sj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.sj-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 16px 35px rgba(37,99,235,.25);
}

.sj-btn-light {
  background: #fff;
  border: 1px solid var(--line);
}

.sj-hero-note {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.sj-hero-note h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.sj-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sj-mini-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
}

.sj-section {
  padding: 38px 0;
}

.sj-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.sj-section h2,
.sj-page-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.055em;
}

.sj-section-desc {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.sj-category {
  min-height: 170px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.sj-category span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  color: var(--blue);
  font-weight: 900;
  font-size: 13px;
}

.sj-category h3 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: -.035em;
}

.sj-category p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.sj-card {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sj-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.sj-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f8fafc;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.sj-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -.035em;
}

.sj-card h3 a {
  text-decoration: none;
}

.sj-card h3 a:hover {
  color: var(--blue);
}

.sj-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.sj-date {
  margin-top: auto;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.sj-compact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}

.sj-card-compact {
  min-height: 190px;
}

.sj-card-compact h3 {
  font-size: 18px;
}

.sj-card-compact p {
  display: none;
}

.sj-search-panel {
  margin: 28px 0;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sj-search-row {
  display: flex;
  gap: 12px;
}

.sj-search-row input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 16px;
  font-size: 16px;
}

.sj-search-row button {
  min-width: 110px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-weight: 950;
}

.sj-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.sj-filter-tags button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  cursor: pointer;
}

.sj-filter-tags button.active {
  color: var(--blue);
  background: rgba(37,99,235,.08);
}

.sj-footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .sj-hero-grid,
  .sj-category-grid,
  .sj-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .sj-top { display: none; }

  .sj-header-inner {
    display: block;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .sj-nav {
    margin-top: 12px;
  }

  .sj-hero {
    padding-top: 42px;
  }

  .sj-section-head {
    display: block;
  }

  .sj-search-row {
    display: block;
  }

  .sj-search-row button {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
  }

  .sj-compact-list {
    grid-template-columns: 1fr;
  }
}
