/* ===================================================================
   Viking Business Advisors — Design System
   Modern professional: navy + white + accent
   =================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --c-navy-900: #0A1F38;
  --c-navy-800: #0F2A4A;
  --c-navy-700: #1F3A5F;
  --c-navy-100: #E8EFF8;
  --c-accent: #C04A2D;
  --c-accent-dark: #9C3A22;
  --c-accent-light: #E27451;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F7F9FC;
  --c-bg-dark: #0A1F38;
  --c-text: #0F1A2C;
  --c-text-muted: #5B6B82;
  --c-text-on-dark: #E8EFF8;
  --c-text-on-dark-muted: #A6B4C7;
  --c-border: #E2E8F0;
  --c-border-dark: rgba(255,255,255,0.12);
  --c-success: #2E7D32;
  --c-warning: #C77700;

  /* Type */
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-display: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 920px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,42,74,0.06);
  --shadow: 0 4px 16px rgba(15,42,74,0.08);
  --shadow-lg: 0 12px 40px rgba(15,42,74,0.12);

  /* Motion */
  --t-fast: 120ms cubic-bezier(.4,0,.2,1);
  --t-med: 240ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-accent-dark); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4,h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  color: var(--c-navy-900);
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 var(--s-4); }
ul,ol { padding-left: 1.25em; margin: 0 0 var(--s-4); }
li + li { margin-top: var(--s-2); }
hr { border: 0; height: 1px; background: var(--c-border); margin: var(--s-7) 0; }
small { font-size: 0.875em; color: var(--c-text-muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }
.section-dark { background: var(--c-navy-900); color: var(--c-text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-alt { background: var(--c-bg-alt); }
.section-accent { background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 100%); color: var(--c-text-on-dark); }
.section-accent h1, .section-accent h2, .section-accent h3 { color: #fff; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  gap: var(--s-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--c-navy-900);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent 40%);
}
.brand-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-tag {
  display: block;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--c-text);
  font-weight: 500;
  font-size: 0.96rem;
  padding: var(--s-2) 0;
  position: relative;
  transition: color var(--t-fast);
}
.nav-menu a:hover { color: var(--c-accent); }
.nav-menu a[aria-current="page"] { color: var(--c-accent); }
.nav-cta { margin-left: var(--s-3); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: var(--s-2);
  color: var(--c-navy-900);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .nav-menu {
    position: fixed;
    inset: 76px 0 0 0;
    background: var(--c-bg);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-5);
    gap: var(--s-4);
    transform: translateX(100%);
    transition: transform var(--t-med);
    border-top: 1px solid var(--c-border);
  }
  .nav-menu[data-open="true"] { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: var(--s-3) 0; font-size: 1.1rem; border-bottom: 1px solid var(--c-border); }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-dark {
  background: var(--c-navy-900);
  color: #fff;
  border-color: var(--c-navy-900);
}
.btn-dark:hover { background: var(--c-navy-800); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-navy-900);
  border-color: var(--c-navy-900);
}
.btn-outline:hover { background: var(--c-navy-900); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: #fff; color: var(--c-navy-900); border-color: #fff; }
.btn-ghost { background: transparent; color: var(--c-accent); padding: 6px 0; }
.btn-ghost::after { content: '→'; transition: transform var(--t-fast); margin-left: 4px; }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-9);
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
  overflow: hidden;
}
.hero-dark {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-800) 100%);
  color: var(--c-text-on-dark);
}
.hero-dark h1, .hero-dark h2 { color: #fff; }
.hero-dark p { color: var(--c-text-on-dark-muted); }
.hero-grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); }
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-navy-100);
  color: var(--c-navy-800);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.hero-dark .eyebrow { background: rgba(255,255,255,0.08); color: var(--c-accent-light); }
