/* godyor: page chrome shared by every page except the report slab (top bar, footer, sections, tables, forms, states). */
body.page {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(49, 92, 232, .22), rgba(49, 92, 232, 0) 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    #0e1520;
}

/* top bar: the mark on the left, the open pages and the X link on the right */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; padding: 0 24px;
  background: rgba(14, 21, 32, .97); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; flex: none; }
.brand svg { width: 28px; height: 28px; }
.brand span { font: 900 17px/1 var(--f-title); letter-spacing: -.01em; }
.brand em { font: 500 15px/1 var(--f-body); font-style: normal; color: var(--ink-3); }
.brand:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; border-radius: 6px; }
.ways { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ways .nav-x { font-family: var(--f-title); font-weight: 800; }
.ways a.nl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; font: 600 15px/1 var(--f-body); color: var(--ink-2); text-decoration: none;
  transition: color 150ms var(--ease-press), background-color 150ms var(--ease-press); }
.ways a.nl:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.ways a.nl[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--blue-hi); border-radius: 8px 8px 2px 2px; }
.ways a.nl:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 2px; }
@media (max-width: 820px) {
  .bar { padding: 0 16px; }
  .ways a.nl.extra { display: none; }
  .brand em { display: none; }
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* page head */
.head-sec { padding: 72px 0 8px; }
h1.title { margin: 0; font: 900 72px/.95 var(--f-title); letter-spacing: -.035em; color: #fff; max-width: 13em; overflow-wrap: anywhere; }
.sub-h { margin: 14px 0 0; font: 700 24px/1.2 var(--f-title); letter-spacing: -.01em; color: var(--ink-3); max-width: 30em; }
.lead { margin: 22px 0 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.lead b { color: var(--ink); font-weight: 600; }
.meta-line { margin: 18px 0 0; font: 500 14px/1.5 var(--f-num); color: var(--ink-3); }
@media (max-width: 900px) { h1.title { font-size: 48px; } .sub-h { font-size: 20px; } }
@media (max-width: 420px) { h1.title { font-size: 38px; } }

section.sec { padding: 80px 0 0; }
h2.sec-h { margin: 0 0 8px; font: 900 42px/1.02 var(--f-title); letter-spacing: -.03em; color: #fff; }
h3 { margin: 0 0 6px; font: 800 19px/1.25 var(--f-title); letter-spacing: -.01em; color: #fff; }
.kick { margin: 0 0 22px; font: 500 16px/1.5 var(--f-body); color: var(--ink-3); max-width: 64ch; }
.prose p, p.p { margin: 0 0 14px; max-width: 68ch; color: var(--ink-2); }
.prose b, p.p b, li b { color: var(--ink); font-weight: 600; }
code, .code { font-family: var(--f-num); font-size: .92em; color: var(--ink); }
@media (max-width: 900px) { h2.sec-h { font-size: 32px; } section.sec { padding-top: 60px; } }

/* a card of dark glass */
.glass { border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); }

/* tables */
.tbl-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font: 600 14px/1.25 var(--f-body); color: var(--ink-3); }
table.t td { color: var(--ink-2); }
table.t td.k { color: var(--ink); font-weight: 600; }
table.t td.n, table.t th.n { text-align: right; font-family: var(--f-num); font-variant-numeric: tabular-nums; }
table.t th.n { font-family: var(--f-body); }
table.t tr:last-child td { border-bottom: 0; }
table.t a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-color: rgba(127, 155, 255, .5); }
table.t a:hover { text-decoration-color: currentColor; }
/* tables become stacked rows on a phone */
@media (max-width: 640px) {
  table.t.stack thead { display: none; }
  table.t.stack, table.t.stack tbody, table.t.stack tr, table.t.stack td { display: block; width: 100%; }
  table.t.stack tr { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  table.t.stack tr:last-child { border-bottom: 0; }
  table.t.stack td { padding: 3px 0; border: 0; text-align: left; overflow-wrap: anywhere; }
  table.t.stack td[data-h]::before { content: attr(data-h); display: block; font: 500 12px/1.4 var(--f-body); color: var(--ink-3); }
  table.t.stack td.n { text-align: left; }
}

/* forms */
.form { display: grid; gap: 14px; max-width: 640px; }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font: 500 14px/1.3 var(--f-body); color: var(--ink-2); }
.field .help { font-size: 13px; line-height: 1.45; color: var(--ink-3); margin: 0; }
.inp { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(8, 13, 22, .6);
  color: var(--ink); font: 500 16px/1 var(--f-num); letter-spacing: .01em; transition: border-color 160ms var(--ease-press); }
.inp::placeholder { color: var(--ink-3); font-family: var(--f-body); }
.inp:hover { border-color: var(--rim-hi); }
.inp:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 1px; border-color: var(--blue-hi); }
.inp[aria-invalid="true"] { border-color: #e7eaf0; animation: shake 220ms var(--ease-press); }
select.inp { font-family: var(--f-body); appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #b3bdcc 50%), linear-gradient(135deg, #b3bdcc 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
@keyframes shake { 0%, 100% { transform: none; } 30% { transform: translateX(-6px); } 65% { transform: translateX(4px); } }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row .inp { flex: 1 1 240px; }
.seg-row { display: inline-flex; padding: 3px; border-radius: 10px; border: 1px solid var(--line); gap: 2px; }
.seg-row label { position: relative; }
.seg-row input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-row span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 8px; font: 600 14px/1 var(--f-body); color: var(--ink-2); border: 1px solid transparent; }
.seg-row input:checked + span { background: rgba(255, 255, 255, .1); border-color: var(--rim); color: var(--ink); }
.seg-row input:focus-visible + span { outline: 2px solid var(--blue-hi); outline-offset: 2px; }

/* states: loading, empty, error */
.state { display: grid; gap: 6px; justify-items: start; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line-2); }
.state b { font: 700 16px/1.35 var(--f-body); color: var(--ink); }
.state span, .state p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 64ch; }
.state .btn { margin-top: 6px; }
.state.err { border-style: solid; border-color: rgba(231, 234, 240, .5); }
.state.load b::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 10px; vertical-align: -1px; border-radius: 50%;
  border: 2px solid var(--ink-3); border-right-color: transparent; animation: spin 900ms linear infinite; }
