/* Pixelperinches redesign. One stylesheet, no build step.
   Calm, founder to founder. Indigo to violet kept as the single accent.
   Two themes share every rule below: dark is the default on :root, light overrides
   the tokens under [data-theme="light"]. The inline script in each page's <head>
   sets data-theme before paint (saved choice, else the visitor's system setting). */

:root {
  --bg: #0b0c12;
  --bg-2: #11131c;
  --bg-3: #181b28;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f6;
  --text-2: #b9bfcf;
  --text-3: #8f96a8;
  --accent: #8b8ff8;
  --accent-strong: #6366f1;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(99, 102, 241, 0.14);
  --ok: #34d399;
  --ok-soft: rgba(52, 211, 153, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1120px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --focus: 0 0 0 3px rgba(139, 143, 248, 0.9);
  /* Tints: ink laid over the page at low opacity, for hovers and quiet fills. */
  --tint-1: rgba(255, 255, 255, 0.02);
  --tint-2: rgba(255, 255, 255, 0.04);
  --tint-3: rgba(255, 255, 255, 0.06);
  --line-hover: rgba(255, 255, 255, 0.35);
  --link-hover: #a5a8fb;
  --header-bg: rgba(11, 12, 18, 0.82);
  --accent-line: rgba(139, 143, 248, 0.5);
  --ok-line: rgba(52, 211, 153, 0.45);
  --warn-line: rgba(251, 191, 36, 0.45);
  --btn-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
  --glow-1: rgba(99, 102, 241, 0.22);
  --glow-2: rgba(139, 92, 246, 0.18);
  --glow-cta: rgba(99, 102, 241, 0.16);
  --pill-bg: rgba(255, 255, 255, 0.02);
  --plate-light: #f4f5f9;
  --plate-light-line: #e3e6ef;
  --plate-dark: transparent;
  --plate-dark-line: var(--line);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f5f9;
  --bg-2: #ffffff;
  --bg-3: #f3f1fb;
  --line: rgba(22, 27, 43, 0.10);
  --line-strong: rgba(22, 27, 43, 0.16);
  --text: #1b1e2b;
  --text-2: #3a4154;
  --text-3: #5c6578;
  --accent: #4338ca;
  --accent-strong: #4f46e5;
  --accent-2: #6d28d9;
  --accent-soft: rgba(79, 70, 229, 0.10);
  --ok: #047857;
  --ok-soft: rgba(4, 120, 87, 0.10);
  --warn: #b45309;
  --warn-soft: rgba(180, 83, 9, 0.10);
  --grad: linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
  --shadow: 0 16px 40px rgba(22, 27, 43, 0.10);
  --focus: 0 0 0 3px rgba(79, 70, 229, 0.45);
  --tint-1: rgba(22, 27, 43, 0.03);
  --tint-2: rgba(22, 27, 43, 0.04);
  --tint-3: rgba(22, 27, 43, 0.06);
  --line-hover: rgba(22, 27, 43, 0.32);
  --link-hover: #3730a3;
  --header-bg: rgba(244, 245, 249, 0.92);
  --accent-line: rgba(67, 56, 202, 0.35);
  --ok-line: rgba(4, 120, 87, 0.30);
  --warn-line: rgba(180, 83, 9, 0.35);
  --btn-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
  --glow-1: rgba(79, 70, 229, 0.10);
  --glow-2: rgba(109, 40, 217, 0.07);
  --glow-cta: rgba(79, 70, 229, 0.10);
  --pill-bg: #ffffff;
  /* On a light page, marks drawn for dark headers need a dark plate instead. */
  --plate-light: transparent;
  --plate-light-line: var(--line);
  --plate-dark: #111118;
  --plate-dark-line: #111118;
  color-scheme: light;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  transition: background-color 0.2s ease, color 0.2s ease;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); font-weight: 600; }
