/*
Theme Name: FinTech Hive Theme
Theme URI: https://xhive.io
Author: FinTech Hive
Description: WordPress PHP theme for FinTech Hive.
Version: 1.1.0
Text Domain: fintech-hive
*/

/* --------------------------------------------------------------------------
   FinTech Hive Global CSS
   WordPress reads this file for theme metadata. We are also using it as the
   future global design-system source for tokens, base styles, utilities, and
   reusable component classes.
-------------------------------------------------------------------------- */

:root {
  /* Brand red */
  --fh-red-50: hsl(350 72% 97%);
  --fh-red-100: hsl(350 72% 93%);
  --fh-red-200: hsl(350 72% 86%);
  --fh-red-300: hsl(350 72% 73%);
  --fh-red-400: hsl(350 72% 58%);
  --fh-red-500: hsl(350 71% 44%);
  --fh-red-600: hsl(350 72% 38%);
  --fh-red-700: hsl(350 72% 33%);
  --fh-red-800: hsl(350 70% 25%);
  --fh-red-900: hsl(350 68% 17%);
  --fh-red-alpha-06: hsl(350 71% 44% / 0.06);
  --fh-red-alpha-10: hsl(350 71% 44% / 0.1);
  --fh-red-alpha-12: hsl(350 71% 44% / 0.12);
  --fh-red-alpha-25: hsl(350 71% 44% / 0.25);
  --fh-red-alpha-40: hsl(350 71% 44% / 0.4);
  --fh-red-alpha-70: hsl(350 71% 44% / 0.7);

  /* Neutrals */
  --fh-white: hsl(0 0% 100%);
  --fh-black: hsl(0 0% 0%);
  --fh-ink: hsl(60 3% 6%);
  --fh-charcoal-100: hsl(60 1% 18%);
  --fh-charcoal-200: hsl(60 2% 14%);
  --fh-charcoal-300: hsl(60 2% 11%);
  --fh-charcoal-400: hsl(60 3% 8%);

  /* Warm surfaces */
  --fh-warm-50: hsl(40 23% 98%);
  --fh-warm-100: hsl(40 23% 97%);
  --fh-warm-200: hsl(45 15% 95%);
  --fh-warm-300: hsl(36 21% 91%);
  --fh-warm-400: hsl(40 10% 86%);

  /* Brown / earth neutrals */
  --fh-earth-100: hsl(24 13% 82%);
  --fh-earth-200: hsl(24 9% 68%);
  --fh-earth-300: hsl(25 9% 51%);
  --fh-earth-400: hsl(24 15% 31%);
  --fh-earth-500: hsl(24 18% 22%);

  /* Text */
  --fh-text-primary: hsl(60 3% 6%);
  --fh-text-secondary: hsl(60 1% 36%);
  --fh-text-muted: hsl(60 2% 48%);
  --fh-text-faint: hsl(60 2% 60%);
  --fh-text-placeholder: hsl(60 3% 72%);
  --fh-text-inverse: hsl(0 0% 100%);
  --fh-text-inverse-muted: hsl(0 0% 100% / 0.58);
  --fh-text-inverse-soft: hsl(0 0% 100% / 0.42);
  --fh-text-inverse-faint: hsl(0 0% 100% / 0.28);
  --fh-text-inverse-ghost: hsl(0 0% 100% / 0.18);

  /* Borders */
  --fh-border: hsl(45 7% 89%);
  --fh-border-strong: hsl(45 4% 81%);
  --fh-border-dark-03: hsl(0 0% 100% / 0.03);
  --fh-border-dark-06: hsl(0 0% 100% / 0.06);
  --fh-border-dark-08: hsl(0 0% 100% / 0.08);
  --fh-border-dark-12: hsl(0 0% 100% / 0.12);
  --fh-border-dark-15: hsl(0 0% 100% / 0.15);
  --fh-border-dark-35: hsl(0 0% 100% / 0.35);

  /* Transparent overlays */
  --fh-overlay-dark-04: hsl(0 0% 0% / 0.04);
  --fh-overlay-dark-06: hsl(0 0% 0% / 0.06);
  --fh-overlay-dark-08: hsl(0 0% 0% / 0.08);
  --fh-overlay-dark-10: hsl(0 0% 0% / 0.1);
  --fh-overlay-dark-40: hsl(0 0% 0% / 0.4);
  --fh-overlay-dark-50: hsl(0 0% 0% / 0.5);
  --fh-overlay-dark-65: hsl(60 3% 6% / 0.65);
  --fh-overlay-light-45: hsl(0 0% 100% / 0.45);
  --fh-overlay-light-90: hsl(0 0% 100% / 0.9);
  --fh-overlay-light-94: hsl(0 0% 100% / 0.94);
  --fh-overlay-light-96: hsl(0 0% 100% / 0.96);
  --fh-overlay-light-98: hsl(0 0% 100% / 0.98);
  --fh-overlay-light-99: hsl(0 0% 100% / 0.99);

  /* Supporting accents */
  --fh-green-50: hsl(142 76% 96%);
  --fh-green-100: hsl(142 76% 90%);
  --fh-green-500: hsl(142 76% 36%);
  --fh-green-600: hsl(142 72% 29%);
  --fh-green-alpha-08: hsl(142 76% 36% / 0.08);
  --fh-blue-50: hsl(221 83% 97%);
  --fh-blue-100: hsl(221 83% 93%);
  --fh-blue-500: hsl(221 83% 53%);
  --fh-blue-alpha-08: hsl(221 83% 53% / 0.08);
  --fh-warning-50: hsl(38 92% 95%);
  --fh-warning-500: hsl(35 92% 33%);
  --fh-warning-alpha-12: hsl(35 92% 33% / 0.12);

  /* Grow platform accent */
  --fh-grow-50: hsl(172 85% 96%);
  --fh-grow-100: hsl(172 85% 90%);
  --fh-grow-300: hsl(172 80% 50%);
  --fh-grow-400: hsl(172 80% 35%);
  --fh-grow-500: hsl(172 85% 26%);
  --fh-grow-600: hsl(172 85% 21%);
  --fh-grow-800: hsl(173 77% 10%);
  --fh-grow-900: hsl(173 63% 7%);
  --fh-grow-alpha-07: hsl(172 85% 26% / 0.07);
  --fh-grow-alpha-18: hsl(172 85% 26% / 0.18);

  /* Font */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;

  /* Motion */
  --animate-accordion-down: accordion-down 0.2s ease-out;
  --animate-accordion-up: accordion-up 0.2s ease-out;
  --duration-fast: 0.15s;
  --duration-base: 0.2s;
  --duration-slow: 0.3s;
  --ease-standard: ease;
  --ease-out: ease-out;

  /* Shadows */
  --shadow-none: none;
  --outline-none: none;
  --shadow-xs: 0 1px 2px hsl(0 0% 0% / 0.05);
  --shadow-card: 0 1px 3px hsl(0 0% 0% / 0.05), 0 1px 2px hsl(0 0% 0% / 0.05);
  --shadow-card-hover:
    0 10px 15px hsl(0 0% 0% / 0.08), 0 4px 6px hsl(0 0% 0% / 0.08);
  --shadow-brand: 0 4px 14px hsl(350 71% 44% / 0.25);
  --shadow-focus: 0 0 0 3px hsl(350 71% 44% / 0.25);
  --shadow-focus-error: 0 0 0 3px hsl(350 71% 44% / 0.25);

  /* Typography scale */
  --font-size-4xs: 9px;
  --font-size-3xs: 10px;
  --font-size-2xs: 11px;
  --font-size-xxs: 12px;
  --font-size-xs: 0.875rem;
  --font-size-sm: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;
  --font-size-8xl: 6rem;
  --font-size-9xl: 8rem;

  /* Font weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Letter spacing */
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-label: 0.06em;
  --tracking-label-wide: 0.1em;

  /* Line heights */
  --leading-none: 1;
  --leading-base: 1.5;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;

  /* Breakpoint tokens for reference and JS. Use literal values in @media. */
  --breakpoint-xs: 480px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  --breakpoint-3xl: 1920px;
  --breakpoint-4xl: 2560px;
  --breakpoint-5xl: 3840px;
  --breakpoint-6xl: 5120px;
  --breakpoint-7xl: 7680px;
  --breakpoint-8xl: 10000px;

  /* Semantic theme aliases */
  --background: var(--fh-white);
  --foreground: var(--fh-text-primary);
  --card: var(--fh-white);
  --card-foreground: var(--fh-text-primary);
  --popover: var(--fh-white);
  --popover-foreground: var(--fh-text-primary);
  --primary: var(--fh-red-500);
  --primary-hover: var(--fh-red-600);
  --primary-dark: var(--fh-red-700);
  --primary-light: var(--fh-red-alpha-06);
  --primary-foreground: var(--fh-white);
  --secondary: var(--fh-warm-200);
  --secondary-foreground: var(--fh-text-primary);
  --muted: var(--fh-warm-200);
  --muted-foreground: var(--fh-text-secondary);
  --accent: var(--fh-red-alpha-06);
  --accent-foreground: var(--fh-red-500);
  --destructive: var(--fh-red-500);
  --destructive-foreground: var(--fh-white);
  --border: var(--fh-border);
  --border-strong: var(--fh-border-strong);
  --input: var(--fh-border);
  --input-border: var(--fh-border);
  --ring: var(--fh-red-500);
  --page-bg: var(--fh-white);
  --card-bg: var(--fh-white);
  --tab-list-bg: var(--fh-warm-300);
  --surface: var(--fh-white);
  --surface-warm: var(--fh-warm-100);
  --surface-warm-strong: var(--fh-warm-200);
  --surface-dark: var(--fh-charcoal-300);
  --surface-dark-strong: var(--fh-charcoal-200);
  --radius-global-rounded: var(--radius-2xl);
  --radius-card-rounded: var(--radius-lg);
  --radius-corner-rounded: var(--radius-lg);
  --radius-button-rounded: var(--radius-lg);
  --text-primary: var(--fh-text-primary);
  --text-secondary: var(--fh-text-secondary);
  --text-muted: var(--fh-text-muted);
  --text-faint: var(--fh-text-faint);
  --text-inverse: var(--fh-text-inverse);
  --text-inverse-muted: var(--fh-text-inverse-muted);
  --success: var(--fh-green-600);
  --success-bg: var(--fh-green-50);
  --warning: var(--fh-warning-500);
  --warning-bg: var(--fh-warning-50);
  --status-overdue-bg: var(--fh-red-100);
  --status-overdue-text: var(--fh-red-700);
  --status-overdue-row: var(--fh-red-50);
  --cat-teal: var(--fh-grow-500);
  --cat-purple: hsl(262 83% 58%);
  --chart-1: var(--fh-red-500);
  --chart-2: var(--fh-grow-500);
  --chart-3: var(--fh-blue-500);
  --chart-4: var(--fh-green-600);
  --chart-5: var(--fh-warning-500);

  /* WordPress / component aliases */
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);

  /* Effects */
  --glass-bg: hsl(0 0% 100% / 0.06);
  --glass-border: hsl(0 0% 100% / 0.12);
  --blur-glass: 12px;
  --overlay-bg: hsl(0 0% 0% / 0.5);
  --border-width: 1px;
  --radix-accordion-content-height: auto;

  /* Radius */
  --radius: 0.375rem;
  --radius-sm: calc(var(--radius) - 2px);
  --radius-md: var(--radius);
  --radius-lg: calc(var(--radius) + 2px);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 14px;
  --radius-full: 999px;
  --section-max-width: 1200px;

  /* Temporary aliases for current theme migration */
  --red: var(--primary);
  --red-hover: var(--primary-hover);
  --red-light: var(--fh-red-alpha-06);
  --red-mid: var(--fh-red-alpha-12);
  --text: var(--text-primary);
  --faint: var(--text-faint);
  --warm: var(--surface-warm);
  --warm2: var(--surface-warm-strong);
  --charcoal: var(--surface-dark);
  --charcoal2: var(--surface-dark-strong);
}

/* Font utilities */
.font-sans {
  font-family: var(--font-sans);
}

.font-display {
  font-family: var(--font-display);
}

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

/* WordPress's default block-spacing global styles (from `appearanceTools`
   in theme.json) inject a margin-block-start above every top-level block
   in the content — including the very first one. Each fintech-hive/*
   section already has its own vertical rhythm, so that extra gap is
   unwanted here. `:root` alone gives the WP rule its specificity (`:where()`
   contributes none), so matching with a plain class selector reliably wins
   regardless of stylesheet load order. */
:root .is-layout-flow > * {
  margin-block-start: 0;
}

html,
body {
  min-height: 100%;
}

html {
  background-color: var(--page-bg);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-feature-settings:
    "rlig" 1,
    "calt" 1;
  line-height: var(--leading-base);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

/* GLOBAL LAYOUT */
.inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 56px;
  width: 100%;
}

