/* abra.css — design system for the hand-built pages (/app, /launch,
   /launch/create, /token, /docs, /how-it-works). Tokens are lifted from the
   Framer landing so the two halves of the site read as one: Bricolage
   Grotesque display type, Inter Display body, ink #1D1D1D on white, the
   black gradient pill and the blue gradient CTA with inset highlights. The
   header itself is injected by inject/abra-header.js on every page. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvcXlyMgvs-wJDtw-42b56872.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/3y9U6as8bTXq_nANBjzKo3IeZx8z6up5BeSl5jBNz_19PpbpMXuECpwUxJBOm_OJWiaaD30YfKfjZZoLvfzlyMgvs-wJDtw-3ebb4477.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/iwWTDc49ENF2tCHbqlNARXw6Ug-727f74c0.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/PfdOpgzFf7N2Uye9JX7xRKYTgSc-15d78336.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/qITWJ2WdG0wrgQPDb8lvnYnTXDg-75fe3b10.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4-4eab013a.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #1D1D1D;
  --ink-2: #323232;
  --body: #4D585F;
  --muted: #7A858C;
  --line: #E3E9EF;
  --line-2: #DDE5ED;
  --surface: #F5F7F9;
  --surface-2: #EDF1F5;
  --white: #FFFFFF;
  --sky-1: #CFE3FA;
  --sky-2: #EAF3FD;
  --blue: #3B82F6;
  --blue-2: #406AE4;
  --green: #22A06B;
  --red: #D64545;
  --amber: #C98A1B;
  --halo: rgba(221, 229, 237, 0.7);
  --shadow-card: 0 1px 2px rgba(29, 29, 29, 0.04), 0 12px 32px rgba(29, 29, 29, 0.06);
  --shadow-pop: 0 24px 64px rgba(29, 29, 29, 0.16);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --font-display: "Bricolage Grotesque", "Inter Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body: "Inter Display", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --head-h: 58px;
  --head-top: 20px;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--head-top) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: var(--font-body); font-size: 16px; line-height: 1.45; font-weight: 500;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(59, 130, 246, 0.18); }

/* ---------- layout ---------- */
.bk-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.bk-page { padding-top: calc(var(--head-h) + var(--head-top) + 48px); }
.bk-section { padding: 56px 0; }
.bk-section + .bk-section { padding-top: 0; }
.bk-grid { display: grid; gap: 20px; }
.bk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bk-app { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.bk-stack { display: flex; flex-direction: column; gap: 20px; }
.bk-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- sky band (hero of hand-built pages) ---------- */
.bk-sky {
  position: relative; isolation: isolate;
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%),
    radial-gradient(50% 35% at 80% 20%, rgba(255,255,255,0.7), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--white) 100%);
}
.bk-sky::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0) 60%, var(--white) 100%); }
.bk-hero { padding: calc(var(--head-h) + var(--head-top) + 72px) 0 56px; text-align: center; }
.bk-hero .bk-lede { margin-left: auto; margin-right: auto; }

