/* Bloc Sign - marketing site
   Tokens mirror the app (apps/web/src/index.css) so the site and product feel like one thing. */

@font-face { font-family: 'Inter'; src: url('fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/jakarta-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/jakarta-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/jakarta-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Dancing Script'; src: url('fonts/dancing-script.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --brand-50: #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c5d1ff;
  --brand-300: #9db0ff;
  --brand-400: #6c86ff;
  --brand-500: #3a5cff;
  --brand-600: #2a45eb;
  --brand-700: #2235c4;
  --brand-800: #1f2f9b;
  --brand-900: #1e2b79;

  --ink-25: #fbfbfc;
  --ink-50: #f6f7f9;
  --ink-100: #eef0f3;
  --ink-150: #e6e8ec;
  --ink-200: #dcdfe5;
  --ink-300: #c3c8d0;
  --ink-400: #9aa1ad;
  --ink-500: #6f7683;
  --ink-600: #535a66;
  --ink-700: #3c424c;
  --ink-800: #262a31;
  --ink-900: #16181d;
  --ink-950: #0c0d10;

  /* party colours, as in the builder */
  --p1: #3a5cff;
  --p1-bg: rgb(58 92 255 / 0.1);
  --p2: #e8590c;
  --p2-bg: rgb(232 89 12 / 0.1);
  --p3: #0ca678;
  --p3-bg: rgb(12 166 120 / 0.1);
  --p4: #d6336c;

  --ok: #0ca678;
  --ok-bg: #e6f7f1;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Jakarta', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;

  --shadow-card: 0 1px 2px rgb(16 24 40 / 0.04), 0 1px 3px rgb(16 24 40 / 0.06);
  --shadow-pop: 0 12px 32px -8px rgb(16 24 40 / 0.18), 0 4px 10px -4px rgb(16 24 40 / 0.08);
  --shadow-float: 0 24px 60px -16px rgb(16 24 40 / 0.28), 0 6px 16px -6px rgb(16 24 40 / 0.12);
  --shadow-brand: 0 8px 24px -8px rgb(58 92 255 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.18);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container: 1180px;
  --gutter: 24px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 60px; }
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; color: var(--ink-950); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--brand-200); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink-950); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s, color 0.15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 13px; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--brand-500); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-600); }
.btn-primary .arrow { transition: transform 0.2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-200); box-shadow: var(--shadow-card); }
.btn-secondary:hover { border-color: var(--ink-300); background: var(--ink-25); }
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); color: var(--ink-900); }
.btn-white { background: #fff; color: var(--brand-700); box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35); }
.btn-white:hover { background: var(--brand-50); }
.btn-outline-white { background: rgb(255 255 255 / 0.08); color: #fff; border-color: rgb(255 255 255 / 0.28); }
.btn-outline-white:hover { background: rgb(255 255 255 / 0.16); }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgb(255 255 255 / 0.78);
  -webkit-backdrop-filter: saturate(1.8) blur(14px); backdrop-filter: saturate(1.8) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--ink-150); background: rgb(255 255 255 / 0.9); }
.nav .container { display: flex; align-items: center; height: 100%; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--ink-900); }
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-600); transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--ink-950); background: var(--ink-50); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--ink-200); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav[data-open] .nav-toggle .icon-close { display: block; }
.nav[data-open] .nav-toggle .icon-menu { display: none; }

.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 49;
    background: #fff; border-bottom: 1px solid var(--ink-150); box-shadow: var(--shadow-pop);
    padding: 12px var(--gutter) 20px;
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav[data-open] + .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .mobile-menu ul { list-style: none; margin: 0 0 16px; padding: 0; }
  .mobile-menu li a { display: block; padding: 13px 4px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--ink-100); }
  .mobile-menu .btn { width: 100%; margin-top: 10px; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding: 72px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: -10% -20% auto; height: 820px; z-index: -1;
  background:
    radial-gradient(48% 52% at 72% 32%, rgb(58 92 255 / 0.16), transparent 70%),
    radial-gradient(38% 42% at 18% 18%, rgb(108 134 255 / 0.12), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--ink-100) 1px, transparent 1px), linear-gradient(90deg, var(--ink-100) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ink-150); box-shadow: var(--shadow-card);
  font-size: 13.5px; font-weight: 500; color: var(--ink-700);
}
.eyebrow .pill { padding: 2px 8px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 12px; }

