/* ================================================================
   SEAL — Specialist Accounting Outsourcing Partner
   Design System — "A · Clean & Bright (white + sky tint)"
   
   Core Brand Design Tokens (Reference PDF):
     Deep Navy:       #0A2C47 (Main headings, emphasis, footer, structural)
     Corporate Blue:  #0077E5 (Primary links, highlighted headings, secondary buttons)
     Orange:          #FE731E (Primary CTA buttons, growth highlights)
     Sky Blue Tint:   #E9F3FD (Secondary section backgrounds, subtle panels)
     White:           #FFFFFF (Principal page background & content surfaces)
     Soft Green:      #10B981 (Success indicators, status checkmarks)
     Slate:           #344256 (Secondary text and supporting information)
     Hairline Border: #DDE8F4 (Fine divider lines matching sky tint)
   ================================================================ */

/* ── CSS Custom Properties ────────────────────────────────────── */
:root {
  --navy:          #0A2C47;
  --navy-dark:     #061E32;
  --blue:          #0077E5;
  --blue-hover:    #005FBA;
  --blue-light:    #E9F3FD;
  --orange:        #FE731E;
  --orange-hover:  #E55F0E;
  --skyblue:       #E9F3FD;
  --skyblue-tint:  #F4F9FE;
  --white:         #FFFFFF;
  --green:         #10B981;
  --slate:         #344256;
  --body-text:     #1E293B;
  --rule:          #DCE7F3;
  --rule-light:    #EDF3FA;
  
  --surface-bg:    #FFFFFF;
  --panel-bg:      #E9F3FD;
  --card-border:   #E0ECF8;
  --header-bg:     rgba(255, 255, 255, 0.98);
  --footer-bg:     #0A2C47;
  --footer-text:   rgba(255, 255, 255, 0.72);
  --footer-heading:#FFFFFF;

  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Typography scale */
  --t-xs:   0.75rem;    /* 12px */
  --t-sm:   0.875rem;   /* 14px */
  --t-base: 1rem;       /* 16px */
  --t-md:   1.0625rem;  /* 17px */
  --t-lg:   1.1875rem;  /* 19px */
  --t-xl:   1.375rem;   /* 22px */
  --t-2xl:  1.625rem;   /* 26px */
  --t-3xl:  2rem;       /* 32px */
  --t-4xl:  2.5rem;     /* 40px */
  --t-5xl:  3.125rem;   /* 50px */

  --radius-sm: 4px;
  --radius:    6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --max-w:     1160px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --ease:      0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 6px rgba(10, 44, 71, 0.04);
  --shadow-md: 0 6px 20px rgba(10, 44, 71, 0.06);
}

/* ── Dark / Night Mode Palette ────────────────────────────────── */
[data-theme="dark"] {
  --navy:          #F8FAFC; /* Headings become crisp off-white */
  --navy-dark:     #071C2E;
  --blue:          #38BDF8; /* Sky-bright blue for readable contrast */
  --blue-hover:    #7DD3FC;
  --blue-light:    rgba(56, 189, 248, 0.12);
  --orange:        #FE731E; /* Orange CTA preserved for strong contrast */
  --orange-hover:  #FF8838;
  --skyblue:       #0C273E; /* Dark sky-navy tint for secondary panels */
  --skyblue-tint:  #092033;
  --white:         #071C2E; /* Primary canvas becomes deep navy */
  --green:         #34D399;
  --slate:         #94A3B8; /* Muted text */
  --body-text:     #CBD5E1; /* High-legibility body */
  --rule:          rgba(255, 255, 255, 0.12);
  --rule-light:    rgba(255, 255, 255, 0.08);

  --surface-bg:    #0B2B44; /* Elevated content cards */
  --panel-bg:      #0E3352;
  --card-border:   rgba(255, 255, 255, 0.12);
  --header-bg:     rgba(7, 28, 46, 0.98);
  --footer-bg:     #051524;
  --footer-text:   rgba(255, 255, 255, 0.65);
  --footer-heading:#FFFFFF;
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:     0 8px 24px rgba(0, 0, 0, 0.4);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--t-md);
  color: var(--body-text);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--ease), color var(--ease);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}

p, li, a, h1, h2, h3, h4, h5, h6, span {
  overflow-wrap: break-word;
  word-break: normal;
}

