/* ============================================================
   WAYPOINT OPERATING PARTNERS — Design System
   style.css | All pages share this file
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,300;1,9..144,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colors */
  --black:        #0C0C0C;
  --dark:         #161412;
  --dark-card:    #1E1C19;
  --cream:        #F7F5F0;
  --white:        #FFFFFF;
  --accent:       #C4953A;
  --accent-hover: #D4A84A;
  --accent-dim:   rgba(196, 149, 58, 0.12);
  --gray-100:     #EDEBE6;
  --gray-300:     #C4C0B8;
  --gray-500:     #8A8680;
  --gray-700:     #4A4642;
  --text-dark:    #0C0C0C;
  --text-light:   #FFFFFF;
  --text-muted-dark:  #8A8680;
  --text-muted-light: rgba(255,255,255,0.55);
  --border-dark:  rgba(255,255,255,0.08);
  --border-light: rgba(12,12,12,0.08);

  /* Typography scale */
  --text-hero:    clamp(3.25rem, 7.5vw, 7rem);
  --text-display: clamp(2.25rem, 4.5vw, 3.75rem);
  --text-heading: clamp(1.625rem, 2.75vw, 2.25rem);
  --text-subhead: clamp(1.0625rem, 1.75vw, 1.3125rem);
  --text-body:    clamp(0.9375rem, 1.25vw, 1.0625rem);
  --text-sm:      0.875rem;
  --text-xs:      0.6875rem;

  /* Font families */
  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 9vw, 8.5rem);
  --container:   min(1200px, 90vw);
  --container-wide: min(1440px, 94vw);
  --gap-sm:  1rem;
  --gap-md:  1.5rem;
  --gap-lg:  2.5rem;
  --gap-xl:  4rem;

  /* Easing */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.10);
  --shadow-accent: 0 8px 32px rgba(196,149,58,0.20);
}

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

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

body {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── Typography Helpers ───────────────────────────────────── */
.label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.heading {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container       { width: var(--container); margin: 0 auto; }
.container-wide  { width: var(--container-wide); margin: 0 auto; }

.section {
  padding: var(--section-pad) 0;
}

.section--dark  { background: var(--black); color: var(--text-light); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: padding 0.4s var(--ease-out),
              background 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out);
}

.nav.scrolled {
  padding: 1rem 0;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__logo-mark svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--white);
}

.nav__logo-sub {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-top: 2px;
}

/* Light nav variant (for light-bg pages) */
.nav--light .nav__logo-name { color: var(--black); }
.nav--light .nav__logo-sub  { color: var(--gray-500); }
.nav--light .nav__link       { color: var(--gray-700); }
.nav--light .nav__link:hover { color: var(--black); }
.nav--light.scrolled {
  background: rgba(247,245,240,0.92);
  border-bottom: 1px solid var(--border-light);
}
.nav--light .nav__hamburger span { background: var(--black); }
.nav--light .nav__link.active { color: var(--black); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav__link:hover { color: var(--white); }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link.active { color: var(--white); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s var(--ease-spring), box-shadow 0.2s;
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

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

.nav__login {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__login:hover { color: var(--accent); }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* Mobile nav overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.nav__overlay.open { display: flex; }

.nav__overlay .nav__link {
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  opacity: 0.8;
}

.nav__overlay .nav__link:hover { opacity: 1; }

.nav__overlay .nav__cta {
  font-size: 1rem;
  padding: 0.875rem 2rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 500;
  border-radius: 6px;
  transition: transform 0.15s var(--ease-spring), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

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

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

.btn--primary {
  padding: 0.875rem 1.875rem;
  background: var(--accent);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--ghost {
  padding: 0.875rem 1.875rem;
  background: transparent;
  color: var(--white);
  font-size: var(--text-sm);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.btn--ghost-dark {
  padding: 0.875rem 1.875rem;
  background: transparent;
  color: var(--black);
  font-size: var(--text-sm);
  border: 1px solid rgba(12,12,12,0.2);
}

.btn--ghost-dark:hover {
  border-color: rgba(12,12,12,0.5);
  transform: translateY(-1px);
}

.btn--arrow::after {
  content: '→';
  transition: transform 0.2s var(--ease-out);
}

.btn--arrow:hover::after { transform: translateX(4px); }

/* ── Animation System ─────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--ease-out),
              transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

[data-animate="slide-left"]  { transform: translateX(-50px) translateY(0); }
[data-animate="slide-right"] { transform: translateX(50px) translateY(0); }
[data-animate="fade"]        { transform: none; }
[data-animate="scale-up"]    { transform: scale(0.94); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero animations (load-triggered, not scroll) */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes gradientPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--black);
  overflow: hidden;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Subtle grid overlay */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Warm radial glow */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% -10%, rgba(196,149,58,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 100%, rgba(196,149,58,0.05) 0%, transparent 55%);
  animation: gradientPulse 8s ease-in-out infinite;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
  padding-top: 10rem;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease-out) 0.3s forwards;
}

.hero__label-line {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 2rem;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: block;
  opacity: 0;
  animation: heroReveal 1s var(--ease-out) forwards;
}

.hero__title .line:nth-child(1) span { animation-delay: 0.5s; }
.hero__title .line:nth-child(2) span { animation-delay: 0.65s; }
.hero__title .line:nth-child(3) span { animation-delay: 0.8s; }

.hero__sub {
  font-size: var(--text-subhead);
  font-weight: 300;
  color: var(--text-muted-light);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease-out) 1.1s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: heroFadeIn 0.8s var(--ease-out) 1.3s forwards;
}

.hero__divider {
  color: var(--text-muted-light);
  font-size: var(--text-xs);
}

/* ── Stat Bar ─────────────────────────────────────────────── */
.stat-bar {
  background: var(--dark-card);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}

.stat-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.stat-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.stat-bar__item + .stat-bar__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-dark);
}

