/* ============================================================
   FlexiRates - Modern SaaS Design System
   Powered by Bill Buddy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ------------------------------------------------------------
   1. Custom Properties (Design Tokens)
   ------------------------------------------------------------ */
:root {
  /* Color palette */
  --color-navy:        #0F1340;
  --color-navy-2:      #181d56;
  --color-navy-soft:   #1f2566;
  --color-orange:      #FF5A1F;
  --color-orange-deep: #d94518;
  --color-orange-soft: #ffe9df;
  --color-white:       #ffffff;
  --color-bg:          #f6f7fa;
  --color-bg-2:        #eef0f6;
  --color-text:        #4a5072;
  --color-text-dark:   #1f2440;
  --color-text-muted:  #767c98;
  --color-border:      #e4e7f0;

  /* Status colors */
  --color-success:     #16a87a;
  --color-warning:     #f59e0b;
  --color-danger:      #e84c1e;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font sizes */
  --fs-xs:   0.75rem;     /* 12px */
  --fs-sm:   0.875rem;    /* 14px */
  --fs-base: 1rem;        /* 16px */
  --fs-md:   1.125rem;    /* 18px */
  --fs-lg:   1.25rem;     /* 20px */
  --fs-xl:   1.5rem;      /* 24px */
  --fs-2xl:  1.875rem;    /* 30px */
  --fs-3xl:  2.25rem;     /* 36px */
  --fs-4xl:  3rem;        /* 48px */

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-card: 12px;
  --radius-hero-card: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 19, 64, 0.04);
  --shadow-sm: 0 2px 12px rgba(15, 19, 64, 0.04);
  --shadow-md: 0 4px 24px rgba(15, 19, 64, 0.06);
  --shadow-lg: 0 8px 32px rgba(15, 19, 64, 0.10);
  --shadow-xl: 0 12px 40px rgba(15, 19, 64, 0.12);
  --shadow-card-hover: 0 12px 32px rgba(15, 19, 64, 0.10);
  --shadow-hero-card: 0 20px 60px rgba(0, 0, 0, 0.30);
  --shadow-orange: 0 4px 14px rgba(255, 90, 31, 0.30);
  --shadow-orange-hover: 0 6px 20px rgba(255, 90, 31, 0.40);

  /* Layout */
  --container-width: 1200px;
  --container-padding: clamp(1.25rem, 4vw, 2.5rem);
  --section-padding: clamp(5rem, 9vw, 7rem);
  --nav-height: 76px;

  /* Lines */
  --line-tight: 1.15;
  --line-snug: 1.3;
  --line-normal: 1.5;
  --line-relaxed: 1.65;

  /* Transitions */
  --transition: 200ms ease;
  --transition-slow: 320ms ease;

  /* Legacy aliases kept for backward references in HTML inline styles */
  --color-ink:        var(--color-text-dark);
  --color-ink-soft:   var(--color-text-muted);
  --color-cream:      var(--color-bg);
  --color-charcoal:   var(--color-text-dark);
  --line-height-relaxed: 1.65;
  --font-size-xs:     0.75rem;
  --font-size-sm:     0.875rem;
  --font-size-base:   1rem;
  --font-size-md:     1.125rem;
  --font-size-lg:     1.25rem;
  --font-size-xl:     1.5rem;
  --font-size-2xl:    1.875rem;
  --font-size-3xl:    2.25rem;
  --font-size-4xl:    3rem;
  --font-serif:       var(--font-family);
  --font-mono:        var(--font-family);
}

/* ------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--line-relaxed);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-orange-deep);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: var(--line-tight);
  letter-spacing: -0.015em;
}

p {
  line-height: var(--line-relaxed);
}

::selection {
  background: var(--color-orange);
  color: var(--color-white);
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 9999;
  font-weight: 600;
  font-size: var(--fs-sm);
}

.skip-link:focus {
  top: 0;
  color: var(--color-white);
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   3. Layout Helpers
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background: var(--color-white);
}

.section--bg {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

/* Section Header */
.section-header {
  max-width: 760px;
  margin-bottom: var(--space-12);
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.section--dark .section-label {
  color: var(--color-orange);
}

.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: var(--space-5);
  text-transform: none;
}

.section-title em {
  font-style: normal;
  color: var(--color-orange);
}

.section--dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: var(--line-relaxed);
  color: var(--color-text-muted);
  max-width: 640px;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: var(--fs-sm);
}

.btn--lg {
  padding: 16px 30px;
  font-size: var(--fs-base);
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--color-orange-deep);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-orange-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-white);
  border-color: var(--color-text-dark);
  color: var(--color-text-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-dark);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-white);
  border-color: var(--color-text-dark);
  color: var(--color-text-dark);
}

/* Ghost on dark backgrounds */
.hero .btn-secondary,
.hero .btn-ghost,
.cta-section .btn-secondary,
.cta-section .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.30);
  background: transparent;
}

.hero .btn-secondary:hover,
.hero .btn-ghost:hover,
.cta-section .btn-secondary:hover,
.cta-section .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.60);
  color: var(--color-white);
}

