:root {
  /* Brand Colors */
  --deep-navy: #1A3551;
  --slate: #2C4E6B;
  --steel-blue: #4A7BA7;
  --bright-cyan: #00A8E8;
  /* REC 1: --btn-cyan is the accessible version of bright-cyan for use as a button/badge background */
  --btn-cyan: #0078B5;
  --charcoal: #2D3748;
  --cool-gray: #475569;
  --light-gray: #E2E8F0;
  --off-white: #F7FAFC;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
  
  /* Spacing - Standardized 8px scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ======================
   Base & Reset
   ====================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

code,
pre,
.caption,
.label-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

*:focus-visible {
  outline: 3px solid var(--bright-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ======================
   Utility Classes
   ====================== */

/* Inner page hero — used on Insights, FAQ, and any future secondary pages */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate) 100%);
  color: #ffffff;
  padding: var(--space-xl) 0 var(--space-lg) 0;
  overflow: hidden;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.125rem;
  max-width: 700px;
  opacity: 0.95;
}

/* ======================
   Layout
   ====================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--bright-cyan);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

header {
  background-color: var(--deep-navy);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-header {
  height: 74px;
  width: auto;
}

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

section {
  padding: var(--space-3xl) 0;
  background-color: #ffffff;
  position: relative;
  scroll-margin-top: 120px;
}

section.white-section {
  position: relative;
  z-index: 10;
}

section.white-section#about {
  z-index: 30;
  scroll-margin-top: 480px;
}

section.white-section#services {
  z-index: 20;
  scroll-margin-top: 480px;
}

section#products {
  scroll-margin-top: 480px;
}

section.white-section:not(:last-of-type) {
  border-bottom: 1px solid var(--light-gray);
}

/* ======================
   Navigation
   ====================== */

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 101;
}

.hamburger-icon {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #ffffff;
  position: relative;
  transition: background-color var(--transition-base);
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background-color: #ffffff;
  transition: transform var(--transition-base);
}

.hamburger-icon::before {
  top: -8px;
}

.hamburger-icon::after {
  top: 8px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::before {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::after {
  transform: rotate(-45deg) translate(6px, -6px);
}

nav {
  display: flex;
  gap: var(--space-lg);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color var(--transition-base);
}

nav a:hover {
  color: var(--bright-cyan);
}

/* REC 3: Active nav state */
nav a.nav-active {
  color: var(--bright-cyan);
  font-weight: 600;
  border-bottom: 2px solid var(--bright-cyan);
  padding-bottom: 2px;
}

/* ======================
   Hero Section
   ====================== */

.hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate) 100%);
  color: #ffffff;
  padding: var(--space-xl) 0;
  min-height: 24vh;
  display: flex;
  align-items: center;
  border-bottom: none;
  position: sticky;
  top: 98px;
  z-index: 50;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 900px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

@media (min-width: 769px) {
  .hero.scrolled {
    padding: var(--space-md) 0;
    min-height: auto;
  }
  
  .hero.scrolled .hero-text h1 {
    margin-bottom: var(--space-sm);
  }
  
  .hero.scrolled .hero-text p {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
    padding: 0;
  }
}

/* ======================
   Buttons
   ====================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  min-height: 48px;
}

.btn svg,
.btn img {
  margin-right: 8px;
}

.btn-primary {
  background-color: var(--slate);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 78, 107, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid var(--bright-cyan);
}

.btn-secondary:hover {
  background-color: var(--bright-cyan);
  color: #ffffff;
}

/* ======================
   Shared Card Styles
   ====================== */

.about-card,
.service-card {
  background-color: var(--off-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--bright-cyan);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.about-card::before,
.service-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--bright-cyan);
  opacity: 0.03;
  border-radius: 50%;
  transition: all var(--transition-slow);
}

.about-card:hover::before,
.service-card:hover::before {
  transform: scale(1.5);
  opacity: 0.05;
}

.about-card:hover,
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bright-cyan);
}

.about-card-header,
.service-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  min-height: 80px;
}

.about-icon,
.service-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.about-card:hover .about-icon,
.service-card:hover .service-icon {
  transform: scale(1.05);
}

.about-card h3,
.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0;
  line-height: 1.25;
}

.about-card p,
.service-card-text p {
  color: var(--cool-gray);
  line-height: 1.7;
}

/* ======================
   About Section
   ====================== */

