:root {
  /* Brand colors with full scale */
  --brand-blue: #00A2FF;
  --brand-blue-50: #E6F7FF;
  --brand-blue-100: #BAE7FF;
  --brand-blue-200: #7DD3FF;
  --brand-blue-400: #33B5FF;
  --brand-blue-600: #0091E6;
  --brand-blue-700: #007ACC;
  --brand-black: #000000;

  /* Neutral scale */
  --ink: #0B0F14;
  --slate: #2A3340;
  --muted: #5B6776;
  --line: #E1E6ED;
  --canvas: #F6F8FB;
  --surface: #FFFFFF;

  /* Status colors */
  --success: #16A34A;
  --warning: #F59E0B;
  --error: #DC2626;

  /* Typography */
  --font-display: "Manrope", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;

  /* Type scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 28px;
  --text-3xl: 36px;
  --text-4xl: 48px;
  --text-5xl: 56px;

  /* Label styles */
  --label-size: var(--text-xs);
  --label-spacing: 0.12em;
  --label-weight: 600;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Layered shadow system */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.05), 0 16px 48px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 162, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;

  /* Animation timing */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Subtle gradient glow from top */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 70vh;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 162, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Contextual data grid - applied to specific sections */
.has-data-grid {
  background-image:
    repeating-linear-gradient(90deg, rgba(11, 15, 20, 0.02) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(11, 15, 20, 0.015) 0 1px, transparent 1px 64px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-10) 0;
}

.section-tight {
  padding: var(--space-8) 0;
}

.section-header {
  margin-bottom: var(--space-7);
}

.eyebrow {
  font-size: var(--label-size);
  letter-spacing: var(--label-spacing);
  text-transform: uppercase;
  font-weight: var(--label-weight);
  color: var(--brand-blue);
  margin-bottom: var(--space-3);
}

.eyebrow-red {
  color: var(--error);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--brand-black);
}

h2 {
  font-size: var(--text-3xl);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--text-2xl);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h4 {
  font-size: var(--text-lg);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-4);
  color: var(--slate);
}

ul {
  padding-left: var(--space-4);
  margin: 0;
  color: var(--slate);
}

li + li {
  margin-top: var(--space-2);
}

.top-banner {
  background: var(--ink);
  color: #fff;
  font-size: var(--text-sm);
}

.top-banner a {
  color: #fff;
  text-decoration: underline;
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

/* Offset anchor links for sticky header */
:target {
  scroll-margin-top: 100px;
}

[id] {
  scroll-margin-top: 100px;
}

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

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

.logo img {
  width: 140px;
  height: auto;
}

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

.nav a,
.nav button {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
  padding-bottom: var(--space-1);
  border-bottom: 2px solid transparent;
}

.nav a.active,
.nav a:hover,
.nav button:hover,
.nav-parent.active {
  color: var(--ink);
  border-color: var(--brand-blue);
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--space-3);
  box-shadow: var(--shadow-sm);
  display: none;
  z-index: 200;
}

.nav-dropdown a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: 8px;
  color: var(--slate);
  border-bottom: none;
}

.nav-dropdown a:hover {
  background: #F0F4FA;
  color: var(--ink);
}

.nav-group.open .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group:hover .nav-dropdown {
  display: block;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: var(--text-2xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-md);
}

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 162, 255, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue-600);
  box-shadow: 0 4px 16px rgba(0, 162, 255, 0.35);
}

.btn-primary:active {
  background: var(--brand-blue-700);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--slate);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--brand-blue);
  color: var(--ink);
}

.btn-secondary:active {
  background: rgba(0, 0, 0, 0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-blue);
  padding: 0;
  font-weight: 500;
}

.btn-ghost:hover {
  color: var(--brand-blue-700);
}

.btn-ghost::after {
  content: " →";
  transition: transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}

.btn-ghost:hover::after {
  transform: translateX(3px);
}

.hero {
  padding-top: var(--space-11);
  padding-bottom: var(--space-9);
}

