/* style.css — Time Vitality Design System
   Art direction: warm editorial, restrained, no gradients or neon —
   matches the real, verified palette/type already live across
   drshivgoel.com, healingthesplit.com, and primevitalitycare.com.
   Palette: warm cream ground, gold-to-amber accent (the one constant
   across every real property), deep emerald as the distinct 4th tone.
   Typography: Fraunces (display, from drshivgoel.com) + Inter (body/UI,
   the one font shared by every real property). */

/* ================================================
   CUSTOM PROPERTIES
   ================================================ */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --glow-opacity {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

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

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --color-bg:             #FAF8F3;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F2ECDE;
  --color-surface-offset: #EDE5D3;
  --color-surface-offset-2: #E6DCC6;
  --color-surface-dynamic: #F5F0E5;
  --color-divider:        rgba(20, 20, 20, 0.08);
  --color-border:         rgba(20, 20, 20, 0.12);

  --color-text:           #171A1F;
  --color-text-muted:     #5B5648;
  --color-text-faint:     #8C8676;
  --color-text-inverse:   #FAF8F3;

  --color-primary:         #C1421C;
  --color-primary-hover:   #A6350F;
  --color-primary-active:  #8A2B0D;
  --color-primary-highlight: rgba(193, 66, 28, 0.10);

  --color-violet:          #1B4332;
  --color-violet-hover:    #24543F;
  --color-violet-active:   #143627;

  --color-amber:           #C2701C;
  --color-amber-hover:     #A85A15;

  --color-error:           #8C2F22;
  --color-success:         #1B4332;
  --color-warning:         #B4883A;

  --gradient-accent: #C1421C;
  --gradient-teal-violet: #C1421C;
  --gradient-text: #C1421C;

  --glass-bg: rgba(23, 26, 31, 0.03);
  --glass-bg-hover: rgba(23, 26, 31, 0.055);
  --glass-border: rgba(23, 26, 31, 0.09);
  --glass-blur: blur(14px);

  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.625rem;
  --radius-2xl: 0.875rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 3px rgba(23, 26, 31, 0.10);
  --shadow-md: 0 6px 20px rgba(23, 26, 31, 0.12);
  --shadow-lg: 0 16px 40px rgba(23, 26, 31, 0.16);
  --shadow-glow-teal: 0 2px 14px rgba(193, 66, 28, 0.18);
  --shadow-glow-violet: 0 2px 14px rgba(27, 67, 50, 0.14);

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-display);
}

p, li, figcaption {
  text-wrap: pretty;
}