/* ------------------------------------------------------------
   5. Navigation
   ------------------------------------------------------------ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(15, 19, 64, 0.06);
}

.site-nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  background: var(--color-white);
  padding: 2px 8px;
  border-radius: 6px;
  transition: background var(--transition), padding var(--transition);
  flex-shrink: 0;
  line-height: 0;
}

.nav-logo__img {
  height: 38px;
  width: auto;
  display: block;
}

.site-nav.scrolled .nav-logo {
  background: transparent;
  padding: 2px 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
  transition: color var(--transition);
  padding: 6px 0;
  position: relative;
  text-transform: none;
}

.nav-links a:hover {
  color: var(--color-orange);
}

.nav-links a.active {
  color: var(--color-orange);
}

.nav-links a.btn {
  padding: 10px 18px;
  color: var(--color-white);
}

.nav-links a.btn:hover {
  color: var(--color-white);
}

.site-nav.scrolled .nav-links a {
  color: var(--color-text-dark);
}

.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active {
  color: var(--color-orange);
}

.site-nav.scrolled .nav-links a.btn {
  color: var(--color-white);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.site-nav.scrolled .nav-hamburger span {
  background: var(--color-text-dark);
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  z-index: 999;
  padding: var(--space-6) var(--container-padding) var(--space-8);
  transform: translateY(-120%);
  transition: transform var(--transition-slow);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(15, 19, 64, 0.08);
}

.nav-mobile.is-open {
  transform: translateY(0);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.nav-mobile a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: var(--fs-md);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-bg);
  color: var(--color-orange);
}

.nav-mobile .btn {
  width: 100%;
  padding: 14px 24px;
  color: var(--color-white);
}

.nav-mobile .btn:hover {
  background: var(--color-orange-deep);
  color: var(--color-white);
}

/* ------------------------------------------------------------
   6. Hero (Home)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-20);
  min-height: clamp(620px, 80vh, 820px);
  display: flex;
  align-items: center;
}

/* Diagonal orange wedge - main */
.hero__wedge {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  background: var(--color-orange);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 8% 100%);
  z-index: 1;
  pointer-events: none;
}

/* Diagonal wedge - secondary darker layer for depth */
.hero__wedge--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 100%;
  background: var(--color-orange-deep);
  opacity: 0.4;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: minmax(440px, 460px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero__content,
.hero__left {
  position: relative;
  z-index: 5;
  max-width: 580px;
}

.hero__right {
  position: relative;
  z-index: 5;
}

.hero__eyebrow,
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
  text-transform: none;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  text-transform: none;
}

.hero__title .highlight {
  /* White stays legible on both the navy hero base and the orange wedge. */
  color: var(--color-white);
  font-style: normal;
  font-weight: 700;
}

.hero__subtitle {
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: var(--line-relaxed);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Hide legacy artifacts */
.hero__arrow,
.hero__bg-pattern {
  display: none;
}

/* Hero right - portal mockup card */
.hero__mockup {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

/* Inner hero - used on sub-pages */
.hero--inner {
  min-height: clamp(380px, 50vh, 520px);
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-12);
}

.hero--inner .hero__inner {
  grid-template-columns: 1fr;
  text-align: left;
}

.hero--inner .hero__content {
  max-width: 760px;
}

.hero--inner .hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
}

.hero--inner .hero__wedge {
  width: 45%;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: 0.92;
}

.hero--inner .hero__wedge--back {
  width: 52%;
  opacity: 0.3;
}

/* ------------------------------------------------------------
   7. Portal Mockup (sits in hero right)
   ------------------------------------------------------------ */
.portal-mockup {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  box-shadow: var(--shadow-hero-card);
  padding: 0;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  color: var(--color-text);
}

.portal-mockup__header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-mockup__dots {
  display: flex;
  gap: 6px;
}

.portal-mockup__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4d8e3;
}

.portal-mockup__dot:nth-child(1) { background: #ff6157; }
.portal-mockup__dot:nth-child(2) { background: #febc2e; }
.portal-mockup__dot:nth-child(3) { background: #28c840; }

.portal-mockup__title-bar {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--color-text-muted);
}

.portal-mockup__greeting {
  padding: 18px 20px 6px;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.portal-mockup__greeting strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.portal-balance {
  margin: 8px 20px 18px;
  padding: 18px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
}

.portal-balance__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.portal-balance__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.portal-balance__status {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
}

.portal-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 20px 16px;
}

.portal-option {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.portal-option__icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 4px;
  background: var(--color-orange-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
}

.portal-option__icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portal-option__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 2px;
}

.portal-option__sub {
  font-size: 10px;
  color: var(--color-text-muted);
  line-height: 1.2;
}

.portal-schedule {
  padding: 12px 20px 20px;
  border-top: 1px solid var(--color-border);
}

.portal-schedule__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.portal-schedule__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-xs);
}

.portal-schedule__item:last-child {
  border-bottom: none;
}

.portal-schedule__date {
  color: var(--color-text-muted);
  flex: 1;
}

.portal-schedule__amount {
  font-weight: 600;
  color: var(--color-text-dark);
}

.portal-schedule__badge {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.badge--orange {
  background: var(--color-orange-soft);
  color: var(--color-orange);
}

.badge--grey {
  background: var(--color-bg-2);
  color: var(--color-text-muted);
}

.badge--green {
  background: #d6f4e6;
  color: var(--color-success);
}

/* ------------------------------------------------------------
   8. Trust / Highlight Band (dark, below hero)
   ------------------------------------------------------------ */
.trust-strip,
.trust-band {
  background: var(--color-navy-2);
  padding: var(--space-8) 0;
  color: var(--color-white);
}

.trust-strip__inner,
.trust-band__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: var(--space-6);
  align-items: center;
}