.hero-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-center h1 {
  margin-bottom: var(--space-5);
  font-size: var(--text-5xl);
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--slate);
  max-width: 640px;
  margin: 0 auto var(--space-6);
}

/* Hero trust logos inline */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.trust-text {
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  color: var(--muted);
  font-weight: var(--label-weight);
}

.hero-logos {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.hero-logos img {
  width: 104px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.hero-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Video section */
.video-section {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  background: var(--ink);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-9);
  align-items: center;
}

.hero p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--slate);
  max-width: 520px;
}

.hero-visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: var(--space-6);
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,162,255,0.18), transparent 55%);
  opacity: 0.8;
}

.hero-visual::after {
  background: radial-gradient(circle at 70% 60%, rgba(11,15,20,0.08), transparent 60%);
}

.hero-aside {
  background: transparent;
  border: none;
  padding: 0;
  min-height: auto;
}

.hero-aside::before,
.hero-aside::after {
  content: none;
}

.hero-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.hero-card + .hero-card {
  margin-top: var(--space-4);
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-200) 100%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at 100% 0%, var(--brand-blue-50) 0%, transparent 70%);
  pointer-events: none;
}

.hero-panel h4 {
  margin-bottom: var(--space-3);
}

.hero-panel-section + .hero-panel-section {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}

.hero-panel-list {
  display: grid;
  gap: var(--space-3);
}

.hero-services {
  display: grid;
  gap: var(--space-2);
}

.hero-service {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) 0;
}

.hero-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icon utility class for inline SVG icons */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

/* Card with icon header */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-icon-red {
  background: #FEF2F2;
  color: var(--error);
}

.hero-panel-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
}

.hero-panel-desc {
  font-size: var(--text-sm);
  color: var(--muted);
}

.rotator {
  transition: opacity 0.3s ease, transform 0.3s ease;
  will-change: opacity, transform;
  color: var(--brand-blue);
}

.rotator.fade-out {
  opacity: 0;
  transform: translateY(6px);
}

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

/* Hero carousel */
.hero-carousel {
  position: relative;
}

.carousel-slides {
  position: relative;
  min-height: 64px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.carousel-slide.prev {
  transform: translateX(-12px);
}

.carousel-stat {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.carousel-text {
  font-size: var(--text-md);
  color: var(--slate);
  line-height: 1.4;
}

.carousel-controls {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
  background: var(--muted);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--brand-blue);
  transform: scale(1.2);
}

/* Progress bar under active dot */
.carousel-dot.active {
  position: relative;
  width: 24px;
  border-radius: 4px;
  overflow: hidden;
}

.carousel-dot.active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--brand-blue-600);
  animation: carouselProgress 5s linear;
}

@keyframes carouselProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.hero-grid .hero-actions {
  justify-content: flex-start;
  margin-top: var(--space-6);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.proof-bar > div {
  text-align: center;
  padding: var(--space-3) 0;
}

.proof-bar > div:not(:last-child) {
  border-right: 1px solid var(--line);
}

.proof-bar strong {
  display: block;
  font-size: var(--text-md);
  color: var(--brand-black);
  margin-bottom: var(--space-2);
}

.proof-bar p {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

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

.card h4 {
  margin-bottom: var(--space-2);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-9);
  align-items: center;
}

.simple-list {
  display: grid;
  gap: var(--space-3);
}

.simple-item {
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.simple-item:hover {
  transform: translateX(4px);
  border-color: var(--brand-blue-100);
  box-shadow: var(--shadow-sm);
}

.simple-item strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--brand-black);
}

/* Service Cards - What Fence Does */
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-200) 100%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card.feature-gold {
  border-color: rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, #fff 35%);
}