::selection {
  background: rgba(180, 136, 58, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

a, button, [role="button"], [role="link"], input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

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

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

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes spin-gradient {
  to { --gradient-angle: 360deg; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes fade-in-up {
  from { opacity: 0; clip-path: inset(20% 0 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes counter-fill {
  from { transform: scaleX(0); }
}

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

/* ================================================
   SCROLL REVEAL ANIMATIONS
   ================================================ */
.reveal[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal[data-reveal].revealed {
  opacity: 1;
}

.reveal-clip[data-reveal] {
  opacity: 0;
  clip-path: inset(8% 0 0 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-clip[data-reveal].revealed {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.stagger-children[data-reveal].revealed > * {
  opacity: 0;
  animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.stagger-children[data-reveal].revealed > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children[data-reveal].revealed > *:nth-child(2) { animation-delay: 80ms; }
.stagger-children[data-reveal].revealed > *:nth-child(3) { animation-delay: 160ms; }
.stagger-children[data-reveal].revealed > *:nth-child(4) { animation-delay: 240ms; }
.stagger-children[data-reveal].revealed > *:nth-child(5) { animation-delay: 320ms; }
.stagger-children[data-reveal].revealed > *:nth-child(6) { animation-delay: 400ms; }
.stagger-children[data-reveal].revealed > *:nth-child(7) { animation-delay: 480ms; }
.stagger-children[data-reveal].revealed > *:nth-child(8) { animation-delay: 560ms; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

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

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

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

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================
   SECTION HEADING
   ================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 640px;
}

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

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  background: rgba(250, 248, 243, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--color-divider);
  background: rgba(250, 248, 243, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a.active {
  color: var(--color-text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--gradient-teal-violet);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--gradient-teal-violet);
  color: #fff !important;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-teal);
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    padding: var(--space-16) var(--space-6) var(--space-6);
    background: var(--color-surface);
    opacity: 1;
    border-left: 1px solid var(--color-divider);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%) translateZ(0);
    -webkit-transform: translateX(100%) translateZ(0);
    will-change: transform;
    isolation: isolate;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
  }

  .nav-links.open {
    transform: translateX(0) translateZ(0);
    -webkit-transform: translateX(0) translateZ(0);
  }

  .nav-links a {
    font-size: var(--text-base);
    padding: var(--space-3) 0;
    display: block;
    width: 100%;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: var(--space-4);
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: var(--space-3) var(--space-5);
  }
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(23, 26, 31, 0.28);
  z-index: 150;
}

.nav-scrim.open {
  display: block;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive),
              background var(--transition-interactive),
              color var(--transition-interactive),
              border-color var(--transition-interactive);
}

.btn:active {
  transform: translateY(0) !important;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-md {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--text-sm);
}

.btn-primary {
  background: var(--gradient-teal-violet);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(180, 136, 58, 0.3);
  color: #fff;
}

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

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--color-text-faint);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  background: var(--color-primary-highlight);
}

/* ================================================
   CARDS
   ================================================ */
.card {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.card-glass {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

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

.card-gradient {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.card-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: rgba(180, 136, 58, 0.25);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ================================================
   PAGE HERO (About / Blog / Article — non-home pages)
   ================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--space-16) + var(--space-16));
  padding-bottom: var(--space-12);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-default);
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.page-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.page-lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.6;
}

.page-hero-inner--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
  max-width: var(--content-wide);
}

.page-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) {
  .page-hero-inner--split {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    order: -1;
    margin-bottom: var(--space-4);
  }
}

/* ================================================
   THESIS MAP — the ecosystem, as a diagram, in
   the partners-page hero.
   ================================================ */
.thesis-map {
  width: 100%;
  max-width: 360px;
}

.thesis-map-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.thesis-map-line {
  stroke: var(--color-border);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: thesis-map-flow 1.4s linear infinite;
}

@keyframes thesis-map-flow {
  to { stroke-dashoffset: -24; }
}

.thesis-map-node {
  fill: var(--color-surface);
  stroke: var(--color-border);
  stroke-width: 1.5;
}

.thesis-map-node--center {
  fill: var(--color-primary-highlight);
  stroke: var(--color-primary);
  stroke-width: 2;
}

.thesis-map-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  fill: var(--color-text-muted);
}

.thesis-map-label--center {
  font-size: 14px;
  font-weight: 700;
  fill: var(--color-primary);
}

.thesis-map-caption {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .thesis-map-line {
    animation: none;
  }
}

/* ================================================
   BLOG HERO STACK — a gently floating fan of real
   article covers, in the blog-page hero.
   ================================================ */
.blog-hero-stack {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
}

.blog-hero-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-divider);
}

.blog-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-hero-card--1 {
  z-index: 1;
  animation: blog-card-float-1 6s ease-in-out infinite;
}

.blog-hero-card--2 {
  z-index: 2;
  animation: blog-card-float-2 7s ease-in-out infinite;
}

.blog-hero-card--3 {
  z-index: 3;
  animation: blog-card-float-3 5.5s ease-in-out infinite;
}

@keyframes blog-card-float-1 {
  0%, 100% { transform: rotate(-6deg) translate(-18px, 6px); }
  50%      { transform: rotate(-6deg) translate(-18px, -4px); }
}

@keyframes blog-card-float-2 {
  0%, 100% { transform: rotate(3deg) translate(14px, -10px); }
  50%      { transform: rotate(3deg) translate(14px, -20px); }
}

@keyframes blog-card-float-3 {
  0%, 100% { transform: rotate(-2deg) translate(-4px, -22px); }
  50%      { transform: rotate(-2deg) translate(-4px, -30px); }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero-card--1, .blog-hero-card--2, .blog-hero-card--3 {
    animation: none;
  }
  .blog-hero-card--1 { transform: rotate(-6deg) translate(-18px, 6px); }
  .blog-hero-card--2 { transform: rotate(3deg) translate(14px, -10px); }
  .blog-hero-card--3 { transform: rotate(-2deg) translate(-4px, -22px); }
}

/* ================================================
   HERO SECTION (Home)
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--space-16) + var(--space-8));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-surface-2);
  opacity: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  opacity: 0.4;
}

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

.hero-content {
  max-width: 600px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.hero-headline .gradient-text {
  font-style: italic;
  font-weight: 500;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

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

.hero-learn-more {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.hero-learn-more:hover {
  color: var(--color-text);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

  .hero-content {
    max-width: none;
  }

  .hero-sub {
    max-width: none;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }
}

/* ================================================
   HERO PRODUCT PREVIEW — a real screenshot of what
   the assessment produces, not an abstract metaphor.
   ================================================ */
.hero-preview-card {
  width: 100%;
  max-width: 380px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
}

.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.hero-preview-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.hero-preview-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
  background: var(--color-surface-2);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.hero-preview-ring-container {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto var(--space-6);
}

.hero-preview-ring-svg {
  width: 100%;
  height: 100%;
}

.hero-preview-ring-bg {
  fill: none;
  stroke: rgba(23, 26, 31, 0.07);
  stroke-width: 5;
}

.hero-preview-ring-fill {
  fill: none;
  stroke: url(#heroPreviewGradient);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 96;
  transform: rotate(-90deg);
  transform-origin: center;
}

.hero-preview-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-preview-score {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
}

.hero-preview-qual {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-preview-dims {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-preview-dim {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-2);
  align-items: baseline;
}

.hero-preview-dim-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.hero-preview-dim-score {
  font-size: var(--text-xs);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
}

.hero-preview-dim-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(23, 26, 31, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.hero-preview-dim-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.hero-preview-caption {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ================================================
   TRUST STRIP — quiet, honest anchors directly
   under the hero. No number here that can't be
   sourced back to a real credential or byline.
   ================================================ */
.trust-strip {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
  padding: var(--space-5) 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .trust-strip-inner {
    gap: var(--space-4) var(--space-6);
  }

  .trust-item {
    white-space: normal;
  }
}

/* ================================================
   BIOGRAPHY LINE — conceptual centerpiece, its own
   section. One shared path forks into two trajectories:
   sustained rhythm, or one that flattens. A live third
   path is reshaped in real time by the slider.
   ================================================ */
.bio-line-wrap {
  display: flex;
  justify-content: center;
}
.bio-line {
  width: 100%;
  max-width: 620px;
}

.bio-line-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.bio-line-svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.bio-line-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out-expo);
}

.bio-line.drawn .bio-line-path {
  stroke-dashoffset: 0;
}

.bio-line-trunk {
  stroke: var(--color-text-faint);
  stroke-width: 2;
  opacity: 0.7;
}

.bio-line-branch-slow {
  stroke: url(#bioLineSlowGrad);
  stroke-width: 1.5;
  opacity: 0.35;
  transition-delay: 0.3s;
}

.bio-line-branch-fast {
  stroke: url(#bioLineFastGrad);
  stroke-width: 1.5;
  opacity: 0.35;
  transition-delay: 0.3s;
}

.bio-line-live {
  stroke: url(#bioLineLiveGrad);
  stroke-width: 3;
  filter: drop-shadow(0 0 6px rgba(180, 136, 58, 0.35));
  transition: stroke-dashoffset 1.4s var(--ease-out-expo), d 0.5s ease;
  transition-delay: 0.9s;
}

.bio-line-marker {
  r: 5;
  fill: #fff;
  filter: drop-shadow(0 0 6px rgba(250, 248, 243, 0.9));
  opacity: 0;
  transition: opacity 0.6s ease 1.6s;
}

.bio-line.drawn .bio-line-marker {
  opacity: 1;
}

.bio-line-origin {
  fill: var(--color-primary);
  opacity: 0;
  animation: soft-pulse 2.4s ease-in-out infinite;
  transition: opacity 0.6s ease;
}

.bio-line.drawn .bio-line-origin {
  opacity: 1;
}

.bio-line-endlabel {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.04em;
  fill: var(--color-text-faint);
  opacity: 0;
  transition: opacity 0.6s ease 1.2s;
}

.bio-line.drawn .bio-line-endlabel {
  opacity: 1;
}

.bio-line-caption {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

.bio-line-caption strong {
  color: var(--color-text);
  font-weight: 600;
}

.bio-line-panel {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.bio-line-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.bio-line-readout-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: color 0.3s ease;
}

.bio-line-readout-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.bio-line-slider-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.bio-line-slider-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-text-faint);
}

.bio-line-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #5B8A68, #B4883A 50%, #8C2F22);
  outline: none;
}

.bio-line-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 1px rgba(23, 26, 31, 0.30), 0 2px 8px rgba(23, 26, 31, 0.35);
  cursor: pointer;
}

.bio-line-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 1px rgba(23, 26, 31, 0.30), 0 2px 8px rgba(23, 26, 31, 0.35);
  cursor: pointer;
}

.bio-line-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

@media (prefers-reduced-motion: reduce) {
  .bio-line-path,
  .bio-line-live,
  .bio-line-marker,
  .bio-line-origin,
  .bio-line-endlabel {
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   LIVE BIOLOGICAL CLOCK
   ================================================ */
.bio-clock {
  position: relative;
  width: 340px;
  height: 340px;
}

.bio-clock-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from var(--gradient-angle), #B4883A, #1B4332, #1B4332, #B8532F, #B4883A);
  animation: spin-gradient 8s linear infinite;
  opacity: 0.18;
  filter: blur(36px);
}

.bio-clock-dial {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 1;
  background: conic-gradient(
    from 0deg,
    #8C6828 0deg 45deg,
    #143627 45deg 90deg,
    #1B4332 90deg 135deg,
    #B4883A 135deg 180deg,
    #5B8A68 180deg 225deg,
    #B8532F 225deg 270deg,
    #C4703F 270deg 315deg,
    #1B4332 315deg 360deg
  );
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.bio-clock-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-clock-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 46%;
  margin-left: -1.5px;
  transform-origin: top center;
  transform: translateY(0) rotate(var(--clock-angle, 0deg));
  background: linear-gradient(to bottom, #fff, rgba(250, 248, 243, 0));
  border-radius: var(--radius-full);
  transition: transform 1s linear;
}

.bio-clock-hand::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(250, 248, 243, 0.9);
  animation: soft-pulse 2.4s ease-in-out infinite;
}

.bio-clock-center {
  text-align: center;
  z-index: 2;
  padding: var(--space-6);
}

.bio-clock-time {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.bio-clock-phase {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
}

.bio-clock-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 190px;
  margin-inline: auto;
}

.bio-clock-caption {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  max-width: 320px;
  margin-inline: auto;
}

.bio-clock-caption a {
  color: var(--color-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .bio-clock {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }
}

/* Phase legend strip used on About/Science section */
.phase-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.phase-chip {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--phase-color, var(--color-primary));
}

.phase-chip-time {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}

.phase-chip-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.phase-chip-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .phase-legend { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .phase-legend { grid-template-columns: 1fr; }
}

/* ================================================
   PROBLEM SECTION
   ================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  margin-bottom: var(--space-12);
}

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

.problem-card .card-icon {
  background: rgba(140, 47, 34, 0.08);
  color: #8C2F22;
}

.testimonial-block {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-10);
  margin-top: var(--space-8);
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}

.testimonial-text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .testimonial-block {
    padding: var(--space-6);
  }
}

/* ================================================
   SOLUTION SECTION
   ================================================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.solution-card {
  padding: var(--space-8);
}

.solution-card .stat-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

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

/* ================================================
   SCIENCE SECTION
   ================================================ */
.science-section {
  position: relative;
  overflow: hidden;
}

.science-bg {
  position: absolute;
  inset: 0;
  background: var(--color-surface-2);
  opacity: 0.5;
}

.science-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  opacity: 0.3;
}

.science-content {
  position: relative;
  z-index: 2;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.dimension-card {
  text-align: center;
  padding: var(--space-6);
}

.dimension-card .card-icon {
  margin: 0 auto var(--space-4);
}

.dimension-weight {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.dimension-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.dimension-bar {
  width: 100%;
  height: 4px;
  background: rgba(23, 26, 31, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  overflow: hidden;
}

.dimension-bar-fill {
  height: 100%;
  background: var(--gradient-teal-violet);
  border-radius: var(--radius-full);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dimension-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

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

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

/* ================================================
   HOW IT WORKS (Steps)
   ================================================ */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + var(--space-3));
  right: calc(12.5% + var(--space-3));
  height: 1px;
  background: var(--color-border);
}

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

.steps-container--3col::before {
  left: calc(16.667% + var(--space-3));
  right: calc(16.667% + var(--space-3));
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .steps-container::before {
    display: none;
  }

  .step-card {
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: var(--space-4);
    align-items: start;
  }

  .step-number {
    margin: 0;
  }
}

.steps-cta {
  text-align: center;
  margin-top: var(--space-10);
}

/* ================================================
   CONDITIONS SECTION
   ================================================ */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
  max-width: var(--content-default);
  margin-inline: auto;
}

.condition-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.condition-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}

.condition-icon svg {
  width: 20px;
  height: 20px;
}

.condition-text h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.condition-text p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

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

/* ================================================
   DEVICE INTEGRATION
   ================================================ */
.device-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  margin-top: var(--space-10);
  margin-bottom: var(--space-6);
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.device-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}

.device-icon svg {
  width: 28px;
  height: 28px;
}

.device-name {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* ================================================
   WHY NOW SECTION (replaces unverified stats/testimonials)
   ================================================ */
.why-now-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.why-now-card {
  padding: var(--space-8);
}

.why-now-card .card-icon {
  background: rgba(27, 67, 50, 0.08);
  color: var(--color-violet);
}

@media (max-width: 768px) {
  .why-now-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   ABOUT / BIO
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-10);
  align-items: start;
  margin-top: var(--space-10);
}

.about-photo {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient-teal-violet);
  z-index: 0;
}

