/* Eigentic.AI — shared styles
 * Dark-first, terminal-leaning, mono & sans.
 */

:root {
  --bg: #0a0b0d;
  --bg-1: #101114;
  --bg-2: #16181c;
  --bg-3: #1c1f24;
  --line: #22262c;
  --line-2: #2c3138;
  --fg: #e7e5df;
  --fg-1: #b8b5ad;
  --fg-2: #7a786f;
  --fg-3: #50504a;
  --accent: #0489fc;                       /* Eigentic blue */
  --accent-dim: rgba(4, 137, 252, 0.14);
  --accent-ink: #ffffff;
  --warn: oklch(0.8 0.15 60);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --serif: 'IBM Plex Serif', Georgia, serif;
  --radius: 4px;
  --maxw: 1280px;
  --pad: clamp(16px, 3vw, 40px);
}

html[data-theme="light"] {
  --bg: #f4f2ec;
  --bg-1: #ecebe4;
  --bg-2: #e3e1d9;
  --bg-3: #d9d6cb;
  --line: #d0ccbf;
  --line-2: #b8b3a3;
  --fg: #111214;
  --fg-1: #3a3c40;
  --fg-2: #64665d;
  --fg-3: #8a8c82;
  --accent: #0489fc;
  --accent-dim: rgba(4, 137, 252, 0.12);
  --accent-ink: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-image:
    radial-gradient(1200px 600px at 85% -20%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%),
    linear-gradient(to bottom, var(--bg), var(--bg));
  min-height: 100vh;
}

/* subtle grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--line) 60%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--line) 60%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  opacity: 0.35;
  z-index: 0;
}

main, header, footer, section { position: relative; z-index: 1; }

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

/* ─── Typography ─── */
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; }
h3 { font-size: 20px; line-height: 1.3; }

p { margin: 0; color: var(--fg-1); }

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

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

section { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

/* ─── Navbar ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex; align-items: center;
  color: var(--fg);
}
.logo-lockup {
  display: inline-flex; align-items: center;
  color: var(--fg);
}
.logo-lockup img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-lockup svg {
  height: 22px;
  width: auto;
  display: block;
}
/* footer uses a slightly larger lockup */
footer.site .logo-lockup img { height: 44px; }
footer.site .logo-lockup svg { height: 28px; }
/* invert lockup on light theme so colored mark stays vibrant; PNG is bright on dark by default */
html[data-theme="light"] .logo-lockup img { filter: none; }
.logo-mark {
  width: 26px; height: 26px;
  display: inline-flex;
  color: var(--fg);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo b { font-weight: 600; }
.logo span { color: var(--fg-2); }

.nav-links {
  display: flex; gap: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-1);
}
.nav-links a.active { color: var(--fg); }
.nav-links a { position: relative; }
.nav-links a.active::before {
  content: ""; position: absolute; inset: auto 0 -19px 0; height: 1px; background: var(--accent);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
}
.btn:hover { border-color: var(--fg-2); color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 600;
}
.btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 85%, white);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
}
.btn svg { width: 12px; height: 12px; }

/* theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--fg-1);
}
.theme-toggle:hover { color: var(--fg); border-color: var(--fg-2); }

/* ─── Hero ─── */
.hero {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(64px, 8vw, 120px);
  border-top: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 span.accent {
  color: var(--accent);
}
.hero-sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--fg-1);
  max-width: 56ch;
  text-wrap: pretty;
}

.hero-meta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 24px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-2);
}
.hero-meta b { color: var(--fg); font-weight: 500; }

.hero-form {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
  max-width: 520px;
}
.hero-form input {
  flex: 1 1 260px;
  height: 44px;
  padding: 0 14px;
  background: var(--bg-1);
  color: var(--fg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
  transition: border-color .15s;
}
.hero-form input:focus { border-color: var(--accent); }
.hero-form .btn { height: 44px; }
.hero-form-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
}

