/* ===================================================================
   Silver Ridge Cyber — Design System & Global Styles
   ===================================================================
   
   Mobile-first responsive design
   Breakpoints: 680px (tablet), 1024px (desktop)
   
   Design principles:
   - Accessibility first (WCAG 2.1 AA)
   - Performance optimized (lazy-load, system fonts fallback)
   - Gentle, trustworthy aesthetic
   - Plain, readable code
*/

/* ===================================================================
   1. CSS CUSTOM PROPERTIES (Design Variables)
   =================================================================== */

:root {
  /* Colors */
  --color-primary-blue: #0078E0;
  --color-primary-blue-dark: #0063C0;
  --color-accent-light: #78D0F8;
  --color-dark-surface: #0E1622;
  --color-dark-raised: #172234;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F7FB;
  --color-text-heading: #14181F;
  --color-text-body: #414B58;
  --color-text-muted: #6B7480;
  --color-text-on-dark: #EEF1F5;
  --color-text-muted-dark: #AEB6C0;
  --color-border-light: #E2E8F0;
  --color-silver: #C7D0DB;

  /* Typography */
  --font-heading: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  
  --font-size-base: 17px;
  --font-size-sm: 14px;
  --font-size-xs: 12px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 48px;
  
  --line-height-tight: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing (base unit = 4px) */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --spacing-3xl: 48px;
  --spacing-4xl: 64px;

  /* Sizing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(120, 208, 248, 0.1);
  --shadow-lg: 0 12px 32px rgba(20, 24, 31, 0.08);

  /* Motion */
  --duration-fast: 200ms;
  --duration-normal: 300ms;
  --easing-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: var(--spacing-2xl);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-normal: 0ms;
  }
  
  * {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
}

/* ===================================================================
   2. GOOGLE FONTS (font-display: swap for performance)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:ital,wght@0,400;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===================================================================
   3. RESET & BASE STYLES
   =================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-body);
  background-color: var(--color-bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ===================================================================
   4. TYPOGRAPHY
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-md);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-lg);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-md);
}

h4, h5, h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-lg);
}

p:last-child {
  margin-bottom: 0;
}

small, .text-small {
  font-size: var(--font-size-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  display: block;
}

.eyebrow::before {
  content: "✦ ";
}

.eyebrow::after {
  content: " ✦";
}

/* ===================================================================
   5. LINKS & INTERACTIVE TEXT
   =================================================================== */

a {
  color: var(--color-primary-blue);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-smooth);
  outline-offset: 2px;
}

a:hover {
  color: var(--color-primary-blue-dark);
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--color-accent-light);
  border-radius: 2px;
}

/* ===================================================================
   6. BUTTONS
   =================================================================== */

button, .button {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: var(--spacing-lg) var(--spacing-2xl);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  transition: all var(--duration-fast) var(--easing-smooth);
  outline-offset: 2px;
}

button:focus-visible, .button:focus-visible {
  outline: 3px solid var(--color-accent-light);
}

/* Primary button (solid blue) */
.btn-primary, button.primary {
  background-color: var(--color-primary-blue);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover, button.primary:hover {
  background-color: var(--color-primary-blue-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary:active, button.primary:active {
  transform: translateY(0);
}

/* Secondary button (outline on light) */
.btn-secondary, button.secondary {
  background-color: transparent;
  color: var(--color-primary-blue);
  border: 2px solid var(--color-primary-blue);
}

.btn-secondary:hover, button.secondary:hover {
  background-color: rgba(0, 120, 224, 0.05);
  border-color: var(--color-primary-blue-dark);
  color: var(--color-primary-blue-dark);
  transform: translateY(-2px);
}

/* Secondary button (outline on dark) */
.btn-secondary-dark, button.secondary-dark {
  background-color: transparent;
  color: var(--color-text-on-dark);
  border: 2px solid var(--color-silver);
}

.btn-secondary-dark:hover, button.secondary-dark:hover {
  background-color: rgba(199, 208, 219, 0.15);
  border-color: var(--color-text-on-dark);
  color: var(--color-text-on-dark);
  transform: translateY(-2px);
}

/* Button group */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* ===================================================================
   7. FORMS
   =================================================================== */

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  padding: var(--spacing-lg);
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  color: var(--color-text-body);
  transition: all var(--duration-fast) var(--easing-smooth);
}

input::placeholder, textarea::placeholder {
  color: var(--color-text-muted);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 224, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--color-text-heading);
}

.form-group {
  margin-bottom: var(--spacing-xl);
}

.form-group:last-child {
  margin-bottom: 0;
}

/* ===================================================================
   8. LAYOUT: CONTAINER, GRID, SECTIONS
   =================================================================== */

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

section {
  padding: var(--spacing-4xl) 0;
}

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

section.dark {
  background-color: var(--color-dark-surface);
  color: var(--color-text-muted-dark);
}

section.dark h1, section.dark h2, section.dark h3, 
section.dark h4, section.dark h5, section.dark h6 {
  color: var(--color-text-on-dark);
}

section.dark a {
  color: var(--color-accent-light);
}

section.dark a:hover {
  color: #9EDFFB;
}

/* Grid: 1 column mobile, auto on larger screens */
.grid {
  display: grid;
  gap: var(--spacing-2xl);
}

.grid-2 {
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: 1fr;
}

@media (min-width: 680px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===================================================================
   9. CARDS
   =================================================================== */

.card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--easing-smooth);
  border: 1px solid var(--color-border-light);
}

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

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.card h3 {
  margin-top: 0;
}