.page-content-shell {
  padding-bottom: 96px;
  padding-top: 32px;
}

.page-content-shell > .wp-block:first-child {
  margin-top: 0;
}

.wp-block-fintech-hive-engage-card-component {
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
  width: 100%;
}

.sec {
  padding: 96px 0;
}

.sec-warm {
  padding: 96px 0;
  background: var(--warm);
}

.sec-warm2 {
  padding: 96px 0;
  background: var(--warm2);
}

.sec-charcoal {
  padding: 96px 0;
  background: var(--charcoal);
}

/* APP-CONTACT-CTA */
.sec-charcoal.app-contact-cta {
  padding: 80px 0;
}

.app-contact-cta .eyebrow-inv {
  text-align: center;
  margin-bottom: 14px;
}

.cta-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cta-wrap h2 {
  font-family: "DM Serif Display", serif;
  font-size: 46px;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.cta-wrap h2 em {
  color: var(--red);
  font-style: italic;
}

.cta-wrap p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn-cta {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.btn-cta:hover {
  background: var(--red-hover);
}

.btn-cta-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 15px 28px;
  border-radius: 9px;
  font-size: 16px;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.btn-cta-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}

.cta-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 22px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

code,
pre,
kbd,
samp {
  font-family: var(--font-sans);
}

* {
  border-color: var(--border);
}

*:focus,
*:focus-visible {
  outline: none;
}

.hide-scrollbar,
.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar,
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}

.no-transition *,
.no-transition *::before,
.no-transition *::after {
  transition: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--background) inset !important;
  -webkit-text-fill-color: var(--foreground) !important;
  transition: background-color 5000s ease-in-out 0s;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: hsl(0 0% 0% / 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(0 0% 0% / 0.28);
}

@keyframes accordion-down {
  from {
    height: 0;
  }

  to {
    height: var(--radix-accordion-content-height);
  }
}

@keyframes accordion-up {
  from {
    height: var(--radix-accordion-content-height);
  }

  to {
    height: 0;
  }
}

@keyframes skeleton-shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

/* Utilities */
/* TYPOGRAPHY SCALE */
.t-hero {
  /* max-xs  < 480px  */
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-3xl);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-4xl);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-5xl);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-5xl);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-6xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-6xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-7xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-7xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-8xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-8xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-9xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-9xl);
  } /* 10000px */
}
.t-kpi-lg {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-2xl);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-2xl);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-3xl);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-3xl);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-4xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-4xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-5xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-5xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-6xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-6xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-7xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-7xl);
  } /* 10000px */
}

.t-kpi {
  /* max-xs  < 480px  */
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-xl);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-xl);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-2xl);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-2xl);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-3xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-3xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-4xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-4xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-5xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-5xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-6xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-6xl);
  } /* 10000px */
}

.t-section {
  /* max-xs  < 480px  */
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-lg);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-lg);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-xl);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xl);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-2xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-2xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-3xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-3xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-4xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-4xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-5xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-5xl);
  } /* 10000px */
}

.t-display {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-sm);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-lg);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-lg);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-2xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-2xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-3xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-3xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-4xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-4xl);
  } /* 10000px */
}

.t-display-soft {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-sm);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-lg);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-lg);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-2xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-2xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-3xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-3xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-4xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-4xl);
  } /* 10000px */
}

.t-heading {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  font-style: normal;
  line-height: var(--leading-snug);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-sm);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-lg);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-lg);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xl);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-xl);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-2xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-2xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-3xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-3xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-4xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-4xl);
  } /* 10000px */
}

.t-title {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-sm);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-sm);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-lg);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-lg);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-2xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-2xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-3xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-3xl);
  } /* 10000px */
}

.t-nav {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-sm);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-sm);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-lg);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-lg);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-2xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-2xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-3xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-3xl);
  } /* 10000px */
}

.t-body {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
  font-style: normal;
  line-height: var(--leading-base);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-sm);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-sm);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-lg);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-lg);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-2xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-2xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-3xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-3xl);
  } /* 10000px */
}

.t-meta {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);

  @media (min-width: 480px) {
    font-size: var(--font-size-xxs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-xs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-xs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-sm);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-sm);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-lg);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-lg);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-2xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-2xl);
  } /* 10000px */
}

.t-meta-bold {
  /* max-xs  < 480px  */
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);

  @media (min-width: 480px) {
    font-size: var(--font-size-xxs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-xs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-xs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-sm);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-sm);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-lg);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-lg);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-2xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-2xl);
  } /* 10000px */
}

.t-caption {
  /* max-xs  < 480px  */
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);

  @media (min-width: 480px) {
    font-size: var(--font-size-2xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-xxs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-xxs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xs);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-sm);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-sm);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-lg);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-lg);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-2xl);
  } /* 10000px */
}

.t-caption-bold {
  /* max-xs  < 480px  */
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-wide);

  @media (min-width: 480px) {
    font-size: var(--font-size-2xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-xxs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-xxs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xs);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-sm);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-sm);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-lg);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-lg);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-2xl);
  } /* 10000px */
}
.t-input {
  /* max-xs  < 480px  */
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--leading-tight);
  letter-spacing: 0;

  @media (min-width: 480px) {
    font-size: var(--font-size-sm);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-sm);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-sm);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-sm);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-lg);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-lg);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xl);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-xl);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-2xl);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-2xl);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-3xl);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-3xl);
  } /* 10000px */
}

.t-micro {
  /* max-xs  < 480px  */
  font-size: var(--font-size-3xs);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-label);

  @media (min-width: 480px) {
    font-size: var(--font-size-3xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-2xs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-2xs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xxs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xxs);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-xs);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xs);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-sm);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-sm);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-lg);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-lg);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-xl);
  } /* 10000px */
}

.t-micro-bold {
  /* max-xs  < 480px  */
  font-size: var(--font-size-3xs);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-label);

  @media (min-width: 480px) {
    font-size: var(--font-size-3xs);
  } /* 480px  */
  @media (min-width: 640px) {
    font-size: var(--font-size-2xs);
  } /* 640px  */
  @media (min-width: 768px) {
    font-size: var(--font-size-2xs);
  } /* 768px  */
  @media (min-width: 1024px) {
    font-size: var(--font-size-xxs);
  } /* 1024px */
  @media (min-width: 1280px) {
    font-size: var(--font-size-xxs);
  } /* 1280px */
  @media (min-width: 1536px) {
    font-size: var(--font-size-xs);
  } /* 1536px */
  @media (min-width: 1920px) {
    font-size: var(--font-size-xs);
  } /* 1920px */
  @media (min-width: 2560px) {
    font-size: var(--font-size-sm);
  } /* 2560px */
  @media (min-width: 3840px) {
    font-size: var(--font-size-sm);
  } /* 3840px */
  @media (min-width: 5120px) {
    font-size: var(--font-size-lg);
  } /* 5120px */
  @media (min-width: 7680px) {
    font-size: var(--font-size-lg);
  } /* 7680px */
  @media (min-width: 10000px) {
    font-size: var(--font-size-xl);
  } /* 10000px */
}

/* SEMANTIC ROUNDING */
.global-rounded {
  border-radius: var(--radius-global-rounded);
}
.no-rounded {
  border-radius: 0;
}
.no-outline {
  outline: none !important;
}
.sm-rounded {
  border-radius: var(--radius-sm);
}
.md-rounded {
  border-radius: var(--radius-global-rounded);
}
.lg-rounded {
  border-radius: var(--radius-lg);
}
.xl-rounded {
  border-radius: var(--radius-xl);
}
.full-rounded {
  border-radius: var(--radius-full);
}
.pill-rounded {
  border-radius: var(--radius-full);
}
.card-rounded {
  border-radius: var(--radius-card-rounded);
}
.dropdown-shadow {
  box-shadow: var(--shadow-card);
}
.t-rounded {
  border-radius: var(--radius-global-rounded) var(--radius-global-rounded) 0 0;
}
.b-rounded {
  border-radius: 0 0 var(--radius-global-rounded) var(--radius-global-rounded);
}
.tl-rounded {
  border-radius: var(--radius-global-rounded) 0 0 0;
}
.tr-rounded {
  border-radius: 0 var(--radius-global-rounded) 0 0;
}
.bl-rounded {
  border-radius: 0 0 0 var(--radius-global-rounded);
}
.br-rounded {
  border-radius: 0 0 var(--radius-global-rounded) 0;
}
.no-l-rounded {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.no-r-rounded {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.no-t-rounded {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.no-b-rounded {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* SEMANTIC FIELD HEIGHT */
.h-field {
  height: 2.25rem;
}
.h-compact {
  height: 2rem;
}
.h-large {
  height: 2.5rem;
}
.h-small {
  height: 1.75rem;
}
.min-h-textarea {
  min-height: 4rem;
}
/* HIGHT FOR PROGRESS COMPO */
.h-progress {
  height: 0.5rem;
}

/* TRIGGER CHEVRON */
.trigger-chevron {
  color: var(--text-secondary);
  pointer-events: none;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transform: translateY(0.125rem);
  transition: transform 200ms;
}

/* SEMANTIC ICON SIZE */
.icon-compact {
  width: 0.875rem;
  height: 0.875rem;
}
.icon-default {
  width: 1rem;
  height: 1rem;
}
.icon-large {
  width: 1.25rem;
  height: 1.25rem;
}

/* SEMANTIC Z-INDEX */
.z-dropdown {
  z-index: 50;
}
.z-tabs-trigger {
  z-index: 10;
}

/* SEMANTIC BORDERS — directional removal */
.no-border {
  border: none !important;
}
.no-l-border {
  border-left-width: 0;
}
.no-r-border {
  border-right-width: 0;
}
.no-t-border {
  border-top-width: 0;
}
.no-b-border {
  border-bottom-width: 0;
}

/* SEMANTIC COLORS — Text */
.text-main {
  color: var(--text-primary);
}
.text-soft {
  color: var(--text-secondary);
}
.text-faint {
  color: var(--text-muted);
}
.text-brand {
  color: var(--primary);
}
.text-brand-strong {
  color: var(--primary-dark);
}
.text-danger {
  color: var(--destructive);
}
.text-success-role {
  color: var(--success);
}
.text-warning-role {
  color: var(--warning);
}
.text-cat-teal {
  color: var(--cat-teal);
}
.text-cat-purple {
  color: var(--cat-purple);
}
.text-inverse {
  color: var(--primary-foreground);
}
.text-inverse-muted {
  color: hsl(0 0% 100% / 0.6);
}
.text-inverse-faint {
  color: hsl(0 0% 100% / 0.2);
}
.text-danger-muted {
  color: var(--status-overdue-text);
}

/* SEMANTIC COLORS — Surfaces */
.surface-transparent {
  background-color: transparent !important;
}
.surface-background {
  background-color: var(--background);
}
.surface-page {
  background-color: var(--page-bg);
}
.surface-card {
  background-color: var(--card-bg);
}
.surface-popover {
  background-color: var(--popover);
}
.surface-brand {
  background-color: var(--primary);
}
.surface-brand-soft {
  background-color: var(--primary-light);
}
.surface-success {
  background-color: var(--success);
}
.surface-success-soft {
  background-color: var(--success-bg);
}
.surface-danger {
  background-color: var(--destructive);
}
.surface-danger-soft {
  background-color: var(--status-overdue-bg);
}
.surface-warning-soft {
  background-color: color-mix(in srgb, var(--warning-bg) 20%, transparent);
}
.surface-muted {
  background-color: var(--muted);
}
.surface-input {
  background-color: var(--input);
}
.surface-overdue-row {
  background-color: var(--status-overdue-row);
}
.surface-tab-list {
  background-color: var(--tab-list-bg);
}
.surface-hover:hover {
  background-color: var(--page-bg);
}
.surface-ghost-hover:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}
.surface-brand-strong-hover:hover {
  background-color: var(--primary-dark);
}
.surface-success-soft-hover:hover {
  background-color: var(--success-bg);
}
.surface-danger-soft-hover:hover {
  background-color: color-mix(in srgb, var(--destructive) 5%, transparent);
}
.surface-brand-soft-hover:hover {
  background-color: var(--primary-light);
}

/* SEMANTIC BORDERS */
.border-default {
  border-color: var(--border);
}
.border-input-default {
  border-color: var(--input-border);
}
.border-brand {
  border-color: var(--primary);
}
.border-brand-soft {
  border-color: color-mix(in srgb, var(--primary) 20%, transparent);
}
.border-brand-muted {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.border-start-brand {
  border-left-color: var(--primary);
}
.border-start-danger {
  border-left-color: var(--destructive);
}
.border-success-soft {
  border-color: color-mix(in srgb, var(--success) 20%, transparent);
}
.border-success-muted {
  border-color: color-mix(in srgb, var(--success) 30%, transparent);
}
.border-danger-soft {
  border-color: color-mix(in srgb, var(--destructive) 20%, transparent);
}
.border-warning-soft {
  border-color: color-mix(in srgb, var(--warning) 25%, transparent);
}
.border-info-soft {
  border-color: color-mix(in srgb, var(--primary) 20%, transparent);
}

/* OVERLAY */
.surface-overlay {
  background-color: var(--overlay-bg);
}

/* GLASS */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-glass));
  border: var(--border-width) solid var(--glass-border);
}

/* SHADOW */
.no-shadow {
  box-shadow: none !important;
}
.shadow-brand-soft {
  box-shadow: 0 10px 15px -3px
    color-mix(in srgb, var(--primary) 18%, transparent);
}

/* TEXT DECORATION */
.decoration-underline {
  text-decoration-line: underline;
  text-underline-offset: 4px;
}
.decoration-overline {
  text-decoration-line: overline;
}
.decoration-strike {
  text-decoration-line: line-through;
}
.decoration-none {
  text-decoration-line: none;
}

/* UNDERLINE OFFSET */
.offset-1 {
  text-underline-offset: 1px;
}
.offset-2 {
  text-underline-offset: 2px;
}
.offset-4 {
  text-underline-offset: 4px;
}
.offset-8 {
  text-underline-offset: 8px;
}

/* TEXT TRANSFORM */
.text-uppercase {
  text-transform: uppercase;
}
.text-lowercase {
  text-transform: lowercase;
}
.text-capitalize {
  text-transform: capitalize;
}

/* FLUID SPACING */
.p-fluid {
  padding: clamp(1rem, 0.5rem + 2vw, 3rem);
}
.px-fluid {
  padding-left: clamp(1rem, 0.5rem + 2vw, 3rem);
  padding-right: clamp(1rem, 0.5rem + 2vw, 3rem);
}
.py-fluid {
  padding-top: clamp(1rem, 0.5rem + 2vw, 3rem);
  padding-bottom: clamp(1rem, 0.5rem + 2vw, 3rem);
}
.gap-fluid {
  gap: clamp(1rem, 0.5rem + 1.5vw, 2.5rem);
}

/* FOCUS RING */
.focus-ring:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent);
}