.hero-headline { font-size: clamp(2.2rem, 4.4vw + 0.5rem, 4rem); line-height: 1.06; margin-bottom: var(--s-5); }
.hero-sub { font-size: 1.18rem; color: var(--c-text-muted); max-width: 56ch; margin-bottom: var(--s-6); }
.hero-dark .hero-sub { color: var(--c-text-on-dark-muted); }
.hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--c-border); color: var(--c-text-muted); font-size: 0.92rem; }
.hero-dark .hero-meta { border-color: var(--c-border-dark); color: var(--c-text-on-dark-muted); }
.hero-meta strong { color: var(--c-text); font-weight: 700; }
.hero-dark .hero-meta strong { color: #fff; }

/* Hero illustration card */
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  position: relative;
}
.hero-dark .hero-card { background: rgba(255,255,255,0.04); border-color: var(--c-border-dark); }
.hero-card-title { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: var(--s-4); }
.hero-dark .hero-card-title { color: var(--c-accent-light); }
.savings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.95rem;
}
.hero-dark .savings-row { border-color: var(--c-border-dark); }
.savings-row:last-child { border-bottom: 0; }
.savings-row .label { color: var(--c-text-muted); }
.hero-dark .savings-row .label { color: var(--c-text-on-dark-muted); }
.savings-row .amt { font-family: var(--f-display); font-weight: 700; color: var(--c-success); font-size: 1.05rem; }
.hero-dark .savings-row .amt { color: #6FCF7E; }
.savings-total { padding-top: var(--s-4); margin-top: var(--s-3); border-top: 2px solid var(--c-navy-900); display: flex; justify-content: space-between; align-items: baseline; }
.hero-dark .savings-total { border-top-color: var(--c-accent); }
.savings-total .label { font-weight: 600; color: var(--c-navy-900); }
.hero-dark .savings-total .label { color: #fff; }
.savings-total .amt { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; color: var(--c-success); }
.hero-dark .savings-total .amt { color: #6FCF7E; }

/* ---------- Trust bar ---------- */
.trust-bar { padding: var(--s-7) 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.trust-bar-label { text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-muted); margin-bottom: var(--s-5); }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s-7); }
.trust-logos span { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; color: var(--c-text-muted); letter-spacing: -0.01em; opacity: 0.8; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-6);
  transition: all var(--t-med);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--c-navy-700); }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--c-navy-100);
  color: var(--c-navy-800);
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: var(--s-2); }
.card p { color: var(--c-text-muted); font-size: 0.96rem; flex-grow: 1; }
.card .btn-ghost { margin-top: var(--s-4); align-self: flex-start; }

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-link:hover { color: inherit; }

/* Service card variant */
.service-card { padding: var(--s-7); }
.service-card .card-icon { background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700)); color: #fff; }

/* ---------- Section header ---------- */
.section-head { max-width: 720px; margin: 0 auto var(--s-7); text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-3); }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { color: var(--c-text-muted); font-size: 1.1rem; }
.section-head-left { max-width: 720px; margin-bottom: var(--s-7); }
.section-head-left .eyebrow { margin-bottom: var(--s-3); }
.section-dark .section-head p, .section-accent .section-head p { color: var(--c-text-on-dark-muted); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-5); }
.stat { text-align: center; padding: var(--s-5) var(--s-3); }
.stat-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem); color: var(--c-accent-light); letter-spacing: -0.02em; line-height: 1; margin-bottom: var(--s-2); }
.stat-label { color: var(--c-text-on-dark-muted); font-size: 0.95rem; }
.section:not(.section-dark):not(.section-accent) .stat-num { color: var(--c-accent); }
.section:not(.section-dark):not(.section-accent) .stat-label { color: var(--c-text-muted); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s-5); position: relative; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--c-accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--s-3);
}
.step h3 { font-size: 1.15rem; margin-bottom: var(--s-2); }
.step p { color: var(--c-text-muted); font-size: 0.95rem; }

/* ---------- Testimonial ---------- */
.tlist { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}
.testimonial blockquote { margin: 0 0 var(--s-5); font-size: 1.02rem; line-height: 1.6; color: var(--c-text); }
.testimonial blockquote::before { content: '“'; color: var(--c-accent); font-family: var(--f-display); font-size: 2.4rem; line-height: 0.5; margin-right: 6px; }
.testimonial-attr { display: flex; align-items: center; gap: var(--s-3); margin-top: auto; }
.tavatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-900)); display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.testimonial-name { font-weight: 700; color: var(--c-navy-900); font-size: 0.95rem; line-height: 1.2; }
.testimonial-role { color: var(--c-text-muted); font-size: 0.85rem; }

