/* ────────────────────────────────────────────────────────────────
   cumenic.ai — Shared Design Tokens & Base Styles
   ──────────────────────────────────────────────────────────────── */

/* ── Themes ──────────────────────────────────────────────────── */
:root, [data-theme="signal"] {
  --bg:             #FFFFFF;
  --bg-alt:         #F4F4F4;
  --ink:            #111111;
  --muted:          #636363;
  --rule:           #E2E2E2;
  --accent:         #1A55E0;
  --accent-on-dark: #7BA7FF; /* lighter blue for use on dark/ink backgrounds */
  --surface:        #F9F9F9;
  --nav-bg:         rgba(255,255,255,0.96);
  --hero-ink:       #111111;
}
[data-theme="obsidian"] {
  --bg:             #0E0D0C;
  --bg-alt:         #1A1815;
  --ink:            #F0EDE8;
  --muted:          #8A857D;
  --rule:           #2C2824;
  --accent:         #4B82F5;
  --accent-on-dark: #7BA7FF;
  --surface:        #181614;
  --nav-bg:         rgba(14,13,12,0.94);
  --hero-ink:       #F0EDE8;
}
[data-theme="crisp"] {
  --bg:             #F8F6F2;
  --bg-alt:         #EDEAE3;
  --ink:            #131110;
  --muted:          #6B6460;
  --rule:           #D5D0C7;
  --accent:         #1A55E0;
  --accent-on-dark: #7BA7FF;
  --surface:        #FFFFFF;
  --nav-bg:         rgba(248,246,242,0.94);
  --hero-ink:       #131110;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s, color 0.35s;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ── Skip-to-content ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Focus styles ────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.35s, border-color 0.35s;
}
.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; width: 28px; object-fit: contain; }
.nav-logo span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  display: inline-block;
}
.nav-cta:hover { opacity: 0.85; }

/* ── Dark toggle ─────────────────────────────────────────────── */
.dark-toggle {
  background: none;
  border: 1.5px solid var(--rule);
  cursor: pointer;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.dark-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────────── */
#hero {
  padding-top: 60px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-body { padding: 7rem 0 4rem; }
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--hero-ink);
  max-width: 820px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 540px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  transition: opacity 0.2s;
  text-align: center;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 1.5px solid var(--rule);
  color: var(--ink);
  transition: border-color 0.2s;
  text-align: center;
}
.btn-ghost:hover { border-color: var(--ink); }

/* ── Credibility strip ───────────────────────────────────────── */
.cred-strip {
  border-top: 1px solid var(--rule);
  margin-top: 3.5rem;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cred-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.cred-names {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.cred-names span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.45;
  padding: 0 1rem;
  border-right: 1px solid var(--rule);
}
.cred-names span:last-child { border-right: none; }

/* ── Section base ────────────────────────────────────────────── */
section { padding: 6rem 0; }
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}
.section-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.section-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ── Services ────────────────────────────────────────────────── */
#services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--rule);
  border: 1.5px solid var(--rule);
  margin-bottom: 1.5px;
}
.service-card {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.service-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  flex: 1;
}
.service-list {
  list-style: none;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-list li {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.4;
}
.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.outcome-bar {
  background: var(--ink);
  color: var(--bg);
  padding: 1.75rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  transition: background 0.35s, color 0.35s;
}
.outcome-quote {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  font-style: italic;
  max-width: 560px;
}
.outcome-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-on-dark); /* lighter blue — passes contrast on dark ink bg */
  white-space: nowrap;
  text-align: right;
  line-height: 1.9;
  flex-shrink: 0;
}

/* ── Process ─────────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.process-step {
  padding: 2rem 2.25rem;
  border-right: 1px solid var(--rule);
}
.process-step:last-child { border-right: none; }
.step-number {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--rule);
  margin-bottom: 1rem;
  transition: color 0.35s;
}
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Stats / Why Us ──────────────────────────────────────────── */
#about { background: var(--bg-alt); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
  margin-bottom: 5rem;
}
.stat-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--rule);
}
.stat-item:last-child { border-right: none; }
.stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.stat-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Vision block ────────────────────────────────────────────── */
.vision-block {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin-bottom: 5rem;
  background: var(--surface);
}
.vision-tagline {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.vision-body {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Founder ─────────────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}
.profile-pic {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(15%);
}
.founder-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.founder-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.founder-bio p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.founder-bio a:hover { color: var(--accent); border-color: var(--accent); }
.founder-pull {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}
.founder-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.founder-social-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.founder-social-link:hover { color: var(--accent); }

/* ── Work ────────────────────────────────────────────────────── */
.work-list { border-top: 1px solid var(--rule); }
.work-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.work-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  transition: color 0.15s;
}
.work-item:hover .work-name { color: var(--accent); }
.work-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
}
.work-date {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.4rem;
}
.work-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  margin-top: 0.2rem;
  transition: opacity 0.15s;
}
.work-badge:hover { opacity: 0.75; }
.work-badge-stack {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

/* ── OSS ─────────────────────────────────────────────────────── */
.oss-section { background: var(--bg-alt); }
.oss-list { border-top: 1px solid var(--rule); }
.oss-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.oss-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  transition: color 0.15s;
}
.oss-item:hover .oss-name { color: var(--accent); }
.oss-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}
.oss-stars {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Tech link section ───────────────────────────────────────── */
.tech-link-section {
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
}
.tech-link-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}
.tech-link-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.tech-link-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
}
.tech-link-cta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.tech-link-cta:hover { opacity: 0.7; }