/* ─── Terminal / hero viz ─── */
.term {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.6), 0 0 0 1px color-mix(in oklab, var(--accent) 0%, transparent);
}
.term-head {
  display: flex; align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  gap: 10px;
}
.term-dots { display: flex; gap: 6px; margin-right: 6px; }
.term-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
}
.term-title { flex: 1; }
.term-status {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent);
}
.term-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.term-body {
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--fg-1);
  min-height: 320px;
  max-height: 420px;
  overflow: hidden;
  position: relative;
}
.term-body::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  pointer-events: none;
}
.term-body .line { white-space: pre-wrap; word-break: break-word; }
.term-body .line .t { color: var(--fg-3); margin-right: 12px; }
.term-body .line .lvl { display: inline-block; width: 50px; color: var(--fg-2); }
.term-body .line .lvl.info { color: var(--accent); }
.term-body .line .lvl.run  { color: oklch(0.78 0.06 230); }
.term-body .line .lvl.ok   { color: var(--accent); }
.term-body .line .lvl.warn { color: var(--warn); }
.term-body .line .k { color: var(--fg); }
.term-body .cursor {
  display: inline-block;
  width: 7px; height: 14px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* graph side */
.graph {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: var(--bg-1);
}
.graph-title {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex; justify-content: space-between;
}

/* ─── Section header ─── */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head .sec-title { max-width: 64ch; }
.sec-head h2 { margin-top: 12px; text-wrap: balance; }
.sec-head p { margin-top: 14px; max-width: 54ch; }
.sec-idx {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.18em;
}

/* ─── How it works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.steps > .step:last-child { border-right: none; }
@media (max-width: 900px) {
  .steps > .step:nth-child(2n) { border-right: none; }
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  letter-spacing: 0.12em;
}
.step h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 500;
}
.step p {
  margin-top: 10px;
  color: var(--fg-1);
  font-size: 13.5px;
}
.step .tag {
  margin-top: 16px;
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-2);
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-2);
}

/* ─── Metrics ─── */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
.metric {
  padding: 28px;
  border-right: 1px solid var(--line);
}
.metrics > .metric:last-child { border-right: none; }
@media (max-width: 900px) {
  .metrics > .metric:nth-child(2n) { border-right: none; }
  .metrics > .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.metric .num {
  font-family: var(--mono);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 2px;
}
.metric .num .unit { font-size: 18px; color: var(--fg-2); margin-left: 4px; }
.metric .lbl {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}
.metric .sub {
  margin-top: 14px;
  font-size: 13px;
  color: var(--fg-1);
  max-width: 30ch;
  text-wrap: pretty;
}

/* ─── Use cases ─── */
.cases {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
  min-height: 480px;
}
@media (max-width: 780px) { .cases { grid-template-columns: 1fr; } }

.case-tabs {
  border-right: 1px solid var(--line);
  padding: 8px;
  background: var(--bg-2);
}
@media (max-width: 780px) { .case-tabs { border-right: none; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; } }
.case-tab {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--fg-1);
  font-family: var(--mono);
  font-size: 12.5px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2px;
  transition: background .15s, color .15s, border-color .15s;
}
@media (max-width: 780px) {
  .case-tab { flex: 0 0 auto; margin-bottom: 0; margin-right: 4px; }
}
.case-tab:hover { color: var(--fg); }
.case-tab[aria-selected="true"] {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--line-2);
}
.case-tab .k { color: var(--fg-3); font-size: 11px; }

.case-body { padding: 28px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.case-body h3 { font-size: 22px; font-weight: 500; }
.case-body .case-sub { font-size: 14px; color: var(--fg-1); margin-top: 8px; max-width: 60ch; text-wrap: pretty; }
.case-flow {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.case-flow .row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12.5px;
}
.case-flow .row .agent { color: var(--accent); }
.case-flow .row .desc { color: var(--fg-1); }
.case-flow .row .dur { color: var(--fg-3); }
.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.case-stats .stat { padding: 16px; border-right: 1px solid var(--line); }
.case-stats .stat:last-child { border-right: none; }
.case-stats .stat .num { font-family: var(--mono); font-size: 22px; color: var(--fg); }
.case-stats .stat .lbl { font-family: var(--mono); font-size: 11px; color: var(--fg-2); margin-top: 4px; }

/* ─── Pricing ─── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  padding: 28px;
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.pricing > .plan:last-child { border-right: none; }
@media (max-width: 900px) {
  .pricing > .plan { border-right: none; border-bottom: 1px solid var(--line); }
  .pricing > .plan:last-child { border-bottom: none; }
}
.plan.featured {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 6%, var(--bg-1)), var(--bg-1));
  position: relative;
}
.plan.featured::before {
  content: "RECOMMENDED";
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 3px 7px;
  border-radius: 2px;
}
.plan-name {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.plan-price {
  margin-top: 16px;
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--mono);
  font-size: 44px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.plan-price .per { font-size: 13px; color: var(--fg-2); }
.plan-desc { margin-top: 10px; font-size: 13px; color: var(--fg-1); min-height: 3em; text-wrap: pretty; }
.plan .btn { margin-top: 20px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; font-family: var(--mono); font-size: 12.5px; color: var(--fg-1); }
.plan ul li {
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  display: flex; gap: 10px; align-items: flex-start;
}
.plan ul li::before {
  content: "+";
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}

/* ─── Security ─── */
.security {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) { .security { grid-template-columns: 1fr; } }

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.badge {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  padding: 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-1);
}
.badge .mark {
  font-size: 20px;
  font-family: var(--serif);
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 8px;
}
.badges .badge:nth-child(3n) { border-right: none; }
.badges .badge:nth-last-child(-n+3) { border-bottom: none; }