.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 .accent { position: relative; color: var(--brand-500); white-space: nowrap; }
.hero h1 .accent svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.hero h1 .accent path { stroke: var(--brand-300); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s 0.5s var(--ease) forwards; }
.hero-lede { margin-top: 22px; max-width: 540px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-600); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; color: var(--ink-500); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--ok); }

@keyframes draw { to { stroke-dashoffset: 0; } }

/* product mockup */
.mock { position: relative; padding: 18px 8px 40px 28px; }
.mock-window {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--ink-150); box-shadow: var(--shadow-float);
  overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ink-100); background: var(--ink-25); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.mock-title { font-size: 13px; font-weight: 600; color: var(--ink-700); display: flex; align-items: center; gap: 8px; }
.mock-title svg { width: 15px; height: 15px; color: var(--ink-400); }
.mock-badge { margin-left: auto; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.mock-body { display: grid; grid-template-columns: 1fr; padding: 22px; background: var(--ink-50); }
.paper { position: relative; background: #fff; border-radius: 6px; box-shadow: var(--shadow-card); padding: 26px 26px 22px; min-height: 380px; }
.paper h5 { margin: 18px 0 0; font-size: 11px; font-weight: 700; color: var(--ink-700); letter-spacing: 0.01em; }
.paper h5 + .lines { margin-top: 9px; }
.paper h4 { font-size: 15px; letter-spacing: -0.01em; }
.paper .meta { margin-top: 4px; font-size: 11px; color: var(--ink-400); }
.lines { margin-top: 16px; display: grid; gap: 8px; }
.lines i { display: block; height: 7px; border-radius: 4px; background: var(--ink-100); }
.lines i:nth-child(3n) { width: 82%; }
.lines i:nth-child(4n) { width: 64%; }
.sig-row { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field {
  position: relative; border-radius: 6px; border: 1.5px dashed; padding: 6px 8px 5px; min-height: 66px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.field small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.field.p1 { border-color: var(--p1); background: var(--p1-bg); color: var(--p1); }
.field.p2 { border-color: var(--p2); background: var(--p2-bg); color: var(--p2); }
.field .sig { height: 38px; width: 100%; overflow: visible; }
.field .sig path { fill: none; stroke: var(--ink-900); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-visible .field.p1 .sig path { animation: draw 1.6s 0.9s ease-in-out forwards; }
.is-visible .field.p1 { animation: solidify 0.01s 2.5s forwards; }
.field .typed { font-family: var(--font-script); font-size: 24px; line-height: 1; color: var(--ink-900); opacity: 0; transform: translateY(4px); }
.is-visible .field.p2 .typed { animation: fade-up 0.5s 3.2s var(--ease) forwards; }
.is-visible .field.p2 { animation: solidify 0.01s 3.2s forwards; }
@keyframes solidify { to { border-style: solid; background: #fff; } }
.date-field { position: absolute; right: 26px; top: 26px; font-size: 10px; font-weight: 600; color: var(--p1); background: var(--p1-bg); border: 1.5px solid var(--p1); border-radius: 5px; padding: 3px 7px; }

.float { position: absolute; background: #fff; border-radius: 14px; border: 1px solid var(--ink-150); box-shadow: var(--shadow-pop); opacity: 0; }
.is-visible .float { animation: fade-up 0.6s var(--ease) forwards; }
.float-status { left: -6px; bottom: 6px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 230px; animation-delay: 3.9s !important; }
.float-status .check { width: 34px; height: 34px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; flex: none; }
.float-status .check svg { width: 18px; height: 18px; }
.float-status b { display: block; font-size: 14px; font-weight: 600; }
.float-status span { font-size: 12.5px; color: var(--ink-500); }
.float-signers { right: -22px; top: 46%; padding: 12px 14px; width: 236px; animation-delay: 0.35s !important; }
.float-signers h5 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-400); font-weight: 600; }
.signer { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; }
.signer + .signer { margin-top: 9px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex: none; }
.signer .state { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--ink-100); color: var(--ink-500); }
.signer .state.done { background: var(--ok-bg); color: var(--ok); }
.signer .state.wait { display: grid; transition: background 0.3s 3.6s, color 0.3s 3.6s; }
.signer .state.wait > span { grid-area: 1 / 1; }
.signer .state.wait .now { visibility: hidden; }
.is-visible .signer .state.wait { background: var(--ok-bg); color: var(--ok); }
.is-visible .signer .state.wait .was { animation: swap-out 0.01s 3.6s forwards; }
.is-visible .signer .state.wait .now { animation: swap-in 0.01s 3.6s forwards; }
@keyframes swap-out { to { visibility: hidden; } }
@keyframes swap-in { to { visibility: visible; } }

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

@media (max-width: 1020px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .mock { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 520px) {
  .mock { padding: 8px 0 64px; }
  .float-status { min-width: 0; width: max-content; max-width: calc(100% - 16px); white-space: nowrap; }
  .float-status span { white-space: nowrap; }
  .price b { font-size: 38px; }
  .float-signers { display: none; }
  .float-status { left: 50%; transform: translateX(-50%); bottom: -4px; }
  .is-visible .float-status { animation-name: fade-up-c; }
  .paper { padding: 18px 16px; }
  .sig-row { gap: 10px; }
  .paper { min-height: 0; }
  .date-field { right: 16px; top: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@keyframes fade-up-c { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- proof strip ---------- */

.proof { border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); background: var(--ink-25); }
.proof .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--ink-100); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink-950); }
.stat span { font-size: 14px; color: var(--ink-500); }
@media (max-width: 760px) {
  .proof .container { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--ink-100); }
}

/* ---------- sections ---------- */

.section { padding: 112px 0; }
.section-tint { background: var(--ink-50); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-500); }
.section-head h2, .split h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.032em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-600); }
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head p { font-size: 16.5px; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-150); box-shadow: var(--shadow-card); }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-500); color: #fff; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-brand); }
.step h3 { margin-top: 20px; font-size: 20px; }
.step p { margin-top: 8px; color: var(--ink-600); font-size: 15.5px; }
.step-visual { margin-top: 24px; height: 148px; border-radius: var(--radius); background: var(--ink-50); border: 1px solid var(--ink-100); position: relative; overflow: hidden; display: grid; place-items: center; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* step visuals */
.sv-upload { width: 70%; height: 72%; border: 2px dashed var(--brand-300); border-radius: 10px; background: #fff; display: grid; place-items: center; text-align: center; font-size: 12.5px; color: var(--ink-500); }
.sv-upload .file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; background: var(--brand-50); color: var(--brand-700); font-weight: 600; font-size: 12px; margin-bottom: 6px; }
.sv-upload svg { width: 14px; height: 14px; }
.sv-fields { position: relative; width: 62%; height: 84%; background: #fff; border-radius: 6px; box-shadow: var(--shadow-card); padding: 12px; }
.sv-fields .lines { margin-top: 0; gap: 6px; }
.sv-fields .lines i { height: 5px; }
.chip { position: absolute; font-size: 10px; font-weight: 600; padding: 4px 7px; border-radius: 5px; border: 1.5px solid; }
.chip.c1 { left: 10px; bottom: 12px; color: var(--p1); background: var(--p1-bg); border-color: var(--p1); }
.chip.c2 { right: 10px; bottom: 12px; color: var(--p2); background: var(--p2-bg); border-color: var(--p2); }
.chip.c3 { right: 14px; top: 40px; color: var(--p3); background: var(--p3-bg); border-color: var(--p3); }
.palette { position: absolute; left: 10px; top: 14px; display: grid; gap: 5px; }
.palette i { display: block; width: 28px; height: 18px; border-radius: 5px; background: #fff; border: 1px solid var(--ink-200); }
.sv-track { width: 82%; display: grid; gap: 7px; }
.track-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ink-150); border-radius: 9px; padding: 7px 10px; font-size: 12px; font-weight: 500; }
.track-row .avatar { width: 22px; height: 22px; font-size: 10px; }
.track-row .state { margin-left: auto; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.st-done { background: var(--ok-bg); color: var(--ok); }
.st-open { background: #fff4e6; color: #d9480f; }
.st-sent { background: var(--brand-50); color: var(--brand-700); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--ink-150); border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  padding: 30px; transition: box-shadow 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.card:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); border-color: var(--ink-200); }
.card .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-top: 18px; font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--ink-600); font-size: 15.5px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-700); }
.card li { display: flex; gap: 8px; align-items: flex-start; }
.card li svg { width: 17px; height: 17px; color: var(--brand-500); flex: none; margin-top: 3px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-2, .span-3 { grid-column: span 1; } .span-4 { grid-column: span 2; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4 { grid-column: span 1; } .card { padding: 24px; } }

.card-wide { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; }
@media (max-width: 680px) { .card-wide { grid-template-columns: 1fr; } }
.types { display: flex; flex-wrap: wrap; gap: 7px; }
.types span { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: var(--ink-50); border: 1px solid var(--ink-150); color: var(--ink-700); }
.types span.hl { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-700); }

