@font-face {
  font-family: Sora;
  src: url('/assets/fonts/sora-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url('/assets/fonts/sora-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url('/assets/fonts/sora-bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: #111c2e;
  --editor: #17253b;
  --raised: #1d2e47;
  --text: #f7fafc;
  --muted: #9fb0c6;
  --lime: #c7f24c;
  --teal: #19c3b1;
  --border: #29415f;
  --ink: #08101c;
  --mono: 'JetBrains Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    400 15px/1.85 Sora,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--lime);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--text);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
.container {
  width: min(1120px, calc(100% - 96px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0b1220f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #29415f80;
}
.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
  color: var(--text);
  text-decoration: none;
  flex: none;
}
.brand img {
  border-radius: 9px;
}
.brand-period {
  color: var(--lime);
}
.header-inner nav {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.header-inner nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  padding: 10px 13px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition:
    color 0.18s,
    background 0.18s;
}
.header-inner nav a:hover {
  background: var(--surface);
  color: var(--text);
}
.header-inner nav a[aria-current='page'] {
  background: #c7f24c0e;
  color: var(--lime);
}
.header-inner nav a[aria-current='page']:after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 16px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
  color: var(--ink);
}
main {
  min-height: calc(100vh - 225px);
}
.page-hero {
  position: relative;
  padding: 76px 0 52px;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
  overflow: hidden;
}
.page-hero:before {
  content: '';
  position: absolute;
  width: 480px;
  height: 340px;
  right: -110px;
  top: 0;
  background: radial-gradient(ellipse, #19c3b110, transparent 68%);
  z-index: -1;
}
.hero-mark {
  position: absolute;
  right: 14px;
  top: 24px;
  font: 180px/1.2 var(--mono);
  letter-spacing: -25px;
  color: #19c3b10d;
  z-index: -1;
  user-select: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 11px/1.6 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 23px;
}
.eyebrow:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px #c7f24c0d;
  flex: none;
}
h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}
h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  max-width: 900px;
  text-wrap: balance;
}
h2 {
  font-size: 23px;
  margin-bottom: 18px;
  letter-spacing: -0.035em;
}
p {
  margin: 0 0 18px;
  color: var(--muted);
}
p:last-child {
  margin-bottom: 0;
}
.page-hero > p:not(.eyebrow) {
  max-width: 740px;
  margin: 23px 0 0;
  line-height: 1.85;
}
.page-hero > .meta {
  font: 11px/1.9 var(--mono);
  color: var(--muted);
}
.page-layout {
  padding: 48px 0 80px;
}
.page-content {
  min-width: 0;
}
.page-content section {
  scroll-margin-top: 120px;
}
.hub-page .page-content {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 20px;
  counter-reset: card;
}
.hub-page section {
  position: relative;
  background: linear-gradient(140deg, var(--surface), #111c2e80);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 29px 27px 30px;
  counter-increment: card;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.hub-page section:before {
  content: '0' counter(card);
  display: block;
  font: 11px/1.6 var(--mono);
  color: var(--teal);
  margin-bottom: 38px;
}
.hub-page section:after {
  content: '↗';
  position: absolute;
  right: 26px;
  top: 25px;
  font-size: 23px;
  color: var(--muted);
}
.hub-page section:hover {
  transform: translateY(-3px);
  border-color: #46607b;
}
.hub-page section h2 {
  font-size: 22px;
  max-width: 240px;
}
.hub-page section p {
  font-size: 13px;
  line-height: 1.9;
}
.hub-page section a {
  color: var(--text);
  text-decoration-color: #c7f24c80;
}
.hub-page section a:hover {
  color: var(--lime);
}
.document-page .page-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 70px;
}
.contents {
  align-self: start;
  position: sticky;
  top: 120px;
  max-height: calc(100vh - 148px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  padding: 0 12px 6px 0;
}
.contents summary {
  cursor: pointer;
  color: var(--teal);
  font: 11px/1.8 var(--mono);
  letter-spacing: 0.04em;
  padding: 0 0 18px;
  list-style-position: inside;
}
.contents nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  gap: 2px;
}
.contents a {
  padding: 8px 0 8px 18px;
  font-size: 12px;
  line-height: 1.7;
  text-decoration: none;
  color: var(--muted);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.contents a:hover,
.contents a:focus-visible {
  color: var(--lime);
  border-left-color: var(--lime);
}
.document-page .page-content section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid #29415f80;
}
.document-page .page-content section:last-child {
  border: 0;
  margin: 0;
  padding-bottom: 0;
}
.document-page .page-content section:target h2 {
  color: var(--lime);
}
.document-page .page-content p {
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.support-page .page-content {
  max-width: 790px;
}
.support-page section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 36px;
  margin: 0 0 24px;
}
.support-page section p {
  font-size: 14px;
  line-height: 1.95;
}
.support-page section:has(form) {
  background: linear-gradient(130deg, var(--surface), #111c2e90);
}
form {
  margin: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 25px 0 9px;
}
form > label:first-of-type {
  margin-top: 0;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--ink);
  color: var(--text);
  padding: 14px 16px;
  font:
    400 14px/1.7 Sora,
    sans-serif;
  transition: border-color 0.18s;
  min-height: 51px;
}
input[type='hidden'] {
  display: none;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #46607b;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--lime);
  outline: 2px solid #c7f24c25;
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  min-height: 180px;
}
select {
  cursor: pointer;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 26px;
  padding: 15px 22px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font:
    600 13px/1.5 Sora,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
button:after {
  content: '→';
  font-size: 21px;
  line-height: 1;
}
button:hover {
  background: #d4ff60;
  transform: translateY(-2px);
}
button:active {
  transform: none;
}
.danger {
  color: #ff8b93;
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 31px 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
}
.site-footer .brand {
  font-size: 25px;
}
@media (min-width: 1500px) {
  .hub-page .page-hero {
    padding-top: 100px;
    padding-bottom: 66px;
  }
  .hub-page .page-layout {
    padding-top: 56px;
  }
}
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
  }
  .header-inner nav {
    gap: 0;
  }
  .header-inner nav a {
    padding-inline: 10px;
  }
  .document-page .page-layout {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 38px;
  }
  .hub-page .page-content {
    grid-template-columns: 1fr 1fr;
  }
  .hub-page section:first-child {
    grid-column: 1/-1;
  }
  .hub-page section:first-child:before {
    margin-bottom: 24px;
  }
  .hero-mark {
    right: 0;
    font-size: 150px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 160px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-top: 19px;
    padding-bottom: 12px;
  }
  .brand {
    font-size: 27px;
  }
  .header-inner nav {
    width: 100%;
    gap: 2px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .header-inner nav a {
    font-size: 10px;
    padding: 9px 6px;
    white-space: nowrap;
  }
  .header-inner nav a[aria-current='page']:after {
    left: 6px;
    right: 6px;
  }
  .page-hero {
    padding: 46px 0 34px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 40px;
    letter-spacing: -0.055em;
  }
  .page-hero > p:not(.eyebrow) {
    font-size: 13px;
    margin-top: 20px;
  }
  .page-hero > .meta {
    font-size: 10px !important;
  }
  .hero-mark {
    font-size: 110px;
    right: 12px;
    top: 25px;
    letter-spacing: -16px;
  }
  .page-layout {
    padding: 28px 0 48px;
  }
  .hub-page .page-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hub-page section:first-child {
    grid-column: auto;
  }
  .hub-page section {
    padding: 25px;
  }
  .hub-page section:before,
  .hub-page section:first-child:before {
    margin-bottom: 27px;
  }
  .hub-page section h2 {
    max-width: none;
  }
  .document-page .page-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contents {
    position: static;
    max-height: none;
    overflow: visible;
    border: 1px solid var(--border);
    border-radius: 13px;
    padding: 17px 20px;
    background: var(--surface);
  }
  .contents summary {
    padding: 0;
  }
  .contents details[open] summary {
    padding-bottom: 14px;
  }
  .contents nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    border-left: 0;
  }
  .contents a {
    padding: 8px 0;
    border: 0;
    font-size: 12px;
    margin: 0;
  }
  .document-page h2 {
    font-size: 22px;
  }
  .document-page .page-content p {
    font-size: 14px;
    line-height: 1.95;
  }
  .page-content section {
    scroll-margin-top: 155px;
  }
  .support-page section {
    padding: 24px 22px;
  }
  .support-page section p {
    font-size: 13px;
  }
  label {
    font-size: 12px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
    padding: 12px;
  }
  button {
    width: 100%;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    padding-top: 27px;
    font-size: 10px;
  }
  .site-footer .brand {
    font-size: 24px;
  }
}
@media (max-width: 370px) {
  .container {
    width: calc(100% - 32px);
  }
  .header-inner nav a {
    font-size: 9px;
    padding-inline: 4px;
  }
  h1 {
    font-size: 35px;
  }
  .contents nav {
    grid-template-columns: 1fr;
  }
  .support-page section {
    padding: 22px 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
@media print {
  :root {
    color-scheme: light;
    --bg: #fff;
    --text: #111;
    --muted: #333;
    --border: #ddd;
    --lime: #111;
    --teal: #333;
  }
  body {
    font-size: 11pt;
  }
  .site-header,
  .contents,
  .hero-mark,
  .skip-link,
  .site-footer .brand {
    display: none;
  }
  .container {
    width: 100%;
  }
  .page-hero {
    padding: 0 0 24px;
  }
  .page-hero:before {
    display: none;
  }
  h1 {
    font-size: 30pt;
  }
  h2 {
    break-after: avoid;
  }
  .page-layout,
  .document-page .page-layout {
    display: block;
    padding-top: 24px;
  }
  .document-page .page-content p {
    font-size: 11pt;
  }
  .page-content section {
    break-inside: avoid;
  }
  .site-footer {
    margin-top: 20px;
  }
  a {
    color: inherit;
  }
}