.trust-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip__item,
.trust-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
  padding: 6px 18px;
  flex: 1 1 auto;
  min-width: 140px;
}

.trust-band__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: calc(var(--space-6) / -2);
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.10);
}

.trust-strip__item svg,
.trust-band__item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip__divider,
.trust-band__divider {
  display: none;
}

/* Hero certifications shelf — sits inside the hero left column,
   below the CTAs. Built as a row so future certifications drop in
   as additional .hero__cert-mark siblings. */
.hero__certs {
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 520px;
}

.hero__certs-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__certs-list {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero__cert-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  height: 110px;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0.92;
}

.hero__cert-mark:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.hero__cert-mark img {
  height: 100%;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .hero__certs { margin-top: var(--space-6); }
  .hero__cert-mark { height: 84px; }
  .hero__cert-mark img { max-width: 240px; }
}

/* ------------------------------------------------------------
   9. Cards (Generic) - clean white SaaS card
   ------------------------------------------------------------ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-orange-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-orange);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card--navy-icon .card__icon {
  background: rgba(15, 19, 64, 0.06);
  color: var(--color-navy);
}

.card__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.card__text {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: var(--line-relaxed);
}

/* Generic grid */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------------------------------------
   10. "Built for Australian Councils" Overview Section
   ------------------------------------------------------------ */
.overview {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.overview__copy {
  max-width: 540px;
}

.overview__copy .section-label {
  margin-bottom: var(--space-4);
}

.overview__copy .section-title {
  margin-bottom: var(--space-5);
}

.overview__copy p {
  color: var(--color-text);
  font-size: var(--fs-md);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-6);
}

.overview__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.overview__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-dark);
  font-size: var(--fs-base);
  font-weight: 500;
}

.overview__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--color-orange-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dashboard mockup (overview right) */
.dashboard-card {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  box-shadow: 0 8px 40px rgba(15, 19, 64, 0.08);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.dashboard-card__header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-card__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-dark);
}

.dashboard-card__dots {
  display: flex;
  gap: 6px;
}

.dashboard-card__dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4d8e3;
}

.dashboard-card__body {
  padding: 24px;
  display: grid;
  gap: 20px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.dashboard-kpi {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--color-border);
}

.dashboard-kpi__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.dashboard-kpi__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dashboard-kpi__delta {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-success);
}

.dashboard-kpi__delta--down {
  color: var(--color-danger);
}

.dashboard-charts {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.dashboard-chart {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--color-border);
}

.dashboard-chart__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.dashboard-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100px;
  gap: 6px;
}

.dashboard-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--color-orange) 0%, #ff8a5e 100%);
  border-radius: 4px 4px 0 0;
  min-width: 0;
}

.dashboard-bars span:nth-child(odd) {
  background: linear-gradient(to top, var(--color-navy) 0%, var(--color-navy-soft) 100%);
}

.dashboard-donut-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.dashboard-donut__svg {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
}

.dashboard-donut__svg circle {
  fill: none;
  stroke-width: 12;
}

.dashboard-donut__track {
  stroke: var(--color-border);
}

.dashboard-donut__fill {
  stroke: var(--color-orange);
  stroke-linecap: round;
}

.dashboard-donut-wrap__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dashboard-donut-wrap__value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1;
}

.dashboard-donut-wrap__sub {
  font-size: 9px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ------------------------------------------------------------
   11. About Split (2-column with visual)
   ------------------------------------------------------------ */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-split--reverse > :first-child {
  order: 2;
}

.about-split--reverse > :last-child {
  order: 1;
}

.about-visual {
  background: var(--color-navy);
  border-radius: var(--radius-hero-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--color-orange);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 15% 100%);
  opacity: 0.10;
  pointer-events: none;
}

.about-visual > * {
  position: relative;
  z-index: 1;
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: var(--space-3);
}

.about-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
}

.about-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.about-stat__label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
  font-weight: 500;
}

/* Quote block inside the about-visual navy panel */
.about-quote {
  margin: 0;
  padding: var(--space-4) var(--space-2);
}

.about-quote__text {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-5);
}

.about-quote__cite {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-orange);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-quote__cite::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-orange);
  flex-shrink: 0;
}

/* Powered by Bill Buddy card — real logo on a light card */
.billbuddy-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-hero-card);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.billbuddy-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.billbuddy-card__logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.billbuddy-card__sub {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  max-width: 300px;
  margin: var(--space-5) auto 0;
}

/* 20+ years badge inside the Bill Buddy card */
.billbuddy-card__years {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.billbuddy-card__years-num {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-orange);
  letter-spacing: -0.03em;
}

.billbuddy-card__years-text {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
}

/* ============================================================
   About — Team pillars (3-up icon highlights)
   ============================================================ */
.team-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.team-pillar {
  text-align: center;
  padding: var(--space-2);
}

.team-pillar__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.team-pillar__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-pillar__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.team-pillar__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0;
}