.has-focus-ring:focus-within {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 50%, transparent);
}

.invalid-state[aria-invalid="true"] {
  border-color: var(--destructive);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--destructive) 20%, transparent);
}

/* 

  ALL CSS LAYER COMPONENTS

*/

/* button */
.btn {
  align-items: center;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-global-rounded);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  gap: 0.5rem;
  justify-content: center;
  line-height: var(--leading-none);
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
  transform: none;
}

.btn-icon {
  font-size: 1.05em;
  line-height: 1;
}

.btn-sm {
  font-size: var(--font-size-xxs);
  min-height: 2.25rem;
  padding: 0 0.875rem;
}

.btn-md {
  font-size: var(--font-size-xs);
  min-height: 2.75rem;
  padding: 0 1.125rem;
}

.btn-lg {
  font-size: var(--font-size-sm);
  min-height: 3.25rem;
  padding: 0 1.5rem;
}

.btn-brand {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-brand:hover {
  background-color: var(--primary-hover);
}

.btn-neutral {
  background-color: var(--surface-warm-strong);
  border-color: var(--border);
  color: var(--foreground);
}

.btn-neutral:hover {
  background-color: var(--fh-warm-300);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--border);
  color: var(--primary);
}

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

.btn-ghost:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-danger {
  background-color: var(--destructive);
  color: var(--destructive-foreground);
}

.btn-danger:hover {
  background-color: var(--primary-dark);
}

/* badge */
.badge {
  align-items: center;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-global-rounded);
  display: inline-flex;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-semibold);
  gap: 0.375rem;
  line-height: var(--leading-none);
  max-width: 100%;
  white-space: nowrap;
}

.badge span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-icon {
  flex: 0 0 auto;
  font-size: 1em;
  line-height: 1;
}

.badge-sm {
  font-size: var(--font-size-3xs);
  min-height: 1.375rem;
  padding: 0 0.5rem;
}

.badge-md {
  font-size: var(--font-size-2xs);
  min-height: 1.625rem;
  padding: 0 0.625rem;
}

.badge-lg {
  font-size: var(--font-size-xxs);
  min-height: 1.875rem;
  padding: 0 0.75rem;
}

.badge-neutral {
  background-color: var(--surface-warm-strong);
  border-color: var(--border);
  color: var(--text-secondary);
}

.badge-brand {
  background-color: var(--primary-light);
  color: var(--primary);
}

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

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

.badge-danger {
  background-color: var(--fh-red-100);
  color: var(--destructive);
}

.badge-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}

/* status-badge */
.status-badge {
  align-items: center;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-global-rounded);
  display: inline-flex;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-medium);
  gap: 0.625rem;
  line-height: var(--leading-none);
  max-width: 100%;
  white-space: nowrap;
}

.status-badge-text {
  display: inline-block;
  line-height: 1.2;
  overflow: visible;
  padding-bottom: 0.05em;
  text-overflow: clip;
}

.status-badge-sm {
  font-size: var(--font-size-xs);
  min-height: 2rem;
  padding: 0 0.875rem;
}

.status-badge-md {
  font-size: var(--font-size-lg);
  min-height: 2.875rem;
  padding: 0 1.25rem;
}

.status-badge-lg {
  font-size: var(--font-size-xl);
  min-height: 3.25rem;
  padding: 0 1.5rem;
}

.status-badge-warm,
.status-badge-neutral {
  background-color: var(--surface-warm-strong);
  border-color: var(--border);
  color: var(--text-secondary);
}

.status-badge-brand {
  background-color: var(--primary-light);
  border-color: var(--fh-red-alpha-25);
  color: var(--primary);
}

.status-badge-dark {
  background-color: var(--surface-dark);
  border-color: var(--fh-border-dark-12);
  color: var(--text-inverse);
}

.status-badge-success {
  background-color: var(--success-bg);
  border-color: var(--fh-green-alpha-08);
  color: var(--success);
}

/* card */
.card {
  --card-surface: var(--card-bg);
  --card-border-color: var(--border);
  --card-text-color: var(--foreground);
  --card-muted-color: var(--text-secondary);
  --card-icon-surface: var(--surface-warm-strong);
  --card-icon-color: var(--primary);
  --card-padding: 1.5rem;
  --card-gap: 0.875rem;
  --card-radius: var(--radius-lg);
  --card-shadow: var(--shadow-card);
  --card-shadow-hover: var(--shadow-card-hover);
  align-items: start;
  background-color: var(--card-surface);
  border: var(--border-width) solid var(--card-border-color);
  border-radius: var(--radius-global-rounded);
  box-shadow: var(--card-shadow);
  color: var(--card-text-color);
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);
  padding: var(--card-padding);
}