.card p,
.inline-card p,
.feature-card p,
.audience-card p,
.profile-card p,
.notice p,
.article-disclaimer p,
.hero-checklist-panel p {
  max-width: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover {
  color: var(--blue-hover);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

p {
  max-width: 68ch;
}

.text-blue {
  color: var(--blue) !important;
}
.text-navy {
  color: var(--navy) !important;
}
.text-orange {
  color: var(--orange) !important;
}
.text-slate {
  color: var(--slate) !important;
}
.text-center {
  text-align: center;
}

/* ── Accessibility Skip Link ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: #FFFFFF;
  padding: 0.65rem 1.25rem;
  font-size: var(--t-sm);
  font-weight: 600;
  z-index: 99999;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--orange);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Layout & Containers ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.section {
  padding-block: clamp(3.5rem, 6.5vw, 5.5rem);
  background-color: var(--white);
}

.section--sky,
.section--warm,
.section--offwhite {
  background-color: var(--skyblue);
}

.section--navy {
  background-color: var(--navy-dark);
  color: #FFFFFF;
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #FFFFFF;
}
.section--navy a {
  color: #7DD3FC;
}
.section--navy a:hover {
  color: #FFFFFF;
}
.section--navy .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.section-eyebrow,
.section-label {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-heading,
.section-title {
  font-size: clamp(var(--t-2xl), 2.8vw, var(--t-4xl));
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.section-lead {
  font-size: var(--t-lg);
  color: var(--slate);
  line-height: 1.7;
  max-width: 64ch;
}
.section-lead--center {
  margin-inline: auto;
  text-align: center;
}

/* Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  font-size: var(--t-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--skyblue);
  color: var(--blue);
  border: 1px solid var(--card-border);
  margin-bottom: 1.25rem;
}
[data-theme="dark"] .pill-badge {
  background-color: var(--surface-bg);
  border-color: var(--rule);
  color: var(--blue);
}

/* ── Buttons & CTAs ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--ease);
  line-height: 1.2;
}
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Primary CTA Button: Vibrant Orange (#FE731E) */
.btn-primary {
  background-color: var(--orange);
  color: #FFFFFF !important;
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(254, 115, 30, 0.22);
}
.btn-primary:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  box-shadow: 0 4px 14px rgba(254, 115, 30, 0.3);
  transform: translateY(-1px);
}

/* Secondary CTA Button: Corporate Blue outline */
.btn-secondary {
  background-color: var(--white);
  color: var(--blue) !important;
  border-color: var(--blue);
}
.btn-secondary:hover {
  background-color: var(--skyblue);
  color: var(--blue-hover) !important;
  border-color: var(--blue-hover);
}
[data-theme="dark"] .btn-secondary {
  background-color: transparent;
  border-color: var(--blue);
  color: var(--blue) !important;
}
[data-theme="dark"] .btn-secondary:hover {
  background-color: rgba(56, 189, 248, 0.1);
}

/* White ghost button for dark backgrounds */
.btn-ghost-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
}

/* ── Site Header & Navigation ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--ease), border-color var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
  min-width: 0;
}

/* Official Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.site-logo__img {
  height: 40px;
  width: auto;
  max-width: 165px;
  display: block;
  object-fit: contain;
}

/* Dark mode logo switcher */
.logo-dark {
  display: none;
}
[data-theme="dark"] .logo-light {
  display: none;
}
[data-theme="dark"] .logo-dark {
  display: block;
}

/* Primary Nav Menu */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background-color var(--ease);
  white-space: nowrap;
}
.primary-nav a:hover {
  color: var(--blue);
  background-color: var(--skyblue);
}
.primary-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

/* Header Right Group: Theme Switcher + Single CTA */
.header-cta,
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  min-width: 0;
}

.header-cta .btn {
  padding: 0.55rem 1.15rem;
  font-size: var(--t-sm);
  white-space: nowrap;
}