.code {
  margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--ink-950); color: #c9d1e3;
  font: 12.5px/1.65 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; overflow-x: auto; white-space: pre;
}
.code .k { color: #9db0ff; }
.code .s { color: #8ce99a; }
.code .c { color: #6f7683; }

/* signer experience split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split p.lede { margin-top: 16px; font-size: 18px; color: var(--ink-600); }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; }
.checks .ci { width: 28px; height: 28px; border-radius: 8px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.checks .ci svg { width: 16px; height: 16px; }
.checks b { display: block; font-weight: 600; color: var(--ink-900); }
.checks span { font-size: 15px; color: var(--ink-600); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 48px; } }

.phone-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone-stage::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brand-100), transparent 68%); }
.phone {
  position: relative; width: 300px; max-width: 86%; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 11px;
  background: var(--ink-950); box-shadow: var(--shadow-float), inset 0 0 0 2px #2a2e36;
}
.phone-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--ink-50); display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; border-radius: 20px; background: var(--ink-950); z-index: 2; }
.phone-top { padding: 44px 16px 10px; background: #fff; border-bottom: 1px solid var(--ink-100); display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.phone-top svg { width: 20px; height: 20px; }
.phone-top .prog { margin-left: auto; font-size: 11px; color: var(--ink-500); font-weight: 500; }
.phone-doc { flex: 1; padding: 14px; }
.phone-doc .mini { background: #fff; border-radius: 4px; padding: 12px; box-shadow: var(--shadow-card); height: 100%; }
.phone-doc .lines { margin-top: 0; gap: 6px; }
.phone-doc .lines i { height: 5px; }
.sheet { background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px -10px rgb(16 24 40 / 0.2); padding: 10px 16px 18px; }
.sheet .grab { width: 36px; height: 4px; border-radius: 4px; background: var(--ink-200); margin: 0 auto 12px; }
.sheet .lbl { font-size: 12px; font-weight: 600; color: var(--ink-900); }
.sheet .tabs { display: flex; gap: 4px; margin: 10px 0; padding: 3px; background: var(--ink-100); border-radius: 9px; }
.sheet .tabs span { flex: 1; text-align: center; font-size: 11px; font-weight: 600; padding: 5px 0; border-radius: 7px; color: var(--ink-500); }
.sheet .tabs span.on { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-card); }
.sheet .pad { height: 74px; border: 1px solid var(--ink-150); border-radius: 10px; background: var(--ink-25); display: grid; place-items: center; }
.sheet .pad svg { width: 80%; height: 54px; overflow: visible; }
.sheet .pad path { fill: none; stroke: var(--ink-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-visible .sheet .pad path { animation: draw 1.8s 0.5s ease-in-out forwards; }
.sheet .go { margin-top: 10px; height: 38px; border-radius: 10px; background: var(--brand-500); color: #fff; font-size: 13px; font-weight: 600; display: grid; place-items: center; }

/* security (dark) */
.dark { position: relative; background: var(--ink-950); color: #c3c8d0; overflow: hidden; isolation: isolate; }
.dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 0%, rgb(58 92 255 / 0.28), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgb(58 92 255 / 0.14), transparent 70%); }
.dark h2, .dark h3 { color: #fff; }
.dark .kicker { color: var(--brand-300); }
.dark .section-head p { color: var(--ink-400); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.08); border-radius: var(--radius-xl); overflow: hidden; }
.sec-item { padding: 32px; background: var(--ink-950); }
.sec-item .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgb(58 92 255 / 0.16); color: var(--brand-300); border: 1px solid rgb(157 176 255 / 0.2); }
.sec-item .icon svg { width: 20px; height: 20px; }
.sec-item h3 { margin-top: 18px; font-size: 18px; }
.sec-item p { margin-top: 8px; font-size: 15px; color: var(--ink-400); }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } .sec-item { padding: 26px; } }