.about-photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.about-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.about-title {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.about-bio {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 68ch;
}

.about-credentials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.about-credentials li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.about-credentials li svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
}

.about-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

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

  .about-bio {
    margin-inline: auto;
  }

  .about-credentials {
    justify-content: center;
  }

  .about-link {
    justify-content: center;
  }
}

/* ================================================
   FAQ ACCORDION
   ================================================ */
.faq-list {
  max-width: var(--content-default);
  margin: var(--space-10) auto 0;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition-interactive);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  position: relative;
  text-align: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(180, 136, 58, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.cta-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.cta-phone {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.cta-phone a {
  color: var(--color-text);
  font-weight: 500;
}

/* ================================================
   ECOSYSTEM SECTION
   ================================================ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.ecosystem-card {
  padding: var(--space-5);
  text-decoration: none;
  color: var(--color-text);
  display: block;
  transition: transform var(--transition-interactive),
              box-shadow var(--transition-interactive),
              border-color var(--transition-interactive);
}

.ecosystem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
  border-color: rgba(180, 136, 58, 0.2);
  color: var(--color-text);
}

.ecosystem-card h3 {
  font-size: var(--text-sm);
}

.ecosystem-card p {
  font-size: var(--text-xs);
}

.ecosystem-card--here {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

.ecosystem-here-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

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

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

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

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

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

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

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

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

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

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

/* ================================================
   ASSESSMENT SCREENS
   ================================================ */
.screen {
  display: none;
  min-height: 100vh;
}

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

.hidden {
  display: none !important;
}

#assessment-screen {
  flex-direction: column;
  padding: var(--space-16) var(--space-6) var(--space-8);
  background: var(--color-bg);
}

.assessment-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.assessment-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  max-width: 480px;
  margin: 0 auto var(--space-8);
}

