/* biolink-kit: our look, loaded after the vendor theme CSS. */

:root{
  --bk-ink:#0C0B0F; --bk-ink-2:#16151B; --bk-ink-line:#2B2931;
  --bk-bone:#F2EEE6; --bk-fx:#E879F9; --bk-fx-deep:#A21CAF; --bk-fx-ink:#2A0B30;
  --bk-display:"Bricolage Grotesque",system-ui,sans-serif;
  --bk-body:"Schibsted Grotesk",system-ui,sans-serif;
  --bk-mono:"Martian Mono",ui-monospace,monospace;
  --bk-ease:cubic-bezier(.16,1,.3,1);
}
body[data-theme-style="light"]{
  --bk-bg:#F6F3EC; --bk-surface:#FFFFFF; --bk-line:#E1DCCF; --bk-text:#0C0B0F; --bk-muted:#5C5766;
  --bk-accent:#A21CAF; --bk-accent-fill:#E879F9; --bk-on-fill:#0C0B0F;
}
body[data-theme-style="dark"]{
  --bk-bg:#0C0B0F; --bk-surface:#16151B; --bk-line:#2B2931; --bk-text:#F2EEE6; --bk-muted:#A39FAD;
  --bk-accent:#E879F9; --bk-accent-fill:#E879F9; --bk-on-fill:#0C0B0F;
}

/* ---------- global: public and app pages ---------- */
body[data-theme-style]{font-family:var(--bk-body);background:var(--bk-bg);color:var(--bk-text);-webkit-font-smoothing:antialiased}
body[data-theme-style].bg-gray-50,body[data-theme-style]:has(> main.py-6 > .container > .d-flex.align-items-center){background:var(--bk-bg)!important}
body[data-theme-style] ::selection{background:var(--bk-fx);color:var(--bk-ink)}
body[data-theme-style] h1,body[data-theme-style] h2,body[data-theme-style] h3,
body[data-theme-style] .h1,body[data-theme-style] .h2,body[data-theme-style] .h3{font-family:var(--bk-display);font-weight:700;font-stretch:88%;letter-spacing:-.015em;color:var(--bk-text)}
body[data-theme-style] .text-primary{color:var(--bk-accent)!important}
body[data-theme-style] .text-muted{color:var(--bk-muted)!important}
body[data-theme-style] :focus-visible{outline:2px solid var(--bk-accent);outline-offset:2px}

body[data-theme-style] .btn{border-radius:999px;font-weight:600;padding-left:1.15rem;padding-right:1.15rem;transition:background .2s,border-color .2s,color .2s}
body[data-theme-style] .btn-primary,
body[data-theme-style] .btn-primary:not(:disabled):not(.disabled):active{background:var(--bk-accent-fill);border-color:var(--bk-accent-fill);color:var(--bk-on-fill)}
body[data-theme-style] .btn-primary:hover,body[data-theme-style] .btn-primary:focus{background:var(--bk-text);border-color:var(--bk-text);color:var(--bk-bg);box-shadow:none}
body[data-theme-style] .btn-outline-primary{border-color:var(--bk-accent);color:var(--bk-accent)}
body[data-theme-style] .btn-outline-primary:hover{background:var(--bk-accent-fill);border-color:var(--bk-accent-fill);color:var(--bk-on-fill)}

body[data-theme-style] .form-control,body[data-theme-style] .custom-select{border-radius:14px;border-color:var(--bk-line);background-color:var(--bk-surface);color:var(--bk-text)}
body[data-theme-style] .form-control:focus,body[data-theme-style] .custom-select:focus{border-color:var(--bk-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--bk-accent) 22%,transparent)}
body[data-theme-style] .form-control::placeholder{color:var(--bk-muted);opacity:.85}
body[data-theme-style] .input-group-text{border-color:var(--bk-line);background:var(--bk-surface);color:var(--bk-muted);border-radius:14px}

body[data-theme-style] .card{border-radius:22px;border:1px solid var(--bk-line);background:var(--bk-surface);box-shadow:none}
body[data-theme-style] .dropdown-menu{border-radius:16px;border-color:var(--bk-line);background:var(--bk-surface)}
body[data-theme-style] .dropdown-item{color:var(--bk-text)}
body[data-theme-style] .dropdown-item:hover{background:color-mix(in srgb,var(--bk-accent) 12%,transparent);color:var(--bk-text)}
body[data-theme-style] .badge-primary{background:var(--bk-accent-fill);color:var(--bk-on-fill)}
body[data-theme-style] .custom-control-input:checked~.custom-control-label::before{background:var(--bk-accent-fill);border-color:var(--bk-accent-fill)}