/* ── Contact ─────────────────────────────────────────────────── */
#contact {
  background: var(--ink);
  color: var(--bg);
  transition: background 0.35s, color 0.35s;
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.contact-left, .contact-right {
  display: flex;
  flex-direction: column;
}
.contact-heading {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--bg);
  margin-bottom: 1rem;
  transition: color 0.35s;
}
.contact-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 380px;
  transition: color 0.35s;
}
.cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.contact-btn {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s;
  text-align: center;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
}
.contact-btn:hover { opacity: 0.85; }
.contact-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--bg);
}
.contact-form-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
  transition: color 0.35s;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--bg);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: 0.6; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--accent); }
.contact-form-success {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-section { padding: 5rem 0; }
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.faq-q {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.faq-a {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0;
  transition: background 0.35s;
}
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.footer-brand img { height: 24px; width: 24px; object-fit: contain; }
.footer-right {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── Tweaks panel ────────────────────────────────────────────── */
#tweaks-panel {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 1.25rem;
  width: 220px;
}
#tweaks-panel.visible { display: block; }
.tweaks-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.tweaks-group { margin-bottom: 1rem; }
.tweaks-group-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.theme-options { display: flex; flex-direction: column; gap: 0.4rem; }
.theme-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.theme-btn:hover { border-color: var(--accent); }
.theme-btn.active { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ── Early Access Overlay ────────────────────────────────────── */
.early-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.early-access-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.early-access-modal {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
.early-access-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  padding: 0.3rem 0.5rem;
  transition: color 0.2s;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
.early-access-close:hover { color: var(--ink); }
.early-access-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.early-access-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.early-access-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.early-access-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.early-access-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.early-access-form input[type="email"]:focus { border-color: var(--accent); }
.early-access-form input[type="email"]::placeholder { color: var(--muted); }

/* ── Fade-in on scroll ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Scroll / Back-to-top floating button ────────────────────── */
.scroll-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--rule);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s, opacity 0.25s, color 0.25s, border-color 0.25s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.scroll-fab:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.scroll-fab svg {
  transition: transform 0.3s ease;
}
/* ── OLD scroll indicator (remove) ──────────────────────────── */
.scroll-indicator { display: none; }

/* ── Dark mode primary button — match light mode vivid blue ──── */
[data-theme="obsidian"] .btn-primary,
[data-theme="obsidian"] .nav-cta,
[data-theme="obsidian"] .mobile-menu .mobile-cta {
  background: #1A55E0;
}

/* ── terminal / dark-bg accent override ──────────────────────── */
/* Ensure accent-colored text on dark/ink backgrounds uses the lighter var */
.terminal-section, .terminal-cta, #contact {
  --accent: var(--accent-on-dark);
}
/* Contact/terminal buttons keep solid backgrounds */
#contact .contact-btn,
.terminal-section .contact-btn,
.terminal-cta .contact-btn {
  background: #1756D8;
  color: #fff;
  border-color: transparent;
}
[data-theme="obsidian"] #contact .contact-btn,
[data-theme="obsidian"] .terminal-section .contact-btn,
[data-theme="obsidian"] .terminal-cta .contact-btn {
  background: #4B82F5;
}
/* Ghost button on dark bg */
#contact .contact-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: #F0EDE8;
}
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.chip-label {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--bg);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
  opacity: 0.7;
}
.chip-label:hover { opacity: 1; border-color: var(--accent); }
.chip-label.selected { background: var(--accent); border-color: var(--accent); opacity: 1; color: #fff; }
.chip-label input { display: none; }

/* ── Form field label ────────────────────────────────────────── */
.field-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: block;
}
.field-helper {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.5;
  opacity: 0.8;
}
.field-group { display: flex; flex-direction: column; gap: 0.15rem; }
.radio-group {
  display: flex;
  gap: 0.5rem;
}
.radio-label {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--bg);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  user-select: none;
  opacity: 0.7;
}
.radio-label:hover { opacity: 1; border-color: var(--accent); }
.radio-label.selected { background: var(--accent); border-color: var(--accent); opacity: 1; }
.radio-label input { display: none; }

/* ── Page hero (non-enterprise) ──────────────────────────────── */
.page-hero {
  padding-top: 60px;
  padding-bottom: 0;
}
.page-hero-body {
  padding: 6rem 0 4rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--rule); }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--rule); }
  .process-step:last-child { border-bottom: none; }
  .outcome-bar { flex-direction: column; gap: 1rem; }
  .outcome-meta { text-align: left; }
  .contact-split { grid-template-columns: 1fr; gap: 3rem; }
  .tech-link-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
