/* Components: flow (engagement flow), steps (engagement steps), card, form, footer, reveal. */
:root {
  --ink: #070a12;
  --paper: #ffffff;
  --surface: #f4f6f8;
  --muted: #667085;
  --accent: #39ff88;
  --accent-text: #0d9f4f; /* Darker green for text on light backgrounds - passes WCAG AA */
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --radius-12: 12px;
  --radius-16: 16px;
  --border: 1px solid rgba(7, 10, 18, 0.12);
  --shadow-card: 0 4px 14px rgba(7, 10, 18, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: var(--space-8) var(--space-12);
  border: 2px solid var(--accent);
  border-radius: var(--radius-12);
  z-index: 200;
}

.skip-link:focus-visible {
  left: var(--space-16);
}

a {
  color: var(--ink);
  text-decoration: none;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(57, 255, 136, 0.7);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-24);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  height: 64px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-8);
  padding: 10px 12px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-12);
  border: var(--border);
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 56px;
  font-weight: 500;
  box-shadow: none;
}

.brand img {
  width: 140px;
  max-width: 160px;
  height: auto;
  display: block;
}

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

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-8) var(--space-4);
  border-radius: var(--radius-12);
  font-weight: 600;
}

.nav a:focus-visible {
  background: var(--surface);
  text-decoration: none;
}

.nav .button {
  min-height: 44px;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav .button {
  padding: var(--space-8) var(--space-16);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-12);
  border: var(--border);
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: transparent;
}

.button-ghost {
  background: var(--paper);
  color: var(--ink);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
  border: var(--border);
}

.button-secondary:hover {
  background: var(--surface);
}

.button-nav {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(7, 10, 18, 0.18);
}

.button:hover {
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(7, 10, 18, 0.08);
}

.button-primary:hover {
  background: #2ee676;
  text-decoration: none;
}

.button-nav:hover {
  border-color: rgba(7, 10, 18, 0.32);
  color: var(--accent-text);
  background: var(--paper);
}

.main {
  padding: var(--space-48) 0 var(--space-64);
}

section + section {
  margin-top: var(--space-64);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-stack {
  display: grid;
  gap: var(--space-12);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  margin: 0 0 var(--space-16);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: rgba(57, 255, 136, 0.7);
  border-radius: 999px;
  margin-top: var(--space-12);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 var(--space-16);
  color: var(--muted);
  max-width: 720px;
}

.muted-small {
  color: var(--muted);
  font-size: 14px;
}

.list {
  margin: 0;
  padding-left: var(--space-24);
  color: var(--muted);
  display: grid;
  gap: var(--space-8);
  max-width: 760px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-48);
  align-items: center;
}

.content-narrow {
  max-width: 780px;
}

/* Subtle neon grid background; low opacity to keep text contrast high */
.bg-grid {
  position: relative;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 18% 16%, rgba(57, 255, 136, 0.06), rgba(57, 255, 136, 0) 240px),
    linear-gradient(rgba(7, 10, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 10, 18, 0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  background-position: 0 0, 0 0, 0 0;
  overflow: hidden;
}

.bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.65) 32%, rgba(255, 255, 255, 0) 62%);
  pointer-events: none;
  z-index: 0;
}

.bg-grid > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  gap: var(--space-16);
  align-self: start;
}

.hero-actions {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
  margin-top: var(--space-24);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-24);
}

.section-heading {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-24);
  max-width: 760px;
}

.section-heading p {
  margin: 0;
}

.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-12);
  padding: var(--space-24);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.next-step-card {
  margin-top: var(--space-24);
}

.card h3 {
  margin-bottom: var(--space-12);
}

.card .button {
  margin-top: var(--space-16);
  width: fit-content;
}

.card:hover {
  border-color: rgba(7, 10, 18, 0.22);
  box-shadow: 0 8px 18px rgba(7, 10, 18, 0.06);
  transform: translateY(-1px);
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-12);
  border: 1px solid rgba(7, 10, 18, 0.16);
  background: transparent;
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-32);
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-16);
}

.founders {
  margin-top: var(--space-64);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-16);
  align-items: stretch;
}

.founder-card {
  border: var(--border);
  border-radius: var(--radius-12);
  padding: var(--space-24);
  background: var(--paper);
  box-shadow: none;
  display: grid;
  gap: var(--space-12);
  height: 100%;
}

.founder-top {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.founder-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-flex;
}