.stat-bar__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-bar__label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-top: 0.4rem;
}

.stat-bar__sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  margin-top: 0.2rem;
}

/* ── Statement Section ────────────────────────────────────── */
.statement {
  background: var(--cream);
  padding: clamp(6rem, 12vw, 11rem) 0;
  text-align: center;
}

.statement__quote {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--black);
  max-width: 26ch;
  margin: 0 auto 2rem;
}

.statement__accent {
  color: var(--accent);
  font-style: normal;
}

.statement__attribution {
  font-size: var(--text-sm);
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

/* ── Problem Section ──────────────────────────────────────── */
.problem {
  background: var(--white);
}

.problem__header {
  margin-bottom: 4rem;
  max-width: 56ch;
}

.problem__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.problem__body {
  font-size: var(--text-subhead);
  color: var(--gray-700);
  line-height: 1.65;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.problem__item {
  padding: 2rem 1.875rem;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.25s;
}

.problem__item:hover { background: var(--cream); }

.problem__item:nth-child(3n) { border-right: none; }
.problem__item:nth-last-child(-n+3) { border-bottom: none; }

.problem__item-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.problem__item-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.problem__item-text {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.6;
}

/* ── The 6 Wounds ─────────────────────────────────────────── */
.wounds {
  background: var(--cream);
}

.wounds__header {
  margin-bottom: 4rem;
  max-width: 48ch;
}

.wounds__subtitle {
  font-size: var(--text-subhead);
  color: var(--gray-700);
  margin-top: 1rem;
  line-height: 1.6;
}

.wounds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--gray-300);
  border-radius: 12px;
  overflow: hidden;
}

.wound-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  transition: background 0.3s, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.wound-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.wound-card:hover { background: #F0EDE6; }
.wound-card:hover::before { opacity: 1; }

.wound-card__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--gray-300);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.05em;
  transition: color 0.3s;
}

.wound-card:hover .wound-card__number { color: var(--accent); }

.wound-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.625rem;
}

.wound-card__text {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.65;
}

/* ── Waypoint Method ──────────────────────────────────────── */
.method-section {
  background: var(--black);
  color: var(--white);
}

.method-section__header {
  margin-bottom: 5rem;
  max-width: 52ch;
}

.method-section__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.method-section__sub {
  font-size: var(--text-subhead);
  color: var(--text-muted-light);
  line-height: 1.6;
}

.method-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.method-phases::before {
  content: '';
  position: absolute;
  top: 2.375rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-dark), var(--border-dark), transparent);
}

.phase {
  padding: 0 1.5rem;
  padding-top: 0;
  position: relative;
}

