/* ── Brand fonts ── */
@font-face {
  font-family: 'Rebond Grotesque';
  src: url('/static/clover-ds/fonts/Rebond-Grotesque.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'ES Rebond Grotesque';
  src: url('/static/clover-ds/fonts/ESRebondGrotesque-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Clover Design System
   Based on GoLive SaaS template (https://golive-saas-software-webflow-template.webflow.io/)

   This file defines the shared design tokens and base component styles used
   by both the main clovercollab.com site and the vertical landing pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
  /* --- Brand --- */
  --accent: #000d14;

  /* --- Base --- */
  --color-base-black: #000;
  --color-base-white: #fff;

  /* --- Neutral Scale --- */
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f7f7f7;
  --color-neutral-200: #f2f2f2;
  --color-neutral-300: #ededed;
  --color-neutral-400: #e6e6e6;
  --color-neutral-500: #dedede;
  --color-neutral-600: #d9d9d9;
  --color-neutral-700: #d1d1d1;
  --color-neutral-800: #c2c2c2;
  --color-neutral-900: #a6a6a6;

  /* --- Semantic --- */
  --color-text-primary: var(--color-base-black);
  --color-text-muted: #0009;
  --color-text-muted-60: rgba(0, 0, 0, 0.6);
  --color-bg-primary: var(--color-base-white);
  --color-bg-subtle: var(--color-neutral-50);
  --color-bg-muted: var(--color-neutral-100);
  --color-border: var(--color-neutral-300);
  --color-border-strong: var(--color-neutral-400);
  --color-focus: #4d65ff;
  --color-error: #ea384c;
  --color-success-bg: #e2ffe7;

  /* --- Typography --- */
  --font-display: 'Instrument Serif', Georgia, serif;    /* hero h1, section h2/h3 — marketing display only */
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;  /* component h3/h4 — card titles, FAQ Qs */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'Roboto Mono', ui-monospace, monospace;
  --font-logo:    'ES Rebond Grotesque', 'Rebond Grotesque', 'Inter', sans-serif;

  /* Font sizes */
  --text-xs: 0.755rem;     /* ~12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.75rem;      /* 28px */
  --text-2xl: 2rem;        /* 32px */
  --text-3xl: 2.75rem;     /* 44px — section h2 */
  --text-4xl: 4.5rem;      /* 72px — hero h1 */

  /* Line heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.15;
  --leading-normal: 1.2;
  --leading-relaxed: 1.3;
  --leading-loose: 1.4;
  --leading-body: 1.5;

  /* Font weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Letter spacing */
  --tracking-tight: normal;
  --tracking-wide: 0.6px;

  /* --- Spacing --- */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.375rem;  /* 6px */
  --space-3: 0.5rem;    /* 8px */
  --space-4: 0.75rem;   /* 12px */
  --space-5: 1rem;      /* 16px */
  --space-6: 1.25rem;   /* 20px */
  --space-7: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-9: 2.5rem;    /* 40px */
  --space-10: 3rem;     /* 48px */
  --space-11: 3.5rem;   /* 56px */
  --space-12: 4rem;     /* 64px */
  --space-13: 4.5rem;   /* 72px */

  /* Section padding */
  --section-padding-sm: 32px;
  --section-padding-md: 64px;
  --section-padding-lg: 80px;

  /* --- Layout --- */
  --container-sm: 480px;
  --container-md: 654px;
  --container-lg: 896px;
  --container-xl: 1138px;
  --container-max: 1200px;
  --padding-global: 1.5rem;

  /* --- Borders --- */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.75rem;   /* 12px — default */
  --radius-lg: 50px;      /* pill */
  --radius-button: 12px;
  --radius-default: 12px;
  --border-thin: 0.0625rem;  /* 1px */
  --border-width: 1px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* --- Transitions --- */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  /* Spring-physics curves — simulates mass + inertia for premium feel */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --transition-spring: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
  --transition-spring-fast: all 0.5s cubic-bezier(0.32, 0.72, 0, 1);

  /* --- Nav --- */
  --nav-height: 4.75rem;  /* 76px */
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-base-black);
  text-decoration: none;
}

/* Focus visible */
*[tabindex]:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0.125rem solid var(--color-focus);
  outline-offset: 0.125rem;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-primary);
}

.heading-style-h1 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
}

.heading-style-h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-snug);
}

.heading-style-h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
}

.heading-style-h4 {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
}

.heading-style-h5 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
}

.heading-style-h6 {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
}