/* ============================================================
   About — Proudly Australian fact strip
   ============================================================ */
.au-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

.au-fact {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.au-fact__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: -0.02em;
  line-height: 1;
}

.au-fact__label {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .team-pillars,
  .au-facts {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .billbuddy-card__years {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
  .billbuddy-card__years-text {
    text-align: center;
  }
}

/* ------------------------------------------------------------
   12. Check List
   ------------------------------------------------------------ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text);
  font-size: var(--fs-base);
  line-height: var(--line-relaxed);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  background-color: var(--color-orange-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.check-list--navy li::before {
  background-color: rgba(15, 19, 64, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%230F1340' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Callout */
.callout {
  margin-top: var(--space-6);
  background: var(--color-white);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-sm);
}

.callout p {
  color: var(--color-text-dark);
  font-size: var(--fs-base);
  font-style: italic;
  line-height: var(--line-relaxed);
  margin: 0;
}

/* ------------------------------------------------------------
   13. Feature List (icon + title + text rows)
   ------------------------------------------------------------ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
}

.feature-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item__content {
  min-width: 0;
}

.feature-item__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  text-transform: none;
}

.feature-item__text {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   14. Payment Options Grid
   ------------------------------------------------------------ */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.payment-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.payment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.payment-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  padding: 8px;
}

.payment-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.payment-card__rule {
  display: none;
}

.payment-card__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  text-transform: none;
}

.payment-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   15. Dual Portal
   ------------------------------------------------------------ */
.dual-portal {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dual-portal__panel {
  border-radius: var(--radius-hero-card);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  min-height: 380px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dual-portal__panel:hover {
  transform: translateY(-4px);
}

.dual-portal__panel--navy {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 90, 31, 0.22), transparent 45%),
    var(--color-navy);
  box-shadow: 0 20px 50px -20px rgba(15, 19, 64, 0.5);
}

.dual-portal__panel--orange {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.18), transparent 45%),
    linear-gradient(150deg, var(--color-orange) 0%, var(--color-orange-deep) 130%);
  box-shadow: 0 20px 50px -20px rgba(255, 90, 31, 0.5);
}

/* Big faded numeral in the corner */
.dual-portal__bignum {
  position: absolute;
  top: -0.15em;
  right: 0.1em;
  font-size: clamp(7rem, 14vw, 12rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 0;
}

.dual-portal__inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

/* Panel header — icon tile + label */
.dual-portal__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.dual-portal__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dual-portal__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dual-portal__lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-base);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-6);
  max-width: 420px;
}

.dual-portal__label {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dual-portal__title {
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-5);
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-transform: none;
  font-style: normal;
}

.dual-portal__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dual-portal__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-base);
  line-height: 1.4;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dual-portal__list li:last-child {
  border-bottom: none;
}

.dual-portal__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ------------------------------------------------------------
   16. Case Study — Cardinia video testimonial
   ------------------------------------------------------------ */
.case-study {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.case-study__media {
  position: relative;
  width: 100%;
}

.case-study__video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-navy);
  border-radius: var(--radius-hero-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(15, 19, 64, 0.35), 0 8px 24px -8px rgba(15, 19, 64, 0.18);
  border: 1px solid var(--color-border);
}

.case-study__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: var(--color-navy);
}

.case-study__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.case-study__title {
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}

.case-study__text {
  font-size: var(--fs-md);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0;
}

.case-study__points {
  list-style: none;
  padding: 0;
  margin: var(--space-2) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.case-study__points li {
  position: relative;
  padding-left: 28px;
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.5;
}

.case-study__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-orange-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 900px) {
  .case-study {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

/* ------------------------------------------------------------
   16b. Highlight Box / Case Study (legacy — kept for other pages)
   ------------------------------------------------------------ */
.highlight-box {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.highlight-box__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-3);
}

.highlight-box__title {
  font-size: clamp(1.875rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-5);
  text-transform: none;
}

.highlight-box__title em {
  font-style: normal;
  color: var(--color-orange);
}

.highlight-box__text {
  color: var(--color-text);
  font-size: var(--fs-md);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-8);
  max-width: 760px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-md);
}

.stat-row__item {
  text-align: center;
}

.stat-row__value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-row__value sub {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--color-text-muted);
  vertical-align: super;
  margin-left: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-row__label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.placeholder-note {
  margin-top: var(--space-5);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-style: italic;
  text-align: center;
}

/* ------------------------------------------------------------
   17. Steps
   ------------------------------------------------------------ */
.steps {
  position: relative;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.steps__grid::before {
  content: '';
  position: absolute;
  top: 64px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 2px dashed rgba(255, 90, 31, 0.35);
  z-index: 0;
}

.step {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: var(--space-7) var(--space-6) var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

/* Orange accent rule that draws in on hover */
.step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.step:hover::after {
  transform: scaleX(1);
}

/* Arrow connector between cards (desktop) */
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 64px;
  right: calc(var(--space-6) / -2 - 7px);
  width: 14px;
  height: 14px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--color-orange);
  border-right: 2px solid var(--color-orange);
  background: var(--color-bg);
  z-index: 2;
}

.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 16px rgba(255, 90, 31, 0.35);
  flex-shrink: 0;
}

.step__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.step:hover .step__icon {
  background: var(--color-orange);
  color: var(--color-white);
}