.phase__dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  z-index: 1;
}

.phase__dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-500);
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}

.phase:hover .phase__dot { border-color: var(--accent); }
.phase:hover .phase__dot-inner { background: var(--accent); transform: scale(1.3); }

.phase__num {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.phase__name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.phase__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 1rem;
}

.phase__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.phase__items {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.phase__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

.phase__item::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Results Section ──────────────────────────────────────── */
.results {
  background: var(--white);
  text-align: center;
}

.results__label {
  color: var(--accent);
  margin-bottom: 1rem;
}

.results__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.results__sub {
  font-size: var(--text-subhead);
  color: var(--gray-700);
  max-width: 52ch;
  margin: 0 auto 5rem;
  line-height: 1.6;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
}

.result-item {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--border-light);
  text-align: center;
  transition: background 0.3s;
}

.result-item:last-child { border-right: none; }
.result-item:hover { background: var(--cream); }

.result-item__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.result-item__accent { color: var(--accent); }

.result-item__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.375rem;
}

.result-item__detail {
  font-size: var(--text-xs);
  color: var(--gray-500);
  letter-spacing: 0.04em;
}

/* ── Services Section ─────────────────────────────────────── */
.services-section {
  background: var(--cream);
}

.services-section__header {
  margin-bottom: 4rem;
  max-width: 52ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(196,149,58,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card--featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.service-card--featured .service-card__tier,
.service-card--featured .service-card__desc { color: rgba(255,255,255,0.6); }

.service-card--featured .service-card__price { color: var(--accent); }

.service-card--featured .service-card__cta {
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.service-card--featured .service-card__cta:hover { border-color: var(--white); }

.service-card__tier {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.service-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 1rem;
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--gray-700);
}

.service-card__feature::before {
  content: '✓';
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.service-card--featured .service-card__feature { color: rgba(255,255,255,0.6); }

.service-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  color: var(--black);
  transition: border-color 0.2s, background 0.2s, transform 0.15s var(--ease-spring);
  text-align: center;
}

.service-card__cta:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.service-card__cta::after {
  content: '→';
  transition: transform 0.2s var(--ease-out);
}

.service-card__cta:hover::after { transform: translateX(3px); }

/* ── Final CTA ────────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  text-align: center;
  padding: clamp(7rem, 14vw, 12rem) 0;
}

.cta-section__label {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--white);
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}

.cta-section__sub {
  font-size: var(--text-subhead);
  color: var(--text-muted-light);
  max-width: 46ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section__note {
  margin-top: 1.5rem;
  font-size: var(--text-xs);
  color: var(--text-muted-light);
  letter-spacing: 0.05em;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid var(--border-dark);
  padding: 4rem 0 2.5rem;
}

.footer__inner {
  width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2rem;
}

.footer__brand {}

.footer__brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__brand-mark {
  color: var(--accent);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--text-muted-light);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.footer__contact {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__contact a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

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

.footer__col-title {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

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

/* Newsletter signup */
.footer__newsletter {
  border-top: 1px solid var(--border-dark);
  padding: 2.5rem 0 0;
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__newsletter-text {
  max-width: 420px;
}
.footer__newsletter-title {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-subhead);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer__newsletter-desc {
  font-size: var(--text-sm);
  color: var(--text-muted-light);
  line-height: 1.6;
}
.footer__newsletter-form {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}
@media (max-width: 768px) {
  .footer__newsletter {
    flex-direction: column;
  }
  .footer__newsletter-form {
    max-width: 100%;
    width: 100%;
  }
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% -5%, rgba(196,149,58,0.08) 0%, transparent 60%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2rem);
}

.page-hero__label {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  max-width: 20ch;
  margin-bottom: 1.5rem;
}

.page-hero__sub {
  font-size: var(--text-subhead);
  color: var(--text-muted-light);
  max-width: 52ch;
  line-height: 1.6;
}

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem 0;
}

/* ── Section Header Helper ────────────────────────────────── */
.section-header {
  margin-bottom: 4rem;
}

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

.section-header--center .divider {
  margin: 1.5rem auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-sub {
  font-size: var(--text-subhead);
  color: var(--gray-700);
  max-width: 56ch;
  line-height: 1.6;
}

.section--dark .section-sub { color: var(--text-muted-light); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .wounds__grid  { grid-template-columns: repeat(2, 1fr); }
  .method-phases { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .method-phases::before { display: none; }
  .phase { padding: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta, .nav__login { display: none; }
  .nav__hamburger { display: flex; }

  .stat-bar__inner { grid-template-columns: 1fr; gap: 2rem; }
  .stat-bar__item::before { display: none; }

  .results__grid { grid-template-columns: 1fr; }
  .result-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .result-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .wounds__grid  { grid-template-columns: 1fr; }
  .method-phases { grid-template-columns: 1fr; }

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

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

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

/* ── Accessibility ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__title .line span,
  .hero__label,
  .hero__sub,
  .hero__actions {
    opacity: 1;
    animation: none;
  }
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-500); }

/* ── Digital Products Section ─────────────────────────────── */
.dp-section { background: var(--cream); }

.dp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.dp-card {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}

.dp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border-color: rgba(196,149,58,0.3);
}

.dp-card--coming-soon {
  opacity: 0.65;
  cursor: default;
  pointer-events: none;
}

.dp-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
}

.dp-card__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.25rem 0.625rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.dp-card__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.625rem;
}

.dp-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.dp-card__desc {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-muted-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.75rem;
}

.dp-card__cta {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s var(--ease-out);
}

.dp-card:hover .dp-card__cta { gap: 0.625rem; }

.dp-section__footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* Digital Products full page */
.dp-hero { background: var(--black); }

.dp-products { display: flex; flex-direction: column; gap: 0; }

.dp-product {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.dp-product:last-child { border-bottom: none; }

.dp-product--dark {
  background: var(--dark);
  border-bottom-color: var(--border-dark);
}

.dp-product__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.dp-product--reverse .dp-product__inner {
  direction: rtl;
}

.dp-product--reverse .dp-product__inner > * {
  direction: ltr;
}

.dp-product__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.dp-product__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.dp-product__desc {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.dp-product__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.dp-product__features li {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
}

.dp-product__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.dp-product__visual {
  border-radius: 16px;
  background: var(--dark-card);
  border: 1px solid var(--border-dark);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
  justify-content: center;
}

.dp-product--dark .dp-product__visual {
  background: rgba(255,255,255,0.04);
}

.dp-product__visual-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.dp-product__visual-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
}

.dp-product__visual-items {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.dp-product__visual-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-muted-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dp-product__visual-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

.dp-membership {
  background: var(--black);
  padding: 7rem 0;
  text-align: center;
}

.dp-membership__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.dp-membership__title em {
  font-style: italic;
  color: var(--accent);
}

.dp-membership__sub {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  color: var(--text-muted-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.dp-membership__includes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.dp-membership__tag {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-muted-light);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 0.5rem 1.125rem;
}

@media (max-width: 768px) {
  .dp-grid { grid-template-columns: 1fr; }
  .dp-product__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .dp-product--reverse .dp-product__inner { direction: ltr; }
}

/* ── Tools Section ───────────────────────────────────────── */

/* Tools landing page hero */
.tools-hero {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: clamp(10rem, 16vw, 14rem) 0 clamp(5rem, 10vw, 8rem);
}

.tools-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%, rgba(196,149,58,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(196,149,58,0.06) 0%, transparent 50%);
}

.tools-hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.tools-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.tools-hero__sub {
  font-size: var(--text-subhead);
  color: var(--text-muted-light);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.tools-hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.tools-hero__stat {
  text-align: center;
}

.tools-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.tools-hero__stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-light);
  margin-top: 0.375rem;
}

/* Free tools showcase */
.tools-free {
  background: var(--cream);
}

.tools-free__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: 3rem;
}

.free-tool-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  text-decoration: none;
  color: inherit;
}

.free-tool-card:hover {
  border-color: rgba(196,149,58,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.free-tool-card__badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0D7A4E;
  background: rgba(13,122,78,0.08);
  border-radius: 4px;
  padding: 0.25rem 0.625rem;
  width: fit-content;
  margin-bottom: 1rem;
}

.free-tool-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.free-tool-card__desc {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.free-tool-card__type {
  font-size: var(--text-xs);
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.free-tool-card__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s var(--ease-out);
}

.free-tool-card:hover .free-tool-card__cta { gap: 0.625rem; }

/* Suites overview grid */
.tools-suites {
  background: var(--white);
}

.tools-suites__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: 3rem;
}

a.suite-card { text-decoration: none; color: inherit; }

.suite-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.suite-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.suite-card:hover {
  border-color: rgba(196,149,58,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.suite-card:hover::before { transform: scaleX(1); }

.suite-card__num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.suite-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  margin-bottom: 0.375rem;
  line-height: 1.2;
}

.suite-card__tagline {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.suite-card__count {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.suite-card__tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  margin-bottom: 1.5rem;
}

.suite-card__tool {
  font-size: var(--text-sm);
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.suite-card__tool::before {
  content: '▸';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 600;
}

.suite-card__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s var(--ease-out);
  margin-top: auto;
}

.suite-card:hover .suite-card__cta { gap: 0.625rem; }

/* Tools value proposition / math section */
.tools-math {
  background: var(--black);
  color: var(--white);
}

.tools-math__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.tools-math__card {
  background: rgba(196,149,58,0.08);
  border: 1px solid rgba(196,149,58,0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.tools-math__card p {
  font-size: var(--text-body);
  color: var(--text-muted-light);
  line-height: 1.6;
}

.tools-math__card strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
  margin-top: 0.375rem;
}

/* Bonus tools bar */
.tools-bonus {
  background: var(--cream);
}

.tools-bonus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.tools-bonus__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
}

.tools-bonus__item::before {
  content: '\2713';
  color: #0D7A4E;
  font-weight: 700;
  flex-shrink: 0;
}

/* Tools library page (premium-tools.html / free-tools.html) */
.tools-library {
  background: var(--white);
  padding-bottom: var(--section-pad);
}

.tools-library__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tools-library__search {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8680' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.75rem center;
  outline: none;
  transition: border-color 0.2s;
}

.tools-library__search:focus { border-color: var(--accent); }

.tools-library__count {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

#tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap-md);
}

/* Individual tool card in library */
.tool-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.tool-card:hover {
  border-color: rgba(196,149,58,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tool-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.tool-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.tool-card__header-num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--gray-300);
}

.tool-card__header-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.tool-card__header-badge--premium {
  color: var(--accent);
  background: var(--accent-dim);
}

.tool-card__header-badge--free {
  color: #0D7A4E;
  background: rgba(13,122,78,0.08);
}

.tool-card__header-badge--bonus {
  color: var(--gray-700);
  background: var(--gray-100);
}

.tool-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tool-card__suite {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.tool-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.tool-card__type {
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.tool-card__excerpt {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.6;
  flex: 1;
}

.tool-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-card__cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Suite filter pills on tools pages */
.tools-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tools-filter-pill {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tools-filter-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tools-filter-pill.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* FAQ accordion (tools landing) */
.tools-faq {
  background: var(--cream);
}

.tools-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
  margin: 3rem auto 0;
}

.tools-accordion__item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.tools-accordion__item:hover { border-color: rgba(196,149,58,0.3); }

.tools-accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.tools-accordion__header:hover { background: var(--gray-100); }

.tools-accordion__header h4 {
  font-family: var(--font-ui);
  font-size: var(--text-body);
  font-weight: 600;
}

.tools-accordion__toggle {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.tools-accordion__item.active .tools-accordion__toggle {
  transform: rotate(45deg);
}

.tools-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.35s;
  padding: 0 1.5rem;
}

.tools-accordion__item.active .tools-accordion__content {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.tools-accordion__content p {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.7;
}

/* Responsive — tools */
@media (max-width: 1024px) {
  .tools-suites__grid { grid-template-columns: repeat(2, 1fr); }
  .tools-free__grid   { grid-template-columns: repeat(2, 1fr); }
  .tools-math__grid   { grid-template-columns: repeat(2, 1fr); }
  .tools-hero__stats  { gap: 2rem; }
}

@media (max-width: 768px) {
  .tools-suites__grid  { grid-template-columns: 1fr; }
  .tools-free__grid    { grid-template-columns: 1fr; }
  .tools-math__grid    { grid-template-columns: 1fr; }
  .tools-hero__stats   { flex-direction: column; gap: 1.5rem; }
  #tools-grid          { grid-template-columns: 1fr; }
  .tools-filter-pills  { justify-content: center; }
}