.text-size-large {
  font-size: var(--text-lg);
}

.text-size-medium,
.text-size-regular {
  font-size: var(--text-base);
}

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

.text-size-tiny {
  font-size: var(--text-xs);
}

/* ── Marketing display typography (uses --font-display) ── */

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.03;
  font-variation-settings: "opsz" 144;
}

.section-header h2,
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: "opsz" 72;
}

.feature-detail-content h3,
.sticky-carousel-text h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;   /* 36px — bumped from --text-3xl */
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variation-settings: "opsz" 60;
}

/* Italic emphasis in display copy (e.g. "by inbox") */
.hero h1 em,
.section-header h2 em,
.cta-banner h2 em,
.feature-detail-content h3 em,
.sticky-carousel-text h3 em {
  font-style: italic;
  color: var(--color-text-muted-60);
  font-weight: 400;
}

/* ── Instrument Serif display tuning (overrides Fraunces-era metrics) ── */
.hero h1 {
  letter-spacing: -0.02em;   /* was -0.025em */
  line-height: 1.0;          /* was 1.03 — tall face needs less */
}
.section-header h2,
.cta-banner h2 {
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.feature-detail-content h3,
.sticky-carousel-text h3 {
  letter-spacing: -0.015em;
  line-height: 1.05;
}

/* Kinetic rotating word in headlines */
.kinetic {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
}
.kinetic .kinetic-measure {
  visibility: hidden;
  white-space: pre;
}
.kinetic .kinetic-word {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #17e67d 0%, #0096db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: pre;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
  transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}
.kinetic .kinetic-word.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.kinetic .kinetic-word.is-exiting {
  opacity: 0;
  transform: translateY(-10px);
  filter: blur(4px);
}
.every-emphasis {
  background: linear-gradient(135deg, #17e67d 0%, #0096db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .kinetic .kinetic-word {
    transition: none !important;
  }
  .kinetic .kinetic-word.is-active { opacity: 1; transform: none; filter: none; }
}

.text-weight-bold { font-weight: var(--weight-bold); }
.text-weight-semibold { font-weight: var(--weight-semibold); }
.text-weight-medium { font-weight: var(--weight-medium); }
.text-weight-regular { font-weight: var(--weight-regular); }
.text-weight-light { font-weight: var(--weight-light); }

.text-style-muted {
  opacity: 0.6;
}

.text-style-mono {
  font-family: var(--font-mono);
}

/* Text truncation */
.text-style-2lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.text-style-3lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.padding-global {
  padding-left: var(--padding-global);
  padding-right: var(--padding-global);
}

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

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

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

.padding-section-small {
  padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
}

.padding-section-medium {
  padding-top: var(--section-padding-md);
  padding-bottom: var(--section-padding-md);
}

.padding-section-large {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-button);
  /* Primary button uses the Clover logo gradient (green → blue) sparingly
     as the brand-forward CTA treatment. Reserved for primary actions only. */
  background-image: linear-gradient(135deg, #17e67d 0%, #0096db 100%);
  background-color: #1ea2e2; /* fallback for non-gradient contexts */
  color: var(--color-base-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(0,150,219,0.22), 0 1px 2px rgba(0,0,0,0.12), inset 0 0 1px rgba(0,0,0,0.28);
}

.button:hover {
  filter: brightness(1.05) saturate(1.05);
  box-shadow: 0 4px 18px rgba(0,150,219,0.30), 0 1px 2px rgba(0,0,0,0.12), inset 0 0 1px rgba(0,0,0,0.28);
}

.button.is-secondary {
  background-color: var(--color-base-white);
  background-image: none;
  color: var(--color-base-black);
  border: 1px solid var(--color-neutral-300);
  box-shadow: none;
}

.button.is-secondary:hover {
  border-color: var(--color-neutral-600);
  filter: none;
  box-shadow: none;
}

/* Dark button with gradient glow — subdued secondary CTA.
   Wrapper positions a blurred gradient bar below the button.
   Structure: .button-dark-wrap > .button.is-dark + .button-dark-glow */
.button-dark-wrap {
  display: inline-flex;
  position: relative;
  z-index: 2;
}
.button.is-dark {
  background-color: var(--color-base-black);
  background-image: none;
  color: var(--color-base-white);
  box-shadow: none;
  position: relative;
  z-index: 1;
}
.button.is-dark:hover {
  filter: brightness(1.15);
}
.button-dark-glow {
  position: absolute;
  top: 28px;
  left: 10%;
  width: 80%;
  height: 24px;
  background: linear-gradient(90deg, #17e67d, #0096db);
  border-radius: 139px;
  filter: blur(10px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.button-dark-wrap:hover .button-dark-glow {
  opacity: 0.8;
}

.button.is-text {
  background-color: transparent;
  background-image: none;
  color: #0088cc; /* Clover link blue — inline text-style link */
  border: 0.125rem solid transparent;
  padding: 0;
  justify-content: flex-start;
  box-shadow: none;
}

.button.is-text:hover {
  opacity: 0.7;
}

/* Button icon (right arrow) */
.button-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   6. Cards
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 20px;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-default);
  background-color: var(--color-base-white);
  position: relative;
  height: 100%;
}

.card-lg {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--color-neutral-400);
  border-radius: var(--radius-default);
  background-color: var(--color-base-white);
}

.card-subtle {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 20px;
  border-radius: var(--radius-default);
  background-color: var(--color-neutral-50);
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: var(--border-thin) solid var(--color-neutral-200);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--color-text-primary);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-neutral-600);
}