.about {
  padding: var(--space-lg) 0 var(--space-xl) 0;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: var(--space-sm);
}

.about-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--cool-gray);
  margin: 0 0 var(--space-lg) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

/* ======================
   Services Section
   ====================== */

.services,
.products,
.market-insights {
  padding: var(--space-lg) 0 var(--space-xl) 0;
}

.services-header,
.products-header,
.insights-header {
  margin-bottom: var(--space-lg);
}

.services h2,
.products h2,
.insights-header h2,
.trust-header h2,
.about h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: var(--space-sm);
  display: inline-block;
  padding-bottom: var(--space-xs);
  border-bottom: 3px solid var(--bright-cyan);
}

.services-tagline,
.products-tagline,
.insights-tagline,
.trust-tagline {
  font-size: 1.125rem;
  color: var(--cool-gray);
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.about-card-text,
.service-card-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-text p,
.about-card-text p {
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.service-card-text a,
.about-card-text a {
  color: var(--bright-cyan);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
  margin-top: auto;
}

.service-card-text a:hover,
.about-card-text a:hover {
  color: var(--steel-blue);
  text-decoration: underline;
}

/* ======================
   Trust Section
   ====================== */

.trust {
  padding: var(--space-lg) 0 var(--space-xl) 0;
}

.trust-header {
  margin-bottom: var(--space-lg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.client-item {
  background-color: var(--off-white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: 1px solid var(--light-gray);
  text-align: center;
  font-weight: 600;
  color: var(--deep-navy);
  font-size: 1rem;
  height: 100px;
  transition: all var(--transition-base);
}

.client-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bright-cyan);
}

.client-icon {
  width: 36px;
  height: 36px;
  opacity: 0.7;
}

/* ======================
   Final CTA
   ====================== */

.final-cta {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate) 100%);
  color: #ffffff;
  text-align: center;
  padding: var(--space-xl) 0;
}

.final-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.final-cta p {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================
   Footer
   ====================== */

footer {
  background-color: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: var(--bright-cyan);
}

/* ======================
   Back to Top Button
   ====================== */

.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background-color: var(--btn-cyan);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  z-index: 90;
}

.back-to-top:hover {
  background-color: var(--steel-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  display: flex;
}

/* ======================
   FAQ Page
   ====================== */

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

.faq-category {
  margin-bottom: var(--space-2xl);
}

.category-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--bright-cyan);
  display: inline-block;
}

.faq-container,
.policy-container {
  max-width: 900px;
}

.faq-item {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--bright-cyan);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.faq-question {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
}

.faq-answer {
  color: var(--charcoal);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: var(--space-md);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.faq-answer li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.faq-answer strong {
  font-weight: 600;
  color: var(--deep-navy);
}

/* ======================
   Products Section
   ====================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.11);
}

.product-card-header {
  padding: 36px 32px 28px;
  position: relative;
  overflow: hidden;
}

.product-card-header::after {
  content: '';
  position: absolute;
  bottom: -30px; 
  right: -30px;
  width: 120px; 
  height: 120px;
  border-radius: 50%;
  opacity: 0.12;
}

.pc-aws .product-card-header { 
  background: linear-gradient(135deg, #1A3551 0%, #2C4E6B 100%); 
}

.pc-azure .product-card-header { 
  background: linear-gradient(135deg, #003A6C 0%, #0078D4 100%); 
}

.pc-growing .product-card-header { 
  background: linear-gradient(135deg, #134E36 0%, #1B7A52 100%); 
}

.pc-aws .product-card-header::after { 
  background: #00A8E8; 
}

.pc-azure .product-card-header::after { 
  background: #50A8E8; 
}

.pc-growing .product-card-header::after { 
  background: #10B981; 
}

.product-card-platform {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  position: relative; 
  z-index: 1;
}

.product-card-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative; 
  z-index: 1;
}

.product-card-header p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  position: relative; 
  z-index: 1;
  margin: 0;
}

.product-card-body {
  padding: 24px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #F1F5F9;
}

.product-card-for {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 12px;
}

.product-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-bullets li {
  font-size: 0.9rem;
  color: var(--cool-gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.product-card-bullets li::before {
  content: '';
  width: 6px; 
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.pc-aws .product-card-bullets li::before { 
  background: #00A8E8; 
}

.pc-azure .product-card-bullets li::before { 
  background: #0078D4; 
}

.pc-growing .product-card-bullets li::before { 
  background: #10B981; 
}

.product-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
  align-self: flex-start;
}

/* REC 1: product card CTAs — white on #0078B5 (AWS), #0078D4 is already passing (Azure), #047857 (growing) */
.pc-aws .product-card-cta { 
  background: #0078B5; 
  color: #fff; 
}

.pc-aws .product-card-cta:hover { 
  background: #1A3551; 
}

.pc-azure .product-card-cta { 
  background: #0078D4; 
  color: #fff; 
}

.pc-azure .product-card-cta:hover { 
  background: #003A6C; 
}

/* REC 1: Growing businesses CTA — white on #10B981 was 2.54:1 (FAIL). Fix: #047857 = 5.48:1 */
.pc-growing .product-card-cta { 
  background: #047857; 
  color: #fff; 
}

.pc-growing .product-card-cta:hover { 
  background: #134E36; 
}

.product-card-cta svg { 
  width: 16px; 
  height: 16px; 
  flex-shrink: 0; 
}

/* ======================
   Market Insights Section
   ====================== */

.market-insights .insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.insight-card {
  background-color: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bright-cyan);
}