/* public nav becomes the pill */
body[data-theme-style] .navbar-main{border-radius:999px!important;background:var(--bk-surface);border-color:var(--bk-line)!important;padding:.45rem .6rem .45rem 1.1rem}
body[data-theme-style] .navbar-main .navbar-brand{font-family:var(--bk-display);font-weight:700;letter-spacing:-.02em;color:var(--bk-text)}
body[data-theme-style] .navbar-main .nav-link{color:var(--bk-muted);border-radius:999px;font-size:.92rem}
body[data-theme-style] .navbar-main .nav-link:hover{color:var(--bk-text)}
body[data-theme-style] .navbar-main .nav-link.text-primary{color:var(--bk-accent)!important}
body[data-theme-style] .index-background-blurs{display:none}
body[data-theme-style] .app-footer,body[data-theme-style] .app-footer a{color:var(--bk-muted)}

/* ---------- vendor palette: the whole app follows these ---------- */
body[data-theme-style="light"]{
  --font-family-sans-serif:"Schibsted Grotesk",system-ui,sans-serif; --font-family-monospace:"Martian Mono",ui-monospace,monospace;
  --white:#FFFFFF; --body-bg:#F6F3EC; --light:#F3EFE8; --dark:#2A2731; --gray:#6A6474; --gray-dark:#2A2731; --secondary:#6A6474;
  --gray-50:#FAF8F3; --gray-100:#F3EFE8; --gray-200:#EAE5DB; --gray-300:#DDD7CA; --gray-400:#A9A3AD; --gray-500:#8E8896; --gray-600:#6A6474; --gray-700:#4B4753; --gray-800:#2A2731; --gray-900:#141218;
  --primary:#A21CAF; --primary-50:#FDF4FE; --primary-100:#FAE8FD; --primary-200:#F5CFFA; --primary-300:#EFA9F6; --primary-400:#D946EF; --primary-600:#86198F; --primary-700:#701A75; --primary-800:#581460; --primary-900:#3B0D40;
}
body[data-theme-style="dark"]{
  --font-family-sans-serif:"Schibsted Grotesk",system-ui,sans-serif; --font-family-monospace:"Martian Mono",ui-monospace,monospace;
  --white:#16151B; --body-bg:#0C0B0F; --light:#1B1A21; --dark:#DCD9E2; --gray:#A39FAD; --gray-dark:#DCD9E2; --secondary:#A39FAD;
  --gray-50:#0C0B0F; --gray-100:#1B1A21; --gray-200:#26242D; --gray-300:#33303B; --gray-400:#5D5968; --gray-500:#787383; --gray-600:#A39FAD; --gray-700:#BDB9C6; --gray-800:#DCD9E2; --gray-900:#F2EEE6;
  --primary:#E879F9; --primary-50:#1B0F1F; --primary-100:#3B0D40; --primary-200:#581460; --primary-300:#701A75; --primary-400:#A21CAF; --primary-600:#EFA9F6; --primary-700:#F5CFFA; --primary-800:#FAE8FD; --primary-900:#FDF4FE;
}
/* bright fuchsia fills need ink text, not white */
body[data-theme-style="dark"] .bg-primary,body[data-theme-style="dark"] .badge-primary,
body[data-theme-style="dark"] .app-sidebar-links > li.active > a:not(.default),
body[data-theme-style="dark"] .page-item.active .page-link,body[data-theme-style="dark"] .nav-pills .nav-link.active,
body[data-theme-style="dark"] .dropdown-item.active{color:var(--bk-ink)!important}
/* the ink text above needs the accent behind it; some vendor pill groups set a dark background of their own */
body[data-theme-style="dark"] .nav-pills .nav-link.active{background:var(--bk-accent)!important}

