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

:root {
  --blue: #0064BE;
  --blue-dark: #0C1869;
  --red: #C8141E;
  --gold: #FFD000;
  --white: #FFFFFF;
  --gray: #F4F6FA;
  --text: #1A1A2E;
  --muted: #6B7280;
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 800;
  color: var(--blue-dark); text-decoration: none;
  white-space: nowrap;
}
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.logo-text span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 8px 18px; border-radius: 20px;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: #fff !important; }
.tricolor {
  height: 5px;
  background: linear-gradient(to right, #0064BE 33.33%, #FFD000 33.33% 66.66%, #C8141E 66.66%);
}

/* ── ARTICLES INDEX HERO ────────────────────────────────────── */
.hero-strip {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1234c8 100%);
  color: #fff; padding: 56px 5vw 48px; text-align: center;
}
.hero-strip .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.hero-strip h1 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.hero-strip p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── ARTICLE CARDS GRID (index) ─────────────────────────────── */
.articles-wrap { max-width: 1000px; margin: 0 auto; padding: 60px 5vw 90px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.article-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.article-card .tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--blue);
  background: #EFF6FF; padding: 4px 10px; border-radius: 20px; margin-bottom: 14px;
}
.article-card h3 { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: var(--text); }
.article-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.article-card .read-more { font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); }

/* ── ARTICLE PAGE ────────────────────────────────────────────── */
.article-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1234c8 100%);
  color: #fff; padding: 56px 5vw 44px; text-align: center;
}
.article-hero .breadcrumb {
  font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 18px;
}
.article-hero .breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.article-hero .breadcrumb a:hover { text-decoration: underline; }
.article-hero .eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.article-hero h1 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); font-weight: 900; letter-spacing: -0.02em; max-width: 760px; margin: 0 auto 14px; }
.article-hero .dek { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 620px; margin: 0 auto; }

.article-body { max-width: 720px; margin: 0 auto; padding: 56px 5vw 20px; }
.article-body h2 {
  font-size: 1.3rem; font-weight: 800; color: var(--blue-dark);
  margin: 40px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 1rem; color: #374151; margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { font-size: 1rem; color: #374151; margin-bottom: 8px; }
.article-body strong { color: var(--text); }

.key-dates {
  background: var(--gray); border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 20px 24px; margin: 28px 0;
}
.key-dates h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 12px; }
.key-dates ul { margin: 0; list-style: none; }
.key-dates li { font-size: 0.92rem; margin-bottom: 8px; display: flex; gap: 10px; }
.key-dates li:last-child { margin-bottom: 0; }
.key-dates .dot { color: var(--red); font-weight: 800; flex-shrink: 0; }

/* ── APP CTA (inline, inside article) ───────────────────────── */
.app-cta {
  max-width: 720px; margin: 44px auto 70px; padding: 5vw;
  background: linear-gradient(135deg, var(--blue-dark), #1234c8);
  border-radius: 20px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.app-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.app-cta img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.app-cta h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.app-cta p { color: rgba(255,255,255,0.75); font-size: 0.92rem; max-width: 460px; margin: 0 auto 22px; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); color: var(--blue-dark);
  padding: 13px 24px; border-radius: 14px;
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-appstore:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }

.more-articles { max-width: 720px; margin: 0 auto; padding: 0 5vw 70px; }
.more-articles h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.more-articles a {
  display: block; padding: 14px 0; color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.07); font-weight: 600; font-size: 0.95rem;
  transition: color .2s;
}
.more-articles a:hover { color: var(--blue); }
.more-articles a span { color: var(--muted); font-weight: 400; display: block; font-size: 0.85rem; margin-top: 2px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--text); color: rgba(255,255,255,0.5);
  padding: 36px 5vw; text-align: center; font-size: 0.85rem;
}
footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-credit { margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-credit a { color: rgba(255,255,255,0.55); font-weight: 600; }
.footer-credit a:hover { color: #fff; }

@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
}