/* ===================================================================
   10. HEADER (Sticky)
   =================================================================== */

header {
  background-color: var(--color-dark-surface);
  color: var(--color-text-muted-dark);
  padding: var(--spacing-lg) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.header-logo {
  flex-shrink: 0;
  margin-right: var(--spacing-xl);
}

.header-logo a {
  display: flex;
  align-items: center;
  color: inherit;
}

.header-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.header-nav {
  display: none;
  flex: 1;
  justify-content: center;
  list-style: none;
  gap: var(--spacing-2xl);
}

.header-nav li a {
  color: var(--color-text-muted-dark);
  font-weight: 500;
  transition: color var(--duration-fast) var(--easing-smooth);
}

.header-nav li a:hover {
  color: var(--color-text-on-dark);
  text-decoration: none;
}

.header-cta {
  display: none;
  margin-left: auto;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-md);
  margin-left: var(--spacing-lg);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-on-dark);
  border-radius: 1px;
  transition: all var(--duration-fast) var(--easing-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop header nav */
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
  
  .header-cta {
    display: block;
  }
  
  .hamburger {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background-color: var(--color-dark-raised);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: column;
  z-index: 99;
  padding: var(--spacing-xl);
  gap: var(--spacing-lg);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu li {
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: var(--spacing-md);
  color: var(--color-text-muted-dark);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--color-text-on-dark);
}

/* ===================================================================
   11. FOOTER
   =================================================================== */

footer {
  background-color: var(--color-dark-surface);
  color: var(--color-text-muted-dark);
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
}

footer .container {
  display: grid;
  gap: var(--spacing-3xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-brand-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted-dark);
  line-height: var(--line-height-normal);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.footer-column h4 {
  color: var(--color-text-on-dark);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-md);
}

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

.footer-column a:hover {
  color: var(--color-text-on-dark);
}

.footer-contact {
  background-color: var(--color-dark-raised);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
}

.footer-contact h4 {
  color: var(--color-text-on-dark);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
}

.footer-contact-item {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
}

.footer-contact-item strong {
  display: block;
  color: var(--color-text-on-dark);
  font-weight: 600;
}

.footer-socials {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials h5 {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted-dark);
  margin-bottom: var(--spacing-md);
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(238, 241, 245, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--easing-smooth);
}

.social-icons a:hover {
  background-color: var(--color-accent-light);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
}

@media (min-width: 680px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    align-items: flex-start;
  }
  
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===================================================================
   12. COOKIE BANNER
   =================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark-raised);
  color: var(--color-text-muted-dark);
  padding: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  gap: var(--spacing-lg);
  z-index: 200;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner-text {
  flex: 1;
  min-width: 200px;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.cookie-banner-text a {
  color: var(--color-accent-light);
}

.cookie-banner-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cookie-banner button {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-sm);
}

/* ===================================================================
   13. FLOATING CTA (Mobile)
   =================================================================== */

.floating-cta {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 90vw;
}

@media (min-width: 1024px) {
  .floating-cta {
    display: none;
  }
}

/* ===================================================================
   14. HERO SECTION
   =================================================================== */

.hero {
  background: linear-gradient(135deg, var(--color-dark-surface) 0%, var(--color-dark-raised) 100%);
  color: var(--color-text-on-dark);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
}

.hero .subhead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted-dark);
  margin-bottom: var(--spacing-2xl);
}

.hero .button-group {
  justify-content: center;
}

/* ===================================================================
   15. STRIP/BAND SECTIONS (Guarantee, CTA, Tags)
   =================================================================== */

.strip {
  padding: var(--spacing-2xl) 0;
  text-align: center;
}

.strip-dark {
  background-color: var(--color-dark-surface);
  color: var(--color-text-on-dark);
}

.strip p {
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin: 0;
}

.strip strong {
  display: block;
  color: var(--color-accent-light);
  margin-bottom: var(--spacing-md);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
}

.tags-list li {
  list-style: none;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: rgba(199, 208, 219, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-silver);
}

/* ===================================================================
   16. SCROLL-IN ANIMATIONS (Fade + Rise)
   =================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-fade-in {
  opacity: 0;
  animation: fadeInUp var(--duration-normal) var(--easing-smooth) forwards;
}

/* ===================================================================
   17. RESPONSIVE UTILITIES
   =================================================================== */

.hide-mobile {
  display: none;
}

@media (min-width: 1024px) {
  .hide-mobile {
    display: block;
  }
}

.show-mobile {
  display: block;
}