.step__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step__eyebrow {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: var(--space-2);
}

.step__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.step__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   18. Why-grid (checkbox list grid)
   ------------------------------------------------------------ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5) var(--space-8);
}

.why-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.why-item__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--color-orange-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-item__text {
  font-size: var(--fs-base);
  color: var(--color-text-dark);
  font-weight: 500;
  line-height: 1.4;
}

/* ------------------------------------------------------------
   19. Security
   ------------------------------------------------------------ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.security-badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.security-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.security-badge__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-orange);
}

.security-badge__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-badge__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* Security list (alt presentation) */
.security-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.security-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.security-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
}

.security-item__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-item__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
  text-transform: none;
}

.security-item__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   20. Pain Grid (challenges)
   ------------------------------------------------------------ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pain-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.pain-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.3;
}

.pain-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   21. FAQ
   ------------------------------------------------------------ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 90, 31, 0.30);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.005em;
  text-align: left;
  background: transparent;
  cursor: pointer;
  text-transform: none;
  line-height: 1.4;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  position: relative;
}

.faq-item__icon svg {
  display: none;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--color-orange);
  border-radius: 2px;
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: var(--line-relaxed);
}

.faq-item__answer p {
  padding: 0 var(--space-6) var(--space-5);
}

.faq-item.is-open .faq-item__answer {
  max-height: 500px;
}

/* ------------------------------------------------------------
   22. CTA Section
   ------------------------------------------------------------ */
.cta-section {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--color-orange);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 5% 100%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--color-orange-deep);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: var(--space-12);
  align-items: center;
}

.cta-section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 640px;
  text-transform: none;
}

.cta-section__title .highlight {
  color: var(--color-orange);
}

.cta-section__text {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.78);
  line-height: var(--line-relaxed);
  max-width: 540px;
  margin-bottom: var(--space-8);
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Strip the legacy hand-drawn underline; keep colored word */
.hand-underline {
  position: relative;
  color: var(--color-orange);
  font-style: normal;
  font-weight: 700;
}

.hand-underline__svg {
  display: none;
}

/* ------------------------------------------------------------
   23. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  max-width: 360px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  background: var(--color-white);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: var(--space-5);
  line-height: 0;
}

.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-3);
}

.footer__powered {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer__nav-title {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.005em;
  text-transform: none;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-list a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  font-weight: 400;
  transition: color var(--transition);
}

.footer__nav-list a:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer__legal {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer__legal-links {
  display: flex;
  gap: var(--space-5);
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-xs);
  font-weight: 400;
  transition: color var(--transition);
}

.footer__legal-links a:hover {
  color: var(--color-white);
}

/* ------------------------------------------------------------
   24. Contact form
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  padding: clamp(2rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}

.form-group label .required {
  color: var(--color-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.08);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--color-danger);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--color-danger);
  margin-top: 6px;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  color: var(--color-text-dark);
  margin-bottom: var(--space-3);
  font-size: var(--fs-xl);
}

.contact-info {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info h3 {
  font-size: var(--fs-lg);
  color: var(--color-text-dark);
  margin-bottom: var(--space-5);
  text-transform: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item__label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
  font-weight: 600;
}

.contact-info-item__value {
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: var(--fs-sm);
}

/* Form (BEM "form__" classes used in contact.html) */
.form {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.form__group {
  margin-bottom: var(--space-5);
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}

.form__label--required::after {
  content: ' *';
  color: var(--color-orange);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-family);
  font-size: var(--fs-base);
  color: var(--color-text-dark);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.08);
}

.form__input.error,
.form__textarea.error {
  border-color: var(--color-danger);
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--color-danger);
  margin-top: 6px;
}

.form__error.visible {
  display: block;
}

.form__submit {
  width: 100%;
  margin-top: var(--space-2);
}

.form__note {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: center;
}

.form__success {
  display: none;
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.form__success.visible {
  display: block;
}

.form__success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-5);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__success-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contact info (right side card) */
.contact-info {
  background: var(--color-white);
  border-radius: var(--radius-hero-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
  text-transform: none;
}

.contact-info__text {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: var(--line-relaxed);
  margin-bottom: var(--space-6);
}

.contact-expect {
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.contact-expect__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.contact-expect .check-list {
  margin-bottom: 0;
}

.contact-expect .check-list li {
  font-size: var(--fs-sm);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-method__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method__label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-method__value {
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: var(--fs-sm);
}

.contact-method__value a {
  color: var(--color-text-dark);
  font-weight: 500;
}

.contact-method__value a:hover {
  color: var(--color-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;
}

/* Section utility */
.section--sm {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

/* ------------------------------------------------------------
   25. Animations
   ------------------------------------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--delay-1 {
  transition-delay: 100ms;
}

.fade-in--delay-2 {
  transition-delay: 200ms;
}

.fade-in--delay-3 {
  transition-delay: 300ms;
}

/* ------------------------------------------------------------
   26. About / Team
   ------------------------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-orange);
}

/* Generic value list / mission card */
.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-orange);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.value-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
  text-transform: none;
}

.value-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

/* ------------------------------------------------------------
   27b. Security section (2-col)
   ------------------------------------------------------------ */
.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .security-section {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}

/* ------------------------------------------------------------
   28. Feature Category (features page) + Roadmap
   ------------------------------------------------------------ */
.feature-category {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-hero-card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.feature-category__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.feature-category__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--fs-md);
  box-shadow: 0 4px 12px rgba(255, 90, 31, 0.30);
}

.feature-category__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: none;
}

.feature-category__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-5);
}

