/* ==========================================================================
   APERION Ghost Theme
   Brand: Navy #030023 | Green #67D129 | Blue #1DB3BD
   Typography: Instrument Serif (display), DM Sans (body), JetBrains Mono (code)
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

:root {
  --navy: #030023;
  --green: #67D129;
  --blue: #1DB3BD;
  --gray-900: #111111;
  --gray-700: #475C68;
  --gray-500: #6B7B8D;
  --gray-300: #B0BEC5;
  --gray-100: #F4F7F9;
  --white: #FFFFFF;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --content-width: 780px;
  --wide-width: 960px;
  --gap: 2rem;
  --radius: 6px;
  --transition: 0.2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Layout --- */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main { flex: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.content-width {
  max-width: var(--content-width);
  margin: 0 auto;
}

.wide-width {
  max-width: var(--wide-width);
  margin: 0 auto;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(3, 0, 35, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 20px;
  width: auto;
}

/* Default: show dark logo on white header */
.site-logo .logo-dark { display: block; }
.site-logo .logo-light { display: none; }

.site-logo .logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Footer logo */
.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 18px;
  width: auto;
}

.footer-logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
}

.site-nav a:hover { color: var(--navy); }

.site-nav a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--navy);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.nav-cta:hover { background: var(--blue); color: var(--white) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--navy); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem var(--gap);
    border-bottom: 1px solid var(--gray-100);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .site-nav.open { display: flex; }
}

/* ==========================================================================
   HERO (for Pages)
   ========================================================================== */
.page-hero {
  padding: 5rem 0 3rem;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(29, 179, 189, 0.08) 100%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: rgba(103, 209, 41, 0.12);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 400;
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.page-hero .subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 600px;
}

/* Lighter hero variant for industry/solution pages */
.page-hero.light {
  background: var(--gray-100);
  color: var(--gray-900);
}

.page-hero.light .subtitle { color: var(--gray-700); }
.page-hero.light .badge { background: rgba(29, 179, 189, 0.1); color: var(--blue); }

/* ==========================================================================
   PAGE CONTENT (the main styling for Ghost Pages)
   ========================================================================== */
.page-content {
  padding: 4rem 0 6rem;
}

.page-content .content-width {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-900);
}

/* Headings */
.page-content h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--navy);
  margin: 3rem 0 1.25rem;
  line-height: 1.2;
}

.page-content h2 {
  font-family: var(--font-body);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.page-content h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2rem 0 0.75rem;
  line-height: 1.4;
}

.page-content h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-700);
  margin: 1.5rem 0 0.5rem;
}

/* Paragraphs */
.page-content p {
  margin-bottom: 1.25rem;
}

/* Lists */
.page-content ul, .page-content ol {
  margin: 0 0 1.5rem 1.25rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content li strong {
  color: var(--navy);
}

/* Links in content */
.page-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(29, 179, 189, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color var(--transition);
}

.page-content a:hover {
  text-decoration-color: var(--blue);
}

/* Blockquotes -> Used as callout boxes */
.page-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--gray-900);
}

.page-content blockquote p:last-child { margin-bottom: 0; }

/* Code */
.page-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--gray-100);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  color: var(--navy);
}

.page-content pre {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: #e0e0e0;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Tables */
.page-content table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-content thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.page-content thead th:first-child { border-radius: var(--radius) 0 0 0; }
.page-content thead th:last-child { border-radius: 0 var(--radius) 0 0; }

.page-content tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.page-content tbody tr:nth-child(even) { background: var(--gray-100); }
.page-content tbody tr:hover { background: rgba(29, 179, 189, 0.04); }

/* Images in content */
.page-content figure {
  margin: 2rem 0;
}

.page-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
}

.page-content img {
  border-radius: var(--radius);
}

/* Horizontal rules */
.page-content hr {
  border: none;
  border-top: 2px solid var(--gray-100);
  margin: 3rem 0;
}

/* ==========================================================================
   ANSWER CAPSULE (GEO optimization block)
   Use Ghost's blockquote or a card with specific class
   ========================================================================== */
.answer-capsule {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(29, 179, 189, 0.04) 0%, rgba(103, 209, 41, 0.04) 100%);
  border: 1px solid rgba(29, 179, 189, 0.15);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   COMPARISON TABLE (for /vs/ pages)
   ========================================================================== */
.comparison-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.comparison-table table { min-width: 600px; }

.comparison-table th:nth-child(2) { color: var(--green); }
.comparison-table td:nth-child(2) { font-weight: 500; }

/* ==========================================================================
   GLOSSARY
   ========================================================================== */
.glossary-term {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.glossary-term:last-child { border-bottom: none; }

.glossary-term h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  border: none;
  padding: 0;
}

.glossary-term p { margin-bottom: 0.5rem; }