.card-link {
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

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

.card-link:focus-visible {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
}

.card-static {
  text-decoration: none;
}

.card-icon {
  align-items: center;
  background-color: var(--card-icon-surface);
  border-radius: var(--radius-global-rounded);
  color: var(--card-icon-color);
  display: inline-flex;
  flex: 0 0 auto;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.card-icon .ti {
  font-size: 1.1rem;
  line-height: 1;
}

.card-body {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.card-eyebrow {
  color: var(--card-muted-color);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label-wide);
  line-height: var(--leading-tight);
  text-transform: uppercase;
}

.card-title {
  color: var(--card-text-color);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-snug);
  margin: 0;
}

.card-description {
  color: var(--card-muted-color);
  font-size: var(--font-size-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.card-badges .badge {
  background: var(--surface-warm);
  border-color: var(--border);
  color: var(--text-secondary);
  font-weight: var(--font-weight-normal);
  border-radius: 999px;
}

.card-badges .badge-sm {
  font-size: 12px;
  min-height: 0;
  padding: 3px 10px;
}

.card-footer {
  align-items: center;
  color: var(--card-muted-color);
  display: inline-flex;
  gap: 0.5rem;
  margin-top: auto;
}

.card-footer-icon {
  color: var(--card-icon-color);
  font-size: 1rem;
  line-height: 1;
}

.card-sm {
  --card-padding: 1.25rem;
  --card-gap: 0.75rem;
}

.card-md {
  --card-padding: 1.5rem;
  --card-gap: 0.875rem;
}

.card-lg {
  --card-padding: 1.75rem;
  --card-gap: 1rem;
}

.card-neutral {
  --card-surface: var(--card-bg);
  --card-border-color: var(--border);
  --card-text-color: var(--foreground);
  --card-muted-color: var(--text-secondary);
  --card-icon-surface: var(--surface-warm-strong);
  --card-icon-color: var(--primary);
}

.card-warm {
  --card-surface: var(--surface-warm);
  --card-border-color: var(--border);
  --card-text-color: var(--foreground);
  --card-muted-color: var(--text-secondary);
  --card-icon-surface: var(--surface-warm-strong);
  --card-icon-color: var(--primary);
}

.card-brand {
  --card-surface: var(--primary-light);
  --card-border-color: var(--fh-red-alpha-12);
  --card-text-color: var(--foreground);
  --card-muted-color: var(--text-secondary);
  --card-icon-surface: var(--fh-red-alpha-10);
  --card-icon-color: var(--primary);
}

.card-dark {
  --card-surface: var(--surface-dark);
  --card-border-color: var(--fh-border-dark-12);
  --card-text-color: var(--text-inverse);
  --card-muted-color: var(--text-inverse-muted);
  --card-icon-surface: var(--fh-border-dark-08);
  --card-icon-color: var(--text-inverse);
  --card-shadow: none;
  --card-shadow-hover: none;
}

.card-dark.card-link {
  color: var(--text-inverse);
}

.card-dark.card-link:hover {
  box-shadow: 0 0 0 1px var(--fh-border-dark-15);
}

/* app-header */

nav#main-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 68px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fh-overlay-light-98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s;
}

nav#main-nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-brand);
}

.logo-image {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

.logo-mark--image {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: block;
  height: auto;
  width: auto;
}

.logo-mark i {
  font-size: 1rem;
  color: var(--primary-foreground);
}

.logo-text {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.4px;
  color: var(--foreground);
}

.logo-text em {
  color: var(--primary);
  font-style: normal;
}

.nav-centre {
  display: flex;
  gap: 2.25rem;
}

.nav-centre a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.nav-centre a:hover,
.nav-centre a.active {
  color: var(--foreground);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-mobile {
  display: none;
}

.nav-grow-link {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary);
  border: 1px solid var(--fh-red-alpha-25);
  padding: 0.4375rem 0.875rem;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.nav-grow-link:hover {
  background: var(--primary-light);
  border-color: var(--fh-red-alpha-40);
}

.btn-nav {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: -0.1px;
  transition: background 0.15s;
}

.btn-nav:hover {
  background: var(--primary-hover);
}

.fh-mobile-sidebar-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--foreground);
  cursor: pointer;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.fh-mobile-sidebar-toggle:hover,
.fh-mobile-sidebar-toggle:focus-visible {
  background: var(--surface-warm);
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.fh-mobile-sidebar-toggle .ti {
  font-size: 1.2rem;
}

.fh-mobile-sidebar .fh-drawer-panel {
  padding: 1.5rem;
}

.fh-mobile-sidebar__brand {
  display: flex;
  justify-content: flex-start;
}

.fh-mobile-sidebar__logo {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
  text-decoration: none;
}

.fh-mobile-sidebar__logo .logo-image {
  height: 2.25rem;
  max-width: 11rem;
}

.fh-mobile-sidebar__name {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.03em;
}

.fh-mobile-sidebar__name em {
  color: var(--primary);
  font-style: normal;
}

.fh-mobile-sidebar__nav {
  margin-top: 0.5rem;
}

.fh-mobile-sidebar__list {
  display: grid;
  gap: 0;
  width: 100%;
}

.fh-mobile-sidebar__list .fh-nav__item {
  border-bottom: 1px solid var(--border);
}

.fh-mobile-sidebar__list .fh-nav__item:last-child {
  border-bottom: none;
}

.fh-mobile-sidebar__list .fh-nav__link {
  display: flex;
  font-size: 1rem;
  padding: 0.9rem 0;
}

.fh-mobile-sidebar__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fh-mobile-sidebar__button {
  width: 100%;
}

@media (max-width: 1024px) {
  .nav-centre,
  .nav-right {
    display: none;
  }

  .nav-mobile {
    display: flex;
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  nav#main-nav {
    height: 64px;
  }

  .nav-inner {
    padding-inline: 1rem;
  }
}

/* section */
.fh-section {
  --section-bg: var(--background);
  --section-padding-y: 6rem;
  --section-inner-max-width: var(--section-max-width);
  --section-inner-padding-x: 56px;
  --section-header-margin-bottom: 3rem;
  --section-header-gap: 2rem;
  --section-header-side-gap: 1rem;
  --section-header-side-max-width: 42rem;
  --section-header-title-gap: 1rem;
  --section-content-gap: 1.25rem;
  --section-content-margin-top: 3rem;
  --section-footer-margin-top: 2.5rem;
  --section-title-size: var(--font-size-5xl);
  --section-description-size: var(--font-size-lg);
  background-color: var(--section-bg, var(--background));
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
  padding-block: var(--section-padding-y);
  width: 100vw;
  max-width: 100vw;
}

.fh-section-inner {
  max-width: var(--section-inner-max-width);
  margin: 0 auto;
  padding-inline: var(--section-inner-padding-x);
  box-sizing: border-box;
  width: 100%;
}

.fh-section-header {
  display: grid;
  justify-items: center;
  gap: var(--section-header-gap);
  margin-bottom: var(--section-header-margin-bottom);
  text-align: center;
}

.fh-section-header-main {
  display: grid;
  gap: var(--section-header-title-gap);
  justify-items: center;
}

.fh-section-header-side {
  display: grid;
  gap: var(--section-header-side-gap);
  justify-items: center;
  max-width: var(--section-header-side-max-width);
}

.fh-section-title {
  color: var(--foreground);
  font-size: var(--section-title-size);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: var(--section-title-max-width, none);
}

.fh-section-description {
  color: var(--text-secondary);
  font-size: var(--section-description-size);
  line-height: var(--leading-relaxed);
  margin: 0;
  text-align: center;
}

.fh-section-footer {
  display: flex;
  justify-content: center;
  margin-top: var(--section-footer-margin-top);
}

.fh-section-link {
  margin-top: 0;
}

.fh-section-link-icon {
  font-size: 0.875em;
}

.fh-section-content {
  display: grid;
  gap: var(--section-content-gap);
  margin-top: var(--section-content-margin-top);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.08s;
}

.d2 {
  transition-delay: 0.16s;
}

.d3 {
  transition-delay: 0.24s;
}

.d4 {
  transition-delay: 0.32s;
}

.d5 {
  transition-delay: 0.4s;
}

.d6 {
  transition-delay: 0.48s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.in,
  .d1,
  .d2,
  .d3,
  .d4,
  .d5,
  .d6 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.fh-section--platforms {
  padding-top: 6rem;
  /* padding-bottom: 7.5rem; */
}

.fh-section--stats {
  --section-padding-top: 0;
  --section-content-margin-top: 0;
}

/* STATS BAND */
.stats-band {
  background: var(--surface-warm-strong);
  border-bottom: 1px solid var(--border);
}

.stats-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: stretch;
}

.stat-block {
  flex: 1;
  padding: 28px 40px 28px 0;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-block:first-child {
  padding-left: 0;
}

.stat-block:not(:first-child) {
  padding-left: 40px;
}

.stat-block:last-child {
  border-right: none;
}

/* Scoped under .stat-block (rather than bare .stat-n/.stat-title/.stat-desc)
   so these reliably beat WordPress's global heading/paragraph styles from
   theme.json, which use `:where()` and therefore carry near-zero
   specificity but can still win a tie on source order alone. */
.stat-block .stat-n {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.stat-block .stat-n-suffix {
  color: var(--primary);
}

.stat-block .stat-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 1px;
}

.stat-block .stat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .stats-band-inner {
    flex-wrap: wrap;
    padding: 0 20px;
  }

  .stat-block {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 12px;
  }

  .stat-block:first-child,
  .stat-block:not(:first-child) {
    padding-left: 12px;
  }

  .stat-block:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .stat-block {
    flex: 1 1 100%;
  }

  .stat-block:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .stat-block:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .fh-section--platforms {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }
}

/* TWO COLUMN LAYOUTS */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.two-col-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.two-col-intro {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

/* CAPABILITY LIST */
.cap-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cap-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.cap-row:last-child {
  border-bottom: none;
}
.cap-row i.check {
  color: var(--red);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.cap-row strong {
  color: var(--text);
}

/* FEATURE CARDS GRID */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.feat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  background: #fff;
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}
.feat-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.feat-icon {
  font-size: 24px;
  color: var(--red);
  margin-bottom: 14px;
}
.feat-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.3;
}
.feat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* OUTCOME BOX */
.outcome-box {
  background: var(--charcoal);
  border-radius: 12px;
  padding: 32px;
}
.outcome-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(192, 32, 58, 0.7);
  margin-bottom: 10px;
}
.outcome-title {
  font-family: "DM Serif Display", serif;
  font-size: 22px;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.outcome-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

/* RELATED CARDS */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.related-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.related-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}
.related-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.related-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

/* SPLIT IMAGE */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 40px;
}
.split-img {
  overflow: hidden;
  min-height: 380px;
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

@media (max-width: 768px) {
  .fh-section {
    --section-padding-y: 4rem;
    --section-inner-padding-x: 20px;
    --section-header-margin-bottom: 2rem;
    --section-title-size: var(--font-size-3xl);
    --section-description-size: var(--font-size-sm);
    --section-footer-margin-top: 1.75rem;
    --section-content-margin-top: 2rem;
  }
}

/* HERO */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-upper {
  padding: 72px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 72px;
  align-items: start;
}

/* Hero left */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  background: var(--warm2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px 5px 10px;
  font-size: 13px;
  color: var(--muted);
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: 58px;
  line-height: 1.06;
  letter-spacing: -1.8px;
  color: var(--text);
  margin-bottom: 26px;
}
.hero h1 em {
  color: var(--red);
  font-style: italic;
}
.hero-desc {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-desc strong {
  color: var(--text);
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--faint);
}
.hero-meta-item i {
  font-size: 13px;
  color: var(--red);
}

/* Hero right — proof card */
.hero-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.hero-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
}
.proof-item {
  display: flex;
  gap: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background 0.15s;
}
.proof-item:hover {
  background: #fff;
}
.proof-item:last-of-type {
  border-bottom: none;
}
.proof-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.ico-r {
  background: rgba(192, 32, 58, 0.1);
  color: var(--red);
}
.ico-b {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}
.ico-g {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}

.proof-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}
.proof-item-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.ptag {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
}
.hero-card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-card-footer-text {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-card-footer-text i {
  font-size: 12px;
}
.hero-card-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero bottom — cinematic image */
.hero-photo-wrap {
  padding: 0 56px;
}
.hero-photo {
  max-width: 1200px;
  margin: 0 auto;
  height: 340px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hero-photo-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 16, 0.65) 0%,
    transparent 100%
  );
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.hero-photo-caption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-photo-uk {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-photo-uk i {
  font-size: 12px;
}

/* ASIDE CARD */
.aside-card {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.aside-card-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aside-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.aside-stat-row {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.aside-stat-row:last-of-type {
  border-bottom: none;
}
.aside-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aside-stat-icon i {
  font-size: 16px;
  color: var(--red);
}
.aside-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1px;
}
.aside-stat-sub {
  font-size: 12px;
  color: var(--muted);
}
.aside-tags-section {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.aside-tags-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 10px;
}
.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
}
.tag-red {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  background: var(--red-light);
  border: 1px solid var(--red-mid);
  color: var(--red);
}

/* SECTION-BANNER */
.fh-section-banner {
  height: var(--banner-height, 300px);
  overflow: hidden;
  position: relative;
}

.fh-section-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.fh-section-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    hsl(0 0% 100% / 0.98) 0%,
    hsl(0 0% 100% / 0.9) 35%,
    hsl(0 0% 100% / 0.4) 65%,
    hsl(0 0% 100% / 0) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 56px;
}

.fh-section-banner-content {
  max-width: 480px;
}

.fh-section-banner-badge {
  font-size: 22px;
  margin-bottom: 10px;
}

.fh-section-banner-title {
  color: var(--text);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}

.fh-section-banner-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .fh-section-banner-overlay {
    padding: 28px 20px;
  }

  .fh-section-banner-content {
    max-width: 100%;
  }
}

.fh-accent {
  color: var(--primary);
}

/* WHO CARDS */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.who-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--background);
  transition: box-shadow 0.2s;
}

.who-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
}

.who-card-img {
  height: 190px;
  overflow: hidden;
}

.who-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s;
}

.who-card:hover .who-card-img img {
  transform: scale(1.04);
}

.who-card-body {
  padding: 22px;
  border-top: 1px solid var(--border);
}

.who-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.who-q {
  font-size: 14px;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.4;
  margin-bottom: 9px;
}

.who-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

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

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .who-card-img {
    height: 220px;
  }

  .who-card-body {
    padding: 20px;
  }
}

/* GROW BAND */
.grow-band {
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.grow-band-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
  align-items: stretch;
}

.grow-body {
  padding: 72px 64px 72px 0;
}

.grow-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(192, 32, 58, 0.7);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.grow-eyebrow-dot {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}

.grow-headline {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 18px;
}

.grow-headline em {
  color: var(--red);
  font-style: italic;
}

.grow-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 10px;
  max-width: 500px;
}

.grow-anchor {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.grow-anchor em {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.grow-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}

.grow-module {
  padding: 13px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 9px;
}

.grow-module:nth-child(2n) {
  border-right: none;
}

.grow-module:nth-child(5),
.grow-module:nth-child(6) {
  border-bottom: none;
}

.grow-module i {
  font-size: 14px;
  color: rgba(192, 32, 58, 0.6);
  flex-shrink: 0;
}

.grow-module-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.grow-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-grow {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.15s;
}

.btn-grow:hover {
  background: var(--red-hover);
}

.btn-grow-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 22px;
  border-radius: 7px;
  font-size: 14px;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.btn-grow-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
}

.grow-img-col {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.grow-img-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.grow-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 40%, var(--charcoal) 100%);
}

.grow-img-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grow-stat-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.grow-stat-pill i {
  font-size: 14px;
  color: rgba(192, 32, 58, 0.7);
}

.grow-stat-pill-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.grow-stat-pill-text strong {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

@media (max-width: 1100px) {
  .grow-band-inner {
    grid-template-columns: 1fr;
  }

  .grow-body {
    padding: 72px 0 32px;
  }

  .grow-img-col {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .grow-body {
    padding: 56px 0 28px;
  }

  .grow-headline {
    font-size: 32px;
  }

  .grow-modules {
    grid-template-columns: 1fr;
  }

  .grow-module:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .grow-module:nth-child(5),
  .grow-module:nth-child(6) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .grow-module:last-child {
    border-bottom: none;
  }

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

  .grow-img-col {
    min-height: 320px;
  }

  .grow-img-stats {
    padding: 18px;
  }
}

/* GROW HERO */
.grow-hero {
  background: var(--gp-darkbg);
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
}
.grow-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(10, 124, 107, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 124, 107, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.grow-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -2px;
  color: #fff;
}
.grow-hero h1 em {
  color: var(--gp-bright);
  font-style: italic;
}
.grow-hero .parent-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 5px 14px 5px 8px;
  background: rgba(10, 124, 107, 0.1);
  border: 1px solid rgba(10, 124, 107, 0.22);
  border-radius: 20px;
}
.grow-hero .pp-fh {
  display: flex;
  align-items: center;
  gap: 5px;
}
.grow-hero .pp-fh-mark {
  width: 16px;
  height: 16px;
  background: var(--fh);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grow-hero .pp-fh-mark i {
  font-size: 9px;
  color: #fff;
}
.grow-hero .pp-fh-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}
.grow-hero .pp-sep {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
}
.grow-hero .pp-gp-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.3px;
}
.grow-hero .hero-glow {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 124, 107, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.grow-hero .hero-glow2 {
  position: absolute;
  bottom: 60px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 124, 107, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.grow-hero .hero-in {
  position: relative;
  z-index: 1;
}
.grow-hero .hero-top {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
.grow-hero .hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
  margin: 22px 0 24px;
}
.grow-hero .hero-sub strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}
.grow-hero .hero-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}
.grow-hero .hero-module {
  padding: 13px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 9px;
}
.grow-hero .hero-module:nth-child(2n) {
  border-right: none;
}
.grow-hero .hero-module:nth-child(5),
.grow-hero .hero-module:nth-child(6) {
  border-bottom: none;
}
.grow-hero .hero-module i {
  font-size: 14px;
  color: rgba(192, 32, 58, 0.6);
  flex-shrink: 0;
}
.grow-hero .hero-module-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.grow-hero .hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}
.grow-hero .hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  margin-top: 8px;
}
.grow-hero .hero-card .hc-head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  gap: 10px;
}
.grow-hero .hero-card .hc-head-icon {
  width: 32px;
  height: 32px;
  background: var(--gp);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grow-hero .hero-card .hc-head-icon i {
  font-size: 15px;
  color: #fff;
}
.grow-hero .hero-card .hc-head-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.grow-hero .hero-card .hc-head-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.grow-hero .hero-card .hc-stat {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.grow-hero .hero-card .hc-stat-ico {
  font-size: 18px;
  color: var(--gp-bright);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.grow-hero .hero-card .hc-stat-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.grow-hero .hero-card .hc-stat-text strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  display: block;
  margin-bottom: 1px;
}
.grow-hero .hero-card .hc-foot {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.grow-hero .hero-card .hc-foot-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 5px;
}
.grow-hero .hero-photo-wrap {
  padding: 56px 48px 0;
  position: relative;
  z-index: 1;
}
.grow-hero .hero-photo {
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  height: 300px;
  position: relative;
}
.grow-hero .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.55) saturate(0.7);
}
.grow-hero .hero-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 35%,
    rgba(7, 31, 28, 0.9) 100%
  );
}
.grow-hero .hero-photo-label {
  position: absolute;
  bottom: 20px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.grow-hero .hpl-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.grow-hero .hpl-badge {
  background: rgba(10, 124, 107, 0.3);
  border: 1px solid rgba(10, 124, 107, 0.5);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gp-bright);
  letter-spacing: 0.3px;
}

