/* neuralwave feature pages — shares the landing page's palette, type and component patterns */
*, *::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: 'Sora', system-ui, -apple-system, sans-serif;
  background: #1A1A24;
  color: #d4d0ca;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --bg: #1A1A24;
  --surface: #22222e;
  --surface-raised: #262633;
  --copper: #c8946e;
  --copper-dim: #8b6042;
  --mint: #7ee6c4;
  --mint-dim: #3d7a64;
  --text: #d4d0ca;
  --text-bright: #e8e4e0;
  --text-dim: #8e8880;
  --hairline: rgba(200, 148, 110, 0.12);
  --hairline-mint: rgba(126, 230, 196, 0.08);
}

/* --- NAV --- */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(26,26,36,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.nav-brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.nav-wordmark {
  font-family: 'League Spartan', system-ui, sans-serif;
  font-size: 1.4rem; font-weight: 500; letter-spacing: 0.09em;
  text-transform: lowercase; color: var(--text-bright); line-height: 1;
}
.nav-tagline {
  margin-top: 0.55rem; font-size: 0.68rem; font-weight: 500; line-height: 1;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.26em;
  white-space: nowrap; margin-right: -0.26em;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  text-decoration: none; font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--mint); }
.nav-cta {
  display: inline-flex; align-items: center; text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--mint); border: 1px solid var(--mint-dim); padding: 0.5rem 1.25rem;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--mint); color: var(--bg); }
.nav-link:focus-visible, .nav-cta:focus-visible, .nav-brand:focus-visible,
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* --- BREADCRUMB BAR --- */
.crumb-bar { border-bottom: 1px solid var(--hairline); }
.breadcrumb {
  max-width: 1100px; margin: 0 auto; padding: 1rem 2rem;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb span[aria-current] { color: var(--copper); }

/* --- SECTION ENTRANCE --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- HERO --- */
.hero {
  position: relative; min-height: 82vh; min-height: 82svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 5rem 2rem 5rem; text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-canvas-wrap {
  position: absolute; top: 88%; left: 50%; transform: translate(-50%, -50%);
  width: min(1100px, 160vw); aspect-ratio: 1; opacity: 0.5;
}
.hero-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow {
  position: absolute; top: 86%; left: 50%; transform: translate(-50%, -50%);
  width: min(1200px, 170vw); aspect-ratio: 1;
  background: radial-gradient(circle,
    rgba(126,230,196,0.09) 0%, rgba(126,230,196,0.03) 30%,
    rgba(200,148,110,0.018) 50%, transparent 68%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(to bottom, rgba(26,26,36,0), var(--bg) 88%);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.45rem 1.1rem; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim);
}
.hero-eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 10px rgba(126,230,196,0.8); animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  margin-top: 2rem;
  font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 300;
  letter-spacing: -0.03em; line-height: 1.12; max-width: 18ch;
  background: linear-gradient(175deg, #f4f1ee 30%, #b8b2aa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero h1 em {
  font-style: normal;
  -webkit-text-fill-color: var(--mint); color: var(--mint);
}
.hero-tagline {
  margin-top: 1.6rem; font-size: 1.02rem;
  color: var(--text-dim); max-width: 52ch; line-height: 1.65;
}
.hero-actions {
  margin-top: 2.75rem; display: flex; align-items: center;
  gap: 0.75rem; flex-wrap: wrap; justify-content: center;
}
.hero-cta {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: inherit; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #10101a; background: var(--mint);
  border: none; border-radius: 100px; padding: 0.95rem 2.25rem; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(126,230,196,0.35);
  transition: background 0.25s, box-shadow 0.35s, transform 0.25s;
}
.hero-cta:hover { background: #96f0d3; box-shadow: 0 0 32px -4px rgba(126,230,196,0.45); transform: translateY(-1px); }
.hero-cta:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.hero-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); background: transparent;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 100px;
  padding: 0.95rem 2rem; cursor: pointer; text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.hero-cta-ghost:hover { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.hero-cta-ghost:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.hero-vis-label {
  margin-top: 3.25rem; display: flex; flex-wrap: wrap; justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-vis-label span {
  position: relative; padding: 1rem 1.75rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); transition: color 0.6s;
}
.hero-vis-label span::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px;
  background: var(--mint); opacity: 0; transition: opacity 0.6s;
}
.hero-vis-label span::after {
  content: attr(data-hz); font-size: 0.6rem; letter-spacing: 0.06em;
  color: var(--text-dim); opacity: 0.55; text-transform: none;
}
.hero-vis-label span.active { color: var(--mint); }
.hero-vis-label span.active::before { opacity: 1; }

.hero-anim { opacity: 0; transform: translateY(18px); animation: heroIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.22s; }
.hero-anim:nth-child(3) { animation-delay: 0.34s; }
.hero-anim:nth-child(4) { animation-delay: 0.46s; }
.hero-anim:nth-child(5) { animation-delay: 0.58s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; opacity: 1; transform: none; }
  .hero-eyebrow .dot { animation: none; }
}

/* --- TRANSFORMATION / COMPARISON --- */
.transform-section { padding: 7rem 2rem; }
.transform {
  display: grid; grid-template-columns: 1fr 2px 1fr;
  gap: 4rem; max-width: 900px; margin: 0 auto; align-items: start;
}
.transform-col h3 {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem; font-weight: 500;
}
.transform-before h3 { color: var(--text-dim); }
.transform-after h3 { color: var(--mint); }
.transform-divider {
  width: 2px; background: linear-gradient(to bottom, var(--hairline), var(--mint-dim), var(--hairline));
  align-self: stretch;
}
.transform-item {
  padding: 0.6rem 0; font-size: 0.85rem; color: var(--text-dim);
  border-bottom: 1px solid var(--hairline);
}
.transform-after .transform-item { color: var(--text); border-bottom-color: var(--hairline-mint); }
.transform-after .transform-item:last-child { border-bottom: none; }
.transform-before .transform-item:last-child { border-bottom: none; }

/* --- SECTION HEADERS --- */
.section-label {
  text-align: center; font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--copper); margin-bottom: 0.5rem;
}
.section-heading {
  text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 300;
  letter-spacing: -0.02em; color: var(--text-bright); margin-bottom: 3.5rem;
}

