/* ==========================================================================
   Mindhive — Design System & Editorial Stylesheet
   Visual identity inspired by clean paper-first editorial SaaS & training,
   built around Mindhive's deep ink (#0A1420 / #00293F) and amber (#F5A623).
   ========================================================================== */

:root {
  /* Core brand & ink palette */
  --ink: #0A1420;
  --ink-deep: #060D16;
  --brand-navy: #00293F;
  --slate: #45424C;
  --muted: #64616D;

  /* Accent (one primary accent across CTAs, stats, and headline emphasis) */
  --amber: #F5A623;
  --amber-hover: #E09210;
  --amber-text: #B87000;
  --amber-soft: rgba(245, 166, 35, 0.14);

  /* Editorial light surfaces & section washes */
  --surface: #FFFFFF;
  --surface-alt: #F7F7F5;
  --surface-brass: #FBF6EC;
  --surface-moss: #EFF5EC;
  --surface-warm: #FAFBFD;

  /* Hairlines & borders */
  --border: #E7E6E2;
  --border-strong: #D6D4CE;
  --border-dark: rgba(255, 255, 255, 0.14);

  /* HRD Corp / verified badge tone */
  --badge-bg: #E7F5EC;
  --badge-border: #BDE2CA;
  --badge-text: #145A32;

  /* Typography */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & radii */
  --max-w: 1140px;
  --nav-h: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 24px 48px -36px rgba(10, 20, 32, 0.28);
  --shadow-hover: 0 28px 56px -34px rgba(10, 20, 32, 0.36);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

.svgdefs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

/* --------------------------------------------------------------------------
   Typography & Editorial Helpers
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.25rem, 1.15rem + 3.4vw, 3.65rem);
  line-height: 1.05;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.55rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.65vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--amber);
  flex-shrink: 0;
}

.section--ink .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 860px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 12px;
}

.section-head .lead {
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   Section Surfaces (Paper rhythm + Ink focal bands)
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding-block: 76px;
  background-color: var(--surface);
}

.section--alt {
  background-color: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--brass {
  background-color: var(--surface-brass);
  border-top: 1px solid rgba(214, 198, 165, 0.45);
  border-bottom: 1px solid rgba(214, 198, 165, 0.45);
}

.section--moss {
  background-color: var(--surface-moss);
  border-top: 1px solid rgba(181, 205, 163, 0.5);
  border-bottom: 1px solid rgba(181, 205, 163, 0.5);
}

.section--warm {
  background-color: var(--surface);
  background-image:
    radial-gradient(95% 60% at 15% 0%, rgba(245, 166, 35, 0.08), transparent 60%),
    radial-gradient(90% 60% at 88% 4%, rgba(0, 41, 63, 0.05), transparent 58%);
}

.section--ink {
  background-color: var(--ink);
  background-image:
    radial-gradient(60% 70% at 80% 18%, rgba(245, 166, 35, 0.14), transparent 65%),
    radial-gradient(55% 65% at 15% 85%, rgba(0, 78, 118, 0.28), transparent 65%);
  color: var(--surface);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: var(--surface);
}

.section--ink .lead {
  color: rgba(255, 255, 255, 0.74);
}

/* Subtle dot field inside dark ink bands */
.dot-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 85%);
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.nav.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -24px rgba(10, 20, 32, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  position: relative;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate);
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background-color: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link.is-active::after {
  transform: scaleX(1);
}

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

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--ink);
}

.nav__toggle .ico {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease),
    background-color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    color 0.22s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn--amber {
  background-color: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 26px -14px rgba(245, 166, 35, 0.75);
}