.form-input:focus-visible {
  border-color: var(--color-focus);
  outline: 0.125rem solid var(--color-focus);
  outline-offset: 0.125rem;
}

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

.form-input.is-textarea {
  min-height: 12rem;
  resize: vertical;
}

.form-input.is-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-3);
  display: block;
}

.form-message-success {
  padding: 20px;
  background-color: var(--color-success-bg);
  border-radius: var(--radius-md);
}

.form-message-error {
  padding: 12px;
  background-color: #ffdede;
  color: var(--color-error);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

/* --------------------------------------------------------------------------
   8. Navigation
   -------------------------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: transparent;
  transition: var(--transition-fast);
}

.navbar.is-scrolled {
  background-color: var(--color-base-white);
  border-bottom: 1px solid var(--color-neutral-200);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--padding-global);
}

.nav-brand {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  padding: 1.75rem 1rem;
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-link:hover {
  opacity: 0.7;
}

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

/* Mobile nav */
@media screen and (max-width: 991px) {
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    margin-top: var(--nav-height);
    padding-bottom: 10rem;
    background-color: var(--color-base-white);
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    padding: 1rem;
  }
}

/* --------------------------------------------------------------------------
   9. Badges / Labels
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 12px;
  border-radius: var(--radius-lg);
  background-color: var(--color-neutral-100);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.badge.is-dark {
  background-color: var(--color-base-black);
  color: var(--color-base-white);
}

/* --------------------------------------------------------------------------
   10. Section Patterns
   -------------------------------------------------------------------------- */

.section {
  position: relative;
}

.section.is-dark {
  background-color: var(--color-base-black);
  color: var(--color-base-white);
}

.section.is-subtle {
  background-color: var(--color-neutral-50);
}

.section.is-muted {
  background-color: var(--color-neutral-100);
}

/* --------------------------------------------------------------------------
   11. Utility Classes
   -------------------------------------------------------------------------- */

/* Display */
.hide { display: none; }

/* Alignment */
.align-center {
  margin-left: auto;
  margin-right: auto;
}

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

/* Max widths */
.max-width-full { max-width: 100%; }
.max-width-xlarge { max-width: var(--container-xl); }
.max-width-large { max-width: var(--container-lg); }
.max-width-medium { max-width: var(--container-md); }
.max-width-small { max-width: var(--container-sm); }

/* --------------------------------------------------------------------------
   Security trust badge row — used in CTA banners (dark) or above contact
   forms (light). Shared partial: templates/partials/cta-security-badges.html.j2
   -------------------------------------------------------------------------- */

.cta-security {
  position: relative;
  z-index: 1;
  margin-top: 36px;
  padding-top: 28px;
}
.cta-security-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 26px;
  margin: 0;
  padding: 0;
}
.cta-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.cta-security-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cta-security-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: var(--text-sm);
  text-decoration: none;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cta-security-link svg {
  transition: transform 0.3s ease;
}
.cta-security-link:hover svg {
  transform: translateX(3px);
}