@media (max-width: 1100px) {
  .grow-hero .hero-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grow-hero .hero-photo-wrap {
    padding: 32px 48px 0;
  }
}

@media (max-width: 760px) {
  .grow-hero {
    padding-top: 72px;
  }

  .grow-hero .hero-top {
    gap: 24px;
  }

  .grow-hero .hero-sub {
    font-size: 16px;
  }

  .grow-hero .hero-modules {
    grid-template-columns: 1fr;
  }

  .grow-hero .hero-module:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .grow-hero .hero-module:nth-child(5),
  .grow-hero .hero-module:nth-child(6) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .grow-hero .hero-module:last-child {
    border-bottom: none;
  }

  .grow-hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .grow-hero .hero-photo-wrap {
    padding: 24px 20px 0;
  }

  .grow-hero .hero-photo {
    height: 260px;
  }

  .grow-hero .hero-photo-label {
    left: 18px;
    right: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* SERVICES */
.svc-header {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.svc-item {
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
}

.svc-item:nth-child(3n) {
  border-right: none;
}

.svc-item:nth-child(4),
.svc-item:nth-child(5),
.svc-item:nth-child(6) {
  border-bottom: none;
}

.svc-item:hover {
  background: var(--warm);
}

.svc-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.svc-item:hover::after {
  transform: scaleX(1);
}

.svc-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--red);
  margin-bottom: 14px;
}

.svc-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.svc-icon-wrap i {
  font-size: 20px;
  color: var(--red);
}

.svc-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  line-height: 1.3;
}

.svc-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.svc-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.15s;
}

.svc-item:hover .svc-link {
  opacity: 1;
}

/* PROOF SECTION */
.proof-intro {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.proof-intro-link-wrap {
  margin-top: 16px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--border);
}

.proof-block {
  background: #fff;
  overflow: hidden;
  position: relative;
}

.proof-block-img {
  height: 240px;
  overflow: hidden;
}

.proof-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proof-block:hover .proof-block-img img {
  transform: scale(1.04);
}

.proof-block-body {
  padding: 26px 28px 28px;
}

.proof-domain-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.proof-block-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.proof-block-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.proof-block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}

.proof-block-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--warm);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Telecom proof — full width */
.proof-full {
  background: #fff;
  border-top: 2px solid var(--border);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
}

.proof-full-img {
  overflow: hidden;
  min-height: 260px;
}

.proof-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.proof-full-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.proof-confid {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* PROOF REFERENCE BOX */
.proof-box {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.proof-box-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.proof-box-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.proof-box-item:last-child {
  border-bottom: none;
}

.proof-box-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.pbi-r {
  background: rgba(192, 32, 58, 0.1);
  color: var(--red);
}

.pbi-b {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.pbi-g {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
}

.proof-box-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 3px;
}

.proof-box-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ENGAGE CARDS */
.eng-header {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.eng-header .body-md {
  max-width: 360px;
  justify-self: end;
}

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

.eng-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px 28px;
  background: var(--background);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.eng-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.eng-card:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.08);
}

.eng-n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
  color: var(--red);
  margin-bottom: 12px;
}

.eng-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.eng-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.eng-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--faint);
}

@media (max-width: 1100px) {
  .eng-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eng-header .body-md {
    justify-self: start;
    max-width: 100%;
  }

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

@media (max-width: 768px) {
  .eng-card {
    min-height: 0;
    padding: 28px 22px 24px;
  }
}

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 48px;
}

.diff-left {
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.diff-left-img {
  height: 100%;
  min-height: 420px;
}

.diff-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diff-right {
  padding: 48px;
}

.diff-statement {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text);
  font-style: italic;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.2px;
}

.diff-statement em {
  color: var(--red);
}

.diff-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

.diff-row:last-child {
  border-bottom: none;
}

.diff-cell {
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.5;
}