.skel { display: block; height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05)) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* key-value lists */
.kv { margin: 0; display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.kv > * { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 14px; color: var(--ink-2); padding-right: 16px; }
.kv dd { margin: 0; font: 500 15px/1.45 var(--f-num); color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kv dd a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-color: rgba(127, 155, 255, .5); }

/* copy-able value */
.copyval { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copyval .v { font: 600 17px/1.3 var(--f-num); color: #fff; overflow-wrap: anywhere; min-width: 0; }
.copyval .btn { --h: 36px; padding: 0 12px; font-size: 13px; }

/* footer: columns above, the wordmark below */
footer.foot { margin-top: 110px; border-top: 1px solid var(--line-2); padding-top: 34px; overflow: hidden; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cols h4 { margin: 0 0 10px; font: 600 14px/1 var(--f-body); color: var(--ink-3); }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 15px; color: var(--ink-2); }
.cols li { min-height: 36px; display: flex; align-items: center; }
.cols li a { display: inline-flex; align-items: center; min-height: 44px; }
.word { margin: 46px 0 -2.2vw; font: 900 22vw/.78 var(--f-title); letter-spacing: -.05em; color: #141f31; -webkit-text-stroke: 1px rgba(255, 255, 255, .09); white-space: nowrap; user-select: none; }
.foot-line { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 26px; font: 500 14px/1.5 var(--f-body); color: var(--ink-3); }
.foot-line b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr 1fr; } }

html.js .rise { opacity: 0; transform: translateY(18px); }
html.js .rise.in { opacity: 1; transform: none; transition: opacity 800ms var(--ease-long), transform 800ms var(--ease-long); }
@media (prefers-reduced-motion: reduce) { html.js .rise { opacity: 1; transform: none; } }
