* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  color: #172033;
  background: #f7f9fc;
}

/* ── Nav ── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8%;
  background: #08111f;
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo a {
  color: white;
  text-decoration: none;
}

.nav a {
  color: #d9e4f5;
  text-decoration: none;
  margin-left: 28px;
  font-size: 15px;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #08111f 0%, #123c69 100%);
  color: white;
  padding: 110px 8%;
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  color: #78d6ff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.tagline {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.3;
  margin: 28px 0 24px;
}

h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 18px 0;
}

.subtitle {
  font-size: 21px;
  line-height: 1.6;
  max-width: 780px;
  color: #dbeafe;
}

.buttons {
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  margin-right: 12px;
  font-weight: 700;
}

.primary {
  background: #38bdf8;
  color: #061421;
}

.secondary {
  border: 1px solid #8ecff0;
  color: white;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #08111f 0%, #123c69 100%);
  color: white;
  padding: 90px 8%;
}

.page-hero h1 {
  font-size: 46px;
  line-height: 1.1;
  margin: 18px 0;
  max-width: 900px;
}

/* ── Sections ── */
.section {
  padding: 70px 8%;
  background: white;
}

.section.light {
  background: #f1f5f9;
}

h2 {
  font-size: 34px;
  margin-bottom: 30px;
}

.large-text {
  max-width: 950px;
  font-size: 20px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 20px;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 26px;
}

.card h3 {
  margin-top: 0;
  color: #0f3b63;
}

.card p {
  line-height: 1.6;
  color: #475569;
}

/* ── Platform dark section ── */
.platform {
  padding: 80px 8%;
  background: #0f172a;
  color: white;
}

.platform h2 {
  color: white;
}

.platform p {
  max-width: 850px;
  font-size: 19px;
  line-height: 1.7;
  color: #dbeafe;
  margin-bottom: 18px;
}

/* ── Platform tabs ── */
.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.platform-tabs a {
  display: inline-block;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 12px 18px;
  color: #0f3b63;
  text-decoration: none;
  font-weight: 700;
}

.platform-tabs a:hover {
  background: #e0f2fe;
}

/* ── Pills ── */
.pill-row span {
  display: inline-block;
  background: white;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 12px 18px;
  margin: 8px;
  font-weight: 600;
}

/* ── Blog listing ── */
.article-card {
  display: block;
  text-decoration: none;
  background: #f8fbff;
  border: 1px solid #d9e4f2;
  border-radius: 14px;
  padding: 26px;
  color: #0b2745;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 40, 90, 0.12);
}

.article-card h3 {
  margin: 8px 0 12px;
  color: #073763;
}

.article-card p {
  color: #34495e;
  line-height: 1.6;
}

.card-category {
  color: #0284c7;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ── Article page ── */
.article-page {
  background: #ffffff;
  padding: 90px 24px;
}

.article-container {
  max-width: 880px;
  margin: 0 auto;
  color: #102033;
}

.article-container .eyebrow {
  color: #0284c7;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.article-container h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin: 0 0 24px;
  color: #061a33;
}

.article-intro {
  font-size: 22px;
  line-height: 1.65;
  color: #415a77;
  max-width: 780px;
}

.article-meta {
  margin-top: 18px;
  font-size: 14px;
  color: #64748b;
}

.article-container hr {
  margin: 42px 0 18px;
  border: none;
  border-top: 1px solid #d9e4f2;
}

.article-container h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-top: 56px;
  margin-bottom: 18px;
  color: #073763;
}

.article-container p {
  font-size: 19px;
  line-height: 1.9;
  color: #34495e;
  margin: 0 0 24px;
}

.article-container strong { color: #061a33; }

.article-container a {
  color: #0284c7;
  font-weight: 700;
  text-decoration: none;
}

.article-container a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  background: #08111f;
  color: #cbd5e1;
  padding: 36px 8%;
}

footer p { margin: 6px 0; font-size: 14px; }

/* ── Responsive ── */
@media (max-width: 800px) {
  h1 { font-size: 38px; }

  .cards { grid-template-columns: 1fr; }

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

  .nav nav { margin-top: 14px; }

  .nav a {
    margin-left: 0;
    margin-right: 16px;
  }

  .article-page { padding: 60px 18px; }
  .article-container h1 { font-size: 38px; }
  .article-container h2 { font-size: 26px; }
  .article-container p,
  .article-intro { font-size: 17px; }
}
