/* ====================================================================
   Nexium Wave — Soft Pastel UI System (Flexbox-only)
   Author: Senior CSS Developer & UI Designer
   ==================================================================== */

/* ------------------------------------------------
   1) Fonts import (brand: Montserrat, Roboto)
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ------------------------------------------------
   2) Reset & Normalize (mobile-first)
   ------------------------------------------------ */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif; line-height: 1.6; color: #243041; background-color: #FAFBFF; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
ol { padding-left: 20px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 2px solid rgba(31,122,140,0.5); outline-offset: 2px; }

/* ------------------------------------------------
   3) Design tokens — Soft Pastel with Brand
   ------------------------------------------------ */
:root {
  /* Brand */
  --brand-primary: #0B2D5B; /* dark navy */
  --brand-secondary: #1F7A8C; /* teal */
  --brand-accent: #F3F7FA; /* light accent */
  /* Soft pastel complements */
  --pastel-blue: #E6EFF8; /* tinted primary */
  --pastel-mint: #E5F4F2; /* tinted secondary */
  --pastel-lilac: #F0E9FA;
  --pastel-peach: #FFEDE1;
  --pastel-pink: #FCE7F1;
  /* Text & surfaces */
  --text-strong: #1D2939;
  --text-muted: #5B6676;
  --surface: #FFFFFF;
  --surface-soft: #FAFCFF;
  --surface-elev: #FFFFFF;
  --border: #E6EAF0;
  /* Effects */
  --shadow-sm: 0 2px 10px rgba(11,45,91,0.06);
  --shadow-md: 0 8px 24px rgba(11,45,91,0.10);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  /* Spacing scale */
  --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-20: 20px; --sp-24: 24px; --sp-32: 32px; --sp-40: 40px; --sp-48: 48px; --sp-60: 60px; --sp-72: 72px;
}

/* ------------------------------------------------
   4) Typography
   ------------------------------------------------ */
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; color: var(--brand-primary); margin: 0 0 16px; line-height: 1.2; }
h1 { font-size: 32px; letter-spacing: -0.5px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; color: var(--text-strong); }
p { margin: 0 0 16px; color: var(--text-strong); }
.small, small { font-size: 14px; color: var(--text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--pastel-mint); color: var(--brand-secondary); font-size: 14px; font-weight: 600; letter-spacing: 0.2px; }
.subheadline { color: var(--text-muted); font-size: 16px; margin-bottom: var(--sp-24); }
blockquote { margin: 0; color: var(--text-strong); font-style: italic; }
strong { color: var(--brand-primary); }

/* ------------------------------------------------
   5) Layout primitives (Flexbox-only)
   ------------------------------------------------ */
/* Generic sections and containers */
section { margin-bottom: var(--sp-60); padding: 40px 20px; background: transparent; }
.container { display: flex; width: 100%; justify-content: center; padding: 0; }
.content-wrapper { display: flex; flex-direction: column; gap: 24px; width: 100%; max-width: 1120px; margin: 0 auto; }

/* Mandatory spacing classes (as requested) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------------------------------------------------
   6) Header & Navigation
   ------------------------------------------------ */
header { position: relative; background: linear-gradient(0deg, var(--pastel-blue), var(--surface-soft)); /* visually soft but still solid areas */ background: var(--surface-soft); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.navbar > a img { width: 140px; }
.nav-list { display: none; align-items: center; gap: 16px; }
.nav-list a { color: var(--brand-primary); padding: 8px 10px; border-radius: 10px; transition: background-color .18s ease; font-weight: 500; }
.nav-list a:hover { background: var(--pastel-blue); }
.nav-cta-btns { display: none; align-items: center; gap: 10px; }

/* Mobile burger */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; position: absolute; right: 16px; top: 12px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--brand-primary); font-size: 20px; z-index: 1010; }
.mobile-menu-toggle:hover { background: var(--pastel-mint); }