small, .small { font-size: 0.9rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--accent-strong); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--text-2); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 60ch; }
.muted { color: var(--text-2); }
.muted-3 { color: var(--text-3); }
.grid { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.stack > * + * { margin-top: 1rem; }
.flow > * + * { margin-top: 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand-name { font-size: 1.05rem; }
.site-nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list a { display: inline-block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover { color: var(--text); background: var(--tint-2); }
.nav-list a[aria-current="page"] { color: var(--text); background: var(--tint-3); }
.nav-cta { margin-left: 8px; }
.nav-list .btn { padding: 9px 16px; font-size: 0.95rem; }
.nav-list .btn-primary, .nav-list .btn-primary:hover, .nav-list .btn-primary[aria-current="page"] { color: #fff; background: var(--grad); }
.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--text);
}
.nav-toggle-bar { position: relative; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s ease; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-2); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 2px; }
  .nav-list a { display: block; padding: 12px 10px; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-list .btn { display: block; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; line-height: 1.2; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--btn-shadow); }
.btn-primary:hover { color: #fff; filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--line-hover); color: var(--text); background: var(--tint-2); }
.btn-sm { padding: 9px 14px; font-size: 0.95rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { text-decoration: underline; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -20% auto; height: 520px; pointer-events: none;
  background: radial-gradient(60% 60% at 30% 40%, var(--glow-1), transparent 70%),
              radial-gradient(40% 50% at 80% 20%, var(--glow-2), transparent 70%);
}
.hero > .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 14ch; margin-bottom: 20px; }
.hero .lede { margin-bottom: 28px; }
.hero-sub { padding: 40px 0 clamp(40px, 6vw, 72px); }
.hero-sub h1 { max-width: 20ch; }
.hero-sub .lede { max-width: 62ch; }

/* Cards */
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
}
.card-raised { background: var(--bg-3); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); }
.card ul { color: var(--text-2); padding-left: 1.1em; }
.card-list { list-style: none; padding: 0; margin: 0; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.card-list li:first-child { border-top: 0; padding-top: 0; }
.card-list li::before {
  content: ''; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 0.55em; border-radius: 50%; background: var(--accent);
}
.glance { position: relative; }
.glance .eyebrow { margin-bottom: 8px; }
.glance .card-list li { font-size: 0.98rem; }

/* Labels and tags */
.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; border: 1px solid var(--line-strong); color: var(--text-2); background: var(--tint-1);
}
.tag-accent { border-color: var(--accent-line); color: var(--accent); background: var(--accent-soft); }
.tag-ok { border-color: var(--ok-line); color: var(--ok); background: var(--ok-soft); }
.tag-warn { border-color: var(--warn-line); color: var(--warn); background: var(--warn-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* Track cards */
.tracks { align-items: stretch; }
.track { display: flex; flex-direction: column; position: relative; }
.track > .tag { align-self: flex-start; }
.track-flag { position: absolute; top: -12px; left: 20px; }
.track h3 { margin-top: 6px; }
.track .track-who { color: var(--text); font-weight: 500; margin-bottom: 14px; }
.track dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.95rem; }
.track dt { color: var(--text-3); font-weight: 500; }
.track dd { margin: 0; color: var(--text-2); }
.track .track-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.track-note { font-size: 0.92rem; color: var(--text-3); }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.steps > li:first-child { border-top: 0; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-2); }
.steps-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps-row > li { counter-increment: step; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); position: relative; }
.steps-row > li::before { content: counter(step, decimal-leading-zero); display: inline-block; margin-bottom: 12px; color: var(--accent); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; }
.steps-row h3 { font-size: 1.1rem; margin-bottom: 8px; }
.steps-row p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
@media (max-width: 1000px) { .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps-row { grid-template-columns: 1fr; } }

