/* ============================================================
   TRITICON-INSPIRED STYLESHEET
   Based on: https://www.triticon.com/
   Palette: Deep navy, crisp white, steel blue accent
   Typography: Refined corporate-educational aesthetic
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colours */
  --color-navy:         #0d1f3c;
  --color-navy-mid:     #162b50;
  --color-navy-light:   #1e3a6e;
  --color-steel:        #2b6cb0;
  --color-sky:          #4299e1;
  --color-sky-light:    #90cdf4;
  --color-white:        #ffffff;
  --color-off-white:    #f7f9fc;
  --color-grey-100:     #edf2f7;
  --color-grey-200:     #e2e8f0;
  --color-grey-400:     #a0aec0;
  --color-grey-600:     #718096;
  --color-grey-800:     #2d3748;
  --color-text:         #1a202c;
  --color-text-muted:   #4a5568;
  --color-accent:       #3182ce;
  --color-accent-hover: #2563eb;
  --color-gold:         #d4a017;

  /* Typography */
  --font-display: 'Raleway', sans-serif;
  --font-body:    'Source Serif 4', Georgia, serif;

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:  1200px;
  --container-wide: 1440px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13, 31, 60, 0.08), 0 1px 2px rgba(13, 31, 60, 0.06);
  --shadow-md:  0 4px 12px rgba(13, 31, 60, 0.12), 0 2px 6px rgba(13, 31, 60, 0.08);
  --shadow-lg:  0 10px 30px rgba(13, 31, 60, 0.16), 0 4px 12px rgba(13, 31, 60, 0.10);
  --shadow-xl:  0 20px 50px rgba(13, 31, 60, 0.20);

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


/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-accent-hover);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}


/* ─── Layout Utilities ───────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section--tight {
  padding-block: var(--space-12);
}

.section--flush {
  padding-block: 0;
}

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

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

.flex {
  display: flex;
  gap: var(--space-4);
}

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

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

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


/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-steel);
}

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
}

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


/* ─── Header / Navigation ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding-inline: var(--space-6);
  max-width: var(--container-max);
  margin-inline: auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

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

.nav__link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  letter-spacing: 0.02em;
}

.nav__link:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.10);
}

.nav__link--active {
  color: var(--color-sky-light);
}

/* Dropdown */
.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 220px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  border: 1px solid var(--color-grey-200);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown-link:hover {
  background-color: var(--color-off-white);
  color: var(--color-accent);
}

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

.header-currency {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.cart-icon {
  position: relative;
  color: rgba(255, 255, 255, 0.80);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.cart-icon:hover { color: var(--color-white); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 18px;
  height: 18px;
  background-color: var(--color-sky);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base);
}


/* ─── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(13, 31, 60, 0.92) 40%, rgba(22, 43, 80, 0.70) 100%);
  z-index: 1;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-24) var(--space-6);
  max-width: 720px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sky-light);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--color-sky);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: normal;
  color: var(--color-sky-light);
}

.hero__desc {
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__stats {
  position: relative;
  z-index: 2;
  margin-top: var(--space-16);
  display: flex;
  gap: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--space-1);
  letter-spacing: 0.04em;
}


/* ─── Trust Bar ──────────────────────────────────────────────── */
.trust-bar {
  background-color: var(--color-navy-mid);
  padding-block: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.trust-item::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.65rem;
}


/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: var(--space-3) var(--space-7);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  white-space: nowrap;
}

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

/* Primary */
.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(49, 130, 206, 0.35);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(49, 130, 206, 0.45);
}

/* Secondary (outline on dark) */
.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Ghost on light */
.btn--ghost {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

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

/* Dark */
.btn--dark {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn--dark:hover {
  background-color: var(--color-navy-light);
  color: var(--color-white);
}

/* Sizes */
.btn--sm  { padding: var(--space-2) var(--space-4); font-size: 0.8rem; }
.btn--lg  { padding: var(--space-4) var(--space-8); font-size: 1rem; }

/* Full width */
.btn--full { width: 100%; }


/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-grey-200);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-6);
}

.card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: rgba(49, 130, 206, 0.08);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-off-white);
  border-top: 1px solid var(--color-grey-200);
}

.card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
}

.card__price--free { color: var(--color-accent); }

/* Course card variant */
.course-card {
  display: flex;
  flex-direction: column;
}

.course-card .card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card .card__actions {
  margin-top: auto;
  padding-top: var(--space-5);
}


