/* ============================================================
   Pitched Booking — Ghost Theme Stylesheet
   Brand Colours, Typography & Component Styles
   ============================================================ */

/* --- Adobe Fonts embed for Soleil should be added via Ghost Admin → Code Injection → Site Header */
/* e.g. <link rel="stylesheet" href="https://use.typekit.net/YOUR_KIT_ID.css"> */

/* --- Brand Custom Properties --- */
:root {
  /* Primary Palette */
  --pitched-blue: #0075A6;
  --navy-blue: #004E7C;
  --midnight-blue: #003451;
  --white: #FFFFFF;

  /* Primary Tints */
  --pitched-blue-75: #3D91B8;
  --pitched-blue-50: #80BAD3;
  --pitched-blue-25: #BFD9E9;
  --navy-blue-75: #3D7A9D;
  --navy-blue-50: #80A7BE;
  --midnight-blue-75: #3D6279;
  --midnight-blue-50: #809AA8;

  /* Accent Palette */
  --gold: #CEB781;
  --rose-red: #C60A4C;
  --lightning-yellow: #EFB50C;
  --pear: #C3CF3F;

  /* Functional */
  --text-primary: #003451;
  --text-secondary: #004E7C;
  --text-light: #5A7A8F;
  --bg-light: #F5F7FA;
  --bg-off-white: #FAFBFC;
  --border-light: #E2E8F0;

  /* Typography — Adobe Fonts primary (Soleil for everything), Google Fonts fallback */
  --font-heading: 'soleil', 'proxima-nova', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'soleil', 'proxima-nova', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease-out;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 52, 81, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 52, 81, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 52, 81, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 52, 81, 0.15);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 40px;
}


/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
}

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

a {
  color: var(--pitched-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-blue);
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--midnight-blue);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3.25rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
}

/* Bold / Light heading pattern from Figma */
.heading-light {
  font-weight: 300;
}

p {
  margin-bottom: 1.25em;
  font-size: 1.0625rem;
}

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

.lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.overline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pitched-blue);
}


/* ============================================================
   LAYOUT
   ============================================================ */

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

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

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

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

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

.section--midnight {
  background-color: var(--midnight-blue);
  color: var(--white);
}

.section--midnight h2,
.section--midnight h3,
.section--midnight h4 {
  color: var(--white);
}

.section--midnight .overline {
  color: var(--gold);
}

.section--navy {
  background-color: var(--navy-blue);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

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

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

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

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

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

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

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

.mx-auto { margin-left: auto; margin-right: auto; }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }


/* ============================================================
   BUTTONS — Pill-shaped per Figma design
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--rose-red);
  color: var(--white);
  border-color: var(--rose-red);
}

.btn--primary:hover {
  background-color: #A8083F;
  border-color: #A8083F;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--lightning-yellow);
  color: var(--white);
  border-color: var(--lightning-yellow);
}

.btn--secondary:hover {
  background-color: #D9A20B;
  border-color: #D9A20B;
  color: var(--white);
  transform: translateY(-1px);
}

.btn--pear {
  background-color: var(--pear);
  color: var(--white);
  border-color: var(--pear);
}

.btn--pear:hover {
  background-color: #AEBA30;
  border-color: #AEBA30;
  color: var(--white);
  transform: translateY(-1px);
}

.btn--white {
  background-color: var(--white);
  color: var(--midnight-blue);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--midnight-blue);
  border-color: var(--gold);
}

.btn--gold:hover {
  background-color: #BDA66E;
  border-color: #BDA66E;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--midnight-blue);
  transform: translateY(-1px);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--midnight-blue);
  border-color: var(--midnight-blue);
}

.btn--outline-dark:hover {
  background-color: var(--midnight-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
}

.btn--lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.1875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}


/* ============================================================
   HEADER / NAV — Midnight Blue bar per Figma
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #003451 !important;
  background-color: #003451 !important;
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo img {
  height: 52px;
  width: auto;
}

.site-header__nav {
  display: flex !important;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.site-header__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-header__links a,
.site-header__nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: color 150ms ease;
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header__links a:link,
.site-header__links a:visited,
.site-header__nav a:link,
.site-header__nav a:visited {
  color: #FFFFFF !important;
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--lightning-yellow);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.site-header__nav a:hover,
.site-header__nav a.active {
  color: var(--lightning-yellow);
}

.site-header__nav a:hover::after,
.site-header__nav a.active::after {
  transform: scaleX(1);
}

/* Search pill button */
.site-header__search {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: var(--space-md);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
}