.sec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
}
.sec-list li {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}
.sec-list li:last-child { border-bottom: none; }
.sec-list li .k {
  font-family: var(--mono); font-size: 11px; color: var(--fg-2);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding-top: 2px;
}
.sec-list li .v {
  font-size: 14px; color: var(--fg); font-family: var(--mono);
}
.sec-list li .v em {
  font-style: normal; color: var(--fg-1); display: block; margin-top: 4px;
  font-family: var(--sans); font-size: 13px;
}

/* ─── Waitlist ─── */
.waitlist {
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(600px 300px at 0% 0%, var(--accent-dim), transparent 60%),
    var(--bg-1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 780px) { .waitlist { grid-template-columns: 1fr; } }
.waitlist .label { color: var(--accent); }
.waitlist h2 { margin-top: 12px; }
.waitlist p { margin-top: 12px; max-width: 44ch; }
.waitlist .form-wrap { display: flex; flex-direction: column; gap: 10px; }
.waitlist-success {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding: 14px;
  border: 1px dashed var(--accent);
  border-radius: 4px;
  background: var(--accent-dim);
  display: none;
}
.waitlist-success.show { display: block; }

/* ─── Footer ─── */
footer.site {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-2);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h5 {
  font-family: var(--mono); font-size: 11px; color: var(--fg-3);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 12px; font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a:hover { color: var(--fg); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: var(--fg-3);
}

/* ─── About page specifics ─── */
.about-hero {
  padding: clamp(48px, 6vw, 96px) 0 clamp(32px, 4vw, 56px);
  border-top: none;
}
.about-hero h1 { max-width: 14ch; }
.about-hero p { margin-top: 24px; max-width: 64ch; font-size: 17px; text-wrap: pretty; }

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-1); overflow: hidden;
}
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 28px; border-right: 1px solid var(--line); }
.principles .principle:last-child { border-right: none; }
@media (max-width: 900px) {
  .principles .principle { border-right: none; border-bottom: 1px solid var(--line); }
  .principles .principle:last-child { border-bottom: none; }
}
.principle .k {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em;
}
.principle h3 { margin-top: 12px; font-size: 20px; }
.principle p { margin-top: 10px; font-size: 14px; }

.team {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
.teammate {
  border: 1px solid var(--line); border-radius: 6px; padding: 16px;
  background: var(--bg-1);
}
.teammate .photo {
  aspect-ratio: 1;
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 8px, var(--bg-3) 8px 16px);
  background-size: cover;
  background-position: center top;
  border: 1px dashed var(--line-2);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; color: var(--fg-3);
  border-radius: 4px;
  margin-bottom: 14px;
}
.teammate h4 { font-size: 15px; font-weight: 500; }
.teammate .role { font-family: var(--mono); font-size: 11px; color: var(--fg-2); margin-top: 4px; letter-spacing: 0.08em; }

/* ─── Pricing page specifics ─── */
.ppage-hero { padding: clamp(48px, 6vw, 96px) 0 clamp(24px, 3vw, 40px); border-top: none; text-align: left; }
.ppage-hero p { max-width: 64ch; margin-top: 16px; font-size: 17px; text-wrap: pretty; }

.compare {
  border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  background: var(--bg-1);
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
.compare th, .compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare th:last-child, .compare td:last-child { border-right: none; }
.compare tr:last-child td { border-bottom: none; }
.compare thead th {
  background: var(--bg-2);
  font-weight: 500;
  color: var(--fg);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.compare thead th.feat-col { color: var(--fg-2); }
.compare thead th.featured { color: var(--accent); }
.compare tbody th {
  color: var(--fg-1);
  font-weight: 400;
}
.compare td { color: var(--fg); }
.compare .muted { color: var(--fg-3); }
.compare .check { color: var(--accent); }

.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-1);
}
@media (max-width: 780px) { .faq { grid-template-columns: 1fr; } }
.faq .q {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq .q:nth-child(2n) { border-right: none; }
.faq .q h4 { font-size: 16px; font-weight: 500; font-family: var(--sans); }
.faq .q p { margin-top: 10px; font-size: 14px; color: var(--fg-1); }

/* ─── Tweaks panel ─── */
.tweaks {
  position: fixed;
  bottom: 16px; right: 16px;
  z-index: 100;
  width: 260px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-1);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  display: none;
}
.tweaks.show { display: block; }
.tweaks header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.tweaks header .title {
  color: var(--fg); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px;
}
.tweaks header .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent);
}
.tweaks .body { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.tweaks .row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.tweaks .seg {
  display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.tweaks .seg button {
  border: none; background: transparent; color: var(--fg-1); font-family: var(--mono); font-size: 11px;
  padding: 6px 10px; cursor: pointer;
}
.tweaks .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* utility */
.text-accent { color: var(--accent); }
.ascii { font-family: var(--mono); white-space: pre; color: var(--fg-2); font-size: 12px; line-height: 1.3; }