.founder-name {
  font-weight: 700;
}

.founder-role {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.founder-summary {
  margin: 0;
  color: var(--muted);
}

.founder-more {
  margin-top: var(--space-12);
  border-top: 1px solid rgba(7, 10, 18, 0.08);
  padding-top: var(--space-12);
}

.founder-more summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.founder-more summary::-webkit-details-marker {
  display: none;
}

.founder-more summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}

.founder-more[open] summary::after {
  content: "–";
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.founder-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}


.founder-list {
  margin: 0;
  padding-left: var(--space-24);
  display: grid;
  gap: var(--space-8);
  color: var(--muted);
  list-style: disc;
  list-style-position: outside;
}

.founder-cred {
  margin: 0;
  color: var(--muted);
}

.proof-strip {
  border: var(--border);
  border-radius: var(--radius-16);
  background: var(--surface);
  padding: var(--space-32);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-16);
}

.proof-card {
  border: var(--border);
  border-radius: var(--radius-12);
  background: var(--paper);
  padding: var(--space-16);
  display: grid;
  gap: var(--space-8);
}


.flow {
  margin-top: var(--space-32);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-16);
}

.flow-item {
  border: var(--border);
  border-radius: var(--radius-12);
  padding: var(--space-16);
  background: var(--paper);
  display: grid;
  gap: var(--space-8);
}

.flow-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-weight: 600;
  color: var(--ink);
}

.flow-label::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.flow-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form {
  display: grid;
  gap: var(--space-16);
  max-width: 540px;
}

label {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  font-weight: 600;
}

input,
textarea {
  padding: var(--space-12);
  border-radius: var(--radius-12);
  border: var(--border);
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: var(--border);
  background: var(--surface);
  padding: var(--space-24) 0;
  margin-top: var(--space-64);
}

footer .shell {
  display: grid;
  gap: var(--space-16);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-links,
.footer-meta {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 600;
}

footer a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.footer-lower {
  display: grid;
  gap: var(--space-8);
  color: var(--muted);
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-social a {
  font-weight: 600;
}

.footer-social a + a::before {
  content: "·";
  margin: 0 var(--space-8);
  color: var(--muted);
}

.footer-ack {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 880px;
}



.strip {
  border: var(--border);
  border-radius: var(--radius-12);
  padding: var(--space-16);
  background: var(--paper);
  display: grid;
  gap: var(--space-8);
}

.section-highlight {
  border: var(--border);
  border-radius: var(--radius-16);
  background: var(--surface);
  padding: var(--space-32);
  display: grid;
  gap: var(--space-24);
}

.section-subheading {
  margin-top: var(--space-8);
  margin-bottom: var(--space-12);
}


.cta-row {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-12);
}

.list-tight {
  padding-left: var(--space-20);
}

.cta-card {
  display: grid;
  gap: var(--space-12);
  align-content: start;
}

.steps {
  list-style: none;
  margin: 0 0 var(--space-24);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}

.step {
  border: var(--border);
  border-radius: var(--radius-12);
  background: var(--surface);
  padding: var(--space-20);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-12);
  align-items: start;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(7, 10, 18, 0.16);
  background: var(--paper);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step-body {
  display: grid;
  gap: 6px;
}

.step-title {
  margin: 0;
}

.step-desc {
  margin: 0;
  color: var(--muted);
}

.step-subline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps-footer {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

.steps-footer .button {
  width: fit-content;
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid {
    background-attachment: scroll;
  }

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

  .button,
  .card {
    transition: none;
  }
}

@media (max-width: 640px) {
  .bg-grid {
    background-image: radial-gradient(circle at 16% 12%, rgba(57, 255, 136, 0.04), rgba(57, 255, 136, 0) 200px),
      linear-gradient(rgba(7, 10, 18, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(7, 10, 18, 0.03) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
  }

  .bg-grid::after {
    background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.94) 0, rgba(255, 255, 255, 0.74) 34%, rgba(255, 255, 255, 0) 60%);
  }

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

  .footer-social {
    justify-content: flex-start;
  }

  .footer-ack {
    text-align: left;
  }
}

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

@media (max-width: 900px) {
  .header-inner {
    height: auto;
    padding: var(--space-12) 0;
    flex-wrap: wrap;
    gap: var(--space-12);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-12);
    padding: var(--space-8) 0;
  }

  .nav a,
  .nav .button {
    width: 100%;
  }


  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: var(--space-8) 0;
  }

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

@media (max-width: 640px) {
  .shell {
    padding: 0 var(--space-16);
  }

  .header-inner {
    gap: var(--space-16);
  }

  .brand img {
    width: 160px;
    max-width: 170px;
    height: auto;
  }

  .nav {
    gap: var(--space-8);
  }

  .nav a {
    padding: var(--space-8) var(--space-8);
  }

  .main {
    padding: var(--space-32) 0 var(--space-48);
  }

  section + section {
    margin-top: var(--space-40);
  }
}

/* ================================================
   UX ENHANCEMENTS
   ================================================ */

/* Founder Expertise Map */
.expertise-map {
  display: grid;
  gap: var(--space-24);
  margin-bottom: var(--space-32);
}

.expertise-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  position: relative;
}