/* ── Hamburger menu ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  z-index: 99;
  padding: 0.5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--ink); }
.mobile-menu .mobile-cta {
  margin-top: 1rem;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
}

@media (max-width: 620px) {
  .hamburger { display: flex; }
  .nav-links { display: none !important; }
  .container { padding: 0 1.25rem; }
  h1 { font-size: 2.4rem; }
  section { padding: 4rem 0; }
  #hero { padding-top: 100px; }
  .page-hero { padding-top: 100px; }
  .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-pic { width: 120px; height: 120px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--rule); }
  .stat-item:last-child { border-bottom: none; }
  .work-item, .oss-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .cred-strip { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cred-names span { padding: 0 0.75rem 0 0; border-right: none; }
  .work-badge-stack { flex-direction: row; align-items: center; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────────
   Page-Specific Styles (Extracted from HTML files)
   ──────────────────────────────────────────────────────────────── */

/* ── Small Business Page ─────────────────────────────────────── */
.product-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.product-positioning {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.75rem;
}
.audit-entry {
  border: 1px solid var(--rule);
  padding: 2rem;
  background: var(--surface);
  margin-bottom: 3rem;
}
.audit-entry label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.audit-entry .input-row {
  display: flex;
  gap: 0;
}
.audit-entry input[type="text"],
.audit-entry input[type="url"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  border-right: none;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.audit-entry input:focus { border-color: var(--accent); }
.audit-entry button[type="submit"],
.audit-entry .submit-btn {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.audit-entry button:hover,
.audit-entry .submit-btn:hover { opacity: 0.85; }
.audit-helper {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.55;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--rule);
  border: 1.5px solid var(--rule);
  margin-bottom: 2rem;
}
.product-card {
  background: var(--bg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}
.product-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.product-card p {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.geo-note {
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
  margin: 0.75rem 0 1.25rem;
  line-height: 1.6;
}
.product-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.2s;
}
.product-cta:hover { opacity: 0.7; }
.section-bottom-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1rem;
}
.section-bottom-link a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.section-bottom-link a:hover { border-color: var(--accent); }
.zalmond-entry {
  border: 1px solid var(--rule);
  padding: 2rem;
  background: var(--surface);
  margin-top: 2rem;
}
.zalmond-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
}
.zalmond-row input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  border-right: none;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.zalmond-row input:focus { border-color: var(--accent); }
.terminal-section {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 0;
  transition: background 0.35s, color 0.35s;
}
.terminal-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 1rem;
}
.terminal-section p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
  .zalmond-row { grid-template-columns: 1fr; }
  .zalmond-row input { border-right: 1px solid var(--rule); border-bottom: none; }
  .zalmond-row input:last-of-type { border-bottom: none; }
  .audit-entry .input-row { flex-direction: column; }
  .audit-entry input { border-right: 1px solid var(--rule); border-bottom: none; }
}

/* ── For Individuals Page ────────────────────────────────────── */
.persona-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.persona-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--rule);
  color: var(--muted);
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}
.step-card {
  padding: 2.25rem;
  border-right: 1px solid var(--rule);
}
.step-card:last-child { border-right: none; }
.step-card .step-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.step-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}
.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
  background: var(--rule);
  border: 1.5px solid var(--rule);
}
.example-card {
  background: var(--bg);
  padding: 2rem;
}
.example-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.intake-section {
  background: var(--ink);
  color: var(--bg);
  padding: 6rem 0;
  transition: background 0.35s, color 0.35s;
}
.intake-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--bg);
  margin-bottom: 0.75rem;
}
.intake-section .sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.65;
}
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .step-card:last-child { border-bottom: none; }
  .examples-grid { grid-template-columns: 1fr; }
}

/* ── Technical Page ──────────────────────────────────────────── */
.tech-section { padding: 5rem 0; }
.tech-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.tech-aside {
  position: sticky;
  top: 80px;
}
.tech-aside h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.tech-aside .section-tag { display: block; margin-bottom: 0.5rem; }
.tech-content p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.tech-content p:last-child { margin-bottom: 0; }
.tech-content h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 1.75rem 0 0.75rem;
}
.tech-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.tech-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}
.tech-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tech-callout {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--surface);
}
.tech-callout p {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.tech-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 5rem 0 0;
}
.work-full-list { border-top: 1px solid var(--rule); margin-top: 0; }
.work-full-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.work-full-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.work-full-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 640px;
}
.work-full-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 0.15rem;
}
.terminal-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 0;
  transition: background 0.35s, color 0.35s;
}
.terminal-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bg);
  margin-bottom: 0.75rem;
}
.terminal-cta p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .tech-body { grid-template-columns: 1fr; gap: 2rem; }
  .tech-aside { position: static; }
  .work-full-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ── Work With Us Page ───────────────────────────────────────── */
.prose-block {
  max-width: 620px;
  margin-bottom: 4.5rem;
}
.prose-block p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}
.prose-block p:last-child { margin-bottom: 0; }
.intake-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.intake-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--bg);
  margin-bottom: 1rem;
}
.intake-left p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}
.conditional-field { display: none; }
.conditional-field.visible { display: flex; flex-direction: column; gap: 0.15rem; }
@media (max-width: 860px) {
  .intake-inner { grid-template-columns: 1fr; gap: 3rem; }
}