.progress-segment {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.progress-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

.progress-bar {
  height: 3px;
  background: rgba(23, 26, 31, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: var(--gradient-teal-violet);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-container {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.question-container.fade-out {
  opacity: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.section-header .card-icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

.section-header .card-icon svg {
  width: 20px;
  height: 20px;
}

#questionCounter {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

#questionText {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-8);
  line-height: 1.3;
}

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

.answer-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive);
}

.answer-card:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(23, 26, 31, 0.14);
}

.answer-card.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}

.answer-dot {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--color-text-faint);
  position: relative;
  transition: border-color var(--transition-interactive);
}

.answer-card.selected .answer-dot {
  border-color: var(--color-primary);
}

.answer-card.selected .answer-dot::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.assessment-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-8);
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
}

.assessment-nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#calculating-screen {
  flex-direction: column;
  background: var(--color-bg);
}

.calc-ring-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: var(--space-8);
}

.calc-ring-svg {
  width: 100%;
  height: 100%;
}

.calc-ring-bg {
  fill: none;
  stroke: rgba(23, 26, 31, 0.07);
  stroke-width: 4;
}

.calc-ring-fill {
  fill: none;
  stroke: url(#calcGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transform: rotate(-90deg);
  transform-origin: center;
}

#calcText {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
}