.site-header__search:hover {
  background: var(--white);
  color: var(--midnight-blue);
}

.site-header__search svg {
  flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

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

  .site-header__inner {
    padding: 0 var(--space-md);
  }

  .site-header__nav {
    display: none !important;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #003451;
    flex-direction: column;
    padding: var(--space-md);
    border-top: 1px solid var(--navy-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }

  .site-header__nav.is-open {
    display: flex !important;
  }

  .site-header__links {
    flex-direction: column;
    width: 100%;
  }

  .site-header__links a,
  .site-header__nav a {
    padding: 0.75rem 0;
    font-size: 1.0625rem;
    width: 100%;
  }

  .site-header__links a::after,
  .site-header__nav a::after {
    display: none;
  }

  .site-header__search {
    margin-left: 0;
    margin-top: var(--space-sm);
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   HERO — Figma layout: left text, right mockup
   ============================================================ */

.hero {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-2xl);
  background: var(--midnight-blue);
  color: var(--white);
  overflow: hidden;
  min-height: 500px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.hero h1 .heading-light {
  font-weight: 300;
}

.hero__description {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-lg);
}

.hero .btn-group {
  margin-bottom: 0;
}

/* Device mockup area */
.hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mockup {
  width: 100%;
  max-width: 520px;
}

.hero__mockup-placeholder {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__mockup img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
  }

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

  .hero__media {
    order: -1;
  }

  .hero__mockup {
    max-width: 400px;
  }
}


/* ============================================================
   SERVICES SECTION — Figma 3-column with circle icons
   ============================================================ */

.services-section__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.services-section__header p {
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.services-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.service-card__icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-card__icon--yellow {
  background: var(--lightning-yellow);
}

.service-card__icon--blue {
  background: var(--pitched-blue);
}

.service-card__icon--pear {
  background: var(--pear);
}

.service-card h3 {
  font-size: 2rem;
  line-height: 1.25;
}

.service-card p {
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--text-light);
  max-width: 360px;
}

@media (max-width: 900px) {
  .services-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* Legacy feature-card support for editor content */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-slow);
  border: 1px solid var(--border-light);
}

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

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--pitched-blue-25), var(--pitched-blue-50));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--pitched-blue);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.9375rem;
}

/* Feature card on dark background */
.section--midnight .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--midnight .feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--midnight .feature-card__icon {
  background: rgba(0, 117, 166, 0.2);
  color: var(--pitched-blue-50);
}

.section--midnight .feature-card h3 {
  color: var(--white);
}

.section--midnight .feature-card p {
  color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   FEATURE SHOWCASE (Features page, detailed blocks)
   ============================================================ */

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.feature-showcase--reverse {
  direction: rtl;
}

.feature-showcase--reverse > * {
  direction: ltr;
}

.feature-showcase__content {
  max-width: 520px;
}

.feature-showcase__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-showcase__image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-showcase__list {
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}

.feature-showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.feature-showcase__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--pitched-blue);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .feature-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .feature-showcase--reverse {
    direction: ltr;
  }
}