.audit {
  margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 24px 28px; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.1);
}
.audit h3 { font-size: 18px; }
.audit p { margin-top: 4px; font-size: 15px; color: var(--ink-400); }
.hash { margin-top: 12px; font: 12.5px/1.5 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: var(--brand-300); word-break: break-all; }
@media (max-width: 760px) { .audit { grid-template-columns: 1fr; } .audit .btn { width: 100%; } }

/* use cases */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--ink-150); background: #fff; }
.use .emoji { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ink-50); color: var(--ink-700); }
.use .emoji svg { width: 20px; height: 20px; }
.use h3 { margin-top: 14px; font-size: 16.5px; letter-spacing: -0.015em; }
.use p { margin-top: 6px; font-size: 14.5px; color: var(--ink-600); }
@media (max-width: 960px) { .uses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .uses { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--ink-150); box-shadow: var(--shadow-card); }
.plan.featured { border: 2px solid var(--brand-500); box-shadow: 0 30px 60px -24px rgb(58 92 255 / 0.4); }
.plan .tag { position: absolute; top: -13px; left: 36px; padding: 4px 12px; border-radius: 999px; background: var(--brand-500); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.plan h3 { font-size: 20px; }
.plan .for { margin-top: 4px; font-size: 15px; color: var(--ink-500); }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--font-display); font-size: 46px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink-950); line-height: 1; }
.price span { font-size: 15px; color: var(--ink-500); }
.plan ul { margin: 28px 0 32px; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; flex: none; color: var(--brand-500); margin-top: 1px; }
.plan li.muted { color: var(--ink-500); }
.plan li.muted svg { color: var(--ink-300); }
.plan .btn { margin-top: auto; width: 100%; }
.plans-note { margin-top: 28px; text-align: center; font-size: 14.5px; color: var(--ink-500); }
.plans-note a { color: var(--brand-600); font-weight: 600; }
.plans-note a:hover { text-decoration: underline; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 480px; } .plan { padding: 28px; } .plan .tag { left: 28px; } }