.expertise-node {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-20);
  border: 2px solid transparent;
  border-radius: var(--radius-16);
  background: var(--surface);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-node:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.15);
}

.expertise-node__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.expertise-node__role {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.expertise-node__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink);
}

.expertise-node__areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.expertise-node__area {
  padding: 4px 10px;
  background: var(--paper);
  border: var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.expertise-connector {
  display: none;
}

@media (min-width: 900px) {
  .expertise-visual {
    padding: var(--space-32) 0;
  }

  .expertise-connector {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border: 2px dashed rgba(57, 255, 136, 0.3);
    border-radius: 50%;
    pointer-events: none;
  }
}

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

/* Services Recommender */
.services-recommender {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius-16);
  padding: var(--space-24);
  margin-bottom: var(--space-32);
}

.recommender-question {
  font-weight: 600;
  margin-bottom: var(--space-16);
  color: var(--ink);
}

.recommender-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}

.recommender-option {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) var(--space-16);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: var(--radius-12);
  cursor: pointer;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.recommender-option:hover {
  border-color: rgba(57, 255, 136, 0.5);
  transform: translateY(-1px);
}

.recommender-option.is-active {
  border-color: var(--accent);
  background: rgba(57, 255, 136, 0.08);
}

.recommender-option input {
  display: none;
}

.recommender-reset {
  margin-top: var(--space-16);
  padding: var(--space-8) var(--space-16);
  background: transparent;
  border: var(--border);
  border-radius: var(--radius-12);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.recommender-reset:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.card[data-category] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card[data-category].is-hidden {
  display: none;
}

.card[data-category].is-highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(57, 255, 136, 0.2), 0 8px 24px rgba(7, 10, 18, 0.08);
}

/* Engagement Status Badge */
.engagement-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(57, 255, 136, 0.15);
  border: 1px solid rgba(57, 255, 136, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  animation: subtle-pulse 3s ease-in-out infinite;
}

.engagement-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: status-dot 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(57, 255, 136, 0);
  }
  50% {
    box-shadow: 0 0 12px 2px rgba(57, 255, 136, 0.2);
  }
}

@keyframes status-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Framework Badges */
.framework-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-16);
}

.framework-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-12);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.framework-badge:hover {
  border-color: rgba(57, 255, 136, 0.5);
  color: var(--ink);
}

.framework-badge__icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

/* Mobile Sticky CTA */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 900px) {
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    padding: var(--space-12) var(--space-16);
    background: var(--ink);
    box-shadow: 0 -4px 20px rgba(7, 10, 18, 0.15);
    z-index: 15;
  }

  .mobile-cta-bar__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
  }

  .mobile-cta-bar .button {
    padding: var(--space-8) var(--space-16);
    font-size: 14px;
  }

  /* Add padding to main to prevent content being hidden behind sticky bar */
  .main {
    padding-bottom: 80px;
  }

  footer {
    padding-bottom: 72px;
  }
}

/* Methodology Process Diagram */
.methodology-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin: var(--space-24) 0;
  position: relative;
}

.methodology-step {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-16);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-12);
  text-align: center;
  position: relative;
}

.methodology-step::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

.methodology-step:last-child::after {
  display: none;
}

.methodology-step__number {
  width: 32px;
  height: 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.methodology-step__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.methodology-step__desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

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

  .methodology-step:nth-child(2)::after,
  .methodology-step:last-child::after {
    display: none;
  }

  .methodology-step:nth-child(2)::before {
    content: "↓";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
  }
}

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

  .methodology-step::after {
    display: none;
  }

  .methodology-step:not(:last-child)::before {
    content: "↓";
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    z-index: 1;
  }

  .methodology-step:nth-child(2)::before {
    bottom: -16px;
  }
}