/* ============================================================
   PRICING TABLE
   ============================================================ */

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-xs);
  background: var(--light-bg);
  border-radius: 999px;
  padding: 4px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-toggle__btn {
  padding: 0.6rem 1.5rem;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.pricing-toggle__btn--active {
  background: var(--midnight-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Pricing Slider */
.pricing-slider {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.pricing-slider__label {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--midnight-blue);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.pricing-slider__wrapper {
  padding: 0 0.5rem;
}

.pricing-slider__input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.pricing-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pitched-blue);
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pricing-slider__input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.pricing-slider__input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pitched-blue);
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
}

.pricing-slider__value {
  font-size: 1rem;
  color: var(--midnight-blue);
  margin-top: var(--space-sm);
}

.pricing-slider__value strong {
  font-size: 1.25rem;
  color: var(--pitched-blue);
}

.pricing-slider__ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  margin-top: 0.25rem;
}

.pricing-slider__ticks span {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 0;
  text-align: center;
}

.pricing-footnote {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.pricing-card__price--poa {
  font-size: 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-slow);
}

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

.pricing-card--featured {
  border-color: var(--pitched-blue);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pitched-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__tier {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--midnight-blue);
  margin-bottom: var(--space-xs);
}

.pricing-card__description {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--midnight-blue);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pricing-card__price span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-card__subtitle {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__features li:last-child {
  border-bottom: none;
}

.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--pear);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23003451'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* ============================================================
   TESTIMONIALS — Figma: dark band with image + card pairs
   ============================================================ */

.testimonials-section {
  background: var(--midnight-blue);
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.testimonials-section__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  align-items: center;
}

.testimonials-section__intro h2 {
  color: var(--lightning-yellow);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.testimonials-section__intro p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  font-size: 0.9375rem;
}

.testimonials-section__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.testimonial-card {
  display: flex;
  overflow: hidden;
}

.testimonial-card__image {
  width: 50%;
  min-height: 280px;
  background: var(--navy-blue);
}

.testimonial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__body {
  width: 50%;
  background: var(--white);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}

.testimonial-card__icon {
  width: 56px;
  height: 56px;
  background: var(--pitched-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.testimonial-card__quote {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--midnight-blue);
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--midnight-blue);
}

/* Fallback grid for testimonials page */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

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

  .testimonials-section__cards {
    grid-template-columns: 1fr;
  }

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


/* ============================================================
   CTA SECTION — Figma footer-style with form
   ============================================================ */

.cta-section {
  background: var(--midnight-blue);
  color: var(--white);
  padding: var(--space-2xl) 0;
}

.cta-section__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.cta-section__left h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.2;
}

.text-gold {
  color: var(--lightning-yellow);
}

.cta-section__badge {
  margin-bottom: var(--space-lg);
}

.cta-section__badge-img {
  height: 100px;
  width: auto;
}

.cta-section__middle h3 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.cta-section__contact {
  list-style: none;
  padding: 0;
}

.cta-section__contact li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section__contact svg {
  color: var(--white);
  flex-shrink: 0;
}

.cta-section__right h3 {
  color: var(--lightning-yellow);
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

/* Contact form */
.cta-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.cta-form__input,
.cta-form__textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--white);
  background: var(--pitched-blue);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.25);
  outline: none;
  transition: background var(--transition-fast);
}

.cta-form__input::placeholder,
.cta-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.cta-form__input:focus,
.cta-form__textarea:focus {
  background: var(--navy-blue);
}

.cta-form__textarea {
  margin-bottom: var(--space-sm);
  min-height: 120px;
  resize: vertical;
}

.cta-form .btn {
  min-width: 160px;
}

@media (max-width: 900px) {
  .cta-section__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}


/* ============================================================
   FOOTER — Simple legal bar
   ============================================================ */

.site-footer {
  background: var(--midnight-blue);
  color: rgba(255, 255, 255, 0.5);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .container {
  text-align: center;
}

.site-footer p {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.5);
}

.site-footer a:hover {
  color: var(--white);
}


/* ============================================================
   BLOG / POST FEED
   ============================================================ */

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

.post-card {
  background: var(--white);
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

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

.post-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-light);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
  transform: scale(1.03);
}