.insight-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--steel-blue) 0%, var(--deep-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.insight-image svg {
  width: 70px;
  height: 70px;
  opacity: 0.35;
}

.insight-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

/* REC 1: insight-category badge — white on #005F8E = 6.94:1, passes WCAG AA */
.insight-category {
  background-color: #005F8E;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insight-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.insight-excerpt {
  color: var(--cool-gray);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  font-size: 0.9375rem;
}

.insight-link {
  color: var(--bright-cyan);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
  margin-top: auto;
  display: inline-block;
}

.insight-link:hover {
  color: var(--steel-blue);
  text-decoration: underline;
}

.insight-cta-card {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate) 100%);
  border-color: var(--deep-navy);
}

.insight-cta-card .insight-image {
  background: rgba(255, 255, 255, 0.1);
}

.insight-cta-card .insight-image svg {
  opacity: 0.5;
}

.insight-cta-content {
  color: white;
}

.insight-cta-content h3 {
  color: white;
}

.insight-cta-content .insight-excerpt {
  color: rgba(255, 255, 255, 0.9);
}

.insight-cta-content .btn {
  margin-top: auto;
}

/* ======================
   Privacy Policy Page
  ====================== */

.policy-hero {
  background: linear-gradient(135deg, rgba(26, 53, 81, 0.95) 0%, rgba(44, 78, 107, 0.95) 100%);
  color: #ffffff;
  padding: var(--space-xl) 0 var(--space-lg) 0;
  text-align: center;
}

.policy-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.policy-hero p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
}

.policy-content {
  padding: var(--space-2xl) 0;
}

.policy-container {
  max-width: 800px;
}

.policy-last-updated {
  text-align: center;
  padding: var(--space-md) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--light-gray);
}

.policy-last-updated p {
  color: var(--cool-gray);
  font-size: 0.9375rem;
  margin: 0;
}

.policy-last-updated strong {
  color: var(--deep-navy);
}

.policy-section {
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--light-gray);
}

.policy-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.policy-section p {
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.policy-section li {
  margin-bottom: var(--space-xs);
  color: var(--charcoal);
  line-height: 1.7;
}

.policy-section a {
  color: var(--bright-cyan);
  text-decoration: none;
  font-weight: 500;
}

.policy-section a:hover {
  text-decoration: underline;
}

.policy-section strong {
  font-weight: 600;
  color: var(--deep-navy);
}

/* ======================
   FABRIC Homepage Section
   ====================== */

.fabric-homepage {
  background: linear-gradient(160deg, #0D1F30 0%, #1A3551 45%, #1E3D5C 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.fabric-hp-header {
  margin-bottom: var(--space-xl);
}

.fabric-hp-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-sm);
  display: inline-block;
  padding-bottom: var(--space-xs);
  border-bottom: 3px solid var(--bright-cyan);
}

.fabric-hp-tagline {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: var(--space-sm);
}

.fabric-hp-lead {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-2xl);
}