/* ---------- Case study ---------- */
.case {
  display: grid;
  gap: var(--s-6);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  align-items: center;
}
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.case-tag { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--s-3); }
.case-numbers { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); padding: var(--s-5); background: var(--c-bg-alt); border-radius: var(--radius); }
.case-numbers .stat-num { font-size: 2rem; color: var(--c-accent); }
.case-numbers .stat-label { font-size: 0.82rem; color: var(--c-text-muted); }

/* ---------- Lead capture ---------- */
.lead-form {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--s-7);
  box-shadow: var(--shadow);
}
.lead-form-dark { background: rgba(255,255,255,0.04); border-color: var(--c-border-dark); }
.lead-form h3 { margin-bottom: var(--s-3); }
.lead-form p { color: var(--c-text-muted); margin-bottom: var(--s-5); }
.lead-form-dark p { color: var(--c-text-on-dark-muted); }
.field { margin-bottom: var(--s-4); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--c-text);
  background: #fff;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--c-navy-700);
  box-shadow: 0 0 0 3px rgba(31,58,95,0.12);
}
.field-row { display: grid; gap: var(--s-4); }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.lead-form .btn { width: 100%; }
.form-note { font-size: 0.82rem; color: var(--c-text-muted); margin-top: var(--s-3); margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: var(--s-3);
  overflow: hidden;
}
.faq summary {
  padding: var(--s-5);
  font-weight: 600;
  color: var(--c-navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--c-accent); font-weight: 400; transition: transform var(--t-fast); flex-shrink: 0; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 var(--s-5) var(--s-5); color: var(--c-text-muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA section ---------- */
.cta-row {
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-700));
  color: #fff;
  padding: var(--s-8) var(--s-7);
  border-radius: var(--radius-lg);
  text-align: center;
}
.cta-row h2 { color: #fff; max-width: 22ch; margin: 0 auto var(--s-4); }
.cta-row p { color: var(--c-text-on-dark-muted); max-width: 56ch; margin: 0 auto var(--s-6); font-size: 1.08rem; }
.cta-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy-900);
  color: var(--c-text-on-dark-muted);
  padding: var(--s-8) 0 var(--s-5);
}
.footer-grid {
  display: grid;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}
.footer-about p { font-size: 0.92rem; line-height: 1.6; max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 0 0 var(--s-2); }
.footer-col a { color: var(--c-text-on-dark-muted); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: var(--c-text-on-dark-muted); }
.footer-bottom {
  border-top: 1px solid var(--c-border-dark);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 0.85rem;
  color: var(--c-text-on-dark-muted);
}
.footer-bottom a { color: var(--c-text-on-dark-muted); }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: var(--s-3); }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.06); display: grid; place-items: center; transition: background var(--t-fast); }
.footer-social a:hover { background: var(--c-accent); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Misc ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.8em; position: relative; margin: 0 0 var(--s-3); }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-success);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23fff' d='M6.5 11.5l-3-3 1-1 2 2 5-5 1 1z'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.pill { display: inline-block; padding: 4px 10px; background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--c-text-muted); margin: 0 4px 4px 0; }
.pill-accent { background: var(--c-navy-100); color: var(--c-navy-800); border-color: transparent; }

.placeholder-img {
  background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700));
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.08) 0, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(192,74,45,0.18) 0, transparent 40%);
}
.placeholder-img span { position: relative; z-index: 1; }

.banner-note {
  background: #FFF8E1;
  border-left: 4px solid var(--c-warning);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--c-text);
  margin: var(--s-5) 0;
}

