/* Sluicio · Waitlist landing page. Sits on top of tokens.css. */

html, body { margin: 0; padding: 0; }
body {
  background: var(--surface);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ── ambient backdrop · faint sluice channel lines ─────────── */
.bg-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 78% 8%, color-mix(in oklab, var(--primary) 11%, transparent), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, color-mix(in oklab, var(--primary) 7%, transparent), transparent 70%);
}
.bg-field::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ink) 4%, transparent) 1px, transparent 1px);
  background-size: 96px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%);
  mask-image: linear-gradient(to bottom, #000, transparent 60%);
  opacity: .6;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ── nav ───────────────────────────────────────────────────── */
.nav { padding: 22px 0; }
.nav-inner { display: flex; align-items: center; gap: 18px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 700; font-size: 18px; letter-spacing: -.02em; color: var(--ink);
}
.brand svg { color: var(--primary); }
.nav-pill {
  margin-left: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--primary-ink);
  background: var(--primary-soft);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, transparent);
  padding: 4px 10px; border-radius: 999px;
}
.nav-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 60%, transparent);
  animation: pulse 2.4s ease-out infinite;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-right a { font-size: 14px; color: var(--ink-2); }
.nav-right a:hover { color: var(--ink); }
.nav-right .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 18px; border-radius: 10px; white-space: nowrap;
  font-weight: 600; color: var(--on-primary);
  background: var(--primary); border: 1px solid var(--primary);
  transition: background .15s ease, transform .12s ease;
}
.nav-right .nav-cta:hover { color: var(--on-primary); background: var(--primary-hover); }
.nav-right .nav-cta:active { transform: translateY(1px); }
@media (max-width: 640px) { .nav-right .nav-link-hide { display: none; } .nav-pill { display: none; } }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--primary) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1fr 1.04fr; gap: 64px;
  align-items: center;
  padding: 60px 0 80px;
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 36px 0 56px; }
}

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px; white-space: normal;
  font-size: 12px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--primary);
}
.cta .eyebrow { justify-content: center; }
.eyebrow .tick { width: 16px; height: 1.5px; background: var(--primary); display: inline-block; }

.hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  font-weight: 700; letter-spacing: -.038em; line-height: 1.02;
  margin: 20px 0 20px; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .sub {
  font-size: 18.5px; color: var(--ink-2); line-height: 1.55;
  max-width: 500px; margin: 0 0 30px;
}

/* ── signup form ───────────────────────────────────────────── */
.signup { max-width: 500px; }
.field-row { display: flex; gap: 10px; }
@media (max-width: 480px) { .field-row { flex-direction: column; } }

.input-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong); border-radius: 12px;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.input-wrap:focus-within { border-color: var(--primary); box-shadow: var(--focus); }
.input-wrap svg { color: var(--muted); flex: 0 0 auto; }
.input-wrap input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15.5px; color: var(--ink); min-width: 0;
}
.input-wrap input::placeholder { color: var(--muted); }

.btn-submit {
  appearance: none; cursor: pointer; white-space: nowrap;
  font-family: inherit; font-weight: 600; font-size: 15px;
  height: 52px; padding: 0 24px; border-radius: 12px;
  background: var(--primary); color: var(--on-primary);
  border: 1px solid var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .15s ease, transform .12s ease;
}
.btn-submit:hover { background: var(--primary-hover); }
.btn-submit:active { transform: translateY(1px); }
.btn-submit svg { transition: transform .18s ease; }
.btn-submit:hover svg { transform: translateX(3px); }