.btn--amber:hover {
  background-color: var(--amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(245, 166, 35, 0.65);
}

.btn--ghost-dark {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn--ghost-dark:hover {
  background-color: var(--surface-alt);
  border-color: var(--ink);
}

.btn--ghost-light {
  background-color: transparent;
  color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--wa {
  background-color: #1A7F4B;
  color: var(--surface);
}

.btn--wa:hover {
  background-color: #15683D;
  transform: translateY(-1px);
}

.btn .ico {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.btn:hover .ico--arrow {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--border-strong);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  text-decoration-color: var(--amber);
}

/* --------------------------------------------------------------------------
   Badge (HRD Corp Claimable & Course Tags)
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.badge .ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.badge--dark {
  background-color: rgba(189, 226, 202, 0.14);
  border-color: rgba(189, 226, 202, 0.3);
  color: #B4E6C5;
}

.badge-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-text);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 10px 22px -16px rgba(20, 90, 50, 0.5);
}

.badge-seal__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--badge-text);
}

.badge-seal--dark {
  background-color: rgba(189, 226, 202, 0.14);
  border-color: rgba(189, 226, 202, 0.3);
  color: #B4E6C5;
}

.badge-seal--dark .badge-seal__icon {
  color: #B4E6C5;
}

/* --------------------------------------------------------------------------
   Hero (Editorial Paper Canvas inspired by aiboostcenter.com)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background-color: var(--surface);
  background-image:
    radial-gradient(52% 52% at 78% 18%, rgba(245, 166, 35, 0.14), transparent 70%),
    radial-gradient(46% 48% at 16% 72%, rgba(0, 41, 63, 0.06), transparent 72%);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(10, 20, 32, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 18%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, #000 18%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  margin-top: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--amber-text);
  position: relative;
  display: inline-block;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.14em;
  border-radius: 99px;
  background-color: rgba(245, 166, 35, 0.35);
  z-index: -1;
}

.hero__lead {
  max-width: 650px;
  margin: 20px auto 0;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

/* Subpage compact hero */
.hero--sub {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
}

.hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero__breadcrumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Stats Strip (Inline Editorial Proof Bar + Stat Cards)
   -------------------------------------------------------------------------- */
.stats {
  margin-top: 36px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
}

.stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.925rem;
  color: var(--slate);
}

.stat__num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat__num--amber {
  color: var(--amber-text);
}

.stat__sep {
  width: 1px;
  height: 18px;
  background-color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   Client Logo Marquee ("Trusted by teams at")
   -------------------------------------------------------------------------- */
.marquee-wrap {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.marquee-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  text-align: center;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 120px;
  flex-shrink: 0;
}

.marquee__item img {
  max-height: 38px;
  max-width: 112px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.68;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.marquee__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Grids & Cards (.card)
   -------------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

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

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-text);
  background-color: var(--amber-soft);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--surface-alt);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-navy);
}

.card__icon .ico {
  width: 20px;
  height: 20px;
}

.card__title {
  margin-bottom: 10px;
}

.card__desc {
  font-size: 0.96rem;
  color: var(--slate);
  line-height: 1.6;
}

.card__list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--slate);
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.card__list .ico {
  width: 16px;
  height: 16px;
  color: var(--amber-text);
  margin-top: 3px;
  flex-shrink: 0;
}

.card__foot {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.card__link:hover {
  color: var(--amber-text);
}

.card__link .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.card:hover .card__link .ico {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Product Showcase (.prodcard)
   -------------------------------------------------------------------------- */
.prod-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.prod-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.prod-tab .ico {
  width: 22px;
  height: 22px;
}

.prod-tab[aria-selected="true"] {
  background-color: var(--ink);
  color: var(--surface);
}

.prodcard {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.prodcard[hidden] {
  display: none;
}

.prodcard__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.prodcard__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.prodcard__kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 2px;
}

.prodcard__desc {
  color: var(--slate);
  font-size: 1rem;
  margin-bottom: 18px;
}

.prodcard__features {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.prodcard__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink);
}

.prodcard__features .ico {
  width: 17px;
  height: 17px;
  color: var(--amber-text);
  margin-top: 3px;
  flex-shrink: 0;
}

.prodcard__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.prodcard__note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

.prodcard__media {
  display: grid;
  gap: 14px;
}

.prodcard__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
}

.prodcard__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.prodcard__frame--sub {
  width: 78%;
  margin-left: auto;
  margin-top: -32px;
  box-shadow: 0 20px 40px -24px rgba(10, 20, 32, 0.38);
}