@media (min-width: 1024px) {
  .show-mobile {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================================================
   18. ACCESSIBILITY: FOCUS STATES
   =================================================================== */

:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===================================================================
   19. MEDIA QUERIES & MOBILE-FIRST RESPONSIVE
   =================================================================== */

@media (min-width: 680px) {
  :root {
    --font-size-base: 18px;
    --font-size-3xl: 56px;
    --container-padding: var(--spacing-3xl);
  }
  
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero h1 {
    font-size: 52px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: var(--spacing-4xl);
  }
  
  h1 {
    font-size: 64px;
  }
  
  section {
    padding: var(--spacing-4xl) 0;
  }
  
  .button-group {
    justify-content: flex-start;
  }
}

/* ===================================================================
   20. PRINT STYLES
   =================================================================== */

@media print {
  header, footer, .floating-cta, .cookie-banner {
    display: none;
  }
  
  body {
    background-color: white;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ===================================================================
   21. SKIP LINK (Accessibility)
   =================================================================== */

.skip-link {
  position: absolute;
  top: -120px;
  left: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: var(--color-primary-blue);
  color: white;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--duration-fast) var(--easing-smooth);
}

.skip-link:focus {
  top: var(--spacing-md);
}

/* ===================================================================
   22. FADE-IN SCROLL ANIMATION (IntersectionObserver-triggered)
   =================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--easing-smooth), transform 0.55s var(--easing-smooth);
}

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

/* Staggered children get a slight delay via inline style */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================================
   23. HERO ENHANCEMENTS
   =================================================================== */

.hero {
  padding: var(--spacing-4xl) 0 calc(var(--spacing-4xl) + 50px);
}

.hero .eyebrow {
  color: var(--color-accent-light);
  opacity: 0.9;
}

/* Center hero buttons regardless of desktop default */
.hero .button-group {
  justify-content: center;
}

/* Ridge silhouette SVG at the bottom of the hero */
.hero-ridgeline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  display: block;
}

/* One-time lighthouse beam sweep */
.hero-beam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 500px;
  height: 120%;
  background: conic-gradient(
    from -18deg at 50% 0%,
    transparent 0deg,
    rgba(120, 208, 248, 0.07) 14deg,
    transparent 28deg
  );
  transform-origin: top center;
  animation: beamSweep 3.5s ease-out 0.8s both;
  pointer-events: none;
}

@keyframes beamSweep {
  0%   { transform: translateX(-50%) rotate(-24deg); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 0.7; }
  100% { transform: translateX(-50%) rotate(24deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-beam { display: none; }
}

@media (min-width: 1024px) {
  .hero {
    padding: 100px 0 calc(120px + 50px);
  }
}

/* ===================================================================
   24. GUARANTEE STRIP
   =================================================================== */

.guarantee-strip {
  background-color: var(--color-dark-raised);
  padding: var(--spacing-3xl) 0;
}

.guarantee-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 680px) {
  .guarantee-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  background-color: rgba(238, 241, 245, 0.05);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-accent-light);
}

.guarantee-item svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  stroke: var(--color-accent-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.guarantee-item strong {
  display: block;
  color: var(--color-text-on-dark);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: var(--line-height-tight);
}

/* ===================================================================
   25. TEXT UTILITIES & SECTION INTRO
   =================================================================== */

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

.section-intro {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: var(--spacing-3xl);
  line-height: var(--line-height-relaxed);
}

/* Auto-center when inside a centered context */
.text-center .section-intro,
.section-intro.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Inline arrow links inside cards and content */
.text-link {
  color: var(--color-primary-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: var(--spacing-md);
  transition: color var(--duration-fast) var(--easing-smooth);
}

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

/* ===================================================================
   26. THE DIFFERENCE SECTION
   =================================================================== */

.diff-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-2xl);
}

.diff-item {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.diff-item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background-color: rgba(0, 120, 224, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 120, 224, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.diff-item-content h3 {
  margin-bottom: var(--spacing-sm);
}

.diff-item-content p {
  color: var(--color-text-muted);
  margin: 0;
}

@media (min-width: 1024px) {
  .diff-list {
    max-width: 800px;
    gap: var(--spacing-3xl);
  }
}

/* ===================================================================
   27. COMPLIANCE TRUST STRIP
   =================================================================== */

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

.trust-strip .eyebrow {
  color: var(--color-text-muted-dark);
}

.trust-strip .trust-lead {
  color: var(--color-text-on-dark);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2xl);
}

/* ===================================================================
   28. FOUNDER TEASER
   =================================================================== */

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

.founder-teaser .section-intro {
  margin: 0 auto var(--spacing-2xl);
}

/* ===================================================================
   29. CLOSING CTA BAND
   =================================================================== */

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

.cta-band h2 {
  margin-bottom: var(--spacing-lg);
}

.cta-band .cta-lead {
  color: var(--color-text-muted-dark);
  font-size: var(--font-size-lg);
  max-width: 560px;
  margin: 0 auto var(--spacing-2xl);
}

@media (min-width: 680px) {
  .cta-band h2 {
    font-size: 36px;
  }
}

/* ===================================================================
   30. MOBILE MENU REFINEMENTS
   =================================================================== */

.mobile-menu > ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-book-btn {
  margin-top: var(--spacing-lg);
  width: 100%;
  justify-content: center;
  display: flex;
}

/* ===================================================================
   31. DARK SECTION EYEBROW OVERRIDE
   =================================================================== */

section.dark .eyebrow {
  color: var(--color-text-muted-dark);
}

/* ===================================================================
   32. HOMEPAGE REFINEMENTS
   =================================================================== */

/* Remove ✦ star decorators from eyebrows */
.eyebrow::before,
.eyebrow::after {
  content: "";
}

/* Nav: no wrapping, tighter spacing, smaller type, right-aligned */
@media (min-width: 1024px) {
  .header-nav {
    gap: 14px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .header-nav li a {
    white-space: nowrap;
    font-size: 15px;
  }

  .header-cta {
    margin-left: 16px;
  }

  .header-cta .button {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Primary buttons inside dark sections must stay white */
section.dark a.btn-primary,
section.dark a.button.btn-primary {
  color: #ffffff;
}

/* Difference section: 3-column horizontal grid at 680px+ */
.diff-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

@media (min-width: 680px) {
  .diff-list {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: none;
  }

  .diff-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .diff-item-content h3,
  .diff-item-content p {
    text-align: center;
  }
}

/* Compliance tag hover */
.tags-list li {
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  cursor: default;
}

.tags-list li:hover {
  background-color: rgba(120, 208, 248, 0.28);
  color: var(--color-text-on-dark);
  transform: translateY(-2px);
}

/* "...and more" label after compliance tags */
.tags-more {
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  color: var(--color-text-muted-dark);
  font-size: var(--font-size-sm);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* Icon size consistency: match card icons and diff item icons */
.card-icon svg {
  width: 28px;
  height: 28px;
}

.diff-item-icon {
  width: 56px;
  height: 56px;
}

.diff-item-icon svg {
  width: 28px;
  height: 28px;
}

/* ===================================================================
   HOMEPAGE REFINEMENTS — round 2
   These overrides come last so they win over base rules.
   =================================================================== */

/* --- 1. Header logo lockup: icon + wordmark side by side ----------- */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo img.header-logo-icon { height: 56px; width: auto; display: block; flex: 0 0 auto; }
.header-logo img.header-logo-wordmark { height: 36px; width: auto; display: none; flex: 0 0 auto; }
@media (min-width: 1340px) {
  .header-logo img.header-logo-wordmark { display: block; }
}

/* Sticky header drop-shadow on scroll (added via JS .is-scrolled) */
header {
  transition: box-shadow 250ms ease, background-color 250ms ease;
}
header.is-scrolled {
  box-shadow: 0 6px 24px rgba(14, 22, 34, 0.45);
  border-bottom: 1px solid rgba(120, 208, 248, 0.18);
}

/* --- 2. Hero refinements ------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero-ridgeline-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(120, 208, 248, 0.16), rgba(120, 208, 248, 0) 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero-beam {
  position: absolute;
  top: 18%;
  right: -20%;
  width: 70%;
  height: 60%;
  background: linear-gradient(105deg, transparent 35%, rgba(120,208,248,0.10) 50%, transparent 65%);
  transform: rotate(8deg);
  z-index: 0;
  pointer-events: none;
  animation: hero-beam-sweep 4.6s ease-out 0.6s 1 forwards;
  opacity: 0;
}
@keyframes hero-beam-sweep {
  0%   { opacity: 0; transform: translateX(-30%) rotate(8deg); }
  35%  { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(20%) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-beam { animation: none; opacity: 0; }
}

.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-content .eyebrow { color: var(--color-accent-light); }

/* Headline: two clean lines, no mid-word breaks */
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 14px 0 22px;
  /* responsive but capped so mobile doesn't explode */
  font-size: clamp(2.2rem, 6vw, 4rem);
}
.hero-h1-line {
  display: block;
  white-space: nowrap;
}
.hero-h1-line.accent {
  color: var(--color-accent-light);
}

.hero .subhead {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--color-text-muted-dark);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.65;
}

.hero .button-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Quiet secondary button on dark — barely-there outline */
.btn-quiet-dark {
  background: transparent;
  color: var(--color-text-on-dark);
  border: 1px solid rgba(174, 182, 192, 0.25);
  padding: 12px 22px;
  font-weight: 500;
  border-radius: var(--radius-md);
}
.btn-quiet-dark:hover {
  border-color: var(--color-accent-light);
  color: var(--color-accent-light);
  background: rgba(120, 208, 248, 0.06);
}

/* Scroll cue at base of hero */
.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-accent-light);
  opacity: 0.7;
  transition: opacity 200ms ease, transform 200ms ease;
  animation: cue-bob 2.4s ease-in-out infinite;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes cue-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
}

/* --- 3. Section headings: bigger eyebrow + slight indent ---------- */
.section-head { margin-bottom: 14px; }
.section-with-offset .section-head { padding-left: 22px; position: relative; }
.section-with-offset .section-head::before {
  /* A subtle vertical accent bar instead of a dot/diamond */
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 18px;
  width: 3px;
  border-radius: 2px;
  background: var(--color-primary-blue);
  opacity: 0.9;
}
.section-with-offset.dark .section-head::before {
  background: var(--color-accent-light);
}

.eyebrow.eyebrow-lg {
  font-size: 13px;
  letter-spacing: 0.18em;
  display: inline-block;
  margin-bottom: 10px;
}

.section-with-offset h2,
.section-with-offset .trust-lead {
  margin-bottom: 4px;
}

.section-intro-indent { padding-left: 22px; max-width: 680px; }

/* --- 4. Fade-in: rewrite with a more forgiving stagger ------------- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--easing-smooth), transform 600ms var(--easing-smooth);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
/* Stagger any siblings inside a grid/list using nth-child timing */
.grid-3 .fade-in.visible:nth-child(2) { transition-delay: 120ms; }
.grid-3 .fade-in.visible:nth-child(3) { transition-delay: 240ms; }
.diff-list .fade-in.visible:nth-child(2) { transition-delay: 100ms; }
.diff-list .fade-in.visible:nth-child(3) { transition-delay: 200ms; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* --- 5. Compliance tags: improved hover behavior ------------------ */
.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tags-list li {
  position: relative;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-text-on-dark);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(174, 182, 192, 0.22);
  border-radius: 8px;
  padding: 9px 14px;
  cursor: default;
  transition: all 220ms var(--easing-smooth);
  overflow: hidden;
}
.tags-list li:hover,
.tags-list li:focus-within {
  border-color: var(--color-accent-light);
  background: rgba(0, 120, 224, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 120, 224, 0.18);
}
.tag-label {
  display: inline-block;
  transition: transform 220ms var(--easing-smooth), opacity 220ms ease;
}
.tag-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--color-accent-light);
  background: rgba(14, 22, 34, 0.92);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
  white-space: nowrap;
}
.tags-list li:hover .tag-hover,
.tags-list li:focus-within .tag-hover {
  opacity: 1;
  transform: translateY(0);
}