/* faq */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ink-150); }
.faq details:first-child { border-top: 1px solid var(--ink-150); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; color: var(--ink-950);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--ink-50); border: 1px solid var(--ink-150); flex: none; transition: transform 0.25s var(--ease), background 0.2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; border-radius: 2px; background: var(--ink-700); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease); }
.faq details[open] summary .plus { background: var(--brand-50); border-color: var(--brand-200); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--brand-700); }
.faq .answer { padding: 0 4px 24px; color: var(--ink-600); font-size: 16px; max-width: 680px; }
.faq .answer a { color: var(--brand-600); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.faq .answer p + p { margin-top: 10px; }

/* final cta */
.cta-band { padding: 0 0 112px; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: 80px 32px; border-radius: 32px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
}
.cta-box::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 70% at 80% 0%, rgb(255 255 255 / 0.22), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgb(108 134 255 / 0.5), transparent 70%); }
.cta-box::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background-image: linear-gradient(rgb(255 255 255 / 0.4) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.4) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 80% at 50% 50%, #000, transparent);
}
.cta-box h2 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; max-width: 760px; margin: 0 auto; }
.cta-box p { margin: 18px auto 0; max-width: 560px; font-size: 18px; color: rgb(255 255 255 / 0.82); }
.cta-box .hero-actions { justify-content: center; }
.cta-box .fine { margin-top: 18px; font-size: 14px; color: rgb(255 255 255 / 0.7); }
@media (max-width: 640px) { .cta-band { padding-bottom: 76px; } .cta-box { padding: 56px 20px; border-radius: 24px; } .cta-box .btn { flex: 1 1 100%; } }

/* footer */
.footer { border-top: 1px solid var(--ink-150); background: var(--ink-25); padding: 64px 0 32px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 14px; max-width: 300px; color: var(--ink-500); }
.footer h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-900); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a, .footer .linkish { color: var(--ink-600); transition: color 0.15s; }
.footer a:hover, .footer .linkish:hover { color: var(--brand-600); }
.linkish { background: none; border: 0; padding: 0; font-size: inherit; text-align: left; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-150); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--ink-500); font-size: 13.5px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- legal pages ---------- */

