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

/* ── Brand tokens ── */
:root {
  --black:      #000000;
  --white:      #ffffff;
  --text:       #111111;
  --muted:      #555555;
  --bg-alt:     #f8f9fa;
  --c-sky:      #8DCBD8;
  --c-teal:     #1D8490;
  --c-amber:    #F5B31A;
  --c-navy:     #17405B;
  --c-orange:   #EE7515;
  --card-rule:  #1D3D4F;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
}

/* ── Five-color accent bar ── */
.accent-bar {
  display: flex;
  height: 10px;
  width: 100%;
}
.accent-bar span { flex: 1; }
.accent-bar span:nth-child(1) { background: var(--c-sky);    }
.accent-bar span:nth-child(2) { background: var(--c-teal);   }
.accent-bar span:nth-child(3) { background: var(--c-amber);  }
.accent-bar span:nth-child(4) { background: var(--c-navy);   }
.accent-bar span:nth-child(5) { background: var(--c-orange); }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 64px;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  display: inline-block;
  padding: 9px 20px;
  background: var(--c-amber);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .85; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 13px 26px;
  background: var(--c-amber);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; }
.btn-ghost {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color .15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ── Section shell ── */
.section {
  padding: 96px 80px;
  background: var(--white);
}
.section--alt   { background: var(--bg-alt); }
.section--dark  { background: var(--black); color: var(--white); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-teal);
  margin-bottom: 14px;
}
.section--dark .section-label { color: var(--c-amber); }

.section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 56px;
  white-space: nowrap;
}

/* ── Three-column card grid ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.card {
  border-left: 2px solid var(--card-rule);
  padding: 4px 28px 4px 24px;
}
.card-num {
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── CTA strip ── */
.cta-strip {
  background: var(--black);
  color: var(--white);
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta-strip h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -1px;
}
.cta-strip p {
  opacity: .6;
  font-size: 16px;
  max-width: 480px;
}
.cta-strip .btn-primary { align-self: flex-start; }

/* ── Footer ── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.4);
  padding: 24px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer a { color: var(--c-amber); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 16px; }
  .section { padding: 64px 24px; }
  .cta-strip { padding: 56px 24px; }
  footer { padding: 20px 24px; }
  .cards { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  nav {
    align-items: flex-start;
    gap: 12px;
  }
  .nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ── Blog post layout ── */
.post-hero {
  background: var(--black);
  color: var(--white);
  padding: 160px 80px 80px;
}
.post-hero .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 13px;
}
.post-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-amber);
}
.post-date { opacity: .45; }
.post-hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  white-space: nowrap;
  margin-bottom: 20px;
}
.post-hero .subtitle {
  font-size: 18px;
  opacity: .6;
  max-width: 560px;
  line-height: 1.6;
}
.post-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 80px;
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a1a;
}
.post-body h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 48px 0 16px;
}
.post-body p { margin-bottom: 24px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body strong { font-weight: 700; }
.back-link {
  display: block;
  font-size: 13px;
  color: var(--c-teal);
  text-decoration: none;
  padding: 20px 80px;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .post-hero { padding: 120px 24px 56px; }
  .post-body { padding: 48px 24px; }
  .back-link { padding: 20px 24px; }
}