/* --- 6. Cookie banner: slimmer, close X, neutral Decline ---------- */
.cookie-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 50px 12px 20px;
  background: rgba(14, 22, 34, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(120, 208, 248, 0.18);
  flex-wrap: wrap;
}
.cookie-banner-text { margin: 0; font-size: 13px; color: var(--color-text-muted-dark); flex: 1 1 280px; }
.cookie-banner-text a { color: var(--color-accent-light); text-decoration: underline; }
.cookie-banner-buttons { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-banner button {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}
.cookie-accept {
  background: var(--color-primary-blue);
  color: #fff;
}
.cookie-accept:hover { background: var(--color-primary-blue-dark); }
.cookie-decline {
  background: transparent;
  color: var(--color-text-muted-dark);
  border-color: rgba(174, 182, 192, 0.3);
}
.cookie-decline:hover { color: var(--color-text-on-dark); border-color: var(--color-text-muted-dark); }

.cookie-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--color-text-muted-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.cookie-close:hover { color: var(--color-text-on-dark); }

/* --- 7. Floating mobile CTA: only after hero --------------------- */
.floating-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 60;
  display: none; /* shown via JS .is-active */
  transition: bottom 200ms ease, opacity 200ms ease, transform 200ms ease;
}
.floating-cta.is-active { display: block; }
.floating-cta .button {
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 120, 224, 0.5);
  font-size: 15px;
}
@media (min-width: 880px) {
  /* Desktop has header CTA always visible — hide floating */
  .floating-cta { display: none !important; }
}