/* Article (blog post) */
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.06rem; line-height: 1.75; }
.article-body h2 { margin-top: var(--s-7); margin-bottom: var(--s-4); }
.article-body h3 { margin-top: var(--s-6); margin-bottom: var(--s-3); }
.article-body p { color: var(--c-text); }
.article-body blockquote { border-left: 4px solid var(--c-accent); padding: var(--s-3) var(--s-5); margin: var(--s-5) 0; font-size: 1.18rem; line-height: 1.5; color: var(--c-navy-900); font-family: var(--f-display); }
.article-body code { background: var(--c-bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.article-meta { display: flex; gap: var(--s-5); align-items: center; color: var(--c-text-muted); font-size: 0.92rem; margin-bottom: var(--s-7); }
.article-author { display: flex; align-items: center; gap: var(--s-3); }
.article-author .tavatar { width: 36px; height: 36px; font-size: 0.85rem; }

/* Post grid */
.post-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-med);
  text-decoration: none;
  color: inherit;
}
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c-navy-800), var(--c-navy-700)); position: relative; overflow: hidden; }
.post-thumb::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(192,74,45,0.3) 0, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255,255,255,0.06) 0, transparent 50%); }
.post-thumb-2 { background: linear-gradient(135deg, #2a4a3c, #1a3a2c); }
.post-thumb-3 { background: linear-gradient(135deg, #4a2a3c, #3a1a2c); }
.post-thumb-4 { background: linear-gradient(135deg, #4a3a2a, #3a2a1a); }
.post-thumb-5 { background: linear-gradient(135deg, #2a3a4a, #1a2a3a); }
.post-thumb-6 { background: linear-gradient(135deg, #3a2a4a, #2a1a3a); }
.post-body { padding: var(--s-5); display: flex; flex-direction: column; flex-grow: 1; }
.post-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--s-2); }
.post-title { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: var(--c-navy-900); margin-bottom: var(--s-2); line-height: 1.3; }
.post-excerpt { color: var(--c-text-muted); font-size: 0.94rem; flex-grow: 1; margin-bottom: var(--s-3); }
.post-meta { display: flex; gap: var(--s-3); font-size: 0.82rem; color: var(--c-text-muted); margin-top: auto; }

/* Page hero (smaller than home hero) */
.page-hero {
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-800));
  color: #fff;
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(192,74,45,0.18) 0, transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 24ch; }
.page-hero p { color: var(--c-text-on-dark-muted); max-width: 56ch; font-size: 1.18rem; }
.page-hero .eyebrow { background: rgba(255,255,255,0.08); color: var(--c-accent-light); }

/* Two-column generic */
.two-col { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.3fr 1fr; gap: var(--s-9); } }
.two-col-rev { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 900px) { .two-col-rev { grid-template-columns: 1fr 1.3fr; gap: var(--s-9); } }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--c-navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus { top: 0; color: #fff; }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--c-text-muted); }
.no-wrap { white-space: nowrap; }

/* ===================================================================
   Visual components — charts, diagrams, illustrations
   =================================================================== */

/* Horizontal bar chart for savings ranges */
.bar-chart { padding: var(--s-2) 0; }
.bar-chart-row {
  display: grid;
  grid-template-columns: 200px 1fr 110px;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-3) 0;
  border-bottom: 1px dashed var(--c-border);
}
.bar-chart-row:last-child { border-bottom: 0; }
.bar-chart-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy-900);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.bar-chart-label .swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.bar-chart-track {
  height: 20px;
  background: var(--c-bg-alt);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.bar-chart-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent-light), var(--c-accent));
  border-radius: 4px;
  position: relative;
}
.bar-chart-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent);
}
.bar-chart-value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-accent-dark);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .bar-chart-row { grid-template-columns: 1fr; gap: var(--s-2); }
  .bar-chart-value { text-align: left; }
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}
.compare-table th,
.compare-table td {
  padding: var(--s-4) var(--s-5);
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}
.compare-table th {
  background: var(--c-bg-alt);
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-navy-900);
  font-size: 1rem;
}
.compare-table th.highlight {
  background: var(--c-navy-900);
  color: #fff;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td.highlight {
  background: rgba(31, 58, 95, 0.04);
  font-weight: 600;
  color: var(--c-navy-900);
}
.compare-table td .check { color: var(--c-success); font-size: 1.2rem; font-weight: 700; }
.compare-table td .x { color: var(--c-text-muted); font-size: 1.2rem; opacity: 0.5; }
.compare-table td .partial { color: var(--c-warning); font-size: 1.05rem; font-weight: 700; }
.compare-table .row-label {
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-bg-alt);
}
@media (max-width: 760px) {
  .compare-table th, .compare-table td { padding: var(--s-3); font-size: 0.85rem; }
  .compare-table .hide-mobile { display: none; }
}

