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

:root {
  --ink: #111827;
  --muted: #5b6475;
  --line: #d9dee8;
  --paper: #f8fafc;
  --white: #ffffff;
  --night: #070a12;
  --panel: #101827;
  --purple: #7c3aed;
  --blue: #2563eb;
  --teal: #0ea5a0;
  --green: #16a34a;
  --amber: #b45309;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 34%, #0ea5a0 68%, #16a34a 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem clamp(1rem, 5vw, 4rem);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
  min-height: 70vh;
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(120deg, rgba(124, 58, 237, 0.08), transparent 42%),
    linear-gradient(240deg, rgba(14, 165, 160, 0.10), transparent 46%),
    var(--white);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--grad);
}

h1,
.hero-title {
  max-width: 900px;
  color: var(--night);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(3.5rem, 9vw, 8.25rem);
  letter-spacing: 0.015em;
  line-height: 0.9;
}

.hero-title .accent,
h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 630px;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-panel {
  padding: 1.25rem;
  background: var(--night);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #d9e2f2;
}

.panel-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.panel-kicker {
  color: #8ddfd8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-text {
  margin-top: 0.75rem;
  color: #aeb9cf;
  font-size: 0.95rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
}

.section.dark {
  background: var(--night);
  color: #eef2ff;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.section-heading p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1rem;
}

.dark .section-heading p {
  color: #9aa6bd;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.pillar {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-right: 1px solid var(--line);
}

.pillar:last-child {
  border-right: 0;
}

.pillar-num {
  color: var(--teal);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.pillar h3 {
  margin-top: 0.85rem;
  font-size: 1.1rem;
}

.pillar p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.article-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.article-card:hover {
  border-color: rgba(14, 165, 160, 0.55);
  transform: translateY(-3px);
}

.tag {
  display: inline-flex;
  width: fit-content;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-card h3 {
  margin-top: 1rem;
  color: var(--ink);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.article-card p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.read-more {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(14, 165, 160, 0.14)),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.cta-band h2 {
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.cta-band p {
  max-width: 620px;
  margin-top: 0.85rem;
  color: #aeb9cf;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.2rem;
  color: #ffffff;
  background: var(--grad);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 300px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  background: var(--white);
}

.article-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-body {
  font-size: clamp(1rem, 1.25vw, 1.08rem);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-top: 1.15rem;
}

.article-body h2 {
  margin-top: 2.3rem;
  color: var(--ink);
  font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 0.45rem;
}

.article-body blockquote {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  color: #182135;
  background: #eef8f6;
  border-left: 4px solid var(--teal);
}

.side-note {
  position: sticky;
  top: 6rem;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-note h2 {
  font-size: 1rem;
}

.side-note p,
.side-note a {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.side-note a {
  display: block;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem clamp(1rem, 5vw, 4rem);
  color: #8f9bb0;
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}

footer a {
  color: #c8d2e7;
  text-decoration: none;
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .article-shell,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .pillars,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .pillar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillar:last-child {
    border-bottom: 0;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 1.25rem;
  }

  .nav {
    gap: 0.85rem;
  }

  .nav a {
    font-size: 0.72rem;
  }
}