/* --- 8. Footer brand block ---------------------------------------- */
.footer-brand img {
  height: 70px;
  width: auto;
  display: block;
}
.footer-brand-text {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-silver);
  max-width: 280px;
}

/* Hours note */
.hours-note {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: var(--color-accent-light);
}

/* --- 9. Mobile hero: cap headline so it doesn't overrun ----------- */
@media (max-width: 480px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 70px; }
  .hero h1 { font-size: 2rem; line-height: 1.1; }
  .hero-h1-line { white-space: normal; }
  .hero .subhead { font-size: 1rem; }
  .hero .button-group { flex-direction: column; align-items: stretch; }
  .hero .button-group .button { width: 100%; text-align: center; }
  .scroll-cue { display: none; }
}

/* Cookie banner on mobile */
@media (max-width: 600px) {
  .cookie-banner { padding: 10px 44px 10px 16px; }
  .cookie-banner-text { font-size: 12px; }
  .cookie-banner-buttons { width: 100%; justify-content: flex-end; }
}

/* --- 10. Round-2 hotfixes ----------------------------------------- */

/* 10a. Trust strip is centered; move the accent bar above the eyebrow */
.section-with-offset.dark.trust-strip .section-head { padding-left: 0; }
.section-with-offset.dark.trust-strip .section-head::before {
  position: static;
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto 14px;
  background: var(--color-accent-light);
  border-radius: 2px;
}

/* 10b. Header overflow: tighten and hide wordmark earlier */
header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-nav { gap: 22px !important; }
.header-cta .button { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
@media (max-width: 980px) {
  /* Beyond this point hamburger takes over; ensure desktop nav hides cleanly */
  .header-nav, .header-cta { display: none; }
}

/* 10c. Footer logo: tight lockup needs a wider container */
.footer-brand {
  display: block; /* let the logo claim its full natural width */
}
.footer-brand img {
  height: auto;
  width: 240px;
  max-width: 100%;
  display: block;
}
@media (max-width: 700px) {
  .footer-brand img { width: 200px; }
}

/* 10d. Diff-list 3-column on wider screens (override original 800px cap which forced cramped layout) */
@media (min-width: 1024px) {
  .diff-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .diff-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }
}

/* ===================================================================
   ROUND 3 — fixes & multi-page additions
   =================================================================== */

/* --- 11. Button text never disappears on hover ------------------- */
/* The generic a:hover rule turns links blue + underline. For .button
   elements (which are anchors styled as buttons), keep the original
   text color and never underline. */
a.button { text-decoration: none !important; }
a.button:hover, a.button:focus, a.button:active { text-decoration: none !important; }