/* Router */
.router { display: grid; gap: 22px; }
.router fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.router legend { font-weight: 600; margin-bottom: 10px; padding: 0; color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--text-2); background: var(--pill-bg); cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pill:hover span { border-color: var(--line-hover); color: var(--text); }
.pill input:checked + span { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.pill input:focus-visible + span { box-shadow: var(--focus); }
.router-questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .router-questions { grid-template-columns: 1fr; } }
.router-result { margin-top: 6px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); }
.router-result[data-state="empty"] { color: var(--text-3); }
.router-result h3 { margin-bottom: 8px; }
.router-result .tag { margin-bottom: 12px; }
.router-result p { color: var(--text-2); }
.router-result .btn-row { margin-top: 16px; }

/* Proof */
.proof-line { display: grid; grid-template-columns: 200px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.proof-line:last-of-type { border-bottom: 1px solid var(--line); }
.proof-line:first-of-type { border-top: 0; }
/* Tiles stay clear so each mark sits on the page in either theme.
   logo-on-light is for dark ink: it gets a light plate on the dark theme.
   logo-on-dark is for white ink: it gets a dark plate on the light theme.
   logo-plate matches a file that already includes its own light field.
   Where a client ships two versions of a mark, .theme-dark-only / .theme-light-only pick one. */
.proof-logo, .venture-logo, .work-logo { background: transparent; border: 1px solid var(--line); }
.logo-on-light { background: var(--plate-light); border-color: var(--plate-light-line); }
.logo-on-dark { background: var(--plate-dark); border-color: var(--plate-dark-line); }
.logo-plate { background: #fefaf7; border-color: #e7e2dc; }
:root[data-theme="light"] .theme-dark-only, :root:not([data-theme="light"]) .theme-light-only { display: none !important; }
.proof-logo { display: flex; align-items: center; justify-content: center; width: 200px; height: 76px; border-radius: 10px; padding: 8px 12px; }
.proof-logo img, .venture-logo img, .work-logo img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
.proof-logo img { max-height: 52px; }
.proof-logo .logo-text { font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.proof-line p { color: var(--text-2); margin: 0; }
.proof-line p strong { display: block; color: var(--text); margin-bottom: 2px; }
@media (max-width: 720px) {
  .proof-line { grid-template-columns: 1fr; gap: 12px; }
  .proof-logo { width: 200px; height: 72px; }
}
.quote { margin: 32px 0 0; padding: 24px 28px; border-left: 3px solid var(--accent-strong); background: var(--bg-2); border-radius: 0 var(--radius) var(--radius) 0; }
.quote p { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.quote cite { font-style: normal; color: var(--text-3); font-size: 0.95rem; }

/* Trust grid */
.trust-item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.trust-item h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.trust-item p { color: var(--text-2); font-size: 0.98rem; margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: 1.08rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--text-2); font-weight: 500;
}
.faq details[open] summary::after { content: '\2212'; }
.faq summary:focus-visible { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq .faq-body { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.compare thead th { background: var(--bg-3); color: var(--text); font-weight: 600; }
.compare thead th:first-child { width: 20%; }
.compare tbody th { color: var(--text); font-weight: 600; background: var(--tint-1); }
.compare td { color: var(--text-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .flag { display: inline-block; margin-left: 8px; }

/* Never list */
.never { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.never li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text-2); }
.never li::before { content: '\00d7'; color: var(--warn); font-weight: 700; font-size: 1.3rem; line-height: 1; margin-top: 2px; }
.never li strong { display: block; color: var(--text); margin-bottom: 2px; }

/* Ventures */
.venture { display: flex; flex-direction: column; gap: 14px; min-height: 240px; }
.venture-logo { display: flex; align-items: center; justify-content: center; height: 116px; border-radius: 12px; padding: 14px 16px; }
.venture-logo img { max-height: 80px; }
.venture-logo.logo-plate { height: 188px; padding: 12px 14px; }
.venture-logo.logo-plate img { max-height: 164px; }
.venture-logo .logo-text { font-weight: 700; font-size: 1.15rem; color: var(--text); letter-spacing: -0.01em; }
.venture-logo.is-confidential { border: 1px dashed var(--line-strong); background: repeating-linear-gradient(135deg, var(--tint-3) 0 10px, transparent 10px 20px); }
.venture-logo.is-slot { border: 1px dashed var(--line-strong); background: transparent; }
.venture-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.venture-meta .sector { color: var(--text-3); font-size: 0.9rem; }
.venture p { margin: 0; color: var(--text-2); }
.venture .venture-foot { margin-top: auto; }
.badge-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 720px) { .badge-wrap { grid-template-columns: 1fr; } }
.badge-preview { display: flex; align-items: center; justify-content: center; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.badge-preview.on-dark { background: #0b0c12; }
.badge-preview.on-light { background: #f6f7fb; }
.badge-preview svg { width: 100%; max-width: 300px; height: auto; }
.badge-actions { margin-top: 14px; }
.badge-code { margin-top: 16px; }
.badge-code pre { margin: 0; padding: 16px; border-radius: var(--radius-sm); background: var(--bg-3); border: 1px solid var(--line); font-size: 0.8rem; line-height: 1.5; overflow: auto; max-height: 260px; color: var(--text-2); }

/* Work */
.work-card { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 760px) { .work-card { grid-template-columns: 1fr; } }
.work-logo { display: flex; align-items: center; justify-content: center; height: 148px; border-radius: 12px; padding: 16px 18px; }
.work-logo img { max-height: 108px; }
.work-logo .logo-text { font-weight: 700; font-size: 1.5rem; color: var(--text); }
.work-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.work-card .stack-line { color: var(--text-3); font-size: 0.92rem; margin: 14px 0 0; }
.work-card .btn-row { margin-top: 18px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.field .hint { font-size: 0.85rem; color: var(--text-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--bg-3); color: var(--text); transition: border-color 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: var(--focus); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field .radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.field .radio-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.field .radio-row input { width: auto; margin: 0; accent-color: var(--accent-strong); }
.field .radio-row input:focus-visible { box-shadow: var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--text-3); }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-3); }
.form-status.is-error { display: block; border-color: var(--warn-line); color: var(--warn); }
.form-status.is-ok { display: block; border-color: var(--ok-line); color: var(--ok); }
.form-success { display: none; }
.form-success.is-visible { display: block; }
.track-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--accent-line); background: var(--accent-soft); margin-bottom: 24px; }
.track-banner p { margin: 0; color: var(--text); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }
.apply-aside { position: sticky; top: 92px; }
@media (max-width: 900px) { .apply-aside { position: static; } }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.portrait { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.portrait img { width: 100%; aspect-ratio: 592 / 663; object-fit: cover; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.facts li:first-child { border-top: 0; }
.facts li > span { min-width: 0; overflow-wrap: anywhere; }
.facts li span:first-child { color: var(--text-3); font-size: 0.9rem; }

/* CTA band */
.cta-band { padding: var(--section) 0; border-top: 1px solid var(--line); background: radial-gradient(70% 90% at 50% 100%, var(--glow-cta), transparent 70%); }
.cta-band .container { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-2); max-width: 56ch; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(40px, 6vw, 64px) 0 28px; color: var(--text-2); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--text); text-decoration: underline; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 40ch; }
.footer-honest { color: var(--text-3); font-size: 0.9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.88rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.footer-bottom a { color: var(--text-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); text-decoration: underline; }

/* Utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.max-60 { max-width: 60ch; }
.max-70 { max-width: 70ch; }
.gate { border: 1px solid var(--warn-line); background: var(--warn-soft); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.gate h3 { color: var(--warn); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.gate ol { margin: 0 0 12px; color: var(--text); }
.gate p { color: var(--text-2); }
.notice { border-left: 3px solid var(--accent-strong); padding: 12px 16px; background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-2); }
.kicker-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kicker-list li { padding-left: 18px; position: relative; color: var(--text-2); }
.kicker-list li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.for-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .for-strip { grid-template-columns: 1fr; } }
.for-strip p { margin: 0; color: var(--text-2); padding: 18px 20px; border-left: 2px solid var(--accent-strong); background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.for-strip p strong { display: block; color: var(--text); margin-bottom: 4px; }
.deliverables { counter-reset: d; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.deliverables li { counter-increment: d; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); color: var(--text-2); }
.deliverables li::before { content: counter(d); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.deliverables li strong { display: block; color: var(--text); margin-bottom: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.timeline li { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text-2); font-size: 0.95rem; }
.timeline li strong { display: block; color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }

/* Theme toggle: sits in the header row on every width, beside the menu button on mobile. */
.nav-tools { display: flex; align-items: center; gap: 8px; order: 2; }
.site-nav { order: 1; margin-left: auto; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: var(--text-2);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-hover); background: var(--tint-2); }
.theme-toggle svg { width: 18px; height: 18px; }
/* Show the icon of the theme you would switch to. */
:root:not([data-theme="light"]) .theme-toggle .icon-moon, :root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
@media (max-width: 880px) { .theme-toggle { width: 44px; height: 44px; } }

/* Hero proof strip: client marks directly under the hero copy. */
.logo-strip { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line); }
.logo-strip p { margin: 0 0 14px; font-size: 0.85rem; color: var(--text-3); }
.logo-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.logo-strip li { margin: 0; }
.logo-strip a { display: flex; align-items: center; justify-content: center; width: 156px; height: 56px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s; }
.logo-strip a:hover { border-color: var(--line-hover); }
.logo-strip img { max-height: 36px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 520px) { .logo-strip a { width: calc(50vw - 32px); } }

/* Soft alternative to applying, shown next to the main CTAs. */
.call-line { margin: 18px 0 0; font-size: 0.95rem; color: var(--text-3); }
.cta-band .call-line { margin-top: 20px; }

/* Consent bar for analytics. Nothing loads until the visitor says yes. */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-2); box-shadow: var(--shadow);
  font-size: 0.92rem; color: var(--text-2);
}
.consent p { margin: 0; flex: 1 1 260px; }
.consent .btn-row { gap: 8px; }

/* Readiness check */
.readiness { display: grid; gap: 28px; }
.readiness fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.readiness legend { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; padding: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text-2); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.check:hover { border-color: var(--line-hover); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-strong); }
.check strong { display: block; color: var(--text); margin-bottom: 2px; }
.check:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.check input:focus-visible { box-shadow: var(--focus); }
.router-result .kicker-list { margin-bottom: 4px; }

/* Term sheet */
.term-table td:nth-child(2) { color: var(--text); font-weight: 500; width: 26%; }
.term-table thead th:first-child { width: 18%; }
.term-table .term-group { background: var(--bg-3); color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 12px; padding-bottom: 12px; }

/* Print: the term sheet (and any page) prints as a clean light document. */
@media print {
  :root, :root[data-theme] {
    --bg: #fff; --bg-2: #fff; --bg-3: #f3f4f8; --text: #111; --text-2: #333; --text-3: #555;
    --line: #d5d8e0; --line-strong: #c3c7d1; --accent: #3730a3;
  }
  body { font-size: 11pt; }
  .site-header, .site-footer, .cta-band, .consent, .btn-row, .skip-link, .hero::before { display: none !important; }
  .section, .hero { padding: 18pt 0; }
  .section + .section { border-top: 0; }
  .table-wrap { overflow: visible; border: 0; }
  .compare { min-width: 0; }
  .compare tr, .deliverables li, .card { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}

/* About facts: stack label over value on phones so emails and URLs do not break mid-word. */
@media (max-width: 480px) {
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* Homepage quotes: three short verified quotes side by side. */
.quotes { margin-top: 32px; }
.quotes .quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quotes .quote p { font-size: 1.05rem; }