/* Theme Switcher Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  color: var(--slate);
  border: 1px solid var(--rule);
  background-color: var(--surface-bg);
  transition: all var(--ease);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle-btn .sun-icon {
  display: none;
}
.theme-toggle-btn .moon-icon {
  display: block;
}
[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: block;
}
[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: none;
}

/* Mobile Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background-color: var(--surface-bg);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover {
  border-color: var(--blue);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background-color: var(--navy);
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 960px) {
  .header-inner {
    height: 64px;
    gap: 0.75rem;
  }
  .nav-toggle {
    display: flex;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--surface-bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--gutter) 1.5rem;
    gap: 0.35rem;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .primary-nav.is-open {
    display: flex;
  }
  .primary-nav a {
    padding: 0.75rem 1rem;
    font-size: var(--t-base);
  }
  [data-theme="dark"] .primary-nav {
    background-color: var(--header-bg);
    border-color: var(--rule);
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1rem;
  }
  .header-inner {
    height: 60px;
    gap: 0.4rem;
  }
  .site-logo__img {
    height: 32px;
    max-width: 120px;
  }
  .header-cta,
  .header-actions {
    gap: 0.35rem;
  }
  .header-cta .btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.8125rem;
  }
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }
  .theme-toggle-btn svg {
    width: 16px;
    height: 16px;
  }
  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 7px;
  }
}

@media (max-width: 380px) {
  .container {
    padding-inline: 0.75rem;
  }
  .site-logo__img {
    height: 28px;
    max-width: 102px;
  }
  .header-cta,
  .header-actions {
    gap: 0.25rem;
  }
  .header-cta .btn {
    padding: 0.38rem 0.55rem;
    font-size: 0.75rem;
  }
  .theme-toggle-btn {
    width: 30px;
    height: 30px;
  }
  .theme-toggle-btn svg {
    width: 14px;
    height: 14px;
  }
  .nav-toggle {
    width: 32px;
    height: 32px;
    padding: 6px;
  }
}

/* ── Hero Sections (White Background + Sky Tint Feature) ──────── */
.hero {
  background-color: var(--white);
  padding-block: clamp(3.5rem, 7.5vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__wrap {
  max-width: 620px;
}
.hero h1 {
  font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl));
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 span.text-blue {
  color: var(--blue);
}
.hero__lead {
  font-size: clamp(var(--t-base), 1.35vw, var(--t-lg));
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 520px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .hero__actions .btn {
    width: 100%;
    text-align: center;
    white-space: normal;
  }
}

/* Reference "This month's close" Checklist Panel (PDF Page 1) */
.hero-checklist-panel {
  background-color: var(--skyblue);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}
.checklist-title {
  font-size: var(--t-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 1.25rem;
}
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background-color: var(--surface-bg);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 1px 3px rgba(10, 44, 71, 0.03);
}
.checklist-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.checklist-icon--green {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--green);
}
.checklist-icon--blue {
  background-color: rgba(0, 119, 229, 0.15);
  color: var(--blue);
}
.checklist-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Page Hero for Internal Pages */
.page-hero {
  background-color: var(--skyblue);
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: clamp(var(--t-2xl), 3.2vw, var(--t-4xl));
  color: var(--navy);
  margin-top: 0.75rem;
}
.page-hero__lead,
.page-hero p.hero__lead {
  font-size: var(--t-lg);
  color: var(--slate);
  line-height: 1.72;
  margin-top: 0.875rem;
  max-width: 64ch;
}
.page-hero .hero__actions {
  margin-top: 1.75rem;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb ol,
.breadcrumb ul {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-xs);
  color: var(--slate);
}
.breadcrumb a {
  color: var(--blue);
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb__sep {
  color: var(--rule);
}

/* ── Cards & Grid Systems ─────────────────────────────────────── */
.two-col,
.two-col--60-40,
.two-col--40-60 {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  min-width: 0;
}
.two-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.two-col--60-40 {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
.two-col--40-60 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
@media (max-width: 820px) {
  .two-col,
  .two-col--60-40,
  .two-col--40-60 {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
}

.three-col,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  min-width: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  min-width: 0;
}
@media (max-width: 860px) {
  .three-col,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .three-col,
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Reference "What we take off your plate" Cards */
.feature-card,
.card,
.inline-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover,
.card:hover,
.inline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  background-color: var(--skyblue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
}
.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.feature-card h3,
.card h3,
.inline-card h3 {
  font-size: var(--t-xl);
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.feature-card p,
.card p,
.inline-card p {
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.7;
}

/* Audience Pathway Cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
}
.audience-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.audience-flag {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.audience-card h3 {
  font-size: var(--t-lg);
  color: var(--navy);
  font-weight: 700;
}
.audience-card p {
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.7;
  flex: 1;
}
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* Service List */
.service-list {
  display: flex;
  flex-direction: column;
}
.service-list li {
  display: block;
  position: relative;
  padding: 0.95rem 0 0.95rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-base);
  color: var(--body-text);
  line-height: 1.68;
}
.service-list li:last-child {
  border-bottom: none;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 1.48rem;
  width: 6px;
  height: 6px;
  background-color: var(--blue);
  border-radius: 50%;
}
.service-list li strong {
  color: var(--navy);
  font-weight: 700;
  display: inline;
  margin-right: 0.35rem;
}

/* 5-Step Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  min-width: 0;
}
.process-step,
.step {
  background-color: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.step-num,
.step__num {
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.process-step h4,
.step h4 {
  font-size: var(--t-base);
  color: var(--navy);
  font-weight: 700;
}
.process-step p,
.step p {
  font-size: var(--t-sm);
  color: var(--slate);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ Accordion */
.faq-list,
.faq {
  display: flex;
  flex-direction: column;
}
details.faq-item {
  border-bottom: 1px solid var(--rule);
}
details.faq-item:first-child {
  border-top: 1px solid var(--rule);
}
summary.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--navy);
  user-select: none;
}
summary.faq-q::-webkit-details-marker {
  display: none;
}
summary.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
}
details[open] summary.faq-q::after {
  content: '−';
}
summary.faq-q:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.faq-a {
  padding: 0 1.5rem 1.25rem 0;
  color: var(--slate);
  font-size: var(--t-sm);
  line-height: 1.75;
}
.faq-a p + p {
  margin-top: 0.75rem;
}