/* Primary button: white text always */
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:visited { color: #ffffff !important; }

/* Quiet-dark button: keep its on-dark coloring */
a.btn-quiet-dark { color: var(--color-text-on-dark) !important; }
a.btn-quiet-dark:hover { color: var(--color-accent-light) !important; }

/* Secondary buttons (light bg, blue text) shouldn't flip color or underline */
a.btn-secondary,
a.btn-secondary:hover,
a.btn-secondary:focus { color: var(--color-primary-blue) !important; }

/* --- 12. Compliance chips: simple hover, no tooltip overlay ----- */
.tags-list li {
  /* Reset cursor since there's no interaction now */
  cursor: default;
}
.tag-hover { display: none !important; }  /* Tooltip removed entirely */
.tags-list li:hover,
.tags-list li:focus-within {
  border-color: var(--color-accent-light);
  background: rgba(0, 120, 224, 0.16);
  transform: translateY(-2px);
}

/* --- 13. Page-hero (used on all internal pages) ---------------- */
.page-hero {
  background: linear-gradient(180deg, var(--color-dark-surface), var(--color-dark-raised));
  position: relative;
  padding: 140px 0 70px;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(120,208,248,.10), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--color-accent-light); margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-text-on-dark);
}
.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--color-text-muted-dark);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

/* --- 14. Two-column intro for service detail pages ------------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 880px) {
  .split-2 { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.split-2 ul.checks { list-style: none; padding: 0; margin: 0; }
.split-2 ul.checks li {
  padding: 12px 0 12px 36px;
  position: relative;
  border-top: 1px solid var(--color-border-light);
  font-size: 16px;
}
.split-2 ul.checks li:first-child { border-top: 0; }
.split-2 ul.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,120,224,.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078E0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 8'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- 15. How-it-works timeline (used on home + How It Works page) - */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 880px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(6, 1fr); }
}
.timeline-step {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  position: relative;
}
.timeline-step .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-primary-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.timeline-step h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-step p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* --- 16. Who-we-help grid -------------------------------------- */
.who-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform .25s var(--easing-smooth), border-color .25s var(--easing-smooth);
}
.who-card:hover { transform: translateY(-3px); border-color: var(--color-primary-blue); }
.who-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-blue);
  margin-bottom: 10px;
}
.who-card h3 { font-size: 18px; margin-bottom: 8px; }
.who-card p { font-size: 15px; color: var(--color-text-body); margin: 0; }

/* --- 17. Founder cards (About page) --------------------------- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 880px) {
  .founders-grid { grid-template-columns: 1fr 1fr; }
}
.founder-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.founder-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(140deg, var(--color-dark-raised), var(--color-dark-surface));
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 36px;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(14,22,34,.12);
}
.founder-card h3 { font-size: 22px; margin-bottom: 4px; }
.founder-card .role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-blue);
  margin-bottom: 12px;
}
.founder-card p { font-size: 15px; color: var(--color-text-body); margin: 0; }

/* --- 18. Pricing page ----------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 820px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--easing-smooth), box-shadow .25s var(--easing-smooth);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14,22,34,.10);
}
.price-card.featured {
  border-color: var(--color-primary-blue);
  border-width: 2px;
  box-shadow: 0 12px 28px rgba(0,120,224,.16);
}
.price-card.featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card .pkg-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-blue);
  margin-bottom: 8px;
}
.price-card .pkg-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}
.price-card .pkg-positioning {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  min-height: 42px;
}
.price-card .pkg-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-card .pkg-price .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  color: var(--color-text-heading);
  line-height: 1;
}
.price-card .pkg-price .unit {
  font-size: 14px;
  color: var(--color-text-muted);
}
.price-card .pkg-min {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.price-card .pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.price-card .pkg-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14px;
  color: var(--color-text-body);
  border-top: 1px solid var(--color-border-light);
}
.price-card .pkg-features li:first-child { border-top: 0; }
.price-card .pkg-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078E0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 8'/%3E%3C/svg%3E");
  background-size: 18px;
  background-repeat: no-repeat;
}
.price-card .pkg-features li.addon {
  color: var(--color-text-muted);
}
.price-card .pkg-features li.addon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7480' stroke-width='3' stroke-linecap='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
}
.price-card .pkg-features li.addon::after {
  content: "add-on";
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: 8px;
  background: var(--color-bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
}
.price-card .button { width: 100%; text-align: center; padding: 12px 18px; }

.price-extra {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 48px;
}
.price-extra h3 { font-size: 20px; margin-bottom: 6px; }
.price-extra p { color: var(--color-text-muted); font-size: 14px; margin-bottom: 18px; }
.price-extra-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 700px) { .price-extra-table { grid-template-columns: 1fr 1fr; } }
.price-extra-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  font-size: 14px;
  border: 1px solid var(--color-border-light);
}
.price-extra-row strong { color: var(--color-text-heading); font-weight: 600; }
.price-extra-row .amt {
  font-family: var(--font-mono);
  color: var(--color-primary-blue);
  font-weight: 600;
  white-space: nowrap;
}
.price-note {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(0,120,224,.06);
  border-left: 3px solid var(--color-primary-blue);
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-text-body);
}

/* --- 19. Contact form & Bookings embed ----------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 30px;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
}
.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text-heading);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary-blue);
  outline-offset: 2px;
  border-color: var(--color-primary-blue);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { width: 100%; padding: 14px 22px; }
.contact-aside {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-aside h3 { font-size: 20px; margin-bottom: 14px; }
.contact-aside .row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--color-border-light);
}
.contact-aside .row:first-of-type { border-top: 0; }
.contact-aside .row strong {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-aside .row a { color: var(--color-text-heading); }
.bookings-frame {
  margin-top: 30px;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.bookings-frame iframe { width: 100%; min-height: 620px; border: 0; display: block; }
.bookings-placeholder {
  padding: 60px 30px;
  text-align: center;
  background: var(--color-bg-alt);
}
.bookings-placeholder p { color: var(--color-text-muted); }

/* --- 20. Legal page typography -------------------------------- */
.legal {
  padding: 40px 0 80px;
  background: var(--color-bg);
}
.legal .container { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.legal h3 { font-size: 17px; margin-top: 22px; margin-bottom: 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal a { color: var(--color-primary-blue); }
.legal .updated {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding: 6px 12px;
  background: var(--color-bg-alt);
  border-radius: 999px;
}

/* ===================================================================
   ROUND 4 — Services page accordion + project grid + content tweaks
   =================================================================== */

/* --- Accordion (using native <details>) ----------------------- */
.svc-accordion {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  overflow: hidden;
  transition: box-shadow .25s var(--easing-smooth), border-color .25s var(--easing-smooth);
}
.svc-accordion[open] {
  border-color: rgba(0,120,224,0.35);
  box-shadow: 0 10px 28px rgba(14,22,34,0.06);
}
.svc-accordion summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  outline: none;
  user-select: none;
}
.svc-accordion summary::-webkit-details-marker { display: none; }
.svc-accordion summary:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: -3px;
}
.svc-summary-icon {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(0,120,224,0.10);
  display: flex; align-items: center; justify-content: center;
}
.svc-summary-icon svg { width: 22px; height: 22px; }
.svc-summary-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.svc-summary-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.2;
}
.svc-summary-sub {
  font-size: 14px;
  color: var(--color-text-muted);
}
.svc-summary-chevron {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  transition: transform .3s var(--easing-smooth), color .25s ease;
}
.svc-summary-chevron svg { width: 22px; height: 22px; display: block; }
.svc-accordion[open] .svc-summary-chevron {
  transform: rotate(180deg);
  color: var(--color-primary-blue);
}
.svc-accordion-body {
  padding: 4px 26px 28px;
  border-top: 1px solid var(--color-border-light);
}
.svc-accordion-body p { font-size: 15px; color: var(--color-text-body); }