/* Process flow diagram */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  position: relative;
  margin-top: var(--s-5);
}
@media (max-width: 900px) { .process-flow { grid-template-columns: 1fr; gap: var(--s-5); } }

.process-node {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius);
  padding: var(--s-5);
  text-align: center;
  position: relative;
  transition: all var(--t-med);
}
.process-node:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.process-section-light .process-node { background: #fff; border-color: var(--c-border); }
.process-section-light .process-node:hover { box-shadow: var(--shadow); }

.process-node-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 36px;
  margin-bottom: var(--s-3);
}
.process-node-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-3);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-navy-700), var(--c-navy-900));
  border-radius: 14px;
  color: #fff;
}
.process-section-light .process-node-icon {
  background: linear-gradient(135deg, var(--c-accent-light), var(--c-accent));
}
.process-node-icon svg { width: 28px; height: 28px; }

.process-node h3 { font-size: 1rem; margin-bottom: var(--s-2); color: var(--c-navy-900); }
.process-section-dark .process-node h3 { color: #fff; }
.process-node p { font-size: 0.88rem; color: var(--c-text-muted); margin: 0; }
.process-section-dark .process-node p { color: var(--c-text-on-dark-muted); }

.process-arrows {
  display: none;
  position: absolute;
  inset: 60px 0 0 0;
  pointer-events: none;
}
@media (min-width: 900px) {
  .process-arrows { display: block; }
}
.process-arrow {
  position: absolute;
  top: 30px;
  width: 40px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--c-accent);
  opacity: 0.5;
}

/* SVG illustration containers */
.svg-illustration {
  width: 100%;
  height: auto;
  display: block;
}
.illustration-frame {
  background: var(--c-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}
.illustration-frame-dark {
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-800));
}
.illustration-frame-accent {
  background: linear-gradient(135deg, #fff8f3, #fef0e6);
  border: 1px solid #fad9c5;
}

/* Decorative section divider */
.divider-pattern {
  height: 80px;
  background-image:
    radial-gradient(circle at 25% 50%, var(--c-navy-100) 0, transparent 22%),
    radial-gradient(circle at 75% 50%, var(--c-navy-100) 0, transparent 22%);
  background-size: 80px 80px;
  background-position: 0 0;
  position: relative;
}
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
  margin: var(--s-7) auto;
  max-width: 800px;
}

/* Hero illustration */
.hero-illust {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy-900), var(--c-navy-800));
  padding: var(--s-7);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(192,74,45,0.25) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,0.06) 0, transparent 40%);
  pointer-events: none;
}
.hero-illust-content { position: relative; z-index: 1; }

/* Big number stat tile */
.bignum {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}
.bignum-val {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw + 1rem, 3.6rem);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--c-accent-light), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.bignum-suffix {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text-muted);
}

/* Service hub hero illustration band */
.service-hero-illust {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  opacity: 0.18;
  pointer-events: none;
}
@media (max-width: 900px) { .service-hero-illust { display: none; } }

/* Numbered side list */
.num-list { list-style: none; padding: 0; counter-reset: numlist; }
.num-list li {
  counter-increment: numlist;
  padding: var(--s-3) 0 var(--s-3) 56px;
  position: relative;
  border-top: 1px solid var(--c-border);
}
.num-list li:first-child { border-top: 0; }
.num-list li::before {
  content: counter(numlist, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--s-3);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--c-accent);
  letter-spacing: -0.02em;
}
.num-list li strong { display: block; color: var(--c-navy-900); margin-bottom: 4px; font-size: 1.02rem; }
.num-list li span { color: var(--c-text-muted); font-size: 0.94rem; line-height: 1.55; }

/* Hero illustration — dark-mode overrides for savings table */
.hero-illust .savings-row { border-color: rgba(255,255,255,0.1); }
.hero-illust .savings-row .label { color: rgba(255,255,255,0.65); }
.hero-illust .savings-row .amt { color: #6FCF7E; }
.hero-illust .savings-total { border-top-color: var(--c-accent); }
.hero-illust .savings-total .label { color: #fff; font-weight: 600; }
.hero-illust .savings-total .amt { color: #6FCF7E; }
.hero-illust .hero-card-title { color: var(--c-accent-light); }