.legal-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--ink-100); background: linear-gradient(180deg, var(--brand-50), #fff); }
.legal-hero h1 { margin-top: 10px; font-size: clamp(34px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.032em; }
.legal-hero p { margin-top: 12px; color: var(--ink-500); font-size: 15px; }
.crumbs { font-size: 14px; color: var(--ink-500); }
.crumbs a:hover { color: var(--brand-600); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.legal-tabs a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--ink-200); background: #fff; color: var(--ink-700); }
.legal-tabs a:hover { border-color: var(--ink-300); }
.legal-tabs a[aria-current='page'] { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 56px 0 112px; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; }
.toc h2 { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ink-150); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; color: var(--ink-500); line-height: 1.4; }
.toc a:hover { color: var(--ink-900); }
.toc a.active { color: var(--brand-600); border-left-color: var(--brand-500); font-weight: 500; }

.prose { max-width: 720px; color: var(--ink-700); font-size: 16.5px; line-height: 1.75; }
.prose h2 { margin: 48px 0 14px; font-size: 24px; letter-spacing: -0.02em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 18px; letter-spacing: -0.015em; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--ink-400); }
.prose a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose .summary { padding: 20px 22px; border-radius: var(--radius); background: var(--ink-50); border: 1px solid var(--ink-150); margin-bottom: 32px; font-size: 15.5px; }
.prose .summary strong:first-child { display: block; margin-bottom: 6px; }
.prose .summary ul { margin: 8px 0 0; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--ink-150); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; margin: 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.prose th { background: var(--ink-50); font-weight: 600; color: var(--ink-900); white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.prose code { font: 13.5px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; background: var(--ink-100); padding: 2px 6px; border-radius: 5px; }
.ph { background: #fff3bf; color: #5c3c00; padding: 0 4px; border-radius: 4px; font-weight: 500; }
@media (max-width: 900px) {
  .legal { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .toc { display: none; }
}

/* ---------- cookie consent ---------- */

.cc-banner {
  position: fixed; z-index: 90; right: 24px; bottom: 24px; width: min(400px, calc(100vw - 32px));
  padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-150); box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
}
.cc-banner.show { opacity: 1; transform: none; visibility: visible; }
.cc-banner h2 { display: flex; align-items: center; gap: 8px; font-size: 16.5px; letter-spacing: -0.015em; }
.cc-banner h2 svg { width: 20px; height: 20px; color: var(--brand-500); }
.cc-banner p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-600); }
.cc-banner p a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.cc-actions .btn { width: 100%; }
.cc-actions .cc-manage { grid-column: span 2; }
@media (max-width: 520px) { .cc-banner { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 18px; } }

.cc-modal { border: 0; padding: 0; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: var(--radius-xl); box-shadow: var(--shadow-float); color: var(--ink-900); }
.cc-modal::backdrop { background: rgb(12 13 16 / 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.cc-modal[open] { animation: fade-up 0.25s var(--ease); }
.cc-modal form { display: flex; flex-direction: column; max-height: inherit; }
.cc-head { padding: 24px 24px 8px; display: flex; justify-content: space-between; gap: 16px; }
.cc-head h2 { font-size: 20px; }
.cc-head p { margin-top: 6px; font-size: 14.5px; color: var(--ink-600); }
.cc-x { width: 36px; height: 36px; flex: none; border-radius: 9px; border: 0; background: var(--ink-50); display: grid; place-items: center; }
.cc-x:hover { background: var(--ink-100); }
.cc-x svg { width: 18px; height: 18px; }
.cc-cats { padding: 12px 24px; overflow: auto; }
.cc-cat { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--ink-100); }
.cc-cat:last-child { border-bottom: 0; }
.cc-cat b { font-size: 15px; font-weight: 600; }
.cc-cat p { margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); }
.cc-cat .always { font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; padding-top: 2px; }
.cc-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 16px 24px 24px; border-top: 1px solid var(--ink-100); }
@media (max-width: 520px) { .cc-foot .btn { flex: 1 1 100%; } }

.switch { position: relative; flex: none; width: 44px; height: 26px; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--ink-200); transition: background 0.2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 0.25); transition: transform 0.2s var(--ease); }
.switch input:checked + span { background: var(--brand-500); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
.nowrap { white-space: nowrap; }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* "Part of Matchouse", as on the Bloc CRM site: the Matchouse mark in currentColor, never Matchouse violet */
.mh-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; margin-right: 6px; border-radius: 999px;
  border: 1px solid var(--ink-150); background: #fff;
  font-size: 12.5px; font-weight: 500; color: var(--ink-600); white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.mh-pill svg { flex: none; }
.mh-pill:hover { color: var(--ink-950); border-color: var(--ink-300); }
@media (max-width: 1199px) { .nav-cta .mh-pill { display: none; } }
.mh-pill-menu { margin: 16px auto 0; display: flex; width: max-content; }
.mh-card {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--ink-150); background: #fff;
  font-size: 13px; color: var(--ink-600); transition: color 0.15s, border-color 0.15s;
}
.mh-card b { font-weight: 600; color: var(--ink-950); }
.mh-card:hover { color: var(--ink-950); border-color: var(--ink-300); }
.footer .mh-card { color: var(--ink-600); }
.footer .mh-card:hover { color: var(--ink-950); }
.logo { white-space: nowrap; flex: none; }
.footer .logo, .footer .logo:hover { color: var(--ink-900); }
