/* ============================================
   CenteredCards.com — Personal Finance Media
   Swiss-grid minimalism, generous whitespace
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: #1f2233;
  background: #ffffff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1A237E; text-decoration: none; transition: color .25s ease; }
a:hover { color: #283593; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: #1A237E;
  margin: 0 0 .6em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; margin: 0 0 1em; }
li { margin-bottom: .4em; }

/* Container & Grid (Swiss style) */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #5C6BC0;
  margin-bottom: 16px;
}

.section-title { margin-bottom: 8px; }
.section-subtitle { color: #54607a; font-size: 1.05rem; margin-bottom: 48px; max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: #1A237E; color: #fff; }
.btn-primary:hover { background: #0d1454; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(26,35,126,.25); }
.btn-outline { background: transparent; color: #1A237E; border-color: #1A237E; }
.btn-outline:hover { background: #1A237E; color: #fff; }
.btn-ghost { background: #E8EAF6; color: #1A237E; }
.btn-ghost:hover { background: #C5CAE9; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #E8EAF6;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1200px; margin: 0 auto; }
.logo { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.25rem; color: #1A237E; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 32px; height: 32px; background: linear-gradient(135deg,#1A237E,#5C6BC0); border-radius: 8px; display: inline-block; position: relative; }
.logo-mark::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; background: #fff; border-radius: 50%; transform: translate(-50%,-50%); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: #1f2233; font-weight: 600; font-family: 'Raleway', sans-serif; font-size: .92rem; }
.nav-links a:hover, .nav-links a.active { color: #1A237E; }
.nav-cta { padding: 10px 20px; font-size: .9rem; }

.hamburger { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #1A237E; margin: 5px 0; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 16px 24px; border-bottom: 1px solid #E8EAF6;
    transform: translateY(-120%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid #E8EAF6; }
  .nav-links li:last-child { border-bottom: none; }
}

/* Hero variants */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg,#E8EAF6 0%, #ffffff 100%);
  overflow: hidden;
}
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow { color: #5C6BC0; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; font-size: .82rem; margin-bottom: 18px; display: inline-block; }
.hero h1 { margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: #4b556e; margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-image { position: relative; }
.hero-image img { border-radius: 24px 24px 24px 80px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px rgba(26,35,126,.18); }
.hero-image::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: #5C6BC0; border-radius: 24px;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-image img { aspect-ratio: 16/10; border-radius: 16px 16px 16px 60px; }
}

/* Hero with clip-path angled bottom */
.hero-clip {
  background-size: cover; background-position: center;
  color: #fff;
  padding: 130px 0 180px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}
.hero-clip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(26,35,126,.92) 0%, rgba(40,53,147,.78) 60%, rgba(92,107,192,.55) 100%);
}
.hero-clip .container { position: relative; z-index: 1; }
.hero-clip h1 { color: #fff; max-width: 820px; }
.hero-clip p.lead { color: #E8EAF6; max-width: 720px; font-size: 1.2rem; }

/* Hero compact (with breadcrumb) */
.hero-compact {
  background: linear-gradient(135deg, #E8EAF6 0%, #C5CAE9 100%);
  padding: 72px 0 56px;
}
.hero-compact h1 { margin-bottom: 12px; }
.hero-compact p { color: #4b556e; font-size: 1.05rem; max-width: 720px; margin: 0; }

.breadcrumb { font-size: .85rem; color: #54607a; margin-bottom: 16px; font-family: 'Raleway', sans-serif; font-weight: 500; }
.breadcrumb a { color: #5C6BC0; }
.breadcrumb span { margin: 0 8px; color: #9FA8DA; }

/* Hero full-width with subtitle + decorative */
.hero-full {
  position: relative;
  background: #1A237E;
  color: #fff;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
}
.hero-full::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(159,168,218,.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(92,107,192,.35) 0%, transparent 50%);
}
.hero-full .container { position: relative; }
.hero-full h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-full p.lead { color: #C5CAE9; font-size: 1.2rem; max-width: 760px; margin: 0 auto 36px; }
.hero-decoration {
  display: inline-block; width: 80px; height: 4px;
  background: #9FA8DA; margin: 32px auto 0; border-radius: 2px;
}

/* Hero minimal (animated) */
.hero-minimal {
  padding: 100px 0 80px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #E8EAF6;
}
.hero-minimal h1 .word { display: inline-block; opacity: 1; transform: translateY(0); }
.hero-minimal h1 .word.animate { animation: slide-up .7s cubic-bezier(.2,.7,.3,1) both; }

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Stats counter */
.stats { background: #1A237E; color: #fff; padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Raleway', sans-serif; font-size: 3.2rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #9FA8DA; font-weight: 600; }

@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }

/* Cards */
.card {
  background: #f7f8fc;
  border-radius: 8px;
  border-left: 4px solid #1A237E;
  padding: 28px 28px 28px 32px;
  transition: all .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(26,35,126,.12); border-left-color: #5C6BC0; background: #fff; }
.card h3 { color: #1A237E; margin-bottom: 10px; }
.card p { color: #54607a; font-size: .96rem; margin-bottom: 0; }
.card-icon { width: 48px; height: 48px; background: #E8EAF6; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #1A237E; margin-bottom: 18px; font-size: 1.4rem; }

.card-grid { display: grid; gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; } }

/* Icon feature list */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-item .icon-box {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: linear-gradient(135deg,#E8EAF6,#C5CAE9);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A237E; font-size: 1.5rem;
}
.feature-item h4 { margin-bottom: 6px; }
.feature-item p { color: #54607a; font-size: .94rem; margin: 0; }
@media (max-width: 900px) { .feature-list { grid-template-columns: 1fr; gap: 24px; } }

/* Image gallery masonry */
.masonry { columns: 3; column-gap: 16px; }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  position: relative;
  background: #E8EAF6;
}
.masonry-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.masonry-item:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 500px) { .masonry { columns: 1; } }

/* Pricing/Plans (no prices — feature comparison instead) */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  background: #fff;
  border: 1px solid #E8EAF6;
  border-radius: 8px;
  padding: 40px 32px;
  display: flex; flex-direction: column;
  transition: all .3s ease;
}
.plan:hover { border-color: #5C6BC0; transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,35,126,.1); }
.plan.featured { background: linear-gradient(180deg,#1A237E,#283593); color: #fff; border-color: transparent; }
.plan.featured h3 { color: #fff; }
.plan.featured .plan-desc { color: #C5CAE9; }
.plan.featured ul li::before { color: #9FA8DA; }
.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-desc { color: #54607a; font-size: .95rem; margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; }
.plan ul li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: .95rem; }
.plan ul li::before {
  content: '✓'; position: absolute; left: 0; color: #1A237E; font-weight: 700;
}
.plan-cta { margin-top: auto; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 18px; max-width: 640px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: .9rem; color: #1A237E; }
.form-group input, .form-group textarea, .form-group select {
  padding: 14px 16px;
  border: 1px solid #C5CAE9;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: all .25s ease;
  color: #1f2233;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: #1A237E;
  box-shadow: 0 0 0 4px rgba(26,35,126,.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group .error { color: #c0392b; font-size: .85rem; margin-top: 4px; display: none; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #c0392b; }
.form-group.has-error .error { display: block; }
.form-success { background: #E8EAF6; border-left: 4px solid #1A237E; padding: 16px 20px; border-radius: 8px; margin-top: 16px; display: none; }
.form-success.visible { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Map */
.map-embed {
  width: 100%; height: 360px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid #E8EAF6;
  background: #E8EAF6;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Two-col split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split img { border-radius: 8px; box-shadow: 0 20px 40px rgba(26,35,126,.12); }

/* Calendar */
.calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 720px; margin: 0 auto; }
.cal-day-name { text-align: center; font-family: 'Raleway', sans-serif; font-weight: 600; color: #5C6BC0; font-size: .85rem; padding: 12px 0; text-transform: uppercase; letter-spacing: .1em; }
.cal-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f7f8fc; border-radius: 8px; padding: 6px; transition: all .25s; cursor: pointer; }
.cal-day .num { font-family: 'Raleway', sans-serif; font-weight: 700; color: #1A237E; font-size: 1.05rem; }
.cal-day .label { font-size: .65rem; color: #54607a; margin-top: 2px; text-align: center; line-height: 1.1; }
.cal-day.has-event { background: #1A237E; color: #fff; }
.cal-day.has-event .num, .cal-day.has-event .label { color: #fff; }
.cal-day:hover { transform: scale(1.05); }

/* Before / After */
.ba-wrap { position: relative; max-width: 920px; margin: 0 auto; border-radius: 8px; overflow: hidden; user-select: none; }
.ba-wrap img { display: block; width: 100%; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); transition: clip-path .15s linear; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff;
  cursor: ew-resize; box-shadow: 0 0 0 4px rgba(26,35,126,.4);
}
.ba-handle::after {
  content: '⇆'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #1A237E; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.ba-labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: .85rem; color: #5C6BC0; font-family: 'Raleway',sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E8EAF6; }
.faq-q {
  width: 100%; text-align: left;
  font-family: 'Raleway', sans-serif; font-weight: 600;
  font-size: 1.1rem;
  background: none; border: none; cursor: pointer;
  padding: 24px 56px 24px 0;
  position: relative;
  color: #1A237E;
}
.faq-q::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: #5C6BC0; transition: transform .3s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: #54607a; }
.faq-a-inner { padding: 0 0 24px; max-width: 720px; }
.faq-item.open .faq-a { max-height: 500px; }

/* Tabs */
.tabs-nav { display: flex; gap: 4px; border-bottom: 1px solid #E8EAF6; margin-bottom: 32px; flex-wrap: wrap; }
.tabs-nav button {
  background: none; border: none; padding: 14px 22px;
  font-family: 'Raleway', sans-serif; font-weight: 600; font-size: .95rem;
  color: #54607a; cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all .25s;
}
.tabs-nav button.active { color: #1A237E; border-bottom-color: #1A237E; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border-left: 4px solid #5C6BC0;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 6px 20px rgba(26,35,126,.06);
}
.testimonial p { font-style: italic; color: #4b556e; margin-bottom: 18px; font-size: .98rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; color: #1A237E; font-family: 'Raleway',sans-serif; }
.testimonial-author span { font-size: .85rem; color: #54607a; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border-left: 4px solid #1A237E;
  padding-bottom: 20px;
  transition: transform .3s;
}
.team-card:hover { transform: translateY(-4px); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-card h4 { margin: 16px 0 4px; }
.team-card .role { font-size: .85rem; color: #5C6BC0; font-family: 'Raleway',sans-serif; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

/* Badges (social proof) */
.badge-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: #E8EAF6;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif; font-weight: 600;
  font-size: .92rem;
  color: #1A237E;
}
.badge .star { color: #5C6BC0; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; opacity: .85; }
.logo-strip .logo-item {
  font-family: 'Raleway', sans-serif; font-weight: 700;
  font-size: 1.3rem; color: #5C6BC0;
  letter-spacing: -0.02em;
  padding: 8px 16px;
  border: 1px solid #C5CAE9; border-radius: 8px;
  transition: all .25s;
}
.logo-strip .logo-item:hover { color: #1A237E; border-color: #1A237E; }

/* Process steps / Customer journey */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { background: #f7f8fc; border-left: 4px solid #1A237E; border-radius: 8px; padding: 28px 24px; position: relative; }
.step-num { font-family: 'Raleway',sans-serif; font-size: 2.5rem; font-weight: 700; color: #9FA8DA; line-height: 1; margin-bottom: 14px; }
.step h4 { margin-bottom: 8px; }
.step p { color: #54607a; font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }

/* Comparison table */
.comparison { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 16px rgba(26,35,126,.06); }
.comparison th, .comparison td { padding: 18px 22px; text-align: left; border-bottom: 1px solid #E8EAF6; vertical-align: top; }
.comparison thead th { background: #1A237E; color: #fff; font-family: 'Raleway',sans-serif; font-weight: 600; font-size: .98rem; }
.comparison tbody tr:hover { background: #f7f8fc; }
.comparison td.check { color: #1A237E; font-weight: 700; }
.comparison td.x { color: #c0392b; }
.comparison-wrap { overflow-x: auto; }

/* Video embed */
.video-wrap {
  position: relative;
  width: 100%; max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(26,35,126,.18);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Downloads */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  background: #fff;
  border-left: 4px solid #1A237E; border-radius: 8px;
  transition: all .3s;
}
.dl-item:hover { background: #f7f8fc; transform: translateX(3px); }
.dl-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  background: #E8EAF6; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A237E; font-weight: 700; font-size: .85rem;
  font-family: 'Raleway',sans-serif;
}
.dl-item h4 { margin: 0 0 4px; font-size: 1.05rem; }
.dl-item p { font-size: .88rem; color: #54607a; margin: 0; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg,#1A237E,#5C6BC0);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  border-radius: 8px;
  position: relative; overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #C5CAE9; max-width: 640px; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-banner .btn-primary { background: #fff; color: #1A237E; }
.cta-banner .btn-primary:hover { background: #E8EAF6; }

/* Article body */
.article-body { max-width: 760px; margin: 0 auto; font-size: 1.07rem; }
.article-body h2 { margin-top: 1.4em; }
.article-body h3 { margin-top: 1.2em; }
.article-body img { border-radius: 8px; margin: 24px 0; }
.article-body blockquote {
  border-left: 4px solid #1A237E;
  padding: 16px 24px;
  background: #f7f8fc;
  margin: 24px 0;
  font-style: italic;
  color: #4b556e;
  border-radius: 0 8px 8px 0;
}
.article-meta { color: #5C6BC0; font-size: .92rem; margin-bottom: 32px; }
.article-meta span { margin-right: 18px; }

/* Comments */
.comments-list { max-width: 760px; margin: 0 auto; }
.comment { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid #E8EAF6; }
.comment img { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.comment-body strong { display: block; color: #1A237E; font-family: 'Raleway',sans-serif; }
.comment-body .meta { font-size: .82rem; color: #5C6BC0; margin-bottom: 8px; }
.comment-body p { margin: 0; color: #4b556e; }

/* Footer */
.site-footer { background: #11144d; color: #C5CAE9; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-brand h4 { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #9FA8DA; max-width: 320px; font-size: .94rem; }
.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: 'Raleway',sans-serif; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #9FA8DA; font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #283593; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #9FA8DA; }
.footer-bottom a { color: #9FA8DA; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: #1A237E; color: #fff;
  padding: 18px 22px;
  border-radius: 8px;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  z-index: 200;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner.visible { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; font-size: .92rem; color: #C5CAE9; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner button {
  background: #fff; color: #1A237E; border: none;
  padding: 10px 22px; border-radius: 8px; cursor: pointer;
  font-family: 'Raleway',sans-serif; font-weight: 700; font-size: .9rem;
}
.cookie-banner button:hover { background: #E8EAF6; }

/* Scroll-reveal — start visible, animate y only (rule #4) */
.reveal { opacity: 1; transform: translateY(20px); transition: transform .7s ease; }
.reveal.in-view { transform: translateY(0); }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 32px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }
.bg-light { background: #f7f8fc; }
.bg-tint { background: #E8EAF6; }
.text-muted { color: #54607a; }

/* Article body lists */
.article-body ul li { margin-bottom: .8em; }

/* Responsive table fixes */
@media (max-width: 700px) {
  .comparison th, .comparison td { padding: 12px 14px; font-size: .9rem; }
  .stats-grid .stat-num { font-size: 2.4rem; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cookie-banner { display: none; }
}