/* ---------- type ---------- */
.bk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: 0;
}
.bk-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.bk-label {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.bk-h1, .bk-h2, .bk-h3, .bk-display {
  font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -0.01em;
}
.bk-display { font-size: 100px; line-height: 1; letter-spacing: -1.4px; }
.bk-h1 { font-size: 64px; line-height: 1.04; letter-spacing: -1.2px; }
.bk-h2 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; }
.bk-h3 { font-size: 32px; line-height: 1.2; }
.bk-h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--ink); margin: 0; }
.bk-lede { font-size: 20px; line-height: 26px; color: var(--body); max-width: 640px; margin: 18px 0 0; }
.bk-p { font-size: 18px; line-height: 23.4px; color: var(--body); margin: 0; }
.bk-small { font-size: 14px; line-height: 20px; color: var(--muted); }
.bk-mono { font-family: var(--mono); font-size: 0.92em; letter-spacing: -0.01em; }
.bk-num { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.bk-muted { color: var(--muted); }
.bk-ink { color: var(--ink); }
.bk-center { text-align: center; }

/* ---------- buttons ----------
   .bk-btn        black gradient pill (the nav CTA)
   .bk-btn-blue   blue gradient pill inside a frosted ring (the hero CTA)
   .bk-btn-ghost  white pill with a hairline
   Add .bk-arrow inside for the white arrow disc. */
.bk-btn {
  --btn-bg: linear-gradient(110deg, #323232 0%, #000 100%);
  --btn-shadow: rgba(255,255,255,0.3) 4px 4px 8px 0 inset, rgba(255,255,255,0.3) -4px -4px 8px 0 inset, rgba(29,29,29,0.5) 0 4px 16px 0;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 22px; border: 0; border-radius: 100px; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--btn-bg); box-shadow: var(--btn-shadow); color: #fff;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}
.bk-btn:hover { transform: translateY(-1px); opacity: .96; }
.bk-btn:active { transform: translateY(0); }
.bk-btn:disabled, .bk-btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.bk-btn .bk-arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: -8px;
  border-radius: 50%; background: #fff; color: var(--ink); font-size: 13px; line-height: 1; transition: transform .2s ease;
}
.bk-btn:hover .bk-arrow { transform: translateX(2px); }
.bk-btn-lg { height: 48px; padding: 0 30px; font-size: 16px; }
.bk-btn-lg .bk-arrow { width: 26px; height: 26px; }
.bk-btn-blue {
  --btn-bg: linear-gradient(110deg, #3B82F6 0%, #406AE4 100%);
  --btn-shadow: rgba(255,255,255,0.3) 4px 4px 8px 0 inset, rgba(255,255,255,0.3) -4px -4px 8px 0 inset, rgba(58,119,229,0.5) 0 8px 16px 0;
}
.bk-ring { display: inline-flex; padding: 6px; border-radius: 100px; background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.bk-btn-ghost {
  --btn-bg: #fff; --btn-shadow: 0 0 0 1px var(--line-2) inset, 0 1px 2px rgba(29,29,29,0.04);
  color: var(--ink);
}
.bk-btn-ghost .bk-arrow { background: var(--ink); color: #fff; }
.bk-btn-block { width: 100%; }
.bk-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color .15s ease; }
.bk-link:hover { border-bottom-color: var(--ink); }
.bk-ext::after { content: " ↗"; font-size: .9em; }


/* ---------- arrow ---------- */
:root { --bk-arrow-img: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8h9.1M8.5 4.3 12.2 8l-3.7 3.7' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.bk-arrow { font-size: 0 !important; line-height: 0; }
.bk-arrow::before {
  content: ""; display: block; width: 11px; height: 11px; background: currentColor;
  -webkit-mask: var(--bk-arrow-img) center / 11px 11px no-repeat;
  mask: var(--bk-arrow-img) center / 11px 11px no-repeat;
}
.bk-btn-lg .bk-arrow::before { width: 13px; height: 13px; -webkit-mask-size: 13px 13px; mask-size: 13px 13px; }

/* ---------- chips / tags ---------- */
.bk-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line-2); color: var(--ink); font-size: 14px; font-weight: 500;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.bk-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.bk-tag-ok { background: rgba(34,160,107,.12); color: var(--green); }
.bk-tag-warn { background: rgba(201,138,27,.14); color: var(--amber); }
.bk-tag-bad { background: rgba(214,69,69,.12); color: var(--red); }
.bk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34,160,107,.18); display: inline-block; }
.bk-dot-warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(201,138,27,.2); }
.bk-dot-bad { background: var(--red); box-shadow: 0 0 0 3px rgba(214,69,69,.2); }
.bk-dot-idle { background: var(--muted); box-shadow: 0 0 0 3px rgba(122,133,140,.2); }

/* ---------- cards ---------- */
.bk-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 24px;
}
.bk-card-flat { box-shadow: none; background: var(--surface); border-color: transparent; }
.bk-card-tight { padding: 18px 20px; }
.bk-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bk-stat { display: flex; flex-direction: column; gap: 8px; }
.bk-stat .bk-label { margin-bottom: 2px; }
.bk-stat .bk-num { font-size: 32px; line-height: 1.05; }
.bk-stat .bk-num-lg { font-size: 56px; letter-spacing: -1.2px; }
.bk-stat .bk-small { margin-top: 2px; }
.bk-kv { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline; }
.bk-kv dt { margin: 0; font-size: 14px; color: var(--muted); }
.bk-kv dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.bk-divider { height: 1px; background: var(--line); margin: 20px 0; }