/* ---------- app shell ---------- */
body[data-theme-style] .app-sidebar{border-radius:28px;border:1px solid var(--gray-200);box-shadow:none}
body[data-theme-style] .app-sidebar-logo{font-family:var(--bk-display);font-weight:700;font-stretch:88%;letter-spacing:-.02em;color:var(--gray-900)}
body[data-theme-style] .app-sidebar-links > li > a{border-radius:999px;font-weight:500}
body[data-theme-style="dark"] .app-sidebar-links > li.active > a:not(.default){background:var(--bk-fx)}
body[data-theme-style] .table thead th{font-family:var(--bk-mono);font-size:.68rem;font-weight:500;letter-spacing:.02em;text-transform:none;color:var(--gray-600);border-bottom-color:var(--gray-200)}
body[data-theme-style] .table td{border-top-color:var(--gray-200)}
body[data-theme-style] .modal-content{border-radius:26px;border:1px solid var(--gray-200);background:var(--white)}
body[data-theme-style] .alert{border-radius:16px}
body[data-theme-style] .nav-pills .nav-link{border-radius:999px}
body[data-theme-style] .breadcrumb{font-family:var(--bk-mono);font-size:.7rem}

/* ---------- vendor colours compiled into bootstrap, which the palette variables cannot reach ---------- */
body[data-theme-style] .progress-bar{background-color:var(--primary)}
body[data-theme-style] .dropdown-item.active,body[data-theme-style] .dropdown-item:active{background-color:var(--primary);color:#fff}
body[data-theme-style] code{color:var(--primary);background:var(--primary-100)}
body[data-theme-style] .btn-secondary{background-color:var(--gray-700);border-color:var(--gray-700);color:var(--white)}
body[data-theme-style] .btn-outline-secondary{color:var(--gray-600);border-color:var(--gray-400)}
body[data-theme-style] .text-secondary,body[data-theme-style] .dropdown-header{color:var(--gray-600)!important}
body[data-theme-style] .badge-light{color:var(--gray-700);background:var(--gray-100)}
body[data-theme-style] .select2-selection__rendered{color:var(--gray-800)!important}
body[data-theme-style] .select2-selection__arrow b{border-top-color:var(--gray-600)!important}
body[data-theme-style] .alert-info{background:var(--primary-50);border-color:var(--primary-200);color:var(--gray-800)}
body[data-theme-style] .alert-info a{color:var(--primary)}
/* admin panel: its bootstrap build is separate and all hard-coded, so only the loudest blues are corrected */
body[data-theme-style]:has(.admin-sidebar) a:not(.btn):not(.nav-link):not(.dropdown-item):not(.badge):not([class*="leaflet"]){color:var(--primary)}
/* dashboard type icons carry pale inline tints that glare on dark */
body[data-theme-style="dark"] .index-widget-icon{background:color-mix(in srgb,currentColor 16%,transparent)!important}
body[data-theme-style] .bg-primary-100{background-color:var(--primary-100)!important}
body[data-theme-style] .text-primary-900{color:var(--primary-900)!important}

/* ---------- our bio page blocks (plugins/biolink-kit-blocks) ----------
   Colours come from the card's inline style (the block's own settings), so every tint is cut from currentColor. */
.bk-b{padding:22px;text-align:left;display:flex;flex-direction:column;gap:10px;--bk-line:color-mix(in srgb,currentColor 18%,transparent)}
.bk-b .bk-b-title{font-size:1.15rem;font-weight:700;line-height:1.25;letter-spacing:-.01em;margin:0;color:inherit}
.bk-b .bk-b-text{font-size:.95rem;line-height:1.5;margin:0;opacity:.85;white-space:pre-line}
.bk-b-btn,.bk-b-btn:hover{color:inherit}
.bk-b-btn{align-self:flex-start;margin-top:6px;padding:.6rem 1.15rem;border-radius:999px;border:1.5px solid currentColor;background:currentColor;font-weight:600;font-size:.95rem;line-height:1.2;text-decoration:none!important;transition:opacity .2s}
.bk-b-btn:hover{opacity:.85}
/* the label takes the card colour; the anchor's own colour stays currentColor for the fill */
.bk-b-btn{-webkit-text-fill-color:var(--bk-bg)}
.bk-b-clear .bk-b-btn{background:transparent;-webkit-text-fill-color:currentColor}
/* no fill and no border: line the text up with the page edge */
.bk-b-flat{padding-left:2px;padding-right:2px}
.bk-b-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.bk-b-price{font-weight:700;font-size:1.15rem;white-space:nowrap}
.bk-b-list{list-style:none;margin:0;padding:0}
.bk-b-list li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 0;border-top:1px solid var(--bk-line)}
.bk-b-list small{display:block;opacity:.75;font-size:.82rem;margin-top:2px}
.bk-b-list b{white-space:nowrap;font-weight:700}
.bk-b-quote figure{margin:0}
.bk-b-quote blockquote{all:unset;display:block;font-size:1.2rem;line-height:1.4;font-weight:500;letter-spacing:-.01em;white-space:pre-line}
.bk-b-quote blockquote::before{content:"\201C";display:block;font-size:2.6rem;line-height:.8;height:.45em;opacity:.45}
.bk-b-quote figcaption{margin-top:14px;font-size:.9rem;display:flex;flex-wrap:wrap;gap:2px 8px}
.bk-b-quote figcaption span{opacity:.75}
.bk-b-qa details{border-top:1px solid var(--bk-line);padding:11px 0 1px}
.bk-b-qa summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:12px}
.bk-b-qa summary::-webkit-details-marker{display:none}
.bk-b-qa summary::after{content:"+";font-weight:400;flex:none}
.bk-b-qa details[open] summary::after{content:"\2212"}
.bk-b-qa details p{padding:8px 0 10px}
.bk-b-count{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
.bk-b-count span{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 4px;border:1px solid var(--bk-line);border-radius:12px}
.bk-b-count b{font-size:1.6rem;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1}
.bk-b-count.bk-b-done{display:block;font-size:1.05rem;font-weight:600;text-transform:none;letter-spacing:0}
.bk-b-form{display:flex;flex-direction:column;gap:8px}
.bk-b-form :is(select,input){font:inherit;color:inherit;background:transparent;border:1.5px solid var(--bk-line);border-radius:10px;padding:.6rem .75rem;width:100%}
.bk-b-form :is(select,input):focus-visible{outline:2px solid currentColor;outline-offset:1px}
.bk-b-form :is(option,optgroup){color:#141218;background:#fff}
.bk-b-form ::placeholder{color:inherit;opacity:.6}
.bk-b-form button{cursor:pointer}
.bk-b-form small{opacity:.7;font-size:.8rem}
.bk-b-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.bk-b-actions .bk-b-btn{margin-top:0}
.bk-b-link{all:unset;cursor:pointer;font-size:.95rem;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.bk-b-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.bk-b-form button:disabled{opacity:.5;cursor:default}
.bk-b-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.bk-b-grid figure{margin:0;min-width:0}
.bk-b-grid a{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:var(--bk-line)}
.bk-b-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.bk-b-grid a:hover img{transform:scale(1.04)}
.bk-b-grid figcaption{font-size:.8rem;opacity:.75;margin-top:6px}
.bk-b-grid figure:first-child:nth-last-child(odd){grid-column:span 2}
.bk-b-grid figure:first-child:nth-last-child(odd) a{aspect-ratio:16/10}
.bk-b-frame{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--bk-line);margin-bottom:6px}
.bk-b-frame iframe{width:100%;height:100%;border:0;display:block}
.bk-b-row{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;font-weight:700;font-size:1.05rem;letter-spacing:-.01em;opacity:.85}
.bk-b-row img{height:26px;max-width:120px;object-fit:contain;display:block}
.bk-b-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:8px;margin:0}
.bk-b-numbers div{display:flex;flex-direction:column;gap:4px;padding:14px;border:1px solid var(--bk-line);border-radius:12px}
.bk-b-numbers dd{margin:0;font-size:1.7rem;font-weight:700;letter-spacing:-.03em;line-height:1}
.bk-b-numbers dt{font-size:.82rem;font-weight:400;opacity:.75;line-height:1.3}
.bk-b-steps{list-style:none;margin:0;padding:0 0 0 18px;border-left:1.5px solid var(--bk-line);display:flex;flex-direction:column;gap:16px}
.bk-b-steps li{position:relative;display:flex;flex-direction:column;gap:2px}
.bk-b-steps li::before{content:"";position:absolute;left:-23.5px;top:.35em;width:9px;height:9px;border-radius:50%;background:currentColor}
.bk-b-steps span{font-size:.75rem;text-transform:uppercase;letter-spacing:.07em;opacity:.7}
.bk-b-steps strong{font-weight:700}
.bk-b-steps small{font-size:.9rem;opacity:.8;line-height:1.45}

/* ---------- sign in and sign up ---------- */
/* Dark like the landing page, with its headline on the left (markup: plugins/biolink-kit/init.php) */
/* The :has() below matches the vendor's basic_wrapper.php, which every account page uses: sign in, sign up,
   lost and reset password, activation, unsubscribe, maintenance. Only the first two get a body class from the vendor. */
.bk-auth{display:none}
body[data-theme-style]:has(> main.py-6 > .container > .d-flex.align-items-center){
  --bk-bg:#0C0B0F; --bk-surface:#16151B; --bk-line:#2B2931; --bk-text:#F2EEE6; --bk-muted:#A39FAD; --bk-accent:#E879F9}
/* the vendor compiled dark ink into these, so they need saying again on a dark page */
body:has(> main.py-6 > .container > .d-flex.align-items-center) :is(a,.text-dark){color:var(--bk-text)!important}
body:has(> main.py-6 > .container > .d-flex.align-items-center) :is(label,small,p) a:not(.btn){text-decoration:underline;text-underline-offset:3px}
body:has(> main.py-6 > .container > .d-flex.align-items-center) .form-control{background:#0C0B0F;border-color:#3A3741;color:var(--bk-text)}
body:has(> main.py-6 > .container > .d-flex.align-items-center) .form-control:focus{border-color:var(--bk-fx);box-shadow:none}
body:has(> main.py-6 > .container > .d-flex.align-items-center) .custom-control-label::before{background:#0C0B0F;border:1px solid #7A7585}
/* a tick box is square: fully round, it read as a radio button */
body:has(> main.py-6 > .container > .d-flex.align-items-center) .custom-checkbox .custom-control-label::before{border-radius:5px}
/* the rule above outranks the site-wide ticked state, which left a dark tick on a dark box */
body:has(> main.py-6 > .container > .d-flex.align-items-center) .custom-control-input:checked~.custom-control-label::before{background:var(--bk-fx);border-color:var(--bk-fx)}
body:has(> main.py-6 > .container > .d-flex.align-items-center) .custom-control-input:focus-visible~.custom-control-label::before{outline:2px solid var(--bk-fx);outline-offset:2px}
body:has(> main.py-6 > .container > .d-flex.align-items-center) .btn-primary{color:var(--bk-ink)!important}
@media (min-width:992px){
  body[data-theme-style]:has(> main.py-6 > .container > .d-flex.align-items-center){padding-left:46vw}
  body:has(> main.py-6 > .container > .d-flex.align-items-center) .bk-auth{display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,2.2vw,32px);position:fixed;inset:0 auto 0 0;width:46vw;padding:0 5vw;color:var(--bk-bone);border-right:1px solid #2B2931}
  /* the vendor sizes the form column as a share of a full-width page; here it has half of one */
  body:has(> main.py-6 > .container > .d-flex.align-items-center) main [class*="col-"]{flex:none;width:100%;max-width:460px}
  .bk-auth .bk-stack{font-size:clamp(26px,3.75vw,62px)}
  .bk-auth .bk-pill{width:auto}
  .bk-auth .bk-p1,.bk-auth .bk-p3{align-self:stretch;flex:1}
  .bk-auth-note{margin:0;max-width:34ch;font-size:clamp(14px,1.15vw,17px);line-height:1.5;color:#A39FAD}
}

/* ---------- landing ---------- */
body:has(.bk-landing){background:var(--bk-ink);
  --bk-bg:#0C0B0F; --bk-surface:#16151B; --bk-line:#2B2931; --bk-text:#F2EEE6; --bk-muted:#A39FAD; --bk-accent:#E879F9}
body:has(.bk-landing) .navbar-main{background:rgba(22,21,27,.82);backdrop-filter:blur(14px);margin-bottom:0!important}
.bk-landing{color:var(--bk-bone);overflow-x:clip}
.bk-landing a{color:inherit;text-decoration:none}
.bk-wrap{width:min(1320px,100% - 48px);margin-inline:auto}

.bk-hero{padding:56px 0 64px;min-height:calc(100svh - 110px);display:flex;flex-direction:column;justify-content:center}
.bk-stack{display:grid;gap:clamp(8px,1vw,14px);margin:0;font-family:var(--bk-display);font-weight:800;font-stretch:82%;font-size:clamp(34px,9.3vw,136px);line-height:1;letter-spacing:-.012em}
.bk-line{display:flex;align-items:stretch;gap:clamp(8px,1vw,14px)}
.bk-pill{height:1.24em;border-radius:.62em;display:flex;align-items:center;padding:0 .36em .04em;white-space:nowrap}
.bk-p1{background:var(--bk-fx);color:var(--bk-ink);width:100%;justify-content:space-between}
.bk-p2{background:var(--bk-bone);color:var(--bk-ink)}
.bk-p3{border:2px solid var(--bk-bone);color:var(--bk-bone);width:100%;justify-content:space-between}
.bk-go .bk-pill{animation:bk-in .9s var(--bk-ease) both}
.bk-go .bk-line:nth-child(2) .bk-pill{animation-delay:.08s}
.bk-go .bk-line:nth-child(3) .bk-pill{animation-delay:.16s}
@keyframes bk-in{from{clip-path:inset(0 100% 0 0 round .62em);translate:-18px 0}to{clip-path:inset(0 0 0 0 round .62em);translate:0 0}}
.bk-idx{font-family:var(--bk-mono);font-weight:500;font-stretch:100%;font-size:.085em;letter-spacing:.02em;opacity:.72;align-self:flex-start;margin-top:2.4em}
.bk-dot{flex:none;width:1.24em;height:1.24em;border-radius:50%;background:var(--bk-fx);color:var(--bk-ink)!important;display:grid;place-items:center;transition:background .25s,scale .5s var(--bk-ease)}
.bk-go .bk-dot{animation:bk-pop .8s .35s var(--bk-ease) both}
.bk-dot svg{width:.42em;height:.42em;rotate:-45deg;transition:rotate .5s var(--bk-ease)}
.bk-dot:hover{background:var(--bk-bone);scale:1.04}
.bk-dot:hover svg{rotate:0deg}
@keyframes bk-pop{from{scale:.4;opacity:0}to{scale:1;opacity:1}}
.bk-aside{font-family:var(--bk-body);font-weight:400;font-stretch:100%;font-size:clamp(14px,1.18vw,17px);line-height:1.5;letter-spacing:0;color:#A39FAD;align-self:center;max-width:23ch;margin-left:clamp(8px,1.4vw,22px);white-space:normal}
.bk-aside b{color:var(--bk-bone);font-weight:500}

.bk-claim{margin-top:clamp(28px,4vw,52px);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px}
.bk-field{display:flex;align-items:center;background:var(--bk-ink-2);border:1px solid var(--bk-ink-line);border-radius:999px;padding:7px 7px 7px 24px;width:min(640px,100%);transition:border-color .2s;margin:0}
.bk-field:focus-within{border-color:var(--bk-fx)}
.bk-field span{font-family:var(--bk-mono);font-size:13px;color:#A39FAD;white-space:nowrap}
.bk-field input{flex:1;min-width:60px;background:none;border:0;outline:0;color:var(--bk-bone);font-family:var(--bk-mono);font-size:13px;padding:12px 4px;caret-color:var(--bk-fx)}
.bk-field input::placeholder{color:#918C9C}
.bk-field button{font:600 15px var(--bk-body);background:var(--bk-fx);color:var(--bk-ink);border:0;border-radius:999px;padding:14px 22px;cursor:pointer;transition:background .2s;white-space:nowrap}
.bk-field button:hover{background:var(--bk-bone)}
.bk-has{display:flex;gap:10px 26px;flex-wrap:wrap;font-family:var(--bk-mono);font-size:12px;color:#A39FAD}
.bk-has i{font-style:normal;color:var(--bk-fx)}

body[data-theme-style] .bk-landing h2{font-family:var(--bk-display);font-weight:800;font-stretch:84%;font-size:clamp(36px,5.6vw,84px);line-height:1;letter-spacing:-.015em;text-wrap:balance;margin:0;color:inherit}
.bk-lede{font-size:18px;line-height:1.55;max-width:46ch;margin:22px 0 0}

.bk-pages{background:var(--bk-bone);color:var(--bk-ink);padding:120px 0 0;border-radius:44px 44px 0 0;overflow:hidden}
.bk-pages .bk-lede{color:#4B4753}
.bk-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.bk-note{font-family:var(--bk-mono);font-size:11px;color:#5C5766}
.bk-reel{display:flex;gap:26px;margin-top:64px;padding:0 24px;width:max-content;animation:bk-drift 46s linear infinite}
.bk-reel:hover{animation-play-state:paused}
@keyframes bk-drift{to{translate:calc(-50% - 13px) 0}}
.bk-bp{flex:none;width:300px;height:590px;border-radius:40px 40px 0 0;padding:44px 24px 0;display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--bg);color:var(--fg);font-family:var(--f,var(--bk-body))}
.bk-bp:nth-child(even){margin-top:56px;height:534px}
.bk-bp img{width:84px;height:84px;border-radius:var(--av,50%);object-fit:cover}
body[data-theme-style] .bk-bp h3{font-size:22px;margin:16px 0 0;font-weight:var(--hw,700);letter-spacing:-.02em;font-family:var(--hf,inherit);font-stretch:100%;color:inherit}
.bk-bp p{font-size:13.5px;line-height:1.45;opacity:.9;margin:6px 0 0;max-width:24ch}
.bk-bp ul{list-style:none;padding:0;width:100%;display:grid;gap:10px;margin:24px 0 0}
.bk-bp li{height:52px;border-radius:var(--r,26px);background:var(--pill);color:var(--ptx);border:var(--bd,0);display:flex;align-items:center;justify-content:center;font-size:14.5px;font-weight:600}
.bk-t1{--bg:#A63C22;--fg:#FBEFE2;--pill:#FBEFE2;--ptx:#5A1F10;--hf:"Young Serif",serif;--hw:400;--r:10px}
.bk-t2{--bg:#0B0B0B;--fg:#E9FF70;--pill:transparent;--ptx:#E9FF70;--bd:1.5px solid #E9FF70;--f:var(--bk-mono);--av:18px;--r:0}
body[data-theme-style] .bk-t2 h3{font-size:17px}.bk-t2 li{font-size:12px}.bk-t2 p{font-size:11.5px}
.bk-t3{--bg:#2747F5;--fg:#fff;--pill:#fff;--ptx:#1630B8;--hf:var(--bk-display)}
.bk-t4{--bg:#F6F4EF;--fg:#141414;--pill:transparent;--ptx:#141414;--hf:"Young Serif",serif;--hw:400;--r:0;box-shadow:inset 0 0 0 1px #D9D4C8}
.bk-t4 li{border-bottom:1px solid #141414;justify-content:space-between;height:48px}
.bk-t4 li::after{content:"";width:8px;height:8px;border-top:1.5px solid;border-right:1.5px solid;rotate:45deg}
.bk-t5{--bg:#F4CF4A;--fg:#3A1206;--pill:#C8321A;--ptx:#FFF3D6;--hf:var(--bk-display);--av:28px}

.bk-smart{background:var(--bk-fx);color:var(--bk-ink);padding:120px 0}
.bk-smart .bk-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;align-items:center}
.bk-smart .bk-lede{color:var(--bk-fx-ink)}
.bk-rules{background:var(--bk-ink);color:var(--bk-bone);border-radius:32px;padding:28px}
.bk-url{font-family:var(--bk-mono);font-size:13px;display:flex;justify-content:space-between;gap:16px;padding:6px 8px 20px;color:#A39FAD}
.bk-url b{color:var(--bk-bone);font-weight:500;overflow-wrap:anywhere}
.bk-rule{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;padding:16px 18px;border-radius:18px;background:var(--bk-ink-2);margin-top:8px;font-size:15px;transition:background .25s,translate .5s var(--bk-ease)}
.bk-rule:hover{background:#211E29;translate:6px 0}
.bk-rule code{font-family:var(--bk-mono);font-size:12px;color:#A39FAD;background:none;padding:0}
.bk-rule em{font-style:normal;font-family:var(--bk-mono);font-size:11px;padding:7px 12px;border-radius:999px;background:var(--bk-fx);color:var(--bk-ink)}
.bk-rule.bk-else em{background:transparent;border:1px solid var(--bk-ink-line);color:#A39FAD}

.bk-end{padding:140px 0 120px;text-align:center}
body[data-theme-style] .bk-end h2{font-size:clamp(48px,9vw,136px);font-stretch:82%}
.bk-end .bk-field{margin:44px auto 0}

@media (max-width:820px){
  .bk-aside,.bk-idx{display:none}
  .bk-stack{font-size:8.3vw}
  .bk-hero{min-height:auto;padding:64px 0 72px}
  .bk-smart .bk-grid{grid-template-columns:1fr}
  .bk-field span{display:none}.bk-field{padding-left:16px}
  .bk-pages{padding-top:80px}.bk-smart{padding:80px 0}.bk-end{padding:96px 0 80px}
}
@media (prefers-reduced-motion:reduce){
  .bk-landing *{animation:none!important;transition:none!important}
}