/* ── Insights Articles Hub & Cards ────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  min-width: 0;
}
.insight-card {
  display: flex;
  flex-direction: column;
  background-color: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-decoration: none;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.insight-tag,
.insight-card__tag {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.875rem;
}
.insight-title,
.insight-card__title {
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}
.insight-excerpt,
.insight-card__excerpt {
  font-size: var(--t-sm);
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.insight-meta,
.insight-card__meta {
  font-size: var(--t-xs);
  color: var(--slate);
  opacity: 0.75;
  border-top: 1px solid var(--rule);
  padding-top: 0.875rem;
  margin-top: auto;
}
.insight-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.75rem;
}

@media (max-width: 900px) {
  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .insights-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ── Full Article Styling ─────────────────────────────────────── */
.article-header {
  background-color: var(--skyblue);
  padding-block: clamp(3rem, 6vw, 4.75rem);
  border-bottom: 1px solid var(--rule);
}
.article-header h1 {
  color: var(--navy);
  font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl));
  margin-top: 1rem;
  max-width: 740px;
}
.article-tag {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.125rem;
}
.article-meta span {
  font-size: var(--t-xs);
  color: var(--slate);
}

.article-body {
  max-width: 740px;
}
.article-body h2 {
  font-size: var(--t-2xl);
  color: var(--navy);
  margin: 2.25rem 0 0.875rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rule);
}
.article-body h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.article-body h3 {
  font-size: var(--t-xl);
  color: var(--navy);
  margin: 1.75rem 0 0.75rem;
}
.article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.82;
  color: var(--body-text);
  font-size: var(--t-md);
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.25rem;
}
.article-body ul {
  list-style: disc;
}
.article-body ol {
  list-style: decimal;
}
.article-body li {
  margin-bottom: 0.5rem;
  color: var(--body-text);
  line-height: 1.72;
  font-size: var(--t-base);
}
.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 1.125rem 1.5rem;
  background-color: var(--skyblue);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy);
  font-size: var(--t-lg);
  font-style: italic;
  margin: 1.75rem 0;
}
.article-disclaimer {
  border-top: 1px solid var(--rule);
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  font-size: var(--t-xs);
  color: var(--slate);
  line-height: 1.75;
}
.article-cta {
  background-color: var(--skyblue);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.article-cta p {
  color: var(--navy);
  font-weight: 600;
  margin: 0;
  max-width: none;
}

/* ── Profiles on About Page ───────────────────────────────────── */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.profile-card {
  background-color: var(--surface-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(10, 44, 71, 0.1);
  background-color: var(--skyblue);
  flex-shrink: 0;
  margin-bottom: 0;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.profile-intro h3 {
  font-size: var(--t-xl);
  margin-bottom: 0.35rem;
  color: var(--navy);
  line-height: 1.25;
}
.profile-intro .profile-qual {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.5;
  margin-bottom: 0;
}
[data-theme="dark"] .profile-photo {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
@media (max-width: 480px) {
  .profile-header {
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  .profile-photo {
    width: 96px;
    height: 96px;
  }
}
.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--skyblue);
  border: 1.5px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.profile-card h3 {
  font-size: var(--t-xl);
  margin-bottom: 0.25rem;
  color: var(--navy);
}
.profile-qual {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.875rem;
}
.profile-card p {
  font-size: var(--t-sm);
  color: var(--slate);
  line-height: 1.7;
}

@media (max-width: 680px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Notice / Warning Box ─────────────────────────────────────── */
.notice {
  background-color: rgba(254, 115, 30, 0.08);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: var(--t-sm);
  color: var(--body-text);
  line-height: 1.75;
  text-align: left;
}
.notice p {
  max-width: none;
}
.notice p + p {
  margin-top: 0.75rem;
}
.notice strong {
  color: var(--navy);
  font-weight: 700;
}
[data-theme="dark"] .notice {
  background-color: rgba(254, 115, 30, 0.12);
  border-left-color: var(--orange);
}

/* ── Contact Layout & Forms ───────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.contact-method:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background-color: var(--skyblue);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.contact-label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-bottom: 0.25rem;
}
.contact-value {
  font-weight: 600;
  color: var(--navy);
  font-size: var(--t-sm);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.15rem;
  min-width: 0;
}
@media (max-width: 580px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--t-sm);
  color: var(--body-text);
  background-color: var(--surface-bg);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 119, 229, 0.15);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate);
  opacity: 0.6;
}
.form-error {
  font-size: var(--t-xs);
  color: #DC2626;
  display: none;
  margin-top: 0.25rem;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #DC2626;
}
.form-group.has-error .form-error {
  display: block;
}
.form-success {
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem;
  color: #065F46;
  font-weight: 600;
  font-size: var(--t-sm);
  display: none;
}
[data-theme="dark"] .form-success {
  color: #34D399;
}
.form-submit-error {
  background-color: rgba(220, 38, 38, 0.1);
  border: 1px solid #F87171;
  border-radius: var(--radius);
  padding: 1.125rem;
  color: #991B1B;
  font-size: var(--t-sm);
  display: none;
}

/* ── Closing CTA Banner (Deep Navy #0A2C47 from PDF Reference) ── */
.cta-section {
  background-color: #0A2C47;
  color: #FFFFFF;
  padding-block: clamp(3.5rem, 6.5vw, 5rem);
  text-align: center;
}
.cta-section h2 {
  color: #FFFFFF;
  font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl));
  margin-bottom: 0.85rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
  margin-bottom: 2rem;
  max-width: 58ch;
  font-size: var(--t-lg);
}

/* ── Site Footer ──────────────────────────────────────────────── */
.site-footer {
  background-color: #061A2B;
  color: var(--footer-text);
  padding-block: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.25rem;
}
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo img,
.footer-logo__img {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.footer-tagline {
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.footer-entity {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.15rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--ease);
}
.footer-col a:hover {
  color: #FFFFFF;
}
.footer-col span {
  font-size: var(--t-sm);
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a:hover {
  color: #FFFFFF;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-disclaimer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
}

/* ── Backward-compatible Utility Aliases ───────────────────────── */
.section-title { font-size: clamp(var(--t-2xl), 2.8vw, var(--t-4xl)); margin-bottom: 1rem; font-weight: 700; color: var(--navy); }
.section-label { display: inline-block; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.two-col-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 780px) { .two-col-layout { grid-template-columns: 1fr; } }

/* ── Print Media ──────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-section, .theme-toggle-btn { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff !important; }
  .hero, .page-hero { background: none !important; color: #000 !important; border-bottom: 2px solid #000; padding-block: 1rem; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}

@media (max-width: 480px) {
  .feature-card,
  .card,
  .inline-card,
  .audience-card,
  .insight-card,
  .profile-card,
  .hero-checklist-panel {
    padding: 1.5rem 1.15rem;
  }
}