.diff-cell.bad {
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.diff-cell.good {
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.diff-cell i.no {
  color: var(--text-faint);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.diff-cell i.yes {
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.diff-head-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--warm);
}

.diff-head-cell {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.diff-head-cell.bad {
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
}

.diff-head-cell.good {
  color: var(--red);
}

@media (max-width: 1100px) {
  .diff-layout {
    grid-template-columns: 1fr;
  }

  .diff-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .diff-left-img {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .diff-layout {
    margin-top: 36px;
  }

  .diff-right {
    padding: 28px 22px;
  }

  .diff-statement {
    font-size: 18px;
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  .diff-table {
    border-radius: 8px;
  }

  .diff-row {
    grid-template-columns: 1fr;
  }

  .diff-cell.bad {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .diff-head-row {
    grid-template-columns: 1fr;
  }

  .diff-head-cell.bad {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* SECTION-HEADER-BADGE */
.fh-section-header-badge {
  --section-padding-y: 5rem;
}

.fh-section-header-badge__inner {
  display: grid;
  justify-items: center;
}

.fh-section-header-badge__head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
  text-align: center;
}

.fh-section-header-badge__text {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: 48rem;
  text-align: center;
}

.fh-section-header-badge__title {
  color: var(--foreground);
  font-size: var(--section-title-size);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
}

.fh-section-header-badge__badge {
  margin-top: 0.25rem;
  justify-self: center;
}

/* SECTION-FOOTER-BAR */
.fh-section-footer-bar {
  align-items: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  /* min-height: 6rem; */
  padding: 1rem 2rem;
  box-sizing: border-box;
}

.fh-section-footer-bar__left {
  align-items: center;
  display: flex;
  gap: 1rem;
  min-width: 0;
}

.fh-section-footer-bar__icon {
  color: var(--primary);
  flex: 0 0 auto;
}

.fh-section-footer-bar__description {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  margin: 0;
}

.fh-section-footer-bar__link {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  gap: 0.75rem;
  text-decoration: none;
}

.fh-section-footer-bar__link-icon {
  font-size: 1.05em;
}

@media (max-width: 768px) {
  .fh-section-footer-bar {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.25rem 1.25rem;
  }

  .fh-section-footer-bar__left {
    align-items: flex-start;
  }
}

/* FOOTER */
footer {
  background: var(--background);
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}

.footer-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-logo .logo {
  display: inline-flex;
}

.footer-brand-logo .logo-image {
  height: 2.2rem;
  max-width: 12rem;
}

.footer-brand-name {
  color: var(--foreground);
}

.footer-brand-name em {
  color: var(--red);
  font-style: normal;
}

.footer-tagline {
  color: var(--text-secondary);
  /* max-width: 200px; */
  margin-bottom: 16px;
}

.footer-byline {
  color: var(--text-secondary);
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-head {
  color: var(--text-muted);
  letter-spacing: var(--tracking-label-wide);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-item {
  margin: 0;
}

.footer-col-item + .footer-col-item {
  margin-top: 10px;
}

.footer-col-links a {
  display: block;
  color: var(--text-secondary);
  font-style: normal;
  transition: color 0.15s;
  text-decoration: none;
}

.footer-col-links a:hover {
  color: var(--foreground);
}

.footer-col-links a.grow-link {
  color: var(--primary);
}

.footer-col-links a.grow-link:hover {
  color: var(--red);
}

.footer-col-links--children {
  margin-top: 10px;
  padding-left: 14px;
}

.footer-col-links--children a {
  color: var(--text-faint);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: var(--text-muted);
  font-style: normal;
  transition: color 0.15s;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--foreground);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-tagline {
    max-width: 320px;
  }

  .footer-nav-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 48px 0 32px;
  }

  .footer-inner {
    padding: 0 1rem;
  }

  .footer-top {
    padding-bottom: 32px;
  }

  .footer-brand-logo {
    margin-bottom: 12px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-nav-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-col-head {
    margin-bottom: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
}

/* HERO-CARD */
.fh-section-header-badge__content {
  margin-top: 3rem;
}

.fh-section-header-badge__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.fh-section-header-badge__footer {
  margin-top: 1.75rem;
  width: 100%;
  justify-self: stretch;
}

.fh-hero-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  min-height: 100%;
  padding: 1.625rem;
}

.fh-hero-card__icon {
  margin-bottom: 2rem;
}

.fh-hero-card__title-row,
.fh-hero-card__description-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.fh-hero-card__title {
  color: var(--foreground);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}

.fh-hero-card__description {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  line-height: 1.6;
  margin: 1rem 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
}

.fh-hero-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3.5rem;
}

.fh-hero-card__badge {
  flex: 0 0 auto;
}

.fh-hero-card__tooltip {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.fh-hero-card__tooltip .fh-tooltip-trigger {
  font-size: 0;
  opacity: 0;
}

@media (max-width: 1024px) {
  .fh-section-header-badge__cards {
    grid-template-columns: 1fr;
  }

  .fh-hero-card__badges {
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .fh-section-header-badge {
    --section-padding-y: 4rem;
  }

  .fh-section-header-badge__head {
    justify-items: center;
  }
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border-radius: var(--radius-global-rounded);
  padding: 0.75rem 1.375rem;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.fh-btn--lg {
  font-size: var(--font-size-sm);
  gap: 0.625rem;
  padding: 0.9375rem 1.75rem;
  border-radius: var(--radius-global-rounded);
}

.fh-btn--primary {
  color: var(--primary-foreground);
  background: var(--primary);
  box-shadow: var(--shadow-brand);
}

.fh-btn--primary:hover {
  background: var(--primary-hover);
}

.fh-btn--lg.fh-btn--primary {
  box-shadow: var(--shadow-brand);
}

.fh-btn--lg.fh-btn--primary:hover {
  transform: translateY(-1px);
}

.fh-btn--ghost {
  color: var(--primary);
  background: var(--background);
  border: 1.5px solid var(--fh-red-alpha-25);
  padding: 0.6875rem 1.125rem;
}

.fh-btn--ghost:hover {
  border-color: var(--primary);
}

.fh-btn--outline {
  color: var(--foreground);
  background: var(--background);
  border: 1.5px solid var(--border-strong);
  box-shadow: 0 0 0 1px var(--background) inset;
  padding: 0.9375rem 1.625rem;
}

.fh-btn--outline:hover {
  border-color: var(--foreground);
}

.fh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fh-overlay-light-98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.fh-header__inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 1rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.fh-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.fh-logo__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
}

.fh-logo__word {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.fh-mainnav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: 0.5rem;
}

.fh-mainnav a {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.fh-mainnav a:hover {
  color: var(--primary);
}

.fh-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.fh-main {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fh-hero {
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0 2rem;
}

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--surface-warm);
  border: 1px solid var(--border);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.fh-badge__dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: var(--radius-full);
  background: var(--success);
  box-shadow: 0 0 0 3px var(--fh-green-alpha-08);
}

.fh-hero__title {
  font-family: var(--font-display);
  font-weight: var(--font-weight-bold);
  color: var(--foreground);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 1.625rem auto 0;
  font-size: clamp(2.9rem, 6.4vw, 5.4rem);
  max-width: 14ch;
}

.fh-hero__title em {
  font-style: italic;
  font-weight: var(--font-weight-bold);
  color: var(--primary);
}

.fh-hero__lead {
  margin: 1rem auto 0;
  max-width: 64ch;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.62;
  color: var(--text-secondary);
}

.fh-hero__lead strong {
  color: var(--foreground);
  font-weight: var(--font-weight-semibold);
}

.fh-hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}

.fh-trust {
  margin: 2rem auto 0;
  padding-top: 0;
  border-top: 0;
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 2.75rem;
  justify-content: center;
}

.fh-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
}

.fh-trust__icon {
  color: var(--primary);
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 768px) {
  .fh-hero {
    min-height: auto;
    padding: 1.25rem 0 2rem;
  }

  .fh-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fh-hero .status-badge {
    white-space: normal;
    text-wrap: balance;
    max-width: 100%;
    gap: 0.5rem;
    line-height: 1.25;
  }

  .fh-hero .status-badge-sm {
    font-size: 0.6875rem;
    min-height: auto;
    padding: 0.45rem 0.75rem;
  }

  .fh-hero__title {
    font-size: clamp(2.5rem, 15vw, 3.35rem);
    line-height: 0.98;
    max-width: 11ch;
    margin-top: 1.125rem;
  }

  .fh-hero__lead {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0.875rem;
    max-width: 34rem;
  }

  .fh-hero__cta {
    width: 100%;
    margin-top: 1.5rem;
    gap: 0.75rem;
  }

  .fh-hero__cta > * {
    width: 100%;
  }

  .fh-hero__cta .fh-btn {
    justify-content: center;
    width: 100%;
  }

  .fh-trust {
    margin-top: 1.5rem;
    gap: 0.5rem;
  }

  .fh-trust__item {
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }

  .fh-trust__item:not(:last-child) {
    padding-bottom: 0.1rem;
  }
}

@media (max-width: 900px) {
  .fh-mainnav {
    display: none;
  }

  .fh-header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* CONTAINER */
.fh-container {
  --container-max-width: var(--section-max-width);
  --container-padding-x: 56px;
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fh-container {
    --container-padding-x: 20px;
  }
}

/* EYEBROW */
.fh-eyebrow {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-size: var(--font-size-xxs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label-wide);
  line-height: var(--leading-none);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.fh-eyebrow-text {
  display: inline-block;
}

/* ICON-BOX */
.fh-icon-box {
  align-items: center;
  background-color: var(--surface-warm-strong);
  border-radius: var(--radius-global-rounded);
  color: var(--primary);
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.fh-icon-box-icon {
  line-height: 1;
}

.fh-icon-box .ti {
  line-height: 1;
}

.fh-icon-box-neutral {
  background-color: var(--surface-warm-strong);
  color: var(--primary);
}

.fh-icon-box-brand {
  background-color: var(--primary-light);
  color: var(--primary);
}

.fh-icon-box-dark {
  background-color: var(--surface-dark);
  color: var(--text-inverse);
}

.fh-icon-box-sm {
  height: 2.5rem;
  width: 2.5rem;
}

.fh-icon-box-sm .ti {
  font-size: 1rem;
}

.fh-icon-box-md {
  height: 2.75rem;
  width: 2.75rem;
}

.fh-icon-box-md .ti {
  font-size: 1.1rem;
}

.fh-icon-box-lg {
  height: 3.25rem;
  width: 3.25rem;
}

.fh-icon-box-lg .ti {
  font-size: 1.25rem;
}

/* STAT */
.fh-stat {
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 22rem;
  padding: 2rem 1.75rem 1.75rem;
  box-sizing: border-box;
  justify-content: space-between;
}

.fh-stat:first-child {
  padding-left: 1.75rem;
}

.fh-stat:last-child {
  padding-right: 1.75rem;
}

.fh-stat-number {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(4.75rem, 5.2vw, 6rem);
  letter-spacing: var(--leading-none);
  line-height: 0.9;
  min-width: 0;
  text-align: left;
}

.fh-stat-number span {
  color: var(--primary);
}

.fh-stat-number sup {
  line-height: 0;
}

.fh-stat-content {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 15rem;
}

.fh-stat-title {
  color: var(--text);
  display: block;
  font-size: clamp(1.2rem, 1.35vw, 1.55rem);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--leading-none);
  margin-bottom: 0.45rem;
  min-height: calc(1.55em * 2);
}

.fh-stat-description {
  color: inherit;
  min-height: calc(1.55em * 3);
}

.fh-stat--featured {
  background: linear-gradient(
    135deg,
    var(--fh-earth-500) 0%,
    var(--fh-earth-400) 60%,
    var(--primary-dark) 100%
  );
  border-color: transparent;
  color: var(--background);
}

.fh-stat--featured .fh-stat-number,
.fh-stat--featured .fh-stat-title,
.fh-stat--featured .fh-stat-description {
  color: var(--background);
}

.fh-stat--featured .fh-stat-number span {
  color: var(--primary);
}

.fh-stat--featured .fh-stat-description {
  opacity: 0.75;
}

@media (max-width: 680px) {
  .fh-stat {
    min-height: 18rem;
  }
}

/* GRID */
.fh-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.fh-grid-item,
.fh-grid-link-item {
  background: var(--surface);
  color: inherit;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  text-decoration: none;
  transition: background 0.2s;
}

.fh-grid-item:nth-child(3n),
.fh-grid-link-item:nth-child(3n) {
  border-right: none;
}

.fh-grid-item:nth-last-child(-n + 3),
.fh-grid-link-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

.fh-grid-item::after,
.fh-grid-link-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.fh-grid-item:hover,
.fh-grid-link-item:hover {
  background: var(--surface-warm);
}

.fh-grid-item:hover::after,
.fh-grid-link-item:hover::after {
  transform: scaleX(1);
}

.fh-grid-icon {
  margin-top: 0;
}

.fh-grid .fh-icon-box-sm {
  border-radius: var(--radius-global-rounded);
}

.fh-grid .fh-icon-box-sm .ti {
  font-size: 20px;
}

.fh-grid-title {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.fh-grid-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  max-width: 100%;
}

.fh-grid-link-label {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  gap: 0.35rem;
  font-size: 12px;
  font-weight: 500;
  line-height: var(--leading-none);
  margin-top: 0.25rem;
}

.fh-grid-link-label::after {
  content: "→";
  font-size: 0.95em;
  line-height: 1;
}

/* GRID BANNER */
.fh-grid-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  overflow: hidden;
}

.fh-grid-banner__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fh-grid-banner__card {
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: inherit;
  display: grid;
  min-width: 0;
  position: relative;
}

.fh-grid-banner__card:nth-child(2n) {
  border-right: none;
}

.fh-grid-banner__card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 360px minmax(0, 1fr);
  border-right: none;
}

.fh-grid-banner__card--stacked {
  grid-template-rows: auto 1fr;
}

.fh-grid-banner__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fh-grid-banner__card--featured .fh-grid-banner__media {
  aspect-ratio: auto;
  height: 100%;
}

.fh-grid-banner__media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fh-grid-banner__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px 28px 28px;
}

.fh-grid-banner__card--featured .fh-grid-banner__body {
  padding: 36px 40px;
}

.fh-grid-banner__redtitle {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.fh-grid-banner__redtitle i {
  font-size: 12px;
  line-height: 1;
}

.fh-grid-banner__title {
  color: var(--foreground);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 0;
}

.fh-grid-banner__card--featured .fh-grid-banner__title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  font-family: var(--font-display);
}

.fh-grid-banner__desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  max-width: 72ch;
}

.fh-grid-banner__card--featured .fh-grid-banner__desc {
  font-size: 14px;
  line-height: 1.8;
}

.fh-grid-banner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.fh-grid-banner__badges .badge {
  background: var(--surface-warm);
  border-color: var(--border);
  color: var(--text-secondary);
  font-weight: 400;
  border-radius: 999px;
}

.fh-grid-banner__badges .badge-sm {
  font-size: 12px;
  min-height: 0;
  padding: 3px 10px;
}

.fh-grid-banner__footer {
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  font-size: 13px;
  gap: 0.5rem;
  margin-top: 4px;
  padding-top: 18px;
}

.fh-grid-banner__footer::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  opacity: 0.7;
  flex: 0 0 auto;
}

.fh-grid-banner__card:last-child {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .fh-grid-banner__card--featured {
    grid-template-columns: 1fr;
  }

  .fh-grid-banner__card--featured .fh-grid-banner__media {
    height: 16rem;
  }

  .fh-grid-banner__card--featured .fh-grid-banner__title {
    font-size: 20px;
  }

  .fh-grid-banner__card--featured .fh-grid-banner__body {
    padding: 30px 32px;
  }
}

@media (max-width: 768px) {
  .fh-grid-banner__grid {
    grid-template-columns: 1fr;
  }

  .fh-grid-banner__card,
  .fh-grid-banner__card--featured {
    border-right: none;
    grid-column: auto;
  }

  .fh-grid-banner__card:last-child {
    border-bottom: none;
  }

  .fh-grid-banner__body {
    padding: 24px;
  }

  .fh-grid-banner__title {
    font-size: 18px;
  }

  .fh-grid-banner__card--featured .fh-grid-banner__title {
    font-size: 19px;
  }

  .fh-grid-banner__card--featured .fh-grid-banner__body {
    padding: 24px;
  }
}

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

  .fh-grid-item:nth-child(3n),
  .fh-grid-link-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .fh-grid-item:nth-child(2n),
  .fh-grid-link-item:nth-child(2n) {
    border-right: none;
  }

  .fh-grid-item:nth-last-child(-n + 3),
  .fh-grid-link-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .fh-grid-item:nth-last-child(-n + 2),
  .fh-grid-link-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .fh-grid {
    grid-template-columns: 1fr;
  }

  .fh-grid-item,
  .fh-grid-link-item {
    border-right: none;
  }

  .fh-grid-item:nth-last-child(-n + 2),
  .fh-grid-item:nth-last-child(-n + 3),
  .fh-grid-link-item:nth-last-child(-n + 2),
  .fh-grid-link-item:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--border);
  }

  .fh-grid-item:last-child,
  .fh-grid-link-item:last-child {
    border-bottom: none;
  }
}

/* GRID REUSABLE */
.fh-grid-reusable {
  display: grid;
  gap: 1.25rem;
}

.fh-grid-reusable-cols-1 {
  grid-template-columns: minmax(0, 1fr);
}

.fh-grid-reusable-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fh-grid-reusable-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fh-grid-reusable-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fh-grid-reusable > * {
  height: 100%;
}

/* Stats Cards grid: card count is now variable (InnerBlocks), so it uses a
   responsive auto-fit track instead of a fixed asymmetric column layout. */
.fh-section--stats .fh-grid-reusable {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 1024px) {
  .fh-grid-reusable-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fh-grid-reusable-cols-2,
  .fh-grid-reusable-cols-3,
  .fh-grid-reusable-cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fh-section--stats .fh-grid-reusable {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* MEDIA CARD */
.media-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--background);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

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

/* Card images are now built from the core Image block, which wraps its
   <img> in a <figure> (carrying its own default margin) instead of the
   plain <div> these classes originally targeted. */
.media-card-img,
.fh-grid-banner__media,
.who-card-img {
  margin: 0;
}

.media-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.media-card:hover .media-card-img img {
  transform: scale(1.05);
}

.media-card-body {
  padding: 20px 22px 24px;
}

.media-card-icon {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 10px;
}

.media-card-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--foreground);
  margin: 0 0 7px;
  line-height: 1.3;
}

.media-card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* INPUT */
.fh-input {
  display: grid;
  gap: 0.5rem;
}

.fh-input-label {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
}

.fh-input-required {
  color: var(--primary);
}

.fh-input-control {
  appearance: none;
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-global-rounded);
  color: var(--foreground);
  min-height: 2.875rem;
  padding: 0.6875rem 0.875rem;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
  width: 100%;
}

.fh-input-control::placeholder {
  color: var(--text-faint);
}

.fh-input-control:hover {
  border-color: var(--border-strong);
}

.fh-input-control:focus,
.fh-input-control:focus-visible {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
}

.fh-input-control:disabled {
  background-color: var(--surface-warm);
  color: var(--text-faint);
  cursor: not-allowed;
  opacity: 0.75;
}

.fh-input-meta {
  min-height: 1rem;
}

