/* ============================================================
   CALIBRATE HEALTH — Design System
   Always-dark theme: black → coffee/red gradient
   ============================================================ */

:root {
  /* Brand */
  --color-accent: #8B3A2A;
  --color-accent-hover: #A34832;
  --color-accent-light: rgba(139, 58, 42, 0.15);
  --color-accent-glow: rgba(139, 58, 42, 0.25);
  --color-gold: #C9A84C;
  --color-warm-grey: #B8A99A;

  /* Dark surfaces */
  --color-bg-deep: #0A0A0A;
  --color-bg: #111111;
  --color-bg-elevated: #1A1A1A;
  --color-bg-card: #161616;
  --color-bg-card-hover: #1E1E1E;

  /* Text on dark */
  --color-text-primary: #F0F0F0;
  --color-text-secondary: #A0A0A0;
  --color-text-tertiary: #666666;
  --color-text-accent: #C9806F;

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(255, 255, 255, 0.05);
  --color-border-accent: rgba(139, 58, 42, 0.3);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 2vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

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

  /* Layout */
  --container-max: 1140px;
  --container-narrow: 800px;
  --container-padding: 1.5rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);

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


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

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

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-deep);
  /* Global gradient that goes from deep black to a subtle coffee/red */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(139, 58, 42, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 58, 42, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

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

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

ul, ol {
  list-style: none;
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: var(--lh-tight);
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
}

h4 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

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


/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--glow {
  /* Adds a subtle accent glow behind the section */
}

.section--glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-light), transparent);
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

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

.nav__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}


/* --- Hero Section --- */
.hero {
  padding: calc(var(--space-5xl) + 72px) 0 var(--space-5xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 58, 42, 0.2), transparent 70%);
  pointer-events: none;
}

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

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
  background: rgba(139, 58, 42, 0.1);
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  border: 1px solid rgba(139, 58, 42, 0.2);
}

.hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero__title span {
  color: var(--color-text-accent);
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero__image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero__image img {
  width: 380px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139, 58, 42, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.btn--lg {
  padding: 16px 40px;
  font-size: var(--fs-body);
}

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


/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
  background: var(--color-bg-card-hover);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-text-accent);
  font-size: 1.25rem;
}

.card__title {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card__text {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}

/* Accent-bordered card */
.card--accent {
  border-left: 3px solid var(--color-accent);
}

.card--muted {
  border-left: 3px solid var(--color-border);
}


/* --- Grids --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }


/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

.section-header__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__text {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
}


/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat__number {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  color: var(--color-text-accent);
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* --- Timeline / Steps --- */
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step__marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step__line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  margin-top: var(--space-sm);
}

.step:last-child .step__line {
  display: none;
}

.step__content {
  padding-top: var(--space-sm);
}

.step__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.step__text {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}


/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-primary);
  font-size: var(--fs-body-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
  gap: var(--space-lg);
}

.faq-question:hover {
  color: var(--color-text-accent);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-tertiary);
  border-radius: 1px;
  transition: transform var(--transition-base);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer__inner {
  padding-bottom: var(--space-xl);
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
}


/* --- Profile (about page) --- */
.profile {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.profile__image {
  position: relative;
}

.profile__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.profile__image::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.25;
}

.profile__details h2 {
  margin-bottom: var(--space-md);
}

.profile__title-role {
  font-size: var(--fs-body-lg);
  color: var(--color-text-accent);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-xl);
}

.profile__bio {
  margin-bottom: var(--space-2xl);
}

.profile__bio p {
  margin-bottom: var(--space-md);
  line-height: var(--lh-relaxed);
}

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

.credential {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.credential__dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  margin-top: 8px;
  flex-shrink: 0;
}

.credential__text {
  font-size: var(--fs-body);
  color: var(--color-text-secondary);
}


/* --- Page Header (inner pages) --- */
.page-header {
  padding: calc(72px + var(--space-4xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 80%, rgba(139, 58, 42, 0.1), transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  position: relative;
  z-index: 1;
}

.page-header p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
  max-width: 600px;
  margin-top: var(--space-md);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  color: var(--color-text-tertiary);
}

.page-header .breadcrumb a:hover {
  color: var(--color-text-primary);
}

.breadcrumb__sep {
  margin: 0 var(--space-xs);
  opacity: 0.5;
}


/* --- Methodology pillars --- */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.pillar:last-child {
  border-bottom: none;
}

.pillar--reverse {
  direction: rtl;
}

.pillar--reverse > * {
  direction: ltr;
}

.pillar__visual {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.pillar__visual-icon {
  font-size: 4rem;
  opacity: 0.8;
}

.pillar__content h3 {
  margin-bottom: var(--space-md);
}

.pillar__content p {
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.pillar__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-text-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}


/* --- CTA --- */
.cta {
  text-align: center;
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 58, 42, 0.18), transparent 70%);
  pointer-events: none;
}

.cta h2 {
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta p {
  color: var(--color-text-secondary);
  font-size: var(--fs-body-lg);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta .btn {
  position: relative;
  z-index: 1;
}


/* --- Footer --- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-lg);
}

.footer__brand p {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  max-width: 320px;
  line-height: var(--lh-relaxed);
}

.footer__heading {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-tertiary);
}

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

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-tertiary);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-accent);
  color: #fff;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}


/* --- Divider line with glow --- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-accent), transparent);
  border: none;
  margin: 0;
}


/* --- Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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


/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__subtitle {
    margin: 0 auto var(--space-2xl);
  }

  .hero__image img {
    width: 300px;
    height: 300px;
  }

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

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

  .profile {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .profile__image {
    max-width: 320px;
    margin: 0 auto;
  }

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

  .pillar--reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
    gap: var(--space-lg);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

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

  .step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-md);
  }

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

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

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

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

  .hero {
    padding: calc(var(--space-3xl) + 72px) 0 var(--space-3xl);
  }

  .hero__image img {
    width: 240px;
    height: 240px;
  }
}


/* --- Disclaimer --- */
.disclaimer {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--container-padding);
  text-align: center;
}

.disclaimer p {
  font-size: var(--fs-xs);
  color: #888;
  line-height: var(--lh-relaxed);
}


/* --- Diagnostic Table --- */
.diagnostic-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-xl);
}

.diagnostic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  min-width: 640px;
}

.diagnostic-table thead tr {
  background: var(--color-accent);
}

.diagnostic-table th {
  color: #fff;
  font-weight: var(--fw-semibold);
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  white-space: nowrap;
}

.diagnostic-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--lh-normal);
  border-bottom: 1px solid var(--color-border);
}

.diagnostic-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.diagnostic-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.15);
}

.diagnostic-table td:first-child {
  color: var(--color-text-primary);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}


/* --- Content Card (YouTube/IG) --- */
.content-card {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-2xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.content-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-border-accent);
  background: var(--color-bg-card-hover);
  color: inherit;
}

.content-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-accent);
}

.content-card__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.content-card__text h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-xs);
  color: var(--color-text-primary);
}

.content-card__text p {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-sm);
}

.content-card__link {
  font-size: var(--fs-small);
  color: var(--color-text-accent);
  font-weight: var(--fw-medium);
}

@media (max-width: 768px) {
  .content-card {
    flex-direction: column;
    gap: var(--space-md);
  }
}