.service-card.feature-gold::before {
  opacity: 1;
  background: linear-gradient(90deg, #F3D391 0%, #FFF6D9 100%);
}

.service-card:hover {
  border-color: var(--brand-blue-100);
  box-shadow: 0 8px 32px rgba(0, 162, 255, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.service-card.feature-gold:hover {
  border-color: var(--warning);
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.service-card-number {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--brand-blue);
  opacity: 0.5;
  letter-spacing: 0.02em;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card-number {
  opacity: 1;
}

.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover .service-card-icon {
  background: var(--brand-blue);
  color: #fff;
}

.service-card-icon svg {
  width: 22px;
  height: 22px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
  line-height: 1.3;
  min-height: 2.6em;
}

.service-card-body {
  flex-grow: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.service-card-section {
  padding: var(--space-3);
  background: var(--canvas);
  border-radius: 8px;
  transition: background var(--duration-fast) var(--ease-out);
}

.service-card-section:first-child {
  display: flex;
  flex-direction: column;
  min-height: 70px;
}

.service-card-section:last-child {
  background: var(--brand-blue-50);
}

.service-card:hover .service-card-section:last-child {
  background: rgba(0, 162, 255, 0.12);
}

.service-card-label {
  display: block;
  font-size: var(--label-size);
  font-weight: var(--label-weight);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  color: var(--muted);
  margin-bottom: var(--space-1);
}

.service-card-section:last-child .service-card-label {
  color: var(--brand-blue-700);
}

.service-card-section p {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}

.service-card-section:last-child p {
  color: var(--brand-blue-700);
}

.service-card-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.service-card-tags span {
  padding: var(--space-1) var(--space-2);
  background: var(--canvas);
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card-tags span {
  background: var(--brand-blue-50);
  color: var(--brand-blue-700);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-blue);
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card-link svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card-link {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover .service-card-link svg {
  transform: translateX(3px);
}

.services-cta {
  margin-top: var(--space-7);
}

@media (hover: none) {
  .service-card-link {
    opacity: 1;
    transform: none;
  }

  .service-card:hover .service-card-link {
    opacity: 1;
    transform: none;
  }
}

/* Staggered animation for service cards */
.service-cards .service-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.service-cards.visible .service-card {
  opacity: 1;
  transform: translateY(0);
}

.service-cards.visible .service-card:nth-child(1) { transition-delay: 0ms; }
.service-cards.visible .service-card:nth-child(2) { transition-delay: 100ms; }
.service-cards.visible .service-card:nth-child(3) { transition-delay: 200ms; }
.service-cards.visible .service-card:nth-child(4) { transition-delay: 300ms; }

.service-cards.visible .service-card:hover {
  transform: translateY(-4px);
}

@media (max-width: 1100px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .service-card {
    padding: var(--space-4);
  }

  .service-card-title {
    min-height: auto;
  }

  .service-card-section:first-child {
    min-height: auto;
  }

  .service-card-link {
    opacity: 1;
    transform: translateY(0);
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.pill {
  padding: var(--space-2) var(--space-3);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--text-sm);
  color: var(--slate);
}

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

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  position: relative;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.flow-diagram {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--space-6);
  overflow: hidden;
}

.flow-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-diagram text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  fill: var(--slate);
}

.flow-label-sm {
  font-size: var(--text-xs);
}

.flow-label-lg {
  font-size: var(--text-xl);
  font-weight: 600;
}

.flow-label-invert {
  fill: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.flow-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.flow-block h4 {
  margin-bottom: var(--space-2);
}

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

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

.metric {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-100);
}

.metric span {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--brand-black);
  letter-spacing: -0.02em;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table th,
.table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: var(--text-sm);
}

.table th {
  background: #F0F4FA;
  font-weight: 600;
  color: var(--ink);
}

.table tr:last-child td {
  border-bottom: none;
}

.cta-band {
  background: linear-gradient(135deg, #fff 0%, var(--brand-blue-50) 100%);
  border: 1px solid var(--brand-blue-100);
  border-radius: 24px;
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, rgba(0, 162, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band h3 {
  margin-bottom: var(--space-2);
  position: relative;
}

.cta-band p {
  position: relative;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: center;
  opacity: 0.7;
}

.logo-row img {
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(1);
}

/* Track Record Section */
.track-record {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.track-record-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.track-hero {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.track-hero-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--brand-black);
  letter-spacing: -0.03em;
  line-height: 1;
}

.track-hero-plus {
  color: var(--brand-blue);
}

.track-hero-label {
  font-size: var(--text-md);
  color: var(--muted);
  font-weight: 500;
}

.track-stats {
  display: flex;
  gap: var(--space-7);
}

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

.track-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.track-stat-label {
  font-size: var(--label-size);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  font-weight: var(--label-weight);
}

.track-record-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: var(--space-5);
}

.track-logos-label {
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  color: var(--muted);
  font-weight: var(--label-weight);
  white-space: nowrap;
}

.track-logos {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.track-logos img {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.track-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-wall {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.logo-wall img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-wall img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.logo-placeholder {
  height: 54px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
}

.calculator {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-7);
}

.calc-section + .calc-section {
  margin-top: var(--space-7);
}

.input-group {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.input-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.input-hint {
  font-size: var(--text-xs);
  color: var(--muted);
}

.tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1;
  padding: 0;
  cursor: help;
}

.tooltip::before,
.tooltip::after {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}

.tooltip::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ink);
  left: 50%;
  bottom: calc(100% + var(--space-2));
  transform: translateX(-50%) translateY(4px) rotate(45deg);
}

.tooltip::after {
  content: attr(data-tooltip);
  left: 50%;
  bottom: calc(100% + var(--space-4));
  transform: translateX(-50%) translateY(4px);
  background: var(--ink);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  line-height: 1.4;
  width: max-content;
  max-width: 32ch;
  text-align: left;
  z-index: 5;
  box-shadow: var(--shadow-md);
}

.tooltip:hover::before,
.tooltip:hover::after,
.tooltip:focus-visible::before,
.tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.tooltip:focus-visible {
  outline: 2px solid var(--brand-blue-200);
  outline-offset: 2px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.range-value {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  min-width: 110px;
  text-align: right;
}

.range-input {
  width: 100%;
}

.calc-results {
  display: grid;
  gap: var(--space-4);
}

.result-card {
  background: #F7FAFF;
  border: 1px solid #DDE9F7;
  border-radius: 16px;
  padding: var(--space-5);
}

.result-card strong {
  display: block;
  font-size: var(--text-xl);
  margin-top: var(--space-2);
}

.chart-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-5);
  background: #fff;
}

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

.bar-stack {
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #F3F6FB;
}

.bar-utilized {
  background: #00A2FF;
}

.bar-idle {
  background: #D6DEE9;
}

.bar-label {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: var(--space-2);
}

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

.roi-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-5);
  background: #fff;
}

.roi-card h4 {
  margin-bottom: var(--space-2);
}

.roi-card strong {
  font-size: var(--text-2xl);
  display: block;
  margin-bottom: var(--space-1);
}

.disclaimer {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Savings Calculator - P&L Style */
.savings-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.calc-input-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-5);
}

.calc-input-group h3 {
  font-size: var(--text-md);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.calc-results-pnl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.pnl-header {
  padding: var(--space-5);
  background: var(--ink);
  color: #fff;
}

.pnl-header h3 {
  color: #fff;
  margin: 0 0 var(--space-1);
  font-size: var(--text-lg);
}

.pnl-header p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: var(--text-sm);
}

.pnl-section {
  border-bottom: 1px solid var(--line);
}

.pnl-section-header {
  padding: var(--space-4) var(--space-5);
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.pnl-section-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.pnl-section-subtitle {
  font-size: var(--text-xs);
  color: var(--muted);
}

.pnl-line-items {
  padding: var(--space-3) var(--space-5);
}

.pnl-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
}

.pnl-line-label {
  color: var(--slate);
}

.pnl-line-detail {
  color: var(--muted);
  font-size: var(--text-xs);
}

.pnl-line-metric {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.pnl-line-value {
  font-weight: 600;
  color: var(--ink);
}

.pnl-section-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  background: var(--brand-blue-50);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--brand-blue-700);
}

.pnl-total {
  padding: var(--space-5);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: #fff;
}

.pnl-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
}

.pnl-total-note {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  opacity: 0.8;
}

.pnl-cta {
  padding: var(--space-5);
  text-align: center;
  background: var(--canvas);
}

.pnl-cta p {
  margin: 0 0 var(--space-3);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Calculator Accordion */
.calc-accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: visible;
}

.calc-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: background var(--duration-fast) var(--ease-out);
}