.fh-input-help {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-input-error {
  color: var(--destructive);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

/* TEXTAREA */
.fh-textarea {
  display: grid;
  gap: 0.5rem;
}

.fh-textarea-label {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
}

.fh-textarea-required {
  color: var(--primary);
}

.fh-textarea-control {
  appearance: none;
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-global-rounded);
  color: var(--foreground);
  min-height: 7.5rem;
  padding: 0.75rem 0.875rem;
  resize: vertical;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
  width: 100%;
}

.fh-textarea-control::placeholder {
  color: var(--text-faint);
}

.fh-textarea-control:hover {
  border-color: var(--border-strong);
}

.fh-textarea-control:focus,
.fh-textarea-control:focus-visible {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
}

.fh-textarea-control:disabled {
  background-color: var(--surface-warm);
  color: var(--text-faint);
  cursor: not-allowed;
  opacity: 0.75;
}

.fh-textarea-meta {
  min-height: 1rem;
}

.fh-textarea-help {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-textarea-error {
  color: var(--destructive);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

/* SELECT */
.fh-select {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.fh-select-label {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-tight);
}

.fh-select-required {
  color: var(--primary);
}

.fh-select-shell {
  position: relative;
  width: 100%;
}

.fh-select-trigger {
  appearance: none;
  align-items: center;
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-global-rounded);
  box-sizing: border-box;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  min-height: 2.875rem;
  padding: 0.6875rem 0.875rem;
  text-align: left;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
  width: 100%;
}

.fh-select-trigger:hover {
  border-color: var(--border-strong);
}

.fh-select-trigger:focus,
.fh-select-trigger:focus-visible,
.fh-select.is-open .fh-select-trigger {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.fh-select-trigger:disabled {
  background-color: var(--surface-warm);
  color: var(--text-faint);
  cursor: not-allowed;
  opacity: 0.75;
}

.fh-select-trigger-label {
  color: inherit;
  flex: 1 1 auto;
  font-size: 1rem;
  line-height: 1.2;
  min-width: 0;
}

.fh-select-trigger.is-placeholder .fh-select-trigger-label {
  color: var(--text-faint);
}

.fh-select-chevron {
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--text-faint);
  flex: 0 0 auto;
  height: 0.625rem;
  margin-top: -0.125rem;
  transform: translateY(-25%) rotate(45deg);
  transition: transform var(--duration-fast) var(--ease-standard);
  width: 0.625rem;
}

.fh-select.is-open .fh-select-chevron {
  transform: translateY(10%) rotate(225deg);
}

.fh-select-menu {
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-global-rounded);
  box-shadow: var(--shadow-card-hover);
  box-sizing: border-box;
  display: grid;
  left: 0;
  margin-top: 0.5rem;
  max-height: 16rem;
  overflow: auto;
  padding: 0.375rem;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100%;
  z-index: 20;
}

.fh-select-menu[hidden] {
  display: none !important;
}

.fh-select-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius-global-rounded) - 0.25rem);
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  text-align: left;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
  width: 100%;
}

.fh-select-option:hover,
.fh-select-option:focus-visible {
  background-color: var(--surface-warm);
  color: var(--primary);
  outline: none;
}

.fh-select-option.is-selected {
  background-color: var(--primary-light);
  color: var(--primary);
}

.fh-select-option-check {
  align-items: center;
  color: currentColor;
  display: inline-flex;
  flex: 0 0 1rem;
  font-size: 0.875rem;
  justify-content: center;
  line-height: 1;
  width: 1rem;
}

.fh-select-option-label {
  flex: 1 1 auto;
  font-size: 0.975rem;
  line-height: 1.35;
}

.fh-select-meta {
  min-height: 1rem;
}

.fh-select-help {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-select-error {
  color: var(--destructive);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-select[disabled],
.fh-select.is-disabled {
  opacity: 0.75;
}

.fh-select[disabled] .fh-select-trigger,
.fh-select.is-disabled .fh-select-trigger {
  cursor: not-allowed;
}

/* CHECKBOX */
.fh-checkbox {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.fh-checkbox-control {
  align-items: flex-start;
  color: var(--foreground);
  cursor: pointer;
  display: inline-flex;
  gap: 0.75rem;
  line-height: var(--leading-snug);
}

.fh-checkbox-input {
  appearance: none;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fh-checkbox-box {
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-global-rounded);
  box-shadow: var(--shadow-none);
  color: var(--primary);
  flex: 0 0 auto;
  height: 1.125rem;
  margin: 0.125rem 0 0;
  position: relative;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
  width: 1.125rem;
}

.fh-checkbox-box::after {
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
  content: "";
  height: 0.35rem;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  transition: opacity var(--duration-fast) var(--ease-standard);
  width: 0.2rem;
}

.fh-checkbox-control:hover .fh-checkbox-box {
  border-color: var(--border-strong);
}

.fh-checkbox-input:focus-visible + .fh-checkbox-box,
.fh-checkbox-input:focus + .fh-checkbox-box {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.fh-checkbox-input:checked + .fh-checkbox-box {
  background-color: var(--primary);
  border-color: var(--primary);
}

.fh-checkbox-input:checked + .fh-checkbox-box::after {
  border-bottom-color: var(--primary-foreground);
  border-right-color: var(--primary-foreground);
  opacity: 1;
}

.fh-checkbox-input:disabled + .fh-checkbox-box {
  background-color: var(--surface-warm);
  cursor: not-allowed;
  opacity: 0.75;
}

.fh-checkbox-text {
  color: var(--foreground);
  font-size: 1rem;
}

.fh-checkbox-meta {
  min-height: 1rem;
}

.fh-checkbox-help {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-checkbox-error {
  color: var(--destructive);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

/* RADIO */
.fh-radio {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

.fh-radio-control {
  align-items: flex-start;
  color: var(--foreground);
  cursor: pointer;
  display: inline-flex;
  gap: 0.75rem;
  line-height: var(--leading-snug);
}

.fh-radio-input {
  appearance: none;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fh-radio-box {
  background-color: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-none);
  color: var(--primary);
  flex: 0 0 auto;
  height: 1.125rem;
  margin: 0.125rem 0 0;
  position: relative;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
  width: 1.125rem;
}

.fh-radio-box::after {
  background-color: transparent;
  border-radius: var(--radius-full);
  content: "";
  height: 0.5rem;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
  width: 0.5rem;
}

.fh-radio-control:hover .fh-radio-box {
  border-color: var(--border-strong);
}

.fh-radio-input:focus-visible + .fh-radio-box,
.fh-radio-input:focus + .fh-radio-box {
  border-color: var(--ring);
  box-shadow: var(--shadow-focus);
  outline: none;
}

.fh-radio-input:checked + .fh-radio-box {
  border-color: var(--primary);
}

.fh-radio-input:checked + .fh-radio-box::after {
  background-color: var(--primary);
  opacity: 1;
}

.fh-radio-input:disabled + .fh-radio-box {
  background-color: var(--surface-warm);
  cursor: not-allowed;
  opacity: 0.75;
}

.fh-radio-text {
  color: var(--foreground);
  font-size: 1rem;
}

.fh-radio-meta {
  min-height: 1rem;
}

.fh-radio-help {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

.fh-radio-error {
  color: var(--destructive);
  font-size: 0.875rem;
  line-height: var(--leading-tight);
}

/* SEPARATOR */
.fh-separator {
  color: var(--border);
  flex: 0 0 auto;
}

.fh-separator--horizontal {
  border-top: 1px solid currentColor;
  height: 1px;
  width: 100%;
}

.fh-separator--vertical {
  border-left: 1px solid currentColor;
  height: 100%;
  min-height: 1.5rem;
  width: 1px;
}

/* BREADCRUMB */
.fh-breadcrumb {
  color: var(--text-secondary);
  width: 100%;
}

.fh-breadcrumb-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fh-breadcrumb-item {
  align-items: center;
  display: inline-flex;
  gap: 0.375rem;
  min-width: 0;
}

.fh-breadcrumb-separator {
  color: var(--text-faint);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.85em;
}

.fh-breadcrumb-separator .ti {
  font-size: 0.95em;
}

.fh-breadcrumb-link,
.fh-breadcrumb-current {
  font-size: 0.875rem;
  line-height: var(--leading-tight);
  min-width: 0;
  white-space: nowrap;
}

.fh-breadcrumb-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

.fh-breadcrumb-link:hover,
.fh-breadcrumb-link:focus-visible {
  color: var(--primary);
  outline: none;
}

.fh-breadcrumb-current {
  color: var(--foreground);
}

/* DIALOG */
dialog.fh-dialog {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--foreground);
  margin: auto;
  max-width: min(42rem, calc(100vw - 2rem));
  padding: 0;
  width: 100%;
}

dialog.fh-dialog::backdrop {
  background: hsl(60 3% 6% / 0.55);
  backdrop-filter: blur(4px);
}

dialog.fh-dialog:not([open]) {
  display: none;
}

.fh-dialog-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card-rounded);
  box-shadow: var(--shadow-card-hover);
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
}

.fh-dialog-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.fh-dialog-heading {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
}

.fh-dialog-heading h2 {
  color: var(--foreground);
  font-size: var(--font-size-2xl);
  line-height: var(--leading-tight);
  margin: 0;
}

.fh-dialog-heading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-snug);
  margin: 0;
}

.fh-dialog-close-form {
  flex: 0 0 auto;
  margin: 0;
}

.fh-dialog-close {
  align-items: center;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
  width: 2.25rem;
}

.fh-dialog-close:hover,
.fh-dialog-close:focus-visible {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.fh-dialog-close .ti {
  font-size: 1rem;
}

.fh-dialog-body {
  color: var(--text-secondary);
  display: grid;
  gap: 1rem;
}

/* DRAWER */
dialog.fh-drawer {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--foreground);
  display: flex;
  height: 100vh;
  inset: 0;
  justify-content: flex-end;
  max-height: 100vh;
  max-width: 100vw;
  position: fixed;
  padding: 0;
  width: 100vw;
}

dialog.fh-drawer::backdrop {
  background: hsl(60 3% 6% / 0.55);
  backdrop-filter: blur(4px);
}

dialog.fh-drawer:not([open]) {
  display: none;
}

.fh-drawer-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card-hover);
  display: grid;
  gap: 1.25rem;
  min-height: 100vh;
  padding: 1.25rem;
}

.fh-drawer--right {
  justify-content: flex-end;
}

.fh-drawer--left {
  justify-content: flex-start;
}

.fh-drawer--top {
  align-items: flex-start;
  justify-content: center;
}

.fh-drawer--top,
.fh-drawer--bottom {
  flex-direction: column;
}

.fh-drawer--bottom {
  align-items: flex-end;
  justify-content: center;
}

.fh-drawer--right .fh-drawer-panel,
.fh-drawer--left .fh-drawer-panel {
  max-width: min(30rem, calc(100vw - 2rem));
  width: clamp(20rem, 30vw, 30rem);
}

.fh-drawer--top .fh-drawer-panel,
.fh-drawer--bottom .fh-drawer-panel {
  min-height: auto;
  width: 100vw;
}

.fh-drawer--top .fh-drawer-panel {
  border-radius: 0;
}

.fh-drawer--bottom .fh-drawer-panel {
  border-radius: 0;
}

.fh-drawer--right .fh-drawer-panel {
  border-radius: 0;
}

.fh-drawer--left .fh-drawer-panel {
  border-radius: 0;
}

.fh-drawer--top .fh-drawer-panel {
}

.fh-drawer--bottom .fh-drawer-panel {
}

.fh-drawer-header {
  align-items: start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.fh-drawer-heading {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
}

.fh-drawer-heading h2 {
  color: var(--foreground);
  font-size: var(--font-size-2xl);
  line-height: var(--leading-tight);
  margin: 0;
}

.fh-drawer-heading p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-snug);
  margin: 0;
}

.fh-drawer-close-form {
  flex: 0 0 auto;
  margin: 0;
}

.fh-drawer-close {
  align-items: center;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
  width: 2.25rem;
}

.fh-drawer-close:hover,
.fh-drawer-close:focus-visible {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  outline: none;
}

.fh-drawer-close .ti {
  font-size: 1rem;
}

.fh-drawer-body {
  color: var(--text-secondary);
  display: grid;
  gap: 1rem;
}

/* TOOLTIP */
.fh-tooltip {
  display: inline-flex;
  position: relative;
  vertical-align: middle;
}

.fh-tooltip-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-full);
  color: var(--primary);
  cursor: help;
  display: inline-flex;
  height: 1.5rem;
  justify-content: center;
  padding: 0;
  width: 1.5rem;
}

.fh-tooltip-trigger:focus-visible {
  box-shadow: var(--shadow-focus);
  outline: none;
}

.fh-tooltip-icon {
  font-size: 1rem;
}

.fh-tooltip-bubble {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark-15);
  border-radius: var(--radius-global-rounded);
  box-shadow: var(--shadow-card-hover);
  color: var(--text-inverse);
  font-size: 0.8125rem;
  line-height: var(--leading-snug);
  max-width: 18rem;
  opacity: 0;
  padding: 0.65rem 0.75rem;
  pointer-events: none;
  position: absolute;
  transform: translateY(0.25rem);
  transition:
    opacity var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
  white-space: normal;
  width: max-content;
  z-index: 20;
}

.fh-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
}

.fh-tooltip-arrow::before {
  border: 0.45rem solid transparent;
  content: "";
  position: absolute;
}