/* --- PILLARS --- */
.pillar { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.pillar-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  margin-bottom: 7rem;
}
.pillar-row:last-child { margin-bottom: 0; }
.pillar-row.reverse { direction: rtl; }
.pillar-row.reverse .pillar-content, .pillar-row.reverse .pillar-vis-tag { direction: ltr; }
.pillar-number {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--copper); margin-bottom: 1rem; font-weight: 500;
}
.pillar-content h3 {
  font-size: 1.85rem; font-weight: 300; letter-spacing: -0.02em;
  color: var(--text-bright); margin-bottom: 1rem; line-height: 1.2;
}
.pillar-content p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; max-width: 460px; }
.pillar-content .highlight { color: var(--mint); font-weight: 500; }
.pillar-content a { color: var(--mint); text-decoration: none; border-bottom: 1px solid var(--mint-dim); }
.pillar-content a:hover { border-bottom-color: var(--mint); }
.pillar-visual {
  position: relative; width: 100%; aspect-ratio: 4/3; background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.pillar-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pillar-vis-tag {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  display: flex; justify-content: space-between;
  font-size: 0.6rem; letter-spacing: 0.08em; color: var(--text-dim);
  text-transform: uppercase;
}

/* --- USE-CASE / AUDIENCE GRID --- */
.audiences { padding: 7rem 2rem; max-width: 1100px; margin: 0 auto; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--hairline); }
.audience-cell { background: var(--bg); padding: 2.75rem 2rem; }
.audience-cell .audience-icon { font-size: 2rem; margin-bottom: 1.25rem; display: block; }
.audience-cell h3 { font-size: 1.05rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.audience-cell .audience-role {
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--copper); margin-bottom: 0.75rem;
}
.audience-cell p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.65; }
.audience-cell a { color: var(--mint); text-decoration: none; border-bottom: 1px solid var(--mint-dim); }
.audience-cell a:hover { border-bottom-color: var(--mint); }