/* Micro-interactions & Polish */

/* Button glow on primary hover */
.button-primary:hover {
  box-shadow: 0 0 20px rgba(57, 255, 136, 0.35), 0 8px 16px rgba(7, 10, 18, 0.08);
}

/* Enhanced card hover */
.card:hover {
  border-color: rgba(57, 255, 136, 0.35);
}

/* Link underline animation */
.animated-link {
  position: relative;
  text-decoration: none;
}

.animated-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

/* Form input enhanced focus */
input:focus-visible,
textarea:focus-visible {
  box-shadow: 0 0 0 3px rgba(57, 255, 136, 0.2);
}

/* Founder card expand animation */
.founder-more[open] .founder-list {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section heading underline animation */
.js .section-heading h2::after {
  animation: lineExpand 0.6s ease-out;
}

@keyframes lineExpand {
  from {
    width: 0;
  }
  to {
    width: 56px;
  }
}

/* Stagger animation for lists */
.js .list-animated li {
  opacity: 0;
  transform: translateX(-12px);
  animation: fadeInLeft 0.4s ease-out forwards;
}

.js .list-animated li:nth-child(1) { animation-delay: 0s; }
.js .list-animated li:nth-child(2) { animation-delay: 0.08s; }
.js .list-animated li:nth-child(3) { animation-delay: 0.16s; }
.js .list-animated li:nth-child(4) { animation-delay: 0.24s; }
.js .list-animated li:nth-child(5) { animation-delay: 0.32s; }
.js .list-animated li:nth-child(6) { animation-delay: 0.4s; }

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Proof signal icons */
.proof-signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-text);
  font-weight: 600;
  font-size: 13px;
}

.proof-signal::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

/* Commitment/Guarantee cards */
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-16);
}

.commitment-card {
  padding: var(--space-16);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-12);
  display: grid;
  gap: var(--space-8);
  transition: border-color 0.2s ease;
}

.commitment-card:hover {
  border-color: rgba(57, 255, 136, 0.4);
}

.commitment-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(57, 255, 136, 0.15);
  border-radius: var(--radius-12);
  font-size: 18px;
}

.commitment-card__title {
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.commitment-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Triad Model Visual (About Page) */
.triad-section {
  margin-top: var(--space-48);
}

.triad-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  position: relative;
  padding: var(--space-32) 0;
}

.triad-node {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-24);
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-16);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.triad-node:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(57, 255, 136, 0.15);
}

.triad-node__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
}

.triad-node__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: var(--space-8);
}

.triad-node__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.triad-node__cred {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  padding: var(--space-4) var(--space-8);
  background: rgba(57, 255, 136, 0.08);
  border-radius: var(--radius-8);
}

.triad-node__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.triad-node__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-8);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.triad-node__link:hover {
  color: var(--accent-text);
}

.triad-node__link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339ff88' stroke-width='2'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'/%3E%3Crect x='2' y='9' width='4' height='12'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
  background-size: contain;
}

.triad-connector {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  color: rgba(57, 255, 136, 0.3);
  pointer-events: none;
  z-index: 0;
}

.triad-connector svg {
  width: 100%;
  height: 100%;
}

.triad-summary {
  max-width: 680px;
  margin: var(--space-24) auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* Triad Benefits Grid */
.triad-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.triad-benefit {
  padding: var(--space-24);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-16);
  transition: border-color 0.2s ease;
}

.triad-benefit:hover {
  border-color: rgba(57, 255, 136, 0.4);
}

.triad-benefit__header {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.triad-benefit__badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
}

.triad-benefit h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.triad-benefit .list {
  margin: 0;
}

.triad-benefit .list li {
  font-size: 14px;
}

/* Updated commitment card icon for SVG */
.commitment-card__icon svg {
  color: var(--accent);
}

/* Triad responsive */
@media (max-width: 900px) {
  .triad-visual {
    grid-template-columns: 1fr;
    gap: var(--space-16);
    padding: var(--space-16) 0;
  }

  .triad-connector {
    display: none;
  }

  .triad-benefits {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .triad-connector {
    width: 180px;
    height: 180px;
  }
}

/* Reduce motion preferences */
@media (prefers-reduced-motion: reduce) {
  .engagement-status,
  .engagement-status::before {
    animation: none;
  }

  .js .list-animated li {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .js .section-heading h2::after {
    animation: none;
  }

  .founder-more[open] .founder-list {
    animation: none;
  }
}

/* ================================================
   HOMEPAGE TRIAD (Compact Version)
   ================================================ */

.triad-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.triad-home__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-20);
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: var(--radius-16);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.triad-home__item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.12);
}