.calc-accordion-header::-webkit-details-marker {
  display: none;
}

.calc-accordion-header:hover {
  background: var(--line);
}

.calc-accordion[open] .calc-accordion-header {
  border-bottom-color: var(--line);
}

.calc-accordion-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
}

.calc-accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.calc-accordion-icon::before,
.calc-accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.calc-accordion-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.calc-accordion-icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

.calc-accordion[open] .calc-accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.calc-accordion-content {
  padding: var(--space-5);
}

.calc-accordion-note {
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* P&L Section Toggle */
details.pnl-section {
  border-bottom: 1px solid var(--line);
}

details.pnl-section > summary {
  list-style: none;
  cursor: pointer;
}

details.pnl-section > summary::-webkit-details-marker {
  display: none;
}

details.pnl-section .pnl-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  background: var(--canvas);
  transition: background var(--duration-fast) var(--ease-out);
}

details.pnl-section .pnl-section-header:hover {
  background: #EEF1F6;
}

.pnl-section-header-content {
  flex: 1;
}

.pnl-section-summary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.pnl-section-summary-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--brand-blue);
}

.pnl-section-toggle {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}

.pnl-section-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform var(--duration-fast) var(--ease-out);
}

details.pnl-section[open] .pnl-section-toggle::before {
  transform: translate(-50%, -30%) rotate(-135deg);
}