/* --- Project grid -------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 22px;
}
@media (min-width: 700px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: transform .2s var(--easing-smooth), border-color .2s var(--easing-smooth);
}
.project-card:hover {
  border-color: rgba(0,120,224,0.35);
  transform: translateY(-2px);
}
.project-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--color-text-heading);
}
.project-card p {
  font-size: 14px;
  color: var(--color-text-body);
  margin: 0;
  line-height: 1.55;
}
.project-card strong { color: var(--color-text-heading); }

/* --- Mobile: tighten accordion summary --------------------- */
@media (max-width: 600px) {
  .svc-accordion summary { padding: 16px 18px; gap: 14px; }
  .svc-summary-title { font-size: 18px; }
  .svc-summary-icon { width: 40px; height: 40px; }
  .svc-summary-icon svg { width: 18px; height: 18px; }
  .svc-accordion-body { padding: 4px 18px 22px; }
}

/* ===================================================================
   ROUND 5 — Services dropdown, snake timeline, services hub tiles
   =================================================================== */

/* --- Services dropdown in header --------------------------- */
.header-nav li.has-dropdown {
  position: relative;
}
.header-nav li.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-nav .caret {
  width: 13px !important;
  height: 13px !important;
  transition: transform .2s var(--easing-smooth);
  flex: 0 0 auto;
}
.header-nav li.has-dropdown:hover > a .caret,
.header-nav li.has-dropdown:focus-within > a .caret {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -16px;
  min-width: 320px;
  background: var(--color-dark-raised);
  border: 1px solid rgba(120, 208, 248, 0.18);
  border-radius: 14px;
  padding: 10px;
  list-style: none;
  margin: 0;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
/* Hover-open zone — invisible bridge so the menu doesn't close
   while the user moves the cursor down to it */
.header-nav li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 14px;
}
.header-nav li.has-dropdown:hover .dropdown-menu,
.header-nav li.has-dropdown:focus-within .dropdown-menu,
.header-nav li.has-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li { margin: 0; }
.dropdown-menu li a {
  display: block;
  padding: 12px 14px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--color-text-on-dark) !important;
  transition: background .15s ease;
}
.dropdown-menu li a:hover,
.dropdown-menu li a:focus {
  background: rgba(0, 120, 224, 0.18);
  text-decoration: none !important;
}
.dropdown-menu .sub-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-on-dark);
  margin-bottom: 2px;
}
.dropdown-menu .sub-sub {
  display: block;
  font-size: 12.5px;
  color: var(--color-text-muted-dark);
  line-height: 1.4;
}
.dropdown-menu li a:hover .sub-title { color: var(--color-accent-light); }

/* Active state for Services nav item when on a sub-page */
.header-nav li.has-dropdown.active > a {
  color: var(--color-text-on-dark);
}
.header-nav li.has-dropdown.active > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--color-primary-blue);
  border-radius: 2px;
}

/* Mobile: turn dropdown into an indented submenu */
@media (max-width: 980px) {
  .header-nav li.has-dropdown::after { display: none; }
  .dropdown-menu { display: none !important; }
}
.mobile-menu li.mobile-sub a {
  padding-left: 28px;
  font-size: 14px;
  color: var(--color-text-muted-dark);
}
.mobile-menu li.mobile-sub a::before {
  content: "↳ ";
  color: var(--color-accent-light);
  margin-right: 4px;
}