.triad-home__badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
}

.triad-home__content {
  flex: 1;
  min-width: 0;
}

.triad-home__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--space-4);
}

.triad-home__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.triad-home__footer {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.triad-home__footer a {
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
}

.triad-home__footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .triad-home {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

@media (max-width: 480px) {
  .triad-home__item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-12);
  }

  .triad-home__badge {
    margin: 0 auto;
  }
}

/* ================================================
   HOMEPAGE PROBLEM/SOLUTION CARDS
   ================================================ */

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

.problem-card,
.solution-card {
  padding: var(--space-24);
  border-radius: var(--radius-16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.15);
}

.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.08);
}

.solution-card {
  background: var(--surface);
  border: 2px solid transparent;
}

.solution-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.12);
}

.problem-card__title,
.solution-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--space-8);
}

.problem-card__desc,
.solution-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .problem-grid,
  .solution-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

/* ================================================
   UX IMPROVEMENTS (2026)
   ================================================ */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(57, 255, 136, 0.6));
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* Trust Strip */
.trust-strip {
  text-align: center;
  padding: var(--space-24) 0;
  border-bottom: var(--border);
  margin-bottom: var(--space-32);
}

.trust-strip__text {
  margin: 0 0 var(--space-16);
  color: var(--muted);
  font-size: 15px;
}

.trust-strip__text strong {
  color: var(--ink);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-12);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.trust-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-16);
}

.metric-card {
  text-align: center;
  padding: var(--space-24);
  background: var(--surface);
  border-radius: var(--radius-16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(57, 255, 136, 0.1);
}

.metric-card__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent-text);
  line-height: 1.2;
}

.metric-card__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--space-8);
}

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

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

/* Breadcrumbs */
.breadcrumb {
  margin-bottom: var(--space-24);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--muted);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent-text);
  text-decoration: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* "What We Don't Do" Cards */
.dont-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
}

.dont-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
  padding: var(--space-20);
  background: rgba(255, 107, 107, 0.04);
  border: 1px solid rgba(255, 107, 107, 0.12);
  border-radius: var(--radius-12);
  transition: transform 0.2s ease;
}

.dont-card:hover {
  transform: translateX(4px);
}

.dont-card__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.15);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #ff6b6b;
}

.dont-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

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

/* Certification Badges */
.triad-node__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: var(--space-8) 0;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: rgba(57, 255, 136, 0.12);
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Service Filter Status (aria-live) */
.recommender-status {
  margin-top: var(--space-12);
  font-size: 13px;
  color: var(--muted);
  min-height: 20px;
}

.recommender-status:empty {
  display: none;
}

/* Form Success Toast */
.form-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: var(--space-16) var(--space-24);
  background: var(--ink);
  border: 1px solid var(--accent);
  border-radius: var(--radius-12);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(7, 10, 18, 0.2);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.form-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.form-toast::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: var(--space-8);
  background: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .form-toast {
    bottom: 80px;
    left: var(--space-16);
    right: var(--space-16);
    transform: translateY(20px);
  }

  .form-toast.is-visible {
    transform: translateY(0);
  }
}

/* Mobile Menu Focus Trap Styles */
.nav.is-trapping {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ================================================
   HERO ENGAGEMENT FLOW VISUAL
   ================================================ */

.hero-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-16);
  padding: var(--space-24);
  background: rgba(255, 255, 255, 0.7);
  border: var(--border);
  border-radius: var(--radius-16);
  backdrop-filter: blur(8px);
}

.hero-flow-step {
  display: grid;
  gap: var(--space-8);
  text-align: center;
  padding: var(--space-16);
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-12);
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero-flow-step:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-flow-step__number {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-heading);
}

.hero-flow-step__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}

.hero-flow-step__desc {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.hero-visual__footer {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--space-8);
  border-top: var(--border);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.hero-visual__footer strong {
  color: var(--accent-text);
}

@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-visual {
    padding: var(--space-16);
  }

  .hero-flow-step {
    padding: var(--space-12);
  }

  .hero-flow-step__desc {
    display: none;
  }
}