/* ─── Steps / How it Works ───────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-8);
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-grey-200);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-grey-100);
  line-height: 1;
  pointer-events: none;
}

.step__icon {
  width: 52px;
  height: 52px;
  background-color: rgba(49, 130, 206, 0.10);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-accent);
  font-size: 1.5rem;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.step__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ─── Feature / Why Choose ───────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature {
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-lg);
  background-color: var(--color-off-white);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.feature:hover {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-steel), var(--color-sky));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--color-white);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.30);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}

.feature__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ─── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(66, 153, 225, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(144, 205, 244, 0.10) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  position: relative;
}

.cta-banner__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 300;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-banner__actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* ─── Section Headers ────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

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

.section-header--center .section-subtitle {
  margin-inline: auto;
}

.section-header .section-title {
  margin-top: var(--space-3);
}


/* ─── Badges / Tags ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.badge--blue {
  background-color: rgba(49, 130, 206, 0.12);
  color: var(--color-steel);
}

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

.badge--green {
  background-color: rgba(56, 161, 105, 0.12);
  color: #276749;
}

.badge--gold {
  background-color: rgba(212, 160, 23, 0.14);
  color: #92610c;
}


/* ─── Form Elements ──────────────────────────────────────────── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-grey-800);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-grey-400);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.search-bar {
  position: relative;
}

.search-bar__input {
  width: 100%;
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-12);
  background-color: var(--color-off-white);
  border: 1.5px solid var(--color-grey-200);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-bar__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
  outline: none;
}

.search-bar__icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-grey-400);
  pointer-events: none;
}


/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand .site-logo__text {
  font-size: 1.35rem;
  margin-bottom: var(--space-4);
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.40);
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom__links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.40);
  transition: color var(--transition-fast);
}

.footer-bottom__links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ─── Compact footer height ──────────────────────────────── */
.site-footer,
footer.site-footer,
footer[role="contentinfo"],
[id*="shopify-section"][id*="footer"],
.shopify-section-footer,
.shopify-section--footer,
[class*="footer"][class*="section"] {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 2rem !important;
  padding-bottom: 1rem !important;
  --gap-scale: 0.3 !important;
}

.site-footer .group-block-content,
footer.site-footer .group-block-content,
footer[role="contentinfo"] .group-block-content,
[id*="shopify-section"][id*="footer"] .group-block-content {
  --gap: 16px !important;
  gap: 16px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-footer .layout-panel-flex,
footer.site-footer .layout-panel-flex,
footer[role="contentinfo"] .layout-panel-flex,
[id*="shopify-section"][id*="footer"] .layout-panel-flex {
  --gap: 16px !important;
  gap: 16px !important;
}

.site-footer > div,
footer.site-footer > div,
footer[role="contentinfo"] > div,
[id*="shopify-section"][id*="footer"] > div {
  min-height: 0 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}


/* ─── 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: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-grey-200);
  margin-block: var(--space-8);
}

.divider--light {
  border-top-color: rgba(255,255,255,0.10);
}

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

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

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-4  { margin-top: var(--space-4); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.w-full { width: 100%; }


/* ─── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }


/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --space-20: 3.5rem;
    --space-16: 3rem;
  }

  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }

  .nav { display: none; }

  .hamburger { display: flex; }

  .hero__stats { flex-direction: column; gap: var(--space-5); }

  .cta-banner { padding: var(--space-10) var(--space-6); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar__inner { gap: var(--space-5); }
}


/* ─── Restore Shopify dark footer on Tevello pages ─────────── */
.site-footer,
footer.site-footer,
footer[role="contentinfo"],
.shopify-section-footer,
.shopify-section--footer,
[class*="footer"][class*="section"] {
  background-color: #2D3E50 !important;
  color: #ffffff !important;
}

.site-footer *,
footer.site-footer *,
footer[role="contentinfo"] *,
.shopify-section-footer *,
.shopify-section--footer *,
[class*="footer"][class*="section"] * {
  color: #ffffff !important;
}

.site-footer a,
footer.site-footer a,
footer[role="contentinfo"] a,
.shopify-section-footer a,
.shopify-section--footer a,
[class*="footer"][class*="section"] a {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: color 150ms ease !important;
  text-decoration: none !important;
}

.site-footer a:hover,
footer.site-footer a:hover,
footer[role="contentinfo"] a:hover,
.shopify-section-footer a:hover,
.shopify-section--footer a:hover,
[class*="footer"][class*="section"] a:hover {
  color: #ffffff !important;
}

.site-footer h3,
.site-footer h4,
footer.site-footer h3,
footer.site-footer h4,
footer[role="contentinfo"] h3,
footer[role="contentinfo"] h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
}