/* role selector */
.roles { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.role-label {
  font-size: 12px; color: var(--muted); width: 100%; margin-bottom: 1px;
  letter-spacing: .02em;
}
.role-chip {
  cursor: pointer; user-select: none;
  font-size: 13px; color: var(--ink-2);
  padding: 6px 13px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: all .14s ease;
}
.role-chip:hover { border-color: var(--border-strong); }
.role-chip.active {
  background: var(--primary-soft); color: var(--primary-ink);
  border-color: color-mix(in oklab, var(--primary) 30%, transparent);
  font-weight: 600;
}

.reassure {
  margin-top: 18px; font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.reassure .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }

/* social proof · waitlist count */
.proof {
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.avatars { display: flex; }
.avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--surface);
  margin-left: -9px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; color: var(--on-primary);
  font-family: 'JetBrains Mono', monospace;
}
.avatars span:first-child { margin-left: 0; }
.proof-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.proof-text b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── success state ─────────────────────────────────────────── */
.success {
  display: none;
  background: var(--surface-2);
  border: 1px solid color-mix(in oklab, var(--ok) 35%, var(--border));
  border-radius: 16px;
  padding: 28px 28px 26px;
  max-width: 500px;
  box-shadow: var(--shadow);
}
.signup.is-done .field-row,
.signup.is-done .roles,
.signup.is-done .reassure { display: none; }
.signup.is-done .success { display: block; animation: rise .4s ease both; }
.success .ok-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--ok-soft); color: var(--ok);
  display: grid; place-items: center; margin-bottom: 16px;
  border: 1px solid color-mix(in oklab, var(--ok) 30%, transparent);
}
.success h3 { margin: 0 0 7px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.success p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.success .place {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border);
  display: flex; align-items: baseline; gap: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.success .place .num { font-size: 24px; font-weight: 600; color: var(--primary); letter-spacing: -.02em; }
.success .place .lbl { font-size: 12.5px; color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ── hero preview · live dashboard (matches marketing site) ── */
.preview {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 24px 70px -28px rgba(15,23,42,.22),
    0 50px 110px -50px color-mix(in oklab, var(--primary) 40%, transparent);
  overflow: hidden;
}
[data-theme="dark"] .preview {
  box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 30px 80px -30px rgba(0,0,0,.65);
}
.pv-chrome {
  height: 38px; display: flex; align-items: center; gap: 6px;
  padding: 0 14px; border-bottom: 1px solid var(--border);
}
.pv-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-3); }
.pv-chrome .pv-url {
  margin-left: 14px; font: 12px/1 'JetBrains Mono', monospace; color: var(--muted);
}
.pv-body { padding: 20px; display: grid; gap: 16px; }

.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-head h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.dash-head .crumbs { font-size: 12px; color: var(--muted); margin-top: 2px; }
.dash-head .crumbs b { color: var(--ink); font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  background: var(--ok-soft); color: var(--ok-ink);
  border: 1px solid color-mix(in oklab, var(--ok) 25%, transparent);
}
.badge .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  animation: pulse-ok 2.2s ease-out infinite;
}
@keyframes pulse-ok {
  0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--ok) 55%, transparent); }
  70% { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 13px;
}
.kpi .lbl { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; font-weight: 500; letter-spacing: .02em; }
.kpi .val { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 11px; margin-top: 4px; color: var(--muted); }
.kpi .delta.up { color: var(--ok); }
.kpi .delta.down { color: var(--err); }

.dash-table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.dash-table table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dash-table th {
  text-align: left; font-weight: 500; font-size: 10px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .05em;
  padding: 8px 12px; border-bottom: 1px solid var(--border);
}
.dash-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dash-table tr:last-child td { border-bottom: none; }
.dash-table .pip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.dash-table .pip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.dash-table .pip.warn::before { background: var(--warn); }
.dash-table .pip.err::before { background: var(--err); }
.dash-table .row-err td:first-child { box-shadow: inset 3px 0 0 var(--err); }
.dash-table .row-warn td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.dash-table .num { font-family: 'JetBrains Mono', monospace; color: var(--ink-2); font-size: 12px; }
.dash-table .right { text-align: right; }
.dash-table .nm { font-weight: 600; }
.spark { width: 56px; height: 16px; display: inline-block; vertical-align: middle; }

/* floating "you're next" tag on the preview */
.preview-tag {
  position: absolute;
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  background: var(--ink); color: var(--surface);
  padding: 7px 12px; border-radius: 9px;
  box-shadow: 0 10px 28px -10px rgba(15,23,42,.4);
  display: flex; align-items: center; gap: 8px;
}
.preview-shell { position: relative; }
.preview-tag.tl { bottom: -15px; left: 26px; }
.preview-tag .k { color: color-mix(in oklab, var(--primary) 70%, white); }
@media (max-width: 1000px) { .preview-tag { display: none; } }

/* ── section scaffolding ───────────────────────────────────── */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted);
}
.section-head h2 {
  font-size: clamp(27px, 3.4vw, 40px); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.08; margin: 11px 0 12px; text-wrap: balance;
}
.section-head p { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 580px; }

/* divider rule between sections */
.rule { height: 1px; background: var(--border); border: none; margin: 0; }