/* Mobile full-screen menu */
.mobile-menu { position: fixed; inset: 0; background: rgba(11,45,91,0.08); display: flex; align-items: stretch; justify-content: flex-end; transform: translateX(100%); transition: transform .28s ease; z-index: 2000; }
.mobile-menu .mobile-nav { display: flex; flex-direction: column; gap: 10px; background: var(--surface); width: 80%; max-width: 360px; padding: 24px; border-left: 1px solid var(--border); box-shadow: var(--shadow-md); }
.mobile-menu .mobile-nav a { padding: 12px 10px; border-radius: 12px; color: var(--brand-primary); background: var(--brand-accent); transition: background-color .18s ease, transform .18s ease; }
.mobile-menu .mobile-nav a:hover { background: var(--pastel-blue); transform: translateX(2px); }
.mobile-menu-close { position: relative; align-self: flex-end; margin: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--pastel-blue); color: var(--brand-primary); font-size: 18px; }
/* States supported for JS toggling */
.mobile-menu.open, .mobile-menu.active, .mobile-menu[aria-expanded="true"] { transform: translateX(0); }

/* Desktop nav visibility */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
  .nav-list { display: flex; }
  .nav-cta-btns { display: flex; }
  .navbar { padding: 16px 24px; }
}

/* ------------------------------------------------
   7) Buttons & Links
   ------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease; border: 1px solid transparent; }
.btn-primary { background: var(--brand-primary); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0A264C; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--pastel-mint); color: var(--brand-secondary); border-color: rgba(31,122,140,0.15); }
.btn-secondary:hover { background: #D9F0EE; }
.btn:focus-visible { outline: 2px solid rgba(31,122,140,0.5); outline-offset: 2px; }

/* ------------------------------------------------
   8) Hero
   ------------------------------------------------ */
.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; background: var(--brand-accent); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.hero h1 { font-size: 32px; }
.hero .trust-badges { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.hero .trust-badges img { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .hero { padding: 32px; } .hero h1 { font-size: 40px; } }
@media (min-width: 1200px) { .hero h1 { font-size: 48px; } }

/* ------------------------------------------------
   9) Reusable groups & cards
   ------------------------------------------------ */
/* KPI grid */
.kpi-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.kpi-grid > div { flex: 1 1 180px; min-width: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); color: var(--text-strong); }
.kpi-grid strong { font-size: 22px; color: var(--brand-secondary); }

.benchmark-bar { display: flex; align-items: center; padding: 12px 16px; background: var(--pastel-blue); border: 1px solid var(--border); border-radius: 12px; color: var(--brand-primary); }
.methodology-note, .methodology-note small { color: var(--text-muted); }