/* --- Services hub tiles (services.html overview) ---------- */
.services-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 700px) { .services-hub { grid-template-columns: repeat(2, 1fr); } }
.service-tile {
  display: block;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform .25s var(--easing-smooth), border-color .25s var(--easing-smooth), box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-blue), var(--color-accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--easing-smooth);
}
.service-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 224, 0.5);
  box-shadow: 0 18px 40px rgba(14, 22, 34, 0.08);
}
.service-tile:hover::before { transform: scaleX(1); }
.service-tile-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(0, 120, 224, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-tile-icon svg { width: 26px; height: 26px; }
.service-tile h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-text-heading);
}
.service-tile p {
  font-size: 15px;
  color: var(--color-text-body);
  margin-bottom: 18px;
  line-height: 1.6;
}
.tile-arrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s ease;
}
.service-tile:hover .tile-arrow { gap: 8px; }

/* --- Snake timeline (home page How It Works) -------------- */
.snake-timeline {
  position: relative;
  max-width: 920px;
  margin: 40px auto 0;
}

/* Desktop: alternating layout with curved connector */
@media (min-width: 820px) {
  .snake-timeline {
    padding: 0 20px;
  }
  .snake-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }
  .snake-svg path {
    fill: none;
    stroke: var(--color-primary-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 7 9;
    opacity: 0.45;
  }
  .snake-step {
    position: relative;
    width: 46%;
    margin-bottom: 26px;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 6px 18px rgba(14, 22, 34, 0.04);
    z-index: 1;
    transition: transform .25s var(--easing-smooth), border-color .25s;
  }
  .snake-step:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 120, 224, 0.4);
  }
  /* Odd steps on the left, even on the right */
  .snake-step:nth-child(odd)  { margin-right: auto; margin-left: 0; }
  .snake-step:nth-child(even) { margin-left: auto;  margin-right: 0; }

  /* Number badge — slightly overlapping the card edge facing center */
  .snake-step .step-num {
    position: absolute;
    top: 50%;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--color-primary-blue);
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 120, 224, 0.35);
    transform: translateY(-50%);
    z-index: 2;
  }
  .snake-step:nth-child(odd) .step-num  { right: -24px; }
  .snake-step:nth-child(even) .step-num { left: -24px; }
}

/* Mobile: stack vertical with simple connector line */
@media (max-width: 819px) {
  .snake-svg { display: none; }
  .snake-step {
    position: relative;
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: 14px;
    padding: 20px 22px 20px 70px;
    margin-bottom: 16px;
  }
  .snake-step .step-num {
    position: absolute;
    top: 22px;
    left: 18px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--color-primary-blue);
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Vertical dashed line connecting steps */
  .snake-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 37px;
    bottom: -16px;
    width: 2px;
    height: 16px;
    background-image: linear-gradient(to bottom, var(--color-primary-blue) 50%, transparent 50%);
    background-size: 2px 6px;
    background-repeat: repeat-y;
    opacity: 0.5;
  }
}

.snake-step h3 {
  font-size: 18px;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}
.snake-step p {
  font-size: 14px;
  color: var(--color-text-body);
  margin: 0;
  line-height: 1.55;
}


/* ===================================================================
   ROUND 5 — header overflow fix (dropdown adds caret + nav item count)
   =================================================================== */
/* Push wordmark visibility breakpoint up so we have room for 7 nav items + dropdown + CTA */
@media (max-width: 1380px) {
  .header-logo img.header-logo-wordmark { display: none !important; }
}
@media (max-width: 1200px) {
  .header-nav { gap: 14px !important; font-size: 13.5px; }
  .header-cta .button { padding: 9px 13px; font-size: 13.5px; }
}

/* ===================================================================
   ROUND 6 — refinements
   =================================================================== */

/* --- Pricing extras: center the onboarding row ---------------- */
.price-extra-row-full {
  grid-column: 1 / -1;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.price-extra-row-full strong { text-align: right; }
.price-extra-row-full .amt { text-align: left; }

/* --- About: 4-across values grid ----------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 32px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values-grid { grid-template-columns: 1fr; gap: 14px; } }

.value-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s var(--easing-smooth), border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--color-primary-blue);
  opacity: 0.85;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,120,224,0.35);
  box-shadow: 0 10px 24px rgba(14,22,34,0.06);
}
.value-name {
  display: block;
  color: var(--color-text-heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.value-text {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.55;
}

/* --- Home page: clear visual continuation hint at trust strip --- */
/* Pure dark-to-light gradients look muddy. Keep the section edges
   crisp; rely on the "SEE HOW WE GET STARTED ↓" breadcrumb plus
   a soft inner glow at the section bottom to suggest more below. */
section.trust-strip {
  position: relative;
}
section.trust-strip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 60%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(120, 208, 248, 0.35),
    transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Tiny "more below" hint pinned at the bottom-center of the trust
   strip so users know to keep scrolling instead of treating it as
   the page's end. */
.trust-continue {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  opacity: 0.7;
}
.trust-continue::after {
  content: " ↓";
  display: inline-block;
  margin-left: 4px;
  animation: trust-bob 2.4s ease-in-out infinite;
}
@keyframes trust-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-continue::after { animation: none; }
}