/* ---------- tables / lists ---------- */
.bk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bk-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.bk-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; font-variant-numeric: tabular-nums; }
.bk-table tr:last-child td { border-bottom: 0; }
.bk-table .num { text-align: right; }
.bk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bk-events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bk-event { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-decoration: none; color: var(--ink); font-size: 14px; }
.bk-event:hover { border-color: var(--line-2); background: var(--surface); }
.bk-event .ic { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--ink); font-size: 14px; flex: none; }
.bk-event .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-event .unit { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.bk-event .when { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ---------- forms ---------- */
.bk-field { display: flex; flex-direction: column; gap: 8px; }
.bk-field > label, .bk-field-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.bk-hint { font-size: 13px; color: var(--muted); }
.bk-input, .bk-select, .bk-textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--radius-xs); background: var(--white); color: var(--ink);
  font-size: 15px; outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.bk-textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.bk-input:focus, .bk-select:focus, .bk-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,130,246,.14); }
.bk-input::placeholder, .bk-textarea::placeholder { color: var(--muted); }
.bk-input:disabled, .bk-select:disabled { background: var(--surface); color: var(--muted); }
.bk-input-wrap { position: relative; }
.bk-input-wrap .bk-suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.bk-input-wrap .bk-input { padding-right: 64px; }
.bk-amount { font-family: var(--font-display); font-weight: 600; font-size: 34px; letter-spacing: -0.02em; height: 64px; padding: 0 90px 0 16px; }
.bk-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); gap: 4px; }
.bk-toggle button { height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer; transition: background .15s ease, color .15s ease; }
.bk-toggle button.active { background: var(--ink); color: #fff; }
.bk-toggle button:disabled { opacity: .4; cursor: not-allowed; }
.bk-dropzone { display: flex; align-items: center; justify-content: center; min-height: 110px; border: 1px dashed var(--line-2); border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); font-size: 14px; cursor: pointer; text-align: center; padding: 16px; }
.bk-dropzone:hover { border-color: var(--blue); color: var(--ink); }
.bk-dropzone img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.bk-status { font-size: 14px; line-height: 20px; color: var(--muted); min-height: 20px; }
.bk-status.ok { color: var(--green); }
.bk-status.err { color: var(--red); }
.bk-status.busy { color: var(--ink); }
.bk-status.busy::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ink); animation: bk-spin .8s linear infinite; vertical-align: -1px; }
@keyframes bk-spin { to { transform: rotate(360deg); } }

/* ---------- steps / how-it-works ---------- */
.bk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bk-step { padding: 24px; border-radius: var(--radius); background: var(--surface); }
.bk-step .n { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: .06em; margin-bottom: 14px; }
.bk-flow { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.bk-flow .node { flex: 1 1 140px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); text-align: center; }
.bk-flow .node b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.bk-flow .node span { font-size: 13px; color: var(--muted); }
.bk-flow .arrow { align-self: center; color: var(--muted); font-size: 18px; }