details.pnl-section .pnl-line-items {
  padding: var(--space-3) var(--space-5);
  background: #fff;
}

@media (max-width: 900px) {
  .savings-calculator {
    grid-template-columns: 1fr;
  }

  .calc-results-pnl {
    position: static;
  }
}

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: var(--space-9) 0 var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
}

.footer a {
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer small {
  color: var(--muted);
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  padding: var(--space-3) 0;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--brand-black);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-plus {
  color: var(--brand-blue);
}

.stat-label {
  font-size: var(--label-size);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  font-weight: var(--label-weight);
}

/* Logos Section (standalone - kept for other pages) */
.logos-section {
  text-align: center;
  padding: var(--space-5) 0;
}

.logos-label {
  display: block;
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  color: var(--muted);
  font-weight: var(--label-weight);
  margin-bottom: var(--space-5);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.logos-row img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.logos-row img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  width: 32px;
  height: 32px;
  color: var(--brand-blue-100);
  margin-bottom: var(--space-3);
}

.testimonial blockquote {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 var(--space-5);
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-50) 0%, var(--brand-blue-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
}

.testimonial-avatar svg {
  width: 24px;
  height: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--muted);
}

.testimonials-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-top: var(--space-5);
}

/* Case Study Card */
.case-study-card {
  background: linear-gradient(135deg, var(--brand-blue-50) 0%, #fff 100%);
  border: 1px solid var(--brand-blue-100);
  border-radius: 16px;
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

.case-study-metric {
  text-align: center;
  padding: var(--space-4) 0;
}

.case-study-metric:not(:last-child) {
  border-bottom: 1px solid var(--brand-blue-100);
}

.case-metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-1);
}

.case-metric-label {
  font-size: var(--text-sm);
  color: var(--slate);
}

/* Value Cards */
.value-card {
  text-align: center;
  padding: var(--space-6);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-blue-50);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

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

.value-card h4 {
  margin-bottom: var(--space-2);
}

.value-card p {
  margin: 0;
  font-size: var(--text-md);
}