/* ── benefits ──────────────────────────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 26px 28px;
  position: relative; overflow: hidden;
}
.benefit .b-ico {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid color-mix(in oklab, var(--primary) 18%, transparent);
}
.benefit h4 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.benefit p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.benefit .b-num {
  position: absolute; top: 20px; right: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted);
}

/* ── how it works (steps) ──────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 24px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .s-n {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--ink); color: var(--surface);
  display: grid; place-items: center; font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.step h4 { margin: 0 0 7px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.step code {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  background: var(--surface-3); padding: 1px 6px; border-radius: 5px; color: var(--ink);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { max-width: 760px; }
.qa { border-top: 1px solid var(--border); }
.qa:last-child { border-bottom: 1px solid var(--border); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa .plus {
  flex: 0 0 auto; width: 22px; height: 22px; position: relative;
  transition: transform .22s ease; color: var(--muted);
}
.qa .plus::before, .qa .plus::after {
  content: ''; position: absolute; background: currentColor; border-radius: 2px;
}
.qa .plus::before { left: 0; right: 0; top: 10px; height: 2px; }
.qa .plus::after { top: 0; bottom: 0; left: 10px; width: 2px; transition: opacity .22s ease; }
.qa[open] .plus { transform: rotate(90deg); }
.qa[open] .plus::after { opacity: 0; }
.qa .ans { padding: 0 4px 24px; max-width: 640px; }
.qa .ans p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ── final CTA band ────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  border-radius: 24px; padding: 64px 48px; text-align: center;
}
@media (max-width: 720px) { .cta { padding: 44px 24px; border-radius: 18px; } }
.cta::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(circle at 28% 22%, color-mix(in oklab, var(--primary) 40%, transparent), transparent 52%),
              radial-gradient(circle at 82% 86%, color-mix(in oklab, var(--primary) 28%, transparent), transparent 56%);
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta .eyebrow { color: #7FD3F0; }
.cta h2 {
  font-size: clamp(30px, 4.2vw, 50px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.05; margin: 14px auto 14px; max-width: 16ch; text-wrap: balance;
}
.cta h2 em { font-style: normal; color: #7FD3F0; }
.cta p { font-size: 17px; color: rgba(255,255,255,.74); max-width: 520px; margin: 0 auto 28px; }
.cta .cta-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: 12px;
  background: #38B6E0; color: #04222F; border: none;
  transition: background .15s ease, transform .12s ease;
}
.cta .cta-btn:hover { background: #7FD3F0; }
.cta .cta-btn:active { transform: translateY(1px); }
.cta .cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ── footer ────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border); margin-top: 64px;
  padding: 32px 0 44px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; font-size: 13px; color: var(--muted);
}
.footer .brand-foot { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--ink); }
.footer .brand-foot svg { color: var(--primary); }
.footer .f-links { display: flex; gap: 22px; }
.footer .f-links a:hover { color: var(--ink); }

/* ── entrance animation ────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .anim { opacity: 0; transform: translateY(14px); animation: rise .6s cubic-bezier(.22,.61,.36,1) forwards; }
  .anim-1 { animation-delay: .05s; }
  .anim-2 { animation-delay: .14s; }
  .anim-3 { animation-delay: .23s; }
  .anim-4 { animation-delay: .32s; }
  .anim-5 { animation-delay: .41s; }
}

/* ── tweaks panel host hook (panel styles itself) ──────────── */

/* ── legal / privacy page ──────────────────────────────────── */
.legal { max-width: 768px; }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.028em; line-height: 1.08; margin: 10px 0 6px; }
.legal .legal-meta { color: var(--muted); font-size: 12.5px; margin: 0 0 30px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 32px 0 8px; }
.legal h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 20px 0 6px; }
.legal p { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin: 0 0 12px; max-width: 68ch; }
.legal a { color: var(--primary); }
.legal a:hover { color: var(--primary-hover); }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { font-size: 15px; color: var(--ink-2); line-height: 1.6; margin: 0 0 5px; max-width: 68ch; }

/* ── form consent notice ───────────────────────────────────── */
.form-consent { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.form-consent a { color: var(--primary); }
.form-consent a:hover { color: var(--primary-hover); }
.signup.is-done .form-consent { display: none; }

/* ── cookie consent banner ─────────────────────────────────── */
.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998;
  background: var(--surface-2); border-top: 1px solid var(--border);
  box-shadow: 0 -10px 34px -18px rgba(15,23,42,.3);
}
.cookie-consent[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 18px; padding: 15px 32px; }
@media (max-width: 720px) { .cookie-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 20px; } }
.cookie-text { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.cookie-text a { color: var(--primary); }
.cookie-actions { margin-left: auto; display: flex; gap: 10px; flex: 0 0 auto; }
@media (max-width: 720px) { .cookie-actions { margin-left: 0; } }
.cookie-btn {
  cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink);
  transition: background .14s ease, border-color .14s ease;
}
.cookie-btn--ghost:hover { background: var(--surface-3); }
.cookie-btn--primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.cookie-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* success-message links match the legal/privacy link style */
.success a { color: var(--primary); }
.success a:hover { color: var(--primary-hover); }