/* --------------------------------------------------------------------------
   Why Choose Us (.whyitem) & Proof Strip
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.whyitem {
  padding: 28px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid rgba(181, 205, 163, 0.55);
}

.whyitem__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--surface-moss);
  color: var(--badge-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.whyitem__icon .ico {
  width: 22px;
  height: 22px;
}

.whyitem h3 {
  margin-bottom: 10px;
}

.whyitem p {
  font-size: 0.95rem;
  color: var(--slate);
}

.proof-banner {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid rgba(181, 205, 163, 0.55);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.proof-banner__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.proof-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.proof-metric span {
  font-size: 0.875rem;
  color: var(--slate);
}

.proof-metric strong.stat__num--amber {
  color: var(--amber-text);
}

.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;
}

.stat__stars {
  display: inline-grid;
  vertical-align: middle;
  color: var(--amber-text);
  font-size: 0.8em;
  line-height: 1;
}

.stat__stars--square {
  grid-template-columns: repeat(2, 1em);
  grid-template-rows: repeat(2, 1em);
  gap: 2px;
  place-items: center;
}

.stat__stars--star {
  position: relative;
  width: 2.3em;
  height: 2.2em;
}

.stat__stars--star span {
  position: absolute;
  transform: translate(-50%, -50%);
}

.stat__stars--star span:nth-child(1) { top: 8%; left: 50%; }
.stat__stars--star span:nth-child(2) { top: 38%; left: 88%; }
.stat__stars--star span:nth-child(3) { top: 84%; left: 74%; }
.stat__stars--star span:nth-child(4) { top: 84%; left: 26%; }
.stat__stars--star span:nth-child(5) { top: 38%; left: 12%; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 40px;
  border-radius: var(--radius-lg);
  background-color: var(--surface-brass);
  border: 1px solid rgba(214, 198, 165, 0.55);
  margin-bottom: 24px;
}

.testimonial-feature__mark {
  width: 40px;
  height: 40px;
  color: var(--amber-text);
  flex-shrink: 0;
}

.testimonial-feature__quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 20px;
}

.testimonial-feature__attribution strong {
  display: block;
  color: var(--ink);
}

.testimonial-feature__attribution span {
  font-size: 0.9rem;
  color: var(--slate);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
}

.testimonial-card__quote {
  flex: 1;
  font-size: 0.98rem;
  font-style: italic;
  color: var(--slate);
  margin-bottom: 16px;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}

.testimonial-card__org {
  font-size: 0.85rem;
  color: var(--muted);
}

.gallery-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface-alt);
  box-shadow: var(--shadow-card);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-card__logo {
  height: 20px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: left center;
  margin-top: 10px;
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Founder Card
   -------------------------------------------------------------------------- */
.founder-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.founder-card__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--surface-alt);
  aspect-ratio: 1 / 1;
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card__title {
  font-size: 0.95rem;
  color: var(--slate);
  margin-top: 4px;
  margin-bottom: 18px;
}

.founder-card__quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 22px;
}

.founder-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Course Detail Sections & FAQ Accordion
   -------------------------------------------------------------------------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.module {
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
}

.module__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 8px;
}

.module h3 {
  margin-bottom: 8px;
}

.module p {
  font-size: 0.94rem;
  color: var(--slate);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  background-color: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--slate);
  transition: transform 0.24s var(--ease);
}

.faq-item[open] summary .ico {
  transform: rotate(180deg);
}

.faq-item__body {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CTA Band (.ctaband)
   -------------------------------------------------------------------------- */
.ctaband {
  position: relative;
  overflow: hidden;
  padding-block: 84px;
  text-align: center;
}

.ctaband__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-inline: auto;
}

.ctaband h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 1.15rem + 2.6vw, 2.95rem);
}

.ctaband h2 em {
  font-style: normal;
  color: var(--amber);
}

.ctaband .lead {
  margin-top: 16px;
}

.ctaband__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ctaband__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.ctaband__meta a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

.ctaband__meta a:hover {
  color: var(--surface);
  text-decoration-color: var(--amber);
}

/* --------------------------------------------------------------------------
   Footer (.foot)
   -------------------------------------------------------------------------- */
.foot {
  background-color: var(--ink-deep);
  color: var(--surface);
  padding: 64px 0 36px;
  border-top: 1px solid var(--border-dark);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.foot__logo {
  height: 30px;
  width: auto;
}

.foot__tagline {
  margin-top: 14px;
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.foot__badge {
  margin-top: 18px;
}

.foot__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 16px;
}

.foot__list {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.foot__list a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}

.foot__list a:hover {
  color: var(--amber);
}

.foot__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3,
  .why-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prodcard {
    grid-template-columns: 1fr;
    padding: 28px;
  }

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

@media (max-width: 780px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px 28px;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgba(10, 20, 32, 0.35);
    display: none;
  }

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

  .nav__actions .btn {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .grid-2,
  .grid-3,
  .why-grid,
  .module-grid,
  .foot__grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-feature {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .founder-card {
    grid-template-columns: 1fr;
    padding: 28px;
    text-align: center;
  }

  .founder-card__photo {
    width: 160px;
    margin: 0 auto;
  }

  .founder-card__meta {
    justify-content: center;
  }

  .section {
    padding-block: 56px;
  }

  .hero {
    padding: 44px 0 40px;
  }

  .stats {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .stat__sep {
    display: none;
  }

  .prodcard__frame--sub {
    width: 100%;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .marquee__track {
    animation: none;
  }
}