.fabric-hp-wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.fabric-hp-title {
  color: #00A8E8;
  font-family: var(--font-primary);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fabric-hp-byline {
  color: rgba(255, 255, 255, 0.52);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.fabric-hp-h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.fabric-hp-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.fabric-hp-screenshot-wrap {
  margin-bottom: var(--space-2xl);
}

.fabric-hp-screenshot-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.38),
    0 48px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(0, 168, 232, 0.1);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.fabric-hp-screenshot-frame:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.24),
    0 20px 56px rgba(0, 0, 0, 0.44),
    0 64px 140px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(0, 168, 232, 0.18);
}

.fabric-hp-screenshot {
  display: block;
  width: 100%;
  height: auto;
}

.fabric-hp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fabric-hp-feature {
  text-align: center;
  padding: var(--space-md);
}

.fabric-hp-feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto var(--space-md);
  color: var(--bright-cyan);
}

.fabric-hp-feature h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-sm);
}

.fabric-hp-feature p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.fabric-hp-cta {
  text-align: center;
}

/* ======================
   Responsive - Tablets
   ====================== */

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

/* ======================
   Responsive - Mobile
   ====================== */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 98px;
    left: 0;
    right: 0;
    background-color: var(--deep-navy);
    flex-direction: column;
    padding: var(--space-md);
    display: none;
    box-shadow: var(--shadow-lg);
    gap: var(--space-sm);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  nav a:last-child {
    border-bottom: none;
  }

  nav a.nav-active {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0;
    border-left: 3px solid var(--bright-cyan);
    padding-left: calc(var(--space-sm) - 3px);
  }

  nav a.nav-active:last-child {
    border-bottom: none;
  }

  section {
    padding: var(--space-2xl) 0;
    scroll-margin-top: 110px;
  }
  
  section.white-section#services {
    scroll-margin-top: 110px;
  }

  section.white-section#about {
    scroll-margin-top: 110px;
  }

  .hero {
    padding: var(--space-lg) 0;
    min-height: auto;
    position: relative;
    top: auto;
  }

  .services-grid,
  .about-grid,
  .market-insights .insights-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    padding: var(--space-lg) 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .back-to-top {
    bottom: var(--space-md);
    right: var(--space-md);
    width: 45px;
    height: 45px;
  }

  /* FAQ Mobile */
  .policy-hero {
    padding: var(--space-2xl) 0;
  }

  .policy-hero h1 {
    font-size: 1.875rem;
  }

  .policy-hero p {
    font-size: 1rem;
  }
  
  .faq-section,
  .policy-content {
    padding: var(--space-xl) 0;
  }
  
  .faq-item {
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
  }
  
  .faq-question {
    font-size: 1.125rem;
  }
  
  .faq-answer {
    font-size: 0.9375rem;
  }

  /* FABRIC Homepage Section Mobile */
  .fabric-homepage {
    padding: var(--space-2xl) 0;
  }

  .fabric-hp-header h2 {
    font-size: 1.875rem;
  }

  .fabric-hp-lead {
    margin-bottom: var(--space-xl);
  }

  .fabric-hp-screenshot-frame {
    border-radius: 10px;
  }

  .fabric-hp-features {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
  }

  .fabric-hp-feature {
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .fabric-hp-feature:last-child {
    border-bottom: none;
  }

  /* Products Mobile */
  .products,
  .market-insights {
    padding: var(--space-2xl) 0;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 540px;
    margin: 0 auto;
  }
  
  .product-card-header {
    padding: 28px 24px 24px;
  }
  
  .product-card-body {
    padding: 20px 24px;
  }

  .insight-card h3 {
    font-size: 1.125rem;
  }
  
  .insight-image {
    height: 150px;
  }
  
  .insight-content {
    padding: var(--space-md);
  }

  /* Policy Mobile */
  .policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
  }
  
  .policy-section h3 {
    font-size: 1.125rem;
  }
  
  .policy-section {
    margin-bottom: var(--space-lg);
  }
  
  .policy-section p,
  .policy-section li {
    font-size: 0.9375rem;
  }
}

/* ======================
   Responsive - Small Mobile
   ====================== */

@media (max-width: 375px) {
  .hero-text h1 {
    font-size: clamp(1.75rem, 5vw, 2rem);
  }
  
  .hero-cta {
    width: 100%;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  .about-card,
  .service-card {
    padding: var(--space-md);
  }
  
  .client-item {
    font-size: 0.875rem;
    height: 70px;
    padding: var(--space-sm);
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: var(--space-sm);
    right: var(--space-sm);
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}