#results-screen {
  flex-direction: column;
  padding: var(--space-16) var(--space-6) var(--space-12);
  background: var(--color-bg);
}

.results-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.results-ring-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto var(--space-6);
}

.results-ring-svg {
  width: 100%;
  height: 100%;
}

.results-ring-bg {
  fill: none;
  stroke: rgba(23, 26, 31, 0.07);
  stroke-width: 4;
}

.results-ring-fill {
  fill: none;
  stroke: url(#resultsGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transform: rotate(-90deg);
  transform-origin: center;
}

.results-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#resultsScore {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-text);
}

#resultsQual {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

#resultsQualBig {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.results-content {
  max-width: var(--content-wide);
  width: 100%;
  margin: 0 auto;
}

.results-section-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-6);
  text-align: center;
}

.dim-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.dim-result-card {
  text-align: center;
  padding: var(--space-5);
}

.dim-result-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.dim-result-score {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-3);
}

.dim-result-bar {
  width: 100%;
  height: 4px;
  background: rgba(23, 26, 31, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.dim-result-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dim-result-insight {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.insights-section {
  margin-bottom: var(--space-10);
}

#insightsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
}

.insight-card {
  padding: var(--space-5);
}

.insight-card h3 {
  font-size: var(--text-base);
}

.insight-card p {
  margin-bottom: var(--space-4);
}

.results-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

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

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

/* ================================================
   LEAD MODAL
   ================================================ */
#lead-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(23, 26, 31, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

#lead-modal.active {
  display: flex;
}

.modal-content {
  background: var(--color-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 480px;
  width: 100%;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.modal-content .modal-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  color: var(--color-text);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(180, 136, 58, 0.15);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.modal-actions .btn {
  justify-content: center;
}

#skipModal {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  padding: var(--space-2);
  transition: color var(--transition-interactive);
}

#skipModal:hover {
  color: var(--color-text-muted);
}

/* ================================================
   CONTACT FORM (Home)
   ================================================ */
.contact-card {
  max-width: 560px;
  margin: var(--space-10) auto 0;
  padding: var(--space-8);
}

.contact-card .form-group:last-of-type {
  margin-bottom: 0;
}

.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-primary);
  display: none;
}