/* Feature grid */
.feature-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.feature-grid > li { flex: 1 1 260px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.feature-grid img { width: 40px; height: 40px; }

/* Services, plans */
.service-cards, .plan-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.service-cards > div, .plan-cards > div { flex: 1 1 280px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.service-cards img { width: 44px; height: 44px; }
.plan-cards h3 { margin-bottom: 8px; }
.plan-cards ul { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.plan-cards > div:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* Use-case tabs */
.use-case-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.use-case-tabs > div { padding: 10px 14px; background: var(--pastel-lilac); color: #5B4E7C; border: 1px solid #E7E0F7; border-radius: 999px; font-weight: 600; transition: background-color .2s ease; }
.use-case-tabs > div:hover { background: #E7E0F7; }

/* Industry & integration logos */
.industry-icons, .integration_logos, .logo-wall { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.industry-icons img, .integration_logos img, .logo-wall img { width: 56px; height: 56px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); filter: grayscale(0.2) contrast(0.95); opacity: 0.9; transition: filter .2s ease, opacity .2s ease, transform .18s ease; }
.industry-icons img:hover, .integration_logos img:hover, .logo-wall img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }

/* CTA banner */
.cta-banner { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 18px; background: var(--pastel-mint); border: 1px solid #D9ECEB; border-radius: var(--radius-md); color: var(--brand-secondary); }
.cta-banner a { color: #81a2ce; text-decoration: underline; font-weight: 600; }

/* Stepper */
.stepper { display: flex; flex-direction: column; gap: 10px; counter-reset: step; margin: 0; padding-left: 0; }
.stepper > li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.stepper > li::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pastel-peach); color: #9A5A2F; font-weight: 700; }

/* Timeline */
.timeline { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; background: var(--pastel-blue); border: 1px solid var(--border); border-radius: 12px; color: var(--brand-primary); }

/* Testimonials (dark text on light background for readability) */
.testimonial-card blockquote { font-size: 16px; color: var(--text-strong); }
.testimonial-card .testimonial-cite { color: var(--text-muted); font-size: 14px; }

/* Featured post */
.featured-post { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--brand-secondary); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.featured-post a { color: var(--brand-primary); text-decoration: underline; }

/* Post list */
.post-list { display: flex; flex-direction: column; gap: 10px; }
.post-list a { color: var(--brand-secondary); text-decoration: underline; }
.post-list a:hover { color: var(--brand-primary); }

/* Icons row */
.feature-icons { display: flex; flex-wrap: wrap; gap: 16px; }
.feature-icons li { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.feature-icons img { width: 36px; height: 36px; }

/* Categories, tags */
.categories-filter, .tag-cloud { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--text-muted); }
.categories-filter span, .tag-cloud span { padding: 6px 10px; border-radius: 999px; background: var(--pastel-pink); color: #7C3A59; border: 1px solid #F6D8E7; font-size: 14px; }

/* Rating summary */
.rating-summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); color: var(--text-strong); }
.rating-summary img { width: 22px; height: 22px; }

/* Case highlights */
.case-highlights { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

/* Search bar */
.search-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.search-bar input[type="text"] { flex: 1 1 220px; min-width: 200px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--brand-accent); transition: border-color .18s ease, box-shadow .18s ease; }
.search-bar input[type="text"]:focus { border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(31,122,140,0.1); }

/* Contact info & map */
.contact-info { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-info > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); }
.contact-info img { width: 18px; height: 18px; }
.map-embed { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--pastel-blue); border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--brand-primary); }
.social-links { display: flex; align-items: center; gap: 12px; }
.social-links a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .18s ease; }
.social-links a:hover { transform: translateY(-2px); }

/* Accordion */
.accordion-list { display: flex; flex-direction: column; gap: 12px; }
.accordion-item { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.accordion-item > strong { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.accordion-item > div { color: var(--text-strong); }
/* Optional collapsed state support */
.accordion-item.collapsed > div { display: none; }

/* Comparison table */
.comparison-table { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-sm); }
.comparison-table table { width: 100%; border-collapse: collapse; min-width: 520px; }
.comparison-table th, .comparison-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.comparison-table thead th { color: var(--brand-primary); font-weight: 700; background: var(--pastel-blue); }
.comparison-table tbody tr:nth-child(even) td { background: #FAFCFF; }
/* Table mobile scroll */
.comparison-table { overflow-x: auto; }

/* Billing toggle, faq snippet, prompts */
.billing-toggle, .faq-snippet, .contact-prompt, .dashboard-preview-text, .feature-descriptions { padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); color: var(--text-strong); }

/* Pagination */
.pagination { display: flex; align-items: center; gap: 8px; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.pagination span { background: var(--pastel-mint); border-color: #D9ECEB; color: var(--brand-secondary); font-weight: 600; }

/* Benefit list */
.benefit-list { display: flex; flex-direction: column; gap: 8px; }
.benefit-list li { position: relative; padding-left: 12px; }
.benefit-list li::marker { content: ''; }
.benefit-list li::before { content: '✓'; margin-right: 8px; color: var(--brand-secondary); }

/* ------------------------------------------------
   10) Forms & Inputs
   ------------------------------------------------ */
.newsletter-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-sm); }
.newsletter-form input[type="email"], input[type="text"], input[type="email"] { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--brand-accent); min-width: 220px; }
.newsletter-form input:focus, input:focus { border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(31,122,140,0.1); }
label { color: var(--text-muted); }

/* ------------------------------------------------
   11) Footer
   ------------------------------------------------ */