.feature-tag {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

.feature-tag__dot {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background-color: var(--color-orange-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23FF5A1F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-tag__text {
  color: var(--color-text);
  font-size: var(--fs-sm);
  line-height: 1.4;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.roadmap-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.roadmap-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.roadmap-item__badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-orange-soft);
  color: var(--color-orange);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.roadmap-item__text {
  font-size: var(--fs-sm);
  color: var(--color-text-dark);
  line-height: 1.4;
  font-weight: 500;
}

.text-center {
  text-align: center;
}

/* ------------------------------------------------------------
   29. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + var(--space-10));
    padding-bottom: var(--space-16);
  }

  .hero__wedge {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 50%;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }

  .hero__wedge--back {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 56%;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }

  .portal-mockup {
    margin: 0 auto;
  }

  .hero--inner .hero__wedge,
  .hero--inner .hero__wedge--back {
    width: 100%;
    height: 60%;
    bottom: 0;
    top: auto;
  }

  .overview__grid,
  .about-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-split--reverse > :first-child,
  .about-split--reverse > :last-child {
    order: initial;
  }

  .grid--3,
  .grid--4,
  .payment-grid,
  .pain-grid,
  .team-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-category__grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__grid::before,
  .step:not(:last-child)::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dual-portal {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .trust-band__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .trust-band__item:not(:last-child)::after {
    display: none;
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: clamp(3.5rem, 8vw, 5rem);
  }

  .hero__title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .payment-grid,
  .pain-grid,
  .team-grid,
  .security-grid,
  .steps__grid,
  .why-grid,
  .contact-grid,
  .roadmap-grid,
  .form__row,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-kpis {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .feature-item {
    grid-template-columns: 40px 1fr;
  }

  .feature-item__icon {
    width: 40px;
    height: 40px;
  }
}

/* ------------------------------------------------------------
   Legal document pages (Privacy, Terms)
   ------------------------------------------------------------ */
.hero--legal {
  min-height: 280px;
  padding-top: calc(var(--nav-height) + var(--space-10));
  padding-bottom: var(--space-10);
}

.hero--legal .hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero--legal .hero__subtitle {
  max-width: 640px;
}

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

.legal-section {
  background: var(--color-white);
}

.legal-doc {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: var(--line-relaxed);
}

.legal-doc__intro {
  font-size: var(--fs-md);
  color: var(--color-text-dark);
  line-height: var(--line-relaxed);
  font-weight: 500;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.legal-doc h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: var(--space-8) 0 var(--space-4);
  scroll-margin-top: calc(var(--nav-height) + var(--space-4));
}

.legal-doc h3:first-of-type {
  margin-top: 0;
}

.legal-doc h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
  margin: var(--space-6) 0 var(--space-3);
}

.legal-doc p {
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.legal-doc strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.legal-doc a {
  color: var(--color-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.legal-doc a:hover {
  color: var(--color-orange-deep);
}

.legal-doc ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
  list-style: none;
}

.legal-doc ul li {
  position: relative;
  margin-bottom: var(--space-2);
  padding-left: var(--space-4);
  line-height: var(--line-relaxed);
}

.legal-doc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  flex-shrink: 0;
}

.legal-doc ul ul {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
}

.legal-doc ul ul li::before {
  background: transparent;
  border: 1.5px solid var(--color-orange);
  width: 6px;
  height: 6px;
}

.legal-doc__footer {
  margin-top: var(--space-10);
  padding: var(--space-6) var(--space-7);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-orange);
}

.legal-doc__footer p {
  margin: 0;
  color: var(--color-text-dark);
  font-weight: 500;
}

@media (max-width: 640px) {
  .legal-doc h3 { font-size: var(--fs-lg); margin-top: var(--space-7); }
  .legal-doc h4 { font-size: var(--fs-md); }
  .legal-doc ul { padding-left: var(--space-4); }
  .legal-doc__footer { padding: var(--space-5); }
}

/* ============================================================
   Homepage visual polish — ambient accents, no extra HTML needed
   Soft glow orbs in the hero, a faint dot-grid on light sections,
   gradient hint above light bands, and a small accent strip
   beside the overview dashboard mockup.
   ============================================================ */

/* Ambient glow orbs in the hero — sit BEHIND the wedges (z-index 0)
   so the wedges still cleanly overlap them. */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

.hero::before {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22) 0%, transparent 70%);
  top: -160px;
  left: -120px;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(110, 130, 255, 0.18) 0%, transparent 70%);
  bottom: -120px;
  left: 28%;
}

/* Hero content + mockup must sit above the glow */
.hero__inner,
.hero__content,
.hero__mockup,
.hero__right {
  position: relative;
  z-index: 2;
}

/* Subtle dot-grid pattern overlaid on the light-gray sections.
   It's a 24px square of one tiny dot — very low contrast. */
.section--bg {
  position: relative;
  overflow: hidden;
}

.section--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 19, 64, 0.06) 1px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: 0 0;
  opacity: 0.7;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0.4) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 0;
}