.fh-tooltip:hover .fh-tooltip-bubble,
.fh-tooltip:focus-within .fh-tooltip-bubble {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fh-tooltip--top .fh-tooltip-bubble {
  bottom: calc(100% + 0.25rem);
  left: 50%;
  transform: translate(-50%, 0.1rem);
}

.fh-tooltip--top .fh-tooltip-arrow {
  bottom: -0.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.fh-tooltip--top .fh-tooltip-arrow::before {
  border-top-color: var(--surface-dark);
  border-width: 0.35rem 0.35rem 0;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.fh-tooltip--top:hover .fh-tooltip-bubble,
.fh-tooltip--top:focus-within .fh-tooltip-bubble {
  transform: translate(-50%, 0);
}

.fh-tooltip--bottom .fh-tooltip-bubble {
  left: 50%;
  top: calc(100% + 0.5rem);
  transform: translate(-50%, -0.25rem);
}

.fh-tooltip--bottom .fh-tooltip-arrow {
  left: 50%;
  top: -0.45rem;
  transform: translateX(-50%);
}

.fh-tooltip--bottom .fh-tooltip-arrow::before {
  border-bottom-color: var(--surface-dark);
  top: -0.45rem;
  left: 50%;
  transform: translateX(-50%);
}

.fh-tooltip--bottom:hover .fh-tooltip-bubble,
.fh-tooltip--bottom:focus-within .fh-tooltip-bubble {
  transform: translate(-50%, 0);
}

.fh-tooltip--left .fh-tooltip-bubble {
  right: calc(100% + 0.5rem);
  top: 50%;
  transform: translate(0.25rem, -50%);
}

.fh-tooltip--left .fh-tooltip-arrow {
  right: -0.45rem;
  top: 50%;
  transform: translateY(-50%);
}

.fh-tooltip--left .fh-tooltip-arrow::before {
  border-left-color: var(--surface-dark);
  top: 50%;
  right: -0.45rem;
  transform: translateY(-50%);
}

.fh-tooltip--left:hover .fh-tooltip-bubble,
.fh-tooltip--left:focus-within .fh-tooltip-bubble {
  transform: translate(0, -50%);
}

.fh-tooltip--right .fh-tooltip-bubble {
  left: calc(100% + 0.5rem);
  top: 50%;
  transform: translate(-0.25rem, -50%);
}

.fh-tooltip--right .fh-tooltip-arrow {
  left: -0.45rem;
  top: 50%;
  transform: translateY(-50%);
}

.fh-tooltip--right .fh-tooltip-arrow::before {
  border-right-color: var(--surface-dark);
  top: 50%;
  left: -0.45rem;
  transform: translateY(-50%);
}

.fh-tooltip--right:hover .fh-tooltip-bubble,
.fh-tooltip--right:focus-within .fh-tooltip-bubble {
  transform: translate(0, -50%);
}

.fh-tooltip-trigger-label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  line-height: 1;
}

/* LOADING */
.fh-loading {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-global-rounded);
  color: var(--text-secondary);
  display: inline-flex;
  gap: 0.75rem;
  line-height: var(--leading-tight);
  padding: 0.75rem 1rem;
}

.fh-loading-sm {
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.fh-loading-md {
  font-size: 0.95rem;
}

.fh-loading-lg {
  font-size: 1rem;
  padding: 0.95rem 1.15rem;
}

.fh-loading-spinner {
  animation: fh-loading-spin 0.9s linear infinite;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  flex: 0 0 auto;
  height: 1rem;
  width: 1rem;
}

.fh-loading-sm .fh-loading-spinner {
  height: 0.875rem;
  width: 0.875rem;
}

.fh-loading-lg .fh-loading-spinner {
  height: 1.125rem;
  width: 1.125rem;
}

.fh-loading-text {
  color: var(--foreground);
  font-weight: var(--font-weight-medium);
}

@keyframes fh-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

/* MAIN-LOADER */
.fh-loader {
  align-items: center;
  animation: fh-loader-in 0.5s ease both;
  background: var(--surface-warm);
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 9999;
}

.fh-loader--done {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s;
  visibility: hidden;
}

.fh-loader__center {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.fh-loader__brand {
  align-items: center;
  display: flex;
}

.fh-loader__word {
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
}

.fh-loader__word-accent {
  color: var(--primary);
}

.fh-loader__track {
  background: var(--surface-warm-strong);
  border-radius: var(--radius-full);
  height: 0.1875rem;
  margin-top: 2.125rem;
  overflow: hidden;
  position: relative;
  width: 13.75rem;
}

.fh-loader__bar {
  animation: fh-loader-bar 1.25s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
  background: var(--primary);
  border-radius: var(--radius-full);
  height: 100%;
  position: absolute;
  top: 0;
  width: 40%;
}

.fh-loader__status {
  color: var(--text-faint);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.04em;
  margin-top: 1.125rem;
}

.fh-loader__footer {
  bottom: 1.875rem;
  color: var(--text-faint);
  font-size: 0.75rem;
  left: 0;
  letter-spacing: 0.02em;
  position: absolute;
  right: 0;
  text-align: center;
}

@keyframes fh-loader-bar {
  0% {
    left: -40%;
  }

  100% {
    left: 100%;
  }
}

@keyframes fh-loader-in {
  from {
    opacity: 0;
    transform: translateY(0.375rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  .fh-loader {
    animation: none;
  }

  .fh-loader__bar {
    animation: none;
    left: 0;
    opacity: 0.85;
    width: 100%;
  }
}

/* NAVIGATION-MENU */
.fh-nav {
  --fh-nav-text: var(--text-secondary);
  --fh-nav-text-active: var(--foreground);
  --fh-nav-trigger-bg: var(--surface-warm);
  --fh-nav-panel-bg: var(--popover);
  --fh-nav-panel-border: var(--border);
  --fh-nav-panel-shadow: 0 24px 60px hsl(0 0% 0% / 0.14);
  --fh-nav-divider: var(--surface-warm-strong);
  --fh-nav-accent: var(--primary);
  --fh-nav-accent-soft: var(--primary-light);
  --fh-nav-muted: var(--text-secondary);
  font-family: var(--font-sans);
}

.fh-nav__list {
  align-items: center;
  display: flex;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fh-nav__item {
  position: relative;
}

.fh-nav__trigger,
.fh-nav__link {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--radius-global-rounded);
  color: var(--fh-nav-text);
  display: flex;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard);
}

.fh-nav__trigger:hover,
.fh-nav__link:hover,
.fh-nav__trigger:focus-visible,
.fh-nav__link:focus-visible {
  background: var(--fh-nav-trigger-bg);
  color: var(--fh-nav-text-active);
  outline: none;
}

.fh-nav__chev {
  transition: transform var(--duration-base) var(--ease-standard);
}

.fh-has-mega:hover .fh-nav__trigger,
.fh-has-dropdown:hover .fh-nav__trigger,
.fh-has-mega:focus-within .fh-nav__trigger,
.fh-has-dropdown:focus-within .fh-nav__trigger {
  background: var(--fh-nav-trigger-bg);
  color: var(--fh-nav-text-active);
}

.fh-has-mega:hover .fh-nav__chev,
.fh-has-dropdown:hover .fh-nav__chev,
.fh-has-mega:focus-within .fh-nav__chev,
.fh-has-dropdown:focus-within .fh-nav__chev {
  transform: rotate(180deg);
}

.fh-mega,
.fh-dropdown {
  background: var(--fh-nav-panel-bg);
  border: var(--border-width) solid var(--fh-nav-panel-border);
  border-radius: var(--radius-card-rounded);
  box-shadow: var(--fh-nav-panel-shadow);
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  transform: translateY(0.5rem);
  transition:
    opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    visibility var(--duration-base);
  visibility: hidden;
  z-index: 50;
}

.fh-mega::before,
.fh-dropdown::before {
  content: "";
  height: 0.875rem;
  left: 0;
  position: absolute;
  right: 0;
  top: -0.875rem;
}

.fh-has-mega:hover .fh-mega,
.fh-has-mega:focus-within .fh-mega,
.fh-has-dropdown:hover .fh-dropdown,
.fh-has-dropdown:focus-within .fh-dropdown {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.fh-mega {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 1fr);
  align-items: stretch;
  left: 0;
  margin-top: 0.875rem;
  max-width: calc(100vw - 3rem);
  width: 60rem;
}

.fh-mega__grid {
  display: grid;
  gap: 0.875rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.75rem;
}

.fh-mega__link {
  border-radius: var(--radius-global-rounded);
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1rem;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.fh-mega__link:hover {
  background: var(--surface-warm);
}

.fh-mega__icon {
  align-items: center;
  border-radius: var(--radius-global-rounded);
  display: flex;
  flex: 0 0 auto;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.fh-mega__icon--crimson {
  background: var(--fh-red-100);
  color: var(--primary);
}

.fh-mega__icon--blue {
  background: var(--fh-blue-100);
  color: var(--fh-blue-500);
}

.fh-mega__icon--green {
  background: var(--fh-green-100);
  color: var(--fh-green-500);
}

.fh-mega__icon--neutral {
  background: var(--surface-warm-strong);
  color: var(--foreground);
}

.fh-mega__text {
  min-width: 0;
}

.fh-mega__title {
  color: var(--foreground);
  display: block;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
}

.fh-mega__desc {
  color: var(--text-secondary);
  display: block;
  font-size: 0.8125rem;
  line-height: var(--leading-relaxed);
  margin-top: 0.1875rem;
}

.fh-mega__feature {
  background: var(--surface-dark-strong);
  background-image: radial-gradient(
    90% 120% at 100% 0%,
    hsl(350 71% 44% / 0.4) 0%,
    hsl(60 3% 6% / 0) 60%
  );
  border-left: var(--border-width) solid var(--fh-nav-divider);
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  min-height: 100%;
}

.fh-mega__eyebrow {
  color: var(--fh-red-100);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
}

.fh-mega__feature-title {
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-tight);
  margin: 0.625rem 0 0;
}

.fh-mega__feature-desc {
  color: var(--text-inverse-muted);
  flex: 1;
  font-size: 0.9375rem;
  line-height: var(--leading-relaxed);
  margin: 0.625rem 0 0;
}

.fh-mega__feature-link {
  align-items: center;
  color: var(--text-inverse);
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  margin-top: 0.875rem;
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-standard);
}

.fh-mega__feature-link:hover {
  gap: 0.75rem;
}

.fh-dropdown {
  left: 0;
  margin-top: 0.875rem;
  max-width: calc(100vw - 5rem);
  padding: 0.75rem;
  width: 30rem;
}

.fh-dropdown__link {
  align-items: center;
  border-radius: var(--radius-global-rounded);
  display: flex;
  gap: 0.875rem;
  padding: 0.8125rem 0.875rem;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-standard);
}

.fh-dropdown__link:hover {
  background: var(--surface-warm);
}

.fh-dropdown__icon {
  align-items: center;
  background: var(--fh-red-100);
  border-radius: var(--radius-global-rounded);
  color: var(--primary);
  display: flex;
  flex: 0 0 auto;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

.fh-dropdown__text {
  flex: 1;
  min-width: 0;
}

.fh-dropdown__title {
  color: var(--foreground);
  display: block;
  font-size: 0.90625rem;
  font-weight: var(--font-weight-semibold);
}

.fh-dropdown__desc {
  color: var(--text-secondary);
  display: block;
  font-size: 0.78125rem;
  margin-top: 0.125rem;
}

.fh-dropdown__arrow {
  color: var(--fh-border-strong);
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .fh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .fh-mega,
  .fh-dropdown {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
    transform: none;
  }

  .fh-mega {
    grid-template-columns: 1fr;
  }

  .fh-mega,
  .fh-dropdown {
    display: none;
  }

  .fh-has-mega:focus-within .fh-mega,
  .fh-has-dropdown:focus-within .fh-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .fh-mega__grid {
    grid-template-columns: 1fr;
  }
}

/* HERO-SECTION */
.hero-status-badge {
  margin-bottom: 28px;
}

/* UI test page */
.ui-test-page {
  background: var(--background);
  color: var(--foreground);
}

.ui-test-hero {
  background: var(--surface-warm);
  border-bottom: var(--border-width) solid var(--border);
  padding: 5rem 0 4rem;
}

.ui-test-hero h1,
.ui-test-section-head h2 {
  color: var(--foreground);
  letter-spacing: 0;
  line-height: var(--leading-tight);
  margin: 0;
}

.ui-test-hero h1 {
  font-size: var(--font-size-5xl);
}

.ui-test-lede {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  margin: 1rem 0 0;
}

.ui-test-section-head {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  margin-bottom: 2rem;
}

.ui-test-section-head p {
  color: var(--text-secondary);
  margin: 0;
}

.ui-test-section-head-spaced {
  margin-top: 4rem;
}

.ui-test-section-head code {
  background: var(--surface-warm-strong);
  border-radius: var(--radius-sm);
  color: var(--primary);
  padding: 0.125rem 0.35rem;
}

.ui-test-panel {
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-xl);
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

.ui-test-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.ui-test-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .ui-test-hero {
    padding: 3.5rem 0 3rem;
  }

  .ui-test-hero h1 {
    font-size: var(--font-size-3xl);
  }

  .ui-test-section-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

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