.post-card__content {
  background: var(--midnight-blue);
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.post-card__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--lightning-yellow);
}

.post-card h3 {
  font-size: 1.625rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.post-card h3 a {
  color: var(--white);
}

.post-card h3 a:hover {
  color: var(--lightning-yellow);
}

.post-card__excerpt {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

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

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


/* ============================================================
   SINGLE POST / PAGE
   ============================================================ */

.post-header {
  padding: var(--space-2xl) 0 var(--space-lg);
  text-align: center;
}

.post-header .overline {
  margin-bottom: var(--space-sm);
}

.post-header h1 {
  max-width: 720px;
  margin: 0 auto var(--space-md);
}

.post-header__meta {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.post-feature-image {
  max-width: 1000px;
  margin: 0 auto var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.post-feature-image img {
  width: 100%;
  height: auto;
}

/* ============================================================
   GHOST EDITOR CONTENT
   Styles all content from the Ghost editor (pages & posts).
   Uses gh-canvas for width control, supports all Ghost cards.
   ============================================================ */

/* Canvas width system — controls content column and breakouts */
.gh-canvas {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.gh-content > * + * {
  margin-top: 1.5em;
}

/* Typography */
.gh-content h2 {
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  font-size: 1.75rem;
}

.gh-content h3 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: 1.375rem;
}

.gh-content h4 {
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  font-size: 1.125rem;
}

.gh-content > h2:first-child,
.gh-content > h3:first-child {
  margin-top: 0;
}

.gh-content p {
  line-height: 1.75;
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.5em;
}

.gh-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.gh-content blockquote {
  border-left: 3px solid var(--pitched-blue);
  padding-left: var(--space-md);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.gh-content a {
  color: var(--pitched-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gh-content a:hover {
  color: var(--navy-blue);
}

.gh-content figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 2.5em 0;
}

/* Images */
.gh-content img {
  border-radius: var(--radius-md);
}

.gh-content .kg-image-card img {
  width: 100%;
  height: auto;
}

/* Width breakouts — wide and full */
.gh-content .kg-width-wide {
  max-width: 1100px;
  margin-left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 2rem);
}

.gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.gh-content .kg-width-full img {
  border-radius: 0;
}

/* Gallery card */
.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gh-content .kg-gallery-row {
  display: flex;
  gap: 0.75rem;
}

.gh-content .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Callout card */
.gh-content .kg-callout-card {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-top: 1.5em;
}

.gh-content .kg-callout-card-grey {
  background: var(--light-bg);
}

.gh-content .kg-callout-card-white {
  background: var(--white);
  border: 1px solid var(--border-light);
}

.gh-content .kg-callout-card-blue {
  background: rgba(0, 117, 166, 0.08);
}

.gh-content .kg-callout-card-green {
  background: rgba(195, 207, 63, 0.15);
}

.gh-content .kg-callout-card-yellow {
  background: rgba(239, 181, 12, 0.12);
}

.gh-content .kg-callout-card-red {
  background: rgba(198, 10, 76, 0.08);
}

.gh-content .kg-callout-card-pink {
  background: rgba(198, 10, 76, 0.06);
}

.gh-content .kg-callout-emoji {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gh-content .kg-callout-text {
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Toggle card (accordion) */
.gh-content .kg-toggle-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  margin-top: 1.5em;
}

.gh-content .kg-toggle-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.gh-content .kg-toggle-heading h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.gh-content .kg-toggle-card-icon svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.gh-content .kg-toggle-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-top: var(--space-sm);
  color: var(--text-secondary);
}

/* Button card */
.gh-content .kg-button-card {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.gh-content .kg-button-card a {
  text-decoration: none;
}

.gh-content .kg-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
}

.gh-content .kg-btn-accent {
  background: var(--midnight-blue);
  color: var(--white);
}

.gh-content .kg-btn-accent:hover {
  background: var(--navy-blue);
  transform: translateY(-1px);
}

/* Bookmark card */
.gh-content .kg-bookmark-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5em;
}

.gh-content .kg-bookmark-container {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.gh-content .kg-bookmark-content {
  flex: 1;
  padding: var(--space-md);
}

.gh-content .kg-bookmark-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--midnight-blue);
  margin-bottom: 0.25rem;
}

.gh-content .kg-bookmark-description {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-content .kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-light);
}

.gh-content .kg-bookmark-icon {
  width: 16px;
  height: 16px;
}

.gh-content .kg-bookmark-thumbnail {
  width: 200px;
  flex-shrink: 0;
}

.gh-content .kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Header card */
.gh-content .kg-header-card {
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  border-radius: var(--radius-lg);
  margin-top: 2em;
}

.gh-content .kg-header-card h2,
.gh-content .kg-header-card h3 {
  margin-top: 0;
}

/* Divider */
.gh-content .kg-divider-card hr {
  border: none;
  border-top: 1px solid var(--border-light);
}

/* Video & embed cards */
.gh-content .kg-video-card,
.gh-content .kg-embed-card {
  margin-top: 1.5em;
}

.gh-content .kg-embed-card iframe {
  width: 100%;
  border-radius: var(--radius-md);
}

/* HTML card (for Tally forms, custom embeds) */
.gh-content .kg-card.kg-html-card {
  margin-top: 1.5em;
}

/* Product card */
.gh-content .kg-product-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-top: 1.5em;
}

/* Signup card (newsletter) */
.gh-content .kg-signup-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2em;
}