.section--bg > .container,
.section--bg > * {
  position: relative;
  z-index: 1;
}

/* Soft top-edge gradient on light sections — adds visual rhythm
   between section colour changes without a hard line. */
.section--bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(15, 19, 64, 0.025) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Floating orange diagonal accent next to the overview dashboard card —
   gives the dashboard side weight to balance the heavy copy on the left. */
.overview__grid > *:last-child {
  position: relative;
}

.overview__grid > *:last-child::before {
  content: '';
  position: absolute;
  top: -28px;
  right: -28px;
  width: 140px;
  height: 140px;
  background: var(--color-orange);
  opacity: 0.10;
  border-radius: 32% 68% 70% 30% / 30% 30% 70% 70%;
  z-index: 0;
  pointer-events: none;
}

.overview__grid > *:last-child::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 96px;
  height: 96px;
  border: 2px solid var(--color-orange);
  border-radius: 20px;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-12deg);
}

.overview__grid > *:last-child > * {
  position: relative;
  z-index: 1;
}

/* Decorative section-label dot — a small filled orange circle BEFORE
   the eyebrow text on every section. Gives every section a consistent
   small accent without changing the HTML. */
.section-label {
  position: relative;
  padding-left: 16px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
}

/* Card lift gets a touch more personality — an orange accent line
   draws across the top of generic cards on hover. */
.card {
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--color-orange), var(--color-orange-deep));
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.card:hover::after {
  transform: scaleX(1);
}

/* CTA section already has decorative pseudo-elements — leave alone.
   Trust band gets a faint top divider line in orange-soft for an
   extra defined transition between hero and content. */
.trust-band {
  position: relative;
}

.trust-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(120px, 30%, 320px);
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-orange), transparent);
  opacity: 0.4;
}

/* Hide ambient glow orbs on very small screens to keep layout calm */
@media (max-width: 640px) {
  .hero::before,
  .hero::after { display: none; }
  .section--bg::before { background-size: 22px 22px; opacity: 0.5; }
  .overview__grid > *:last-child::before { width: 96px; height: 96px; top: -16px; right: -16px; }
  .overview__grid > *:last-child::after { display: none; }
}

/* ============================================================
   Why FlexiRates — merged benefits + differentiators block
   ============================================================ */
.why-merged {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  margin-top: var(--space-4);
}

/* LEFT — benefit cards stacked vertically */
.why-merged__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.benefit-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-5);
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover, 0 12px 32px rgba(15, 19, 64, 0.1));
  border-color: var(--color-orange);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
}

.benefit-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.benefit-card__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0;
}

/* RIGHT — differentiators panel on navy */
.why-merged__diff {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
}

/* Subtle orange wedge in the corner — visual rhyme with the hero */
.why-merged__diff::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: var(--color-orange);
  opacity: 0.18;
  clip-path: polygon(40% 0, 100% 0, 100% 60%);
  pointer-events: none;
}

.why-merged__diff-label {
  position: relative;
  z-index: 1;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-orange);
  padding-left: 16px;
}

.why-merged__diff-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25);
}

.diff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

.diff-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--line-relaxed);
}

.diff-list__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-orange);
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolyline points='3,6 5,8 9,4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.why-merged__diff-cta {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--fs-base);
  transition: color var(--transition), gap var(--transition);
}

.link-arrow:hover {
  color: var(--color-orange);
  gap: 12px;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .why-merged {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .why-merged__diff {
    padding: var(--space-6);
  }
}

@media (max-width: 540px) {
  .benefit-card {
    grid-template-columns: 44px 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
  }
  .benefit-card__icon {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   "The Challenge" pain-grid v2 — punchier, scannable
   ============================================================ */
.pain-header {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: var(--space-10);
}

.pain-header__lead .section-title {
  margin-bottom: 0;
  font-size: clamp(1.875rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pain-header__intro {
  font-size: var(--fs-md);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0;
  padding-top: var(--space-2);
  border-left: 3px solid var(--color-orange);
  padding-left: var(--space-5);
}

@media (max-width: 900px) {
  .pain-header {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
  }
  .pain-header__intro {
    padding-left: var(--space-4);
  }
}

.pain-grid--v2 {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.pain-card--v2 {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: var(--space-6) var(--space-6) var(--space-5);
  border: 1px solid var(--color-border);
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Orange accent rule at the top — hidden until hover */
.pain-card--v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.pain-card--v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 19, 64, 0.08);
  border-color: var(--color-orange);
}

.pain-card--v2:hover::before {
  transform: scaleX(1);
}

/* Disable the generic .card::after hover line on these cards — they have their own */
.pain-card--v2::after { display: none; }

.pain-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.pain-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card__lede {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
  text-transform: none;
}

.pain-card__line {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0;
}

/* Bridge — closes the challenge section with a transition into the solution */
.pain-bridge {
  position: relative;
  z-index: 2;
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(15, 19, 64, 0.04);
}

.pain-bridge p {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: -0.005em;
}

.link-arrow--orange {
  color: var(--color-orange);
}

.link-arrow--orange:hover {
  color: var(--color-orange-deep);
}

/* ============================================================
   "The Solution" — dark navy band, intro left + numbered flow right
   ============================================================ */
.solution-band {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  overflow: hidden;
}

/* Soft orange glow in the corner for depth */
.solution-band__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.22) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.solution-band__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.solution-band__intro .section-label {
  color: var(--color-orange);
}

.solution-band__intro .section-title {
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.solution-band__lead {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--line-relaxed);
  margin: 0;
  max-width: 380px;
}

/* Numbered vertical flow with a connecting spine */
.solution-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.solution-flow__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5) 0;
  position: relative;
}

.solution-flow__item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Connecting spine line behind the numbers */
.solution-flow__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 60px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 90, 31, 0.5), rgba(255, 255, 255, 0.06));
}