/* Dark variant — sits inside .cta-banner (dark accent background) */
.cta-security--dark {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-security--dark .cta-security-badge {
  color: rgba(255, 255, 255, 0.85);
}
.cta-security--dark .cta-security-dot {
  background-color: #17e67d;
}
.cta-security--dark .cta-security-badge.is-progress .cta-security-dot {
  background-color: #f5b94e;
}
.cta-security--dark .cta-security-badge.is-muted {
  color: rgba(255, 255, 255, 0.55);
}
.cta-security--dark .cta-security-link {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.cta-security--dark .cta-security-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Light variant — sits above contact form on white background */
.cta-security--light {
  border-top: 1px solid var(--color-neutral-300);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-neutral-300);
  margin-top: 0;
  margin-bottom: 36px;
}
.cta-security--light .cta-security-badge {
  color: var(--color-text-primary);
}
.cta-security--light .cta-security-dot {
  background-color: #17a262;
}
.cta-security--light .cta-security-badge.is-progress .cta-security-dot {
  background-color: #c47a16;
}
.cta-security--light .cta-security-badge.is-muted {
  color: var(--color-text-muted-60);
}
.cta-security--light .cta-security-link {
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-text-primary);
}
.cta-security--light .cta-security-link:hover {
  opacity: 0.7;
}

@media screen and (max-width: 567px) {
  .cta-security-list { gap: 10px 18px; }
  .cta-security-badge { font-size: 10px; }
}

/* --------------------------------------------------------------------------
   12a. Pricing — shared styles (used by /pricing.html and homepage)
   -------------------------------------------------------------------------- */

.pricing-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 56px 52px;
  background-color: var(--color-base-white);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-default);
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.04);
  text-align: center;
}
.pricing-h {
  font-family: var(--font-heading);
  font-weight: var(--weight-regular);
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.pricing-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted-60);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: var(--leading-body);
}
.pricing-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: var(--color-neutral-300);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-default);
  overflow: hidden;
}
.pricing-tile {
  background-color: var(--color-base-white);
  padding: 20px 20px 22px;
  text-align: left;
}
.pricing-tile-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted-60);
  margin-bottom: 10px;
}
.pricing-tile-value {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}
.pricing-tile-value em {
  font-style: italic;
  color: var(--color-text-muted-60);
  font-weight: var(--weight-regular);
}
@media screen and (max-width: 991px) {
  .pricing-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 567px) {
  .pricing-card { padding: 32px 24px 36px; }
  .pricing-tiles { grid-template-columns: 1fr; }
}

/* ── Pricing commitments — "What we don't charge for" ── */
.pricing-commitments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pricing-commitment {
  padding: 28px 32px 30px;
  background-color: var(--color-base-white);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-default);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.pricing-commitment-h {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  line-height: var(--leading-relaxed);
}
.pricing-commitment-h::before {
  content: '\2298';
  display: inline-block;
  color: var(--color-text-muted-60);
  margin-right: 8px;
  font-weight: var(--weight-regular);
}
.pricing-commitment p {
  font-size: var(--text-sm);
  color: var(--color-text-muted-60);
  line-height: var(--leading-body);
  margin: 0;
}
@media screen and (max-width: 767px) {
  .pricing-commitments { grid-template-columns: 1fr; }
}

/* CTA banner — pricing teaser line */
.cta-banner .cta-teaser {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.5;
}
.cta-banner .cta-teaser a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.cta-banner .cta-teaser a:hover {
  border-bottom-color: #fff;
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */

@media screen and (max-width: 991px) {
  :root {
    --section-padding-sm: 28px;
    --section-padding-md: 48px;
    --section-padding-lg: 64px;
  }

  .heading-style-h1 { font-size: var(--text-3xl); }
  .heading-style-h2 { font-size: var(--text-3xl); }
  .heading-style-h4 { font-size: var(--text-xl); }

  .hero h1 { font-size: 3.5rem; }       /* 56px on tablet */
  .section-header h2,
  .cta-banner h2 { font-size: 2.25rem; } /* 36px on tablet */

  .hide-tablet { display: none; }
}

@media screen and (max-width: 567px) {
  .hero h1 { font-size: 2.5rem; }       /* 40px on mobile */
  .section-header h2,
  .cta-banner h2 { font-size: 1.875rem; } /* 30px on mobile */
  .feature-detail-content h3,
  .sticky-carousel-text h3 { font-size: 1.75rem; }
}

@media screen and (max-width: 767px) {
  :root {
    --section-padding-sm: 24px;
    --section-padding-md: 40px;
    --section-padding-lg: 48px;
    --padding-global: 1.25rem;
  }

  .heading-style-h1 { font-size: var(--text-3xl); }

  .hide-mobile-landscape { display: none; }
}

@media screen and (max-width: 479px) {
  .heading-style-h1 { font-size: var(--text-3xl); }

  .button { width: 100%; }

  .hide-mobile { display: none; }
}