/* Background Subtle */
.bg-subtle {
  background: linear-gradient(180deg, var(--canvas) 0%, #fff 100%);
}

/* Trust Badges */
.trust-badges {
  text-align: center;
  padding: var(--space-6) 0;
}

.trust-label {
  display: block;
  font-size: var(--label-size);
  text-transform: uppercase;
  letter-spacing: var(--label-spacing);
  color: var(--muted);
  font-weight: var(--label-weight);
  margin-bottom: var(--space-5);
}

.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--slate);
}

.badge-icon {
  width: 20px;
  height: 20px;
  stroke: var(--brand-blue);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Section header center */
.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Band improved */
.cta-band .cta-content {
  flex: 1;
}

.cta-band .cta-content p {
  margin: 0;
}

.page-hero {
  padding: var(--space-10) 0 var(--space-8);
}

.page-hero p {
  max-width: 720px;
}

.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

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

.pain-point {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.pain-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--error);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0.7;
}

.pain-point:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.2);
}

.pain-point-icon {
  width: 40px;
  height: 40px;
  background: rgba(220, 38, 38, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.pain-point-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--error);
}

.pain-point h4 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.pain-point p {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

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

@media (max-width: 600px) {
  .pain-points-grid {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: var(--space-4);
}

.input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: var(--text-sm);
}

.textarea {
  min-height: 140px;
}

@media (max-width: 1000px) {
  .hero-grid,
  .split,
  .flow-grid,
  .calculator-grid,
  .steps,
  .metric-grid,
  .card-grid,
  .values-grid,
  .logo-row,
  .footer-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.two {
    grid-template-columns: 1fr;
  }

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

  .stat-item:not(:last-child) {
    border-right: none;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: var(--space-4);
  }

  .stat-value {
    font-size: var(--text-3xl);
  }

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

  .track-record-top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }

  .track-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  .track-stats {
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-6);
  }

  .track-stat {
    text-align: left;
  }

  .track-hero-value {
    font-size: var(--text-4xl);
  }

  .track-record-bottom {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .track-logos {
    gap: var(--space-5);
  }

  .steps {
    gap: var(--space-3);
  }

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

  .badges-row {
    gap: var(--space-4);
  }

  .badge-item {
    flex: 1 1 calc(50% - var(--space-4));
    justify-content: center;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: var(--space-6);
    flex-direction: column;
    gap: var(--space-4);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    animation: mobileNavSlide 0.25s var(--ease-out);
  }

  @keyframes mobileNavSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav.mobile-open a,
  .nav.mobile-open button {
    padding: var(--space-3) 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav.mobile-open .nav-group {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .nav.mobile-open .nav-dropdown {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: var(--space-2) 0 0 var(--space-4);
    background: transparent;
  }

  .nav.mobile-open .nav-dropdown a {
    padding: var(--space-3) 0;
    min-height: 44px;
    color: var(--muted);
  }

  .nav.mobile-open .nav-dropdown a:hover {
    color: var(--brand-blue);
    background: transparent;
  }
}

@media (max-width: 680px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }
  .container { padding: 0 var(--space-4); }
  .hero { padding-top: var(--space-8); padding-bottom: var(--space-6); }

  .hero-center h1 {
    font-size: var(--text-4xl);
  }

  .hero-subtitle {
    font-size: var(--text-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-lg {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
  }

  .hero-trust {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
  }

  .hero-logos img {
    width: 84px;
    height: 26px;
  }

  .video-wrapper {
    border-radius: 12px;
  }

  .card {
    padding: var(--space-5);
  }

  .card-grid {
    gap: var(--space-4);
  }

  .metric-grid {
    gap: var(--space-3);
  }

  .metric {
    padding: var(--space-4);
  }

  .metric span {
    font-size: var(--text-xl);
  }

  .testimonial {
    padding: var(--space-5);
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 0;
    padding: var(--space-4);
  }

  .stat-item {
    padding: var(--space-4) 0;
  }

  .stat-item:nth-child(odd) {
    border-right: none;
  }

  .stat-item:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .stat-value {
    font-size: var(--text-2xl);
  }

  .logos-row {
    gap: var(--space-5);
  }

  .logos-row img {
    height: 24px;
  }

  .testimonial blockquote {
    font-size: var(--text-md);
  }

  .case-metric-value {
    font-size: var(--text-2xl);
  }

  .badges-row {
    flex-direction: column;
    gap: var(--space-3);
  }

  .badge-item {
    width: 100%;
    justify-content: center;
  }

  /* More lines may be needed on mobile */
  .rotator-wrapper {
    min-height: 2.7em; /* ~2.5 lines on mobile */
  }

  .track-record {
    padding: var(--space-5);
  }

  .track-hero-value {
    font-size: var(--text-4xl);
  }

  .track-stat-value {
    font-size: var(--text-2xl);
  }

  .track-logos img {
    height: 20px;
  }

  .proof-bar {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .proof-bar > div:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: var(--space-4);
  }
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card animations */
.card-grid .card,
.values-grid .card,
.metric-grid .metric,
.steps .step,
.simple-list .simple-item,
.pain-points-grid .pain-point {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.card-grid.visible .card,
.values-grid.visible .card,
.metric-grid.visible .metric,
.steps.visible .step,
.simple-list.visible .simple-item,
.pain-points-grid.visible .pain-point {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for cards */
.card-grid.visible .card:nth-child(1),
.values-grid.visible .card:nth-child(1),
.metric-grid.visible .metric:nth-child(1),
.steps.visible .step:nth-child(1),
.simple-list.visible .simple-item:nth-child(1),
.pain-points-grid.visible .pain-point:nth-child(1) { transition-delay: 0ms; }

.card-grid.visible .card:nth-child(2),
.values-grid.visible .card:nth-child(2),
.metric-grid.visible .metric:nth-child(2),
.steps.visible .step:nth-child(2),
.simple-list.visible .simple-item:nth-child(2),
.pain-points-grid.visible .pain-point:nth-child(2) { transition-delay: 80ms; }

.card-grid.visible .card:nth-child(3),
.values-grid.visible .card:nth-child(3),
.metric-grid.visible .metric:nth-child(3),
.steps.visible .step:nth-child(3),
.simple-list.visible .simple-item:nth-child(3),
.pain-points-grid.visible .pain-point:nth-child(3) { transition-delay: 160ms; }

.card-grid.visible .card:nth-child(4),
.values-grid.visible .card:nth-child(4),
.metric-grid.visible .metric:nth-child(4),
.steps.visible .step:nth-child(4),
.simple-list.visible .simple-item:nth-child(4),
.pain-points-grid.visible .pain-point:nth-child(4) { transition-delay: 240ms; }

.metric-grid.visible .metric:nth-child(5),
.steps.visible .step:nth-child(5),
.pain-points-grid.visible .pain-point:nth-child(5) { transition-delay: 320ms; }

.pain-points-grid.visible .pain-point:nth-child(6) { transition-delay: 400ms; }

/* Hero entrance animation */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s var(--ease-out) 0.1s forwards;
}

.hero-visual {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s var(--ease-out) 0.3s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text rotator with reserved 2-line height */
.rotator-wrapper {
  position: relative;
  display: block;
  min-height: 2.16em; /* Reserve space for 2 lines (line-height 1.08 * 2) */
}

.rotator-wrapper .rotator {
  display: block;
}

.rotator-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
  width: 0;
  animation: rotatorProgress 4s linear infinite;
}

@keyframes rotatorProgress {
  from { width: 0; }
  to { width: 100%; }
}

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

  .reveal,
  .card-grid .card,
  .values-grid .card,
  .metric-grid .metric,
  .steps .step,
  .simple-list .simple-item,
  .pain-points-grid .pain-point,
  .hero-content,
  .hero-visual {
    opacity: 1;
    transform: none;
  }
}