.solution-flow__num {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.solution-flow__item:hover .solution-flow__num {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.05);
}

.solution-flow__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 6px 0 var(--space-2);
  text-transform: none;
}

.solution-flow__text {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.68);
  line-height: var(--line-relaxed);
  margin: 0;
}

@media (max-width: 900px) {
  .solution-band__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .solution-band__lead {
    max-width: none;
  }
}

@media (max-width: 540px) {
  .solution-flow__item {
    grid-template-columns: 44px 1fr;
    gap: var(--space-4);
  }
  .solution-flow__num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: var(--fs-base);
  }
  .solution-flow__item:not(:last-child)::before {
    left: 21px;
    top: 52px;
  }
}

@media (max-width: 900px) {
  .pain-grid--v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pain-grid--v2 {
    grid-template-columns: 1fr;
  }
  .pain-bridge {
    padding: var(--space-5);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}


/* ============================================================
   Contact — "Other Ways to Connect" route cards
   ============================================================ */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.connect-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-7);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.connect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms ease;
}

.connect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 19, 64, 0.10);
  border-color: transparent;
}

.connect-card:hover::before {
  transform: scaleX(1);
}

.connect-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-orange-soft);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.connect-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.connect-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-5);
  flex-grow: 1;
}

.connect-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-orange);
  transition: gap var(--transition);
}

.connect-card:hover .connect-card__cta {
  gap: 12px;
}

.connect-card__cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-footnote {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.connect-footnote a {
  color: var(--color-orange);
  font-weight: 600;
  text-decoration: none;
}

.connect-footnote a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .connect-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

/* =========================================================
   BLOG / RESOURCES + ARTICLE PROSE
   Added for SEO/GEO content hub.
   ========================================================= */
.legal-doc h2 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: var(--space-10) 0 var(--space-4);
  scroll-margin-top: calc(var(--nav-height) + var(--space-4));
}
.legal-doc h2:first-child { margin-top: 0; }

.legal-doc .lead {
  font-size: var(--fs-md);
  color: var(--color-text-dark);
  line-height: var(--line-relaxed);
  font-weight: 500;
}

/* Key takeaways / answer box — engineered for AEO + LLM extraction */
.key-takeaways {
  background: var(--color-bg);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-7);
  margin: var(--space-6) 0 var(--space-8);
}
.key-takeaways__title {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 var(--space-3);
}
.key-takeaways ul { margin: 0; }

/* Comparison tables */
.legal-doc .table-wrap { overflow-x: auto; margin: var(--space-5) 0 var(--space-7); }
.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.legal-doc th,
.legal-doc td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.legal-doc thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
}
.legal-doc tbody tr:nth-child(even) { background: var(--color-bg); }

/* Article meta line */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}
.post-meta__tag {
  background: rgba(232, 76, 30, 0.1);
  color: var(--color-orange-deep);
  font-weight: 600;
  padding: 2px var(--space-3);
  border-radius: 999px;
}

/* Blog index cards */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__tag {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--color-orange-deep);
  margin-bottom: var(--space-3);
}
.post-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--line-relaxed);
  margin: 0 0 var(--space-5);
  flex-grow: 1;
}
.post-card__link {
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  font-size: var(--fs-sm);
}
.post-card__link:hover { color: var(--color-orange-deep); }

/* =========================================================
   NAV ACTIVE STATE — indicate the current page with an underline that
   stays visible on every nav background (navy hero, orange wedge, and the
   white nav after scrolling). No background box, so nothing is masked.
   ========================================================= */
/* Transparent nav (over the hero): white text + white underline */
.nav-links a.active:not(.btn) {
  color: #fff;
}
.nav-links a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.nav-links a.active:not(.btn):hover {
  color: #fff;
}
/* Scrolled nav (solid white): orange text + orange underline */
.site-nav.scrolled .nav-links a.active:not(.btn) {
  color: var(--color-orange);
}
.site-nav.scrolled .nav-links a.active:not(.btn)::after {
  background: var(--color-orange);
}

/* Hero: two pre-framed device mockup images (no extra CSS frames) */
.hero-shots { position: relative; width: 100%; max-width: 760px; margin-left: auto; padding-bottom: 12px; }
.hero-shots__desktop { display: block; width: 96%; height: auto; filter: drop-shadow(0 14px 26px rgba(10, 14, 45, 0.15)); }
.hero-shots__mobile { position: absolute; right: 0; bottom: 0; width: 27%; height: auto; filter: drop-shadow(0 12px 22px rgba(10, 14, 45, 0.20)); }
@media (max-width: 1024px) { .hero-shots { max-width: 520px; margin: 16px auto 0; } }