/* ---------- docs layout ---------- */
.bk-docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 40px 0 96px; align-items: start; }
.bk-side { position: sticky; top: calc(var(--head-h) + var(--head-top) + 24px); }
.bk-side h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.bk-side a { display: block; padding: 7px 12px; margin-left: -12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 14px; line-height: 20px; transition: color .15s ease, background .15s ease; }
.bk-side a:hover { color: var(--ink); background: var(--surface); }
.bk-side a.active { color: var(--ink); background: var(--surface-2); }
.bk-article { max-width: 760px; min-width: 0; }
.bk-article h2 { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: -0.8px; color: var(--ink); margin: 64px 0 16px; }
.bk-article h2:first-child { margin-top: 0; }
.bk-article h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--ink); margin: 36px 0 10px; }
.bk-article p, .bk-article li { font-size: 17px; line-height: 27px; color: var(--body); }
.bk-article p { margin: 0 0 16px; }
.bk-article ul, .bk-article ol { padding-left: 22px; margin: 0 0 16px; }
.bk-article li { margin: 6px 0; }
.bk-article code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.bk-article pre { background: var(--ink); color: #F5F7F9; padding: 18px 20px; border-radius: var(--radius-sm); overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 20px; }
.bk-article pre code { background: none; padding: 0; color: inherit; }
.bk-article table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 20px; }
.bk-article th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bk-article td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.bk-note { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border-left: 3px solid var(--blue); font-size: 15px; line-height: 23px; color: var(--body); margin: 0 0 20px; }
.bk-note.warn { border-left-color: var(--amber); }
.bk-copy { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); cursor: pointer; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.bk-copy:hover { background: var(--surface); }

/* ---------- token cards (launchpad) ---------- */
.bk-tokens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bk-token {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bk-token:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(29,29,29,0.1); }
.bk-token .art { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, var(--sky-2), var(--surface-2)); }
.bk-token .art img { width: 100%; height: 100%; object-fit: cover; }
.bk-token .art .stable { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff; background: var(--ink); object-fit: cover; box-shadow: 0 6px 16px rgba(29,29,29,.2); }
.bk-token .body { padding: 16px 18px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.bk-token .name { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.1; }
.bk-token .meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.bk-token .cap { text-align: right; }
.bk-token .cap .bk-label { display: block; margin-bottom: 4px; }
.bk-token .cap .bk-num { font-size: 18px; }

/* ---------- footer ---------- */
.bk-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 64px; font-size: 14px; color: var(--muted); }
.bk-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.bk-foot h6 { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-weight: 600; }
.bk-foot a { display: block; text-decoration: none; color: var(--muted); padding: 4px 0; }
.bk-foot a:hover { color: var(--ink); }
.bk-foot .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; }
.bk-foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 20px; margin-bottom: 10px; }
.bk-foot-brand .bk-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink) center/cover no-repeat; }

/* ---------- modal ---------- */
.bk-modal { position: fixed; inset: 0; z-index: 2147483500; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(29,29,29,.42); backdrop-filter: blur(6px); }
.bk-modal.open { display: flex; }
.bk-modal .box { width: 100%; max-width: 520px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-pop); }
.bk-modal .close { float: right; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-size: 16px; }

/* ---------- skeleton ---------- */
.bk-skel { display: inline-block; min-width: 60px; height: 1em; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: bk-shimmer 1.2s ease-in-out infinite; color: transparent !important; }
@keyframes bk-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .bk-display { font-size: 72px; }
  .bk-h1 { font-size: 52px; }
  .bk-h2 { font-size: 40px; }
  .bk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-tokens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-app { grid-template-columns: minmax(0, 1fr); }
  .bk-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-docs { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .bk-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .bk-display { font-size: 52px; letter-spacing: -1px; }
  .bk-h1 { font-size: 40px; letter-spacing: -.8px; }
  .bk-h2 { font-size: 32px; letter-spacing: -.6px; }
  .bk-h3 { font-size: 26px; }
  .bk-lede { font-size: 17px; line-height: 24px; }
  .bk-p { font-size: 16px; line-height: 22px; }
  .bk-grid-2, .bk-grid-3, .bk-grid-4, .bk-steps, .bk-tokens, .bk-events { grid-template-columns: minmax(0, 1fr); }
  .bk-docs { grid-template-columns: minmax(0, 1fr); }
  .bk-side { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
  .bk-side h5 { display: none; }
  .bk-side a { white-space: nowrap; margin-left: 0; }
  .bk-article h2 { font-size: 30px; }
  .bk-stat .bk-num-lg { font-size: 42px; }
  .bk-card { padding: 18px; border-radius: 20px; }
  .bk-amount { font-size: 26px; }
  .bk-hero { padding-top: calc(var(--head-h) + var(--head-top) + 48px); }
  .bk-page { padding-top: calc(var(--head-h) + var(--head-top) + 32px); }
  .bk-foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