.form-status.visible {
  display: block;
}

/* ================================================
   BLOG LISTING
   ================================================ */
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-10);
}

.blog-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}

.blog-search input {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) var(--space-10);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.blog-search svg {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--color-text-faint);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-pill {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-interactive);
}

.filter-pill:hover {
  color: var(--color-text);
  border-color: var(--color-text-faint);
}

.filter-pill.active {
  background: var(--gradient-teal-violet);
  border-color: transparent;
  color: #fff;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.article-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 136, 58, 0.25);
  box-shadow: var(--shadow-glow-teal);
  color: var(--color-text);
}

.article-card-media {
  height: 200px;
  background: var(--gradient-teal-violet);
  position: relative;
  overflow: hidden;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.article-card:hover .article-card-media img {
  transform: scale(1.06);
}

.article-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,26,31,0) 40%, rgba(23,26,31,0.7) 100%);
}

.article-card-category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(250, 248, 243, 0.65);
  backdrop-filter: blur(6px);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-meta {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-3);
}

.article-card h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.article-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.article-card-readmore {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.blog-empty {
  text-align: center;
  padding: var(--space-16) 0;
  color: var(--color-text-muted);
  display: none;
}

.blog-empty.visible {
  display: block;
}

/* ================================================
   ARTICLE READING PAGE
   ================================================ */
.article-page {
  padding-top: calc(var(--space-16) + var(--space-10));
  padding-bottom: var(--space-16);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.article-back:hover {
  color: var(--color-text);
}

.article-header {
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-10);
}

.article-hero-image {
  width: 100%;
  max-width: var(--content-narrow);
  margin: 0 auto var(--space-10);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--glass-border);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-category {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.article-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-6);
}

.article-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.article-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface-2);
}

.article-byline-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.article-byline-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.article-byline-meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.article-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text-muted);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-body p {
  margin-bottom: var(--space-5);
  max-width: 68ch;
}

.article-body ul,
.article-body ol {
  margin: 0 0 var(--space-5) var(--space-6);
}

.article-body li {
  margin-bottom: var(--space-2);
  max-width: 68ch;
}

.article-body blockquote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-5);
  font-style: italic;
  color: var(--color-text);
  margin: var(--space-8) 0;
}

.article-adapted-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  margin-top: var(--space-8);
}

.article-footer {
  max-width: var(--content-narrow);
  margin: var(--space-12) auto 0;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.share-label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-muted);
}

.share-btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-faint);
}

.share-btn.copied {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

/* ================================================
   TABULAR NUMS UTILITY
   ================================================ */
.tabular-nums {
  font-variant-numeric: tabular-nums lining-nums;
}