/* Let hero grid columns shrink below their content on mobile (the dashboard
   preview clips its own overflow) — prevents horizontal page overflow. */
.hero > div { min-width: 0; }

/* Mobile: keep the decorative dashboard preview inside the screen. */
@media (max-width: 560px) {
  .pv-body { padding: 14px; }
  .pv-body > * { min-width: 0; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi { min-width: 0; }
  .dash-table { min-width: 0; }
  .dash-table th, .dash-table td { padding: 8px 8px; }
  .dash-table .nm, .dash-table .num { overflow-wrap: anywhere; }
  .spark { width: 44px; }
}

/* ── design-partner secondary line under the final CTA ─────── */
.cta-secondary { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.62); }
.cta-secondary a { color: #7FD3F0; font-weight: 600; }
.cta-secondary a:hover { color: #AEE0F4; }

/* ── founder section ───────────────────────────────────────── */
.founder { display: grid; grid-template-columns: 132px 1fr; gap: 32px; align-items: start; max-width: 840px; }
@media (max-width: 620px) { .founder { grid-template-columns: 1fr; gap: 20px; } }
.founder-photo {
  width: 132px; height: 132px; border-radius: 18px;
  background: var(--primary-soft); color: var(--primary);
  border: 1px solid color-mix(in oklab, var(--primary) 22%, transparent);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 34px; font-weight: 600; letter-spacing: .02em;
}
.founder-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 12px; }
.founder-text p { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; margin: 0 0 16px; max-width: 60ch; }
.founder-link { font-size: 14.5px; font-weight: 600; color: var(--primary); }
.founder-link:hover { color: var(--primary-hover); }

/* ── blog ──────────────────────────────────────────────────── */
.post-meta { font-size: 12.5px; color: var(--muted); }
.rss-link { font-size: 13px; font-weight: 600; color: var(--primary); margin-left: 8px; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .post-list { grid-template-columns: 1fr; } }
.post-card {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.post-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.post-card-link { display: block; padding: 22px 24px 24px; color: inherit; }
.post-card .post-meta { margin: 0 0 8px; }
.post-card-title { font-size: 19px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; margin: 0 0 8px; }
.post-card-excerpt { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 14px; }
.post-card-more { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.post-empty { color: var(--muted); }

/* ── single post ───────────────────────────────────────────── */
.post-single { max-width: 760px; }
.post-single .post-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -.028em; line-height: 1.1; margin: 10px 0 8px; text-wrap: balance; }
.post-single .post-meta { margin: 0 0 28px; }
.entry-content { font-size: 16.5px; color: var(--ink-2); line-height: 1.7; }
.entry-content > * { margin: 0 0 18px; }
.entry-content h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 32px 0 12px; }
.entry-content h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 26px 0 10px; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--primary-hover); }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content li { margin: 0 0 6px; }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content blockquote { padding: 4px 0 4px 18px; border-left: 3px solid var(--primary-soft); color: var(--ink); }
.entry-content :not(pre) > code {
  font-family: 'JetBrains Mono', monospace; font-size: .88em;
  background: var(--surface-3); padding: 2px 6px; border-radius: 5px; color: var(--ink);
}
.entry-content pre, .entry-content .wp-block-code {
  background: var(--surface-3); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.55;
}
.entry-content pre code, .entry-content .wp-block-code code {
  font-family: 'JetBrains Mono', monospace; background: none; padding: 0; color: var(--ink); white-space: pre;
}
.blog-cta-wrap { padding-top: 8px; }
.founder-photo--img { object-fit: cover; padding: 0; background: var(--surface-3); }

/* tighter top-nav spacing on phones so Blog + the CTA both fit */
@media (max-width: 640px) {
  .nav-inner { gap: 10px; }
  .nav-right { gap: 15px; }
  .nav-right a { font-size: 13.5px; }
}

.nav-cta-short { display: none; }
@media (max-width: 640px) { .nav-cta-long { display: none; } .nav-cta-short { display: inline; } }

/* ── language switcher (EN / DE) ───────────────────────────── */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.lang-switch a,
.lang-switch .lang-active { display: inline-flex; align-items: center; gap: 5px; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a:hover .lang-flag { opacity: 1; }
.lang-switch .lang-active { color: var(--ink); font-weight: 600; }
.lang-switch .lang-sep { color: var(--border-strong); }
.lang-flag { width: 18px; height: 12px; flex: none; border-radius: 2px; border: 1px solid var(--border-strong); display: block; }
.lang-switch a .lang-flag { opacity: .72; transition: opacity .15s ease; }
.nav-right .lang-switch { font-size: 14px; }