/* --- HOW IT WORKS --- */
.how { padding: 7rem 2rem; }
.how-steps { max-width: 700px; margin: 0 auto; }
.how-step { display: flex; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--hairline); align-items: flex-start; }
.how-step:last-child { border-bottom: none; }
.how-step-num { font-size: 4rem; font-weight: 300; line-height: 0.85; color: var(--copper-dim); min-width: 80px; }
.how-step h3 { font-size: 1.15rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.how-step p { font-size: 0.85rem; color: var(--text-dim); }
.how-step p span { color: var(--mint); }

/* --- FAQ --- */
.faq { padding: 7rem 2rem; max-width: 1000px; margin: 0 auto; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--hairline); }
.faq-item { background: var(--bg); padding: 2.25rem 2rem; }
.faq-item h3 { font-size: 1rem; font-weight: 400; color: var(--text-bright); margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.faq-item p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.7; }
.faq-item .highlight { color: var(--mint); }
.faq-item a { color: var(--mint); text-decoration: none; border-bottom: 1px solid var(--mint-dim); }
.faq-item a:hover { border-bottom-color: var(--mint); }

/* --- BLOG TEASER --- */
.blog-teaser { padding: 5rem 2rem 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.blog-teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: left; }
.blog-card {
  display: block; text-align: left; text-decoration: none;
  border: 1px solid var(--hairline); padding: 2.25rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.blog-card:hover { border-color: var(--mint-dim); background: rgba(126,230,196,0.02); }
.blog-card:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.blog-card-meta { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--copper); margin-bottom: 1rem; }
.blog-card h3 { font-size: 1.2rem; font-weight: 300; color: var(--text-bright); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.85rem; }
.blog-card p { font-size: 0.84rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-card-link { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mint); }
.blog-teaser-more { margin-top: 1.5rem; font-size: 0.8rem; text-align: center; }
.blog-teaser-more a { color: var(--text-dim); text-decoration: none; }
.blog-teaser-more a:hover { color: var(--mint); }

/* --- CLOSING --- */
.closing { padding: 8rem 2rem; text-align: center; }
.closing h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 300; letter-spacing: -0.02em; color: var(--text-bright); margin-bottom: 1.5rem; }
.closing p { color: var(--text-dim); font-size: 1rem; max-width: 500px; margin: 0 auto 2.5rem; }
.hero-cta--closing {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: inherit; font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--bg); background: var(--mint);
  border: none; padding: 0.85rem 2.5rem; cursor: pointer;
  transition: background 0.2s;
}
.hero-cta--closing:hover { background: #5cd4a8; }
.hero-cta--closing:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* --- FOOTER --- */
footer {
  padding: 3rem 2rem; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  max-width: 1100px; margin: 0 auto; font-size: 0.75rem; color: var(--text-dim);
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--mint); }
.footer-nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-note { color: var(--text-dim); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .transform { grid-template-columns: 1fr; gap: 2rem; }
  .transform-section { padding: 4.5rem 1.5rem; }
  .transform-divider { width: 100%; height: 2px; }
  .nav-links { gap: 1rem; }
  .pillar { padding: 4rem 1.5rem; }
  .pillar-row { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4.5rem; }
  .pillar-row.reverse { direction: ltr; }
  .audience-grid { grid-template-columns: 1fr; }
  .audiences { padding: 4.5rem 1.5rem; }
  .faq { padding: 4.5rem 1.5rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .how { padding: 4.5rem 1.5rem; }
  .blog-teaser { padding: 3.5rem 1.5rem 1rem; }
  .blog-teaser-grid { grid-template-columns: 1fr; }
  .blog-card { padding: 1.75rem; }
  .how-step { flex-direction: column; gap: 0.5rem; }
  .hero { padding: 4rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-vis-label span { padding: 0.85rem 1rem 0; }
  .closing { padding: 5rem 1.25rem; }
}
@media (max-width: 560px) {
  .nav-tagline { display: none; }
  .nav-cta { white-space: nowrap; padding: 0.5rem 1rem; }
}
@media (max-width: 480px) {
  nav.site-nav { padding: 0.85rem 1.25rem; }
  .nav-wordmark { font-size: 1.25rem; }
  .breadcrumb { padding: 0.85rem 1.25rem; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .hero-cta, .hero-actions .hero-cta-ghost { width: 100%; text-align: center; }
  footer { flex-direction: column; text-align: center; }
  .audience-cell { padding: 2rem 1.25rem; }
}
