:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --panel: #ffffff;
  --panel-alt: #eef2ff;
  --text: #111827;
  --muted: #6b7280;
  --border: #dbe2ee;
  --accent: #155eef;
  --accent-2: #0f766e;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(21, 94, 239, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(251, 252, 255, 0.86);
  border-bottom: 1px solid rgba(219, 226, 238, 0.85);
}

.topbar-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(21, 94, 239, 0.16);
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1px;
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy, .hero-panel, .card, .post, .aside, .footer {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8efff;
  color: #12348f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  margin-top: 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
  max-width: 62ch;
}

.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #f2f6ff;
  color: #344054;
  border: 1px solid #e2e8f5;
  font-size: 13px;
}

.hero-panel {
  overflow: hidden;
}

.hero-visual {
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(21, 94, 239, 0.08), rgba(15, 118, 110, 0.06)),
    #ffffff;
}

.hero-visual img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero-visual h2 {
  font-size: 24px;
  line-height: 1.15;
}

.hero-visual p {
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 18px 0 44px;
}

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

.section-head h2 {
  font-size: 24px;
}

.section-head p {
  color: var(--muted);
  max-width: 58ch;
}

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

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-cover {
  min-height: 146px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.08), rgba(15, 118, 110, 0.08)),
    #f8fbff;
  border-bottom: 1px solid var(--border);
}

.card-cover img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 18px;
  line-height: 1.25;
}

.card-text {
  color: var(--muted);
  font-size: 14px;
}

.card-footer {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.post {
  padding: 26px;
}

.post h1 {
  font-size: clamp(30px, 4.2vw, 46px);
}

.post .post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.post .cover {
  margin: 24px 0 28px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(21, 94, 239, 0.08), rgba(15, 118, 110, 0.08)),
    #f8fbff;
}

.post .cover img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
}

.post article {
  max-width: 78ch;
}

.post article h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 24px;
}

.post article h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 18px;
}

.post article p, .post article li {
  font-size: 16px;
  color: #1f2937;
}

.post article p + p, .post article ul + p {
  margin-top: 14px;
}

.post article ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.post article li + li {
  margin-top: 8px;
}

.aside {
  margin-top: 18px;
  padding: 18px;
  background: var(--panel-alt);
}

.footer {
  margin: 0 0 36px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer a {
  color: var(--accent);
}

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

  .hero {
    padding-top: 28px;
  }
}

@media (max-width: 640px) {
  .hero-copy, .hero-visual, .post {
    padding: 20px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