footer { background: var(--surface); border-top: 1px solid var(--border); }
footer .content-wrapper { gap: 16px; padding: 20px 0; }
footer img[alt="Nexium Wave"] { width: 48px; height: 48px; }
.footer-tagline { color: var(--text-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-nav a { color: var(--brand-primary); background: var(--brand-accent); padding: 8px 10px; border-radius: 10px; transition: background-color .18s ease; }
.footer-nav a:hover { background: var(--pastel-blue); }
.contact-details { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-details > div { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow-sm); }
.legal { color: var(--text-muted); font-size: 14px; }

/* ------------------------------------------------
   12) Page-specific subtle backgrounds (soft pastel atmosphere)
   ------------------------------------------------ */
/* Alternate section backgrounds to create dreamy rhythm */
main section:nth-child(odd) .content-wrapper { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }
main section:nth-child(even) .content-wrapper { background: var(--brand-accent); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); }

/* ------------------------------------------------
   13) Cookie Consent Banner & Modal
   ------------------------------------------------ */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); transform: translateY(120%); transition: transform .3s ease; z-index: 3000; }
.cookie-banner.show, .cookie-banner.visible, .cookie-banner[aria-hidden="false"] { transform: translateY(0); }
.cookie-banner .cookie-text { color: var(--text-strong); }
.cookie-banner .cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn-accept { background: var(--brand-secondary); color: #fff; border-radius: 10px; padding: 10px 14px; }
.cookie-btn-reject { background: var(--pastel-peach); color: #9A5A2F; border: 1px solid #F8DCC7; border-radius: 10px; padding: 10px 14px; }
.cookie-btn-settings { background: var(--brand-accent); color: var(--brand-primary); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }

.cookie-modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(36,48,65,0.35); z-index: 4000; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cookie-modal.open, .cookie-modal.visible, .cookie-modal[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.cookie-modal .modal-dialog { width: 100%; max-width: 680px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 18px; display: flex; flex-direction: column; gap: 14px; transform: translateY(10px); transition: transform .25s ease; }
.cookie-modal.open .modal-dialog, .cookie-modal.visible .modal-dialog { transform: translateY(0); }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-content { display: flex; flex-direction: column; gap: 10px; }
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--brand-accent); border: 1px solid var(--border); border-radius: 10px; }
.cookie-switch { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #D0D7E2; transition: background .2s ease; }
.cookie-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: left .2s ease; }
.cookie-switch.on { background: var(--brand-secondary); }
.cookie-switch.on::after { left: 21px; }
.cookie-modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ------------------------------------------------
   14) Utilities
   ------------------------------------------------ */
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap; }

/* ------------------------------------------------
   15) Responsive rules
   ------------------------------------------------ */
/* Text-image sections stack on mobile, row on desktop */
@media (max-width: 768px) { .text-image-section { flex-direction: column; align-items: center; text-align: left; } }
@media (min-width: 768px) {
  .content-wrapper { gap: 28px; }
}
@media (min-width: 992px) {
  .content-wrapper { gap: 32px; }
  .hero { flex-direction: column; }
}

/* ------------------------------------------------
   16) Tables default (global safety)
   ------------------------------------------------ */
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid var(--border); padding: 8px 10px; color: var(--text-strong); }

/* ------------------------------------------------
   17) Additional polish & micro-interactions
   ------------------------------------------------ */
a:hover { text-decoration: underline; }
.card:focus-within, .featured-post:focus-within { box-shadow: 0 0 0 3px rgba(31,122,140,0.15); }

/* ------------------------------------------------
   18) Ensure adequate spacing between cards/sections
   ------------------------------------------------ */
main > section + section { margin-top: 0; }
.card, .testimonial-card, .featured-post, .case-highlights, .cta-banner, .comparison-table, .rating-summary { margin-bottom: 20px; }

/* ------------------------------------------------
   19) Dark-on-light in testimonial & review sections (contrast)
   ------------------------------------------------ */
/* Already enforced via .testimonial-card background: var(--surface); text: var(--text-strong) */

/* ------------------------------------------------
   20) Brand-consistent headers in policy pages
   ------------------------------------------------ */
.text-section { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.text-section h2 { margin-top: 8px; }

/* ------------------------------------------------
   21) Accessibility & z-index sanity
   ------------------------------------------------ */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: auto; }

/* ------------------------------------------------
   End of stylesheet — Flexbox-only, no grid/columns used
   ------------------------------------------------ */