.glossary-term .related {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.glossary-term .related a {
  color: var(--blue);
  font-size: 0.8125rem;
}

/* Glossary alphabet nav */
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}

.glossary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.glossary-nav a:hover { background: var(--gray-100); color: var(--navy); }

/* ==========================================================================
   CTA SECTION (bottom of every page)
   ========================================================================== */
.page-cta {
  margin: 4rem 0 0;
  padding: 3rem;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  color: var(--white);
}

.page-cta h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  border: none;
  color: var(--white);
  margin: 0 0 0.75rem;
  padding: 0;
}

.page-cta p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.page-cta .btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  margin: 0 0.5rem;
  transition: all var(--transition);
}

.page-cta .btn:hover { background: var(--white); color: var(--navy); }

.page-cta .btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}

.page-cta .btn.secondary:hover { border-color: var(--white); }

/* ==========================================================================
   STAT BLOCKS
   ========================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-block {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-100);
  border-radius: var(--radius);
}

.stat-block .stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-block .stat-value.green { color: var(--green); }
.stat-block .stat-value.blue { color: var(--blue); }

.stat-block .stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ==========================================================================
   BLOG POST STYLES (for posts, not pages)
   ========================================================================== */
.post-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.post-header .post-tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: rgba(29, 179, 189, 0.08);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.post-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--navy);
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.post-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.post-meta .author { font-weight: 600; color: var(--gray-700); }

.post-feature-image {
  max-width: var(--wide-width);
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Guide badge */
.guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  background: rgba(103, 209, 41, 0.1);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.guide-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* ==========================================================================
   BLOG LISTING / INDEX
   ========================================================================== */
.blog-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 0.5rem;
}

.blog-header-inner {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
}

.blog-header h1 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1;
}

.blog-header p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin: 0;
}

.pagination {
  text-align: center;
  padding: 2rem 0 4rem;
}

.pagination-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue);
  margin: 0 0.75rem;
}

.pagination-link:hover {
  color: var(--navy);
}

.pagination-info {
  font-size: 0.875rem;
  color: var(--gray-300);
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  box-shadow: 0 8px 32px rgba(3, 0, 35, 0.08);
  transform: translateY(-2px);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-card-image img { transform: scale(1.03); }

.post-card-content { padding: 1.5rem; }

.post-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-card-meta {
  font-size: 0.8125rem;
  color: var(--gray-300);
}

/* ==========================================================================
   GUIDES LANDING
   ========================================================================== */
.guides-hero {
  padding: 4rem 0 2rem;
  background: var(--navy);
  color: var(--white);
}

.guides-hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.guides-hero p {
  color: var(--gray-300);
  font-size: 1.125rem;
  max-width: 600px;
}

.guide-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: all var(--transition);
}

.guide-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(29, 179, 189, 0.08);
}

.guide-card .guide-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.guide-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.375rem;
  border: none;
  padding: 0;
}

.guide-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-500);
  max-width: 280px;
}

.footer-column h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}

.footer-column a:hover { color: var(--green); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--gray-300); }

.footer-legal { display: flex; gap: 1.5rem; }

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ==========================================================================
   GHOST KOENIG EDITOR - Required CSS Classes
   ========================================================================== */
.kg-width-wide {
  max-width: var(--wide-width);
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  max-width: none;
  margin-left: calc(-1 * var(--gap));
  margin-right: calc(-1 * var(--gap));
}

.kg-width-full img {
  width: 100%;
  border-radius: 0;
}

.kg-image-card,
.kg-gallery-card {
  margin: 2rem 0;
}

.kg-image-card img {
  margin: 0 auto;
}

.kg-image-card figcaption,
.kg-gallery-card figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.kg-gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kg-gallery-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.kg-bookmark-card {
  margin: 2rem 0;
}

.kg-bookmark-container {
  display: flex;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition);
}

.kg-bookmark-container:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.kg-bookmark-content {
  flex: 1;
  padding: 1.25rem;
}

.kg-bookmark-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.kg-bookmark-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--gray-300);
}

.kg-bookmark-icon {
  width: 16px;
  height: 16px;
}

.kg-bookmark-thumbnail {
  flex-shrink: 0;
  width: 160px;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-callout-card {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--gray-100);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.kg-callout-emoji {
  margin-right: 0.5rem;
}

.kg-callout-text {
  font-size: 1rem;
  line-height: 1.7;
}

.kg-toggle-card {
  margin: 1.5rem 0;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.kg-toggle-content {
  padding: 0 1.25rem 1rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.kg-button-card {
  margin: 2rem 0;
  text-align: center;
}

.kg-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition);
}

.kg-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-500); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .page-cta, .nav-cta { display: none; }
  body { font-size: 12pt; color: #000; }
  .page-hero { background: #fff !important; color: #000 !important; padding: 1rem 0; }
  .page-content { padding: 1rem 0; }
}