/* Page-specific content area */
.page-content {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Feature image for pages */
.page-feature-image {
  margin-top: calc(var(--space-lg) * -1);
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-md);
}

.page-feature-image__figure {
  margin: 0;
}

.page-feature-image__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.page-feature-image__figure figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* Responsive for wide images */
@media (max-width: 768px) {
  .gh-content .kg-width-wide {
    width: calc(100vw - 2rem);
    max-width: none;
  }

  .gh-content .kg-bookmark-container {
    flex-direction: column;
  }

  .gh-content .kg-bookmark-thumbnail {
    width: 100%;
    height: 200px;
    order: -1;
  }
}


/* ============================================================
   PAGE HEADER (for custom pages)
   ============================================================ */

.page-hero {
  padding: var(--space-2xl) 0;
  background: var(--midnight-blue);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1875rem;
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   STATS ROW
   ============================================================ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
  padding: var(--space-xl) 0;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pitched-blue);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.section--midnight .stat__number {
  color: var(--gold);
}

.section--midnight .stat__label {
  color: rgba(255, 255, 255, 0.6);
}

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

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--midnight-blue);
  text-align: left;
  gap: var(--space-sm);
}

.faq-item__question:hover {
  color: var(--pitched-blue);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--pitched-blue);
  transition: transform var(--transition-base);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: none;
  padding-bottom: var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}


/* ============================================================
   NEWSLETTER / SUBSCRIBE (Ghost Portal Override)
   ============================================================ */

.subscribe-section {
  background: var(--bg-light);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.subscribe-section h2 {
  margin-bottom: var(--space-xs);
}

.subscribe-section p {
  color: var(--text-light);
  font-size: 1.0625rem;
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}


/* ============================================================
   ACTIVITIES MODULE (Launch page)
   ============================================================ */

.activities-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--lightning-yellow);
  color: var(--midnight-blue);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: var(--space-md);
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

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

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   UTILITIES
   ============================================================ */

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

.aspect-video {
  aspect-ratio: 16 / 9;
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.overflow-hidden {
  overflow: hidden;
}


/* Post Footer (tags + author) */
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--border-light);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tags a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pitched-blue);
  background: var(--pitched-blue-25);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.post-tags a:hover {
  background: var(--pitched-blue);
  color: var(--white);
}

.post-author {
  font-size: 0.875rem;
  color: var(--text-light);
}

.post-author a {
  color: var(--midnight-blue);
  font-weight: 600;
}
