:root {
  color-scheme: light;
  --ink: #172022;
  --muted: #536166;
  --line: #cad7d8;
  --paper: #ffffff;
  --wash: #eef6f4;
  --mint: #cbece4;
  --aqua: #2d9c9a;
  --coral: #ec6d4e;
  --sun: #f4b740;
  --blue: #4c7fb8;
  --radius: 8px;
  --max: 1140px;
  --linear-ease: linear(0, 0.068, 0.19 2.7%, 0.804 8.1%, 1.037, 1.199 13.2%, 1.245, 1.27 15.8%, 1.274, 1.272 17.4%, 1.249 19.1%, 0.996 28%, 0.949, 0.928 33.3%, 0.926, 0.933 36.8%, 1.001 45.6%, 1.013, 1.019 50.8%, 1.018 54.4%, 1 63.1%, 0.995 68%, 1.001 85%, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: #c9ebf8;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #c9ebf8;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.6;
}

body::before {
  position: fixed;
  top: -50%;
  left: -50%;
  z-index: 0;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle, rgba(52, 152, 219, 0.34) 10%, transparent 20%),
    radial-gradient(circle, transparent 10%, rgba(52, 152, 219, 0.22) 20%);
  background-size: 30px 30px;
  content: "";
  animation: moveBackground 8s linear infinite;
  pointer-events: none;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(20%, 20%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  overflow: hidden;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  padding: 0 32px;
}

.brand,
.site-nav,
.hero-actions,
.docs-promo {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  z-index: 5;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--ink);
  font-size: 0.85rem;
}

.site-nav {
  --gooey-link: var(--muted);
  --gooey-pill: var(--ink);
  --gooey-active-text: var(--paper);
  --gooey-color-1: #2d9c9a;
  --gooey-color-2: #ec6d4e;
  --gooey-color-3: #f4b740;
  --gooey-color-4: #4c7fb8;
  position: relative;
  justify-content: flex-end;
  isolation: isolate;
}

.site-nav ul {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  position: relative;
  border-radius: 999px;
  color: var(--gooey-link);
  cursor: pointer;
}

.site-nav li::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--gooey-pill);
  content: "";
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 260ms ease, transform 260ms ease;
}

.site-nav li.active::after {
  opacity: 1;
  transform: scale(1);
}

.site-nav a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.site-nav.gooey-ready li.active > a {
  color: transparent;
}

.gooey-effect {
  position: absolute;
  display: grid;
  place-items: center;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
}

.gooey-effect.active {
  opacity: 1;
}

.gooey-effect.gooey-text {
  z-index: 4;
  color: var(--gooey-active-text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  transition: color 300ms ease, opacity 180ms ease;
}

.gooey-effect.gooey-filter {
  z-index: 1;
  filter: blur(7px) contrast(100) blur(0);
}

.gooey-effect.gooey-filter::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: var(--gooey-pill);
  content: "";
  opacity: 0;
  transform: scale(0);
}

.gooey-effect.active::after {
  animation: gooey-pill 300ms ease both;
}

.gooey-particle,
.gooey-point {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  opacity: 0;
  transform-origin: center;
}

.gooey-particle {
  position: absolute;
  top: calc(50% - 8px);
  left: calc(50% - 8px);
  animation: gooey-particle var(--time) ease 1 -350ms;
}

.gooey-point {
  background: var(--color);
  opacity: 1;
  animation: gooey-point var(--time) ease 1 -350ms;
}

.gooey-color-1 {
  --color: var(--gooey-color-1);
}

.gooey-color-2 {
  --color: var(--gooey-color-2);
}

.gooey-color-3 {
  --color: var(--gooey-color-3);
}

.gooey-color-4 {
  --color: var(--gooey-color-4);
}

@keyframes gooey-pill {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gooey-particle {
  0% {
    opacity: 1;
    transform: rotate(0deg) translate(var(--start-x), var(--start-y));
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }

  70% {
    opacity: 1;
    transform: rotate(calc(var(--rotate) * 0.5)) translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2));
    animation-timing-function: ease;
  }

  85% {
    opacity: 1;
    transform: rotate(calc(var(--rotate) * 0.66)) translate(var(--end-x), var(--end-y));
  }

  100% {
    opacity: 1;
    transform: rotate(calc(var(--rotate) * 1.2)) translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5));
  }
}

@keyframes gooey-point {
  0% {
    opacity: 0;
    transform: scale(0);
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }

  25% {
    transform: scale(calc(var(--scale) * 0.25));
  }

  38%,
  65%,
  85% {
    opacity: 1;
  }

  65%,
  85% {
    transform: scale(var(--scale));
  }

  100% {
    opacity: 0;
    transform: scale(0);
  }
}

.home-page .site-header {
  border-bottom-color: rgba(0, 255, 65, 0.22);
  background: #020604;
  color: #f5fff7;
}

.home-page .brand-mark {
  border-color: #8affb2;
  background: #07140c;
  color: #8affb2;
}

.home-page .site-nav {
  --gooey-link: #d7ffe2;
  --gooey-pill: #ffffff;
  --gooey-active-text: #020604;
  --gooey-color-1: #00ff41;
  --gooey-color-2: #8affb2;
  --gooey-color-3: #ffffff;
  --gooey-color-4: #f4b740;
}

.home-page .site-nav a:hover,
.home-page .site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 128px));
  overflow: hidden;
  border-bottom: 1px solid #12371f;
  background: #000000;
  color: #f5fff7;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.54) 46%, rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at 70% 42%, rgba(0, 255, 65, 0.16), transparent 32%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1240px, calc(100% - 48px));
  min-height: inherit;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 20px;
  align-items: center;
  margin: 0 auto;
  padding: 34px 0 44px;
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero .eyebrow {
  color: #8affb2;
}

.hero h1 {
  color: #ffffff;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: #d6efe0;
  font-size: 1.2rem;
}

.hero-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
  perspective: 1100px;
}

#svg-global {
  zoom: 1.2;
  width: min(720px, 100%);
  max-height: 610px;
  overflow: visible;
  transform: rotateX(7deg) rotateY(-9deg) scale(1.05);
  transform-style: preserve-3d;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 5rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.35rem;
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

[data-scroll-reveal] {
  transform-origin: 0 50%;
}

.scroll-reveal-word {
  display: inline-block;
  will-change: opacity, filter;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-secondary {
  background: var(--paper);
  color: var(--ink);
}

.hero .button-primary {
  border-color: #8affb2;
  background: #00ff41;
  color: #031007;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-status {
  position: absolute;
  right: 20px;
  bottom: 28px;
  z-index: 2;
  width: 190px;
  border: 1px solid rgba(138, 255, 178, 0.48);
  border-radius: var(--radius);
  background: rgba(0, 20, 7, 0.84);
  padding: 14px;
}

.hero-status span,
.docs-panel span,
.timeline-item span,
.doc-index,
.metric-number {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-status strong,
.docs-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 1.35rem;
}

.hero .hero-status span {
  color: #8affb2;
}

.hero .hero-status strong {
  color: #ffffff;
}

/* From Uiverse.io by Juanes200122, adapted for the SexySyntax hero SVG. */
@keyframes fade-particles {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-40px);
    opacity: 0;
  }
}

.particle {
  animation: floatUp linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.p1 {
  animation-duration: 2.2s;
  animation-delay: 0s;
}

.p2 {
  animation-duration: 2.5s;
  animation-delay: 0.3s;
}

.p3 {
  animation-duration: 2s;
  animation-delay: 0.6s;
}

.p4 {
  animation-duration: 2.8s;
  animation-delay: 0.2s;
}

.p5 {
  animation-duration: 2.3s;
  animation-delay: 0.4s;
}

.p6 {
  animation-duration: 3s;
  animation-delay: 0.1s;
}

.p7 {
  animation-duration: 2.1s;
  animation-delay: 0.5s;
}

.p8 {
  animation-duration: 2.6s;
  animation-delay: 0.2s;
}

.p9 {
  animation-duration: 2.4s;
  animation-delay: 0.3s;
}

@keyframes bounce-lines {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

#line-v1,
#line-v2,
#node-server,
#panel-rigth,
#reflectores {
  animation: bounce-lines 3s ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

#line-v2 {
  animation-delay: 0.2s;
}

#node-server,
#panel-rigth,
#reflectores {
  animation-delay: 0.4s;
}

#particles {
  animation: fade-particles 5s infinite alternate, bounce-lines 3s ease-in-out infinite alternate;
  animation-delay: 0.4s, 0.4s;
  transform-box: fill-box;
  transform-origin: center;
}

/* From Uiverse.io by whoisyourdeadie, adapted as the home source background. */
.matrix-container {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  pointer-events: none;
}

.matrix-pattern {
  position: relative;
  width: 1000px;
  height: 100%;
  flex-shrink: 0;
}

.matrix-column {
  position: absolute;
  top: -100%;
  width: 20px;
  height: 100%;
  font-size: 16px;
  font-weight: bold;
  line-height: 18px;
  animation: fall linear infinite;
  white-space: nowrap;
}

.matrix-column::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #ffffff 5%,
    #00ff41 10%,
    #00ff41 20%,
    #00dd33 30%,
    #00bb22 40%,
    #009911 50%,
    #007700 60%,
    #005500 70%,
    #003300 80%,
    rgba(0, 255, 65, 0.5) 90%,
    transparent 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-rendering: optimizeLegibility;
  white-space: nowrap;
  writing-mode: vertical-lr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.matrix-column:nth-child(1) {
  left: 0;
  animation-delay: -2.5s;
  animation-duration: 3s;
}

.matrix-column:nth-child(2) {
  left: 25px;
  animation-delay: -3.2s;
  animation-duration: 4s;
}

.matrix-column:nth-child(3) {
  left: 50px;
  animation-delay: -1.8s;
  animation-duration: 2.5s;
}

.matrix-column:nth-child(4) {
  left: 75px;
  animation-delay: -2.9s;
  animation-duration: 3.5s;
}

.matrix-column:nth-child(5) {
  left: 100px;
  animation-delay: -1.5s;
  animation-duration: 3s;
}

.matrix-column:nth-child(6) {
  left: 125px;
  animation-delay: -3.8s;
  animation-duration: 4.5s;
}

.matrix-column:nth-child(7) {
  left: 150px;
  animation-delay: -2.1s;
  animation-duration: 2.8s;
}

.matrix-column:nth-child(8) {
  left: 175px;
  animation-delay: -2.7s;
  animation-duration: 3.2s;
}

.matrix-column:nth-child(9) {
  left: 200px;
  animation-delay: -3.4s;
  animation-duration: 3.8s;
}

.matrix-column:nth-child(10) {
  left: 225px;
  animation-delay: -1.9s;
  animation-duration: 2.7s;
}

.matrix-column:nth-child(11) {
  left: 250px;
  animation-delay: -3.6s;
  animation-duration: 4.2s;
}

.matrix-column:nth-child(12) {
  left: 275px;
  animation-delay: -2.3s;
  animation-duration: 3.1s;
}

.matrix-column:nth-child(13) {
  left: 300px;
  animation-delay: -3.1s;
  animation-duration: 3.6s;
}

.matrix-column:nth-child(14) {
  left: 325px;
  animation-delay: -2.6s;
  animation-duration: 2.9s;
}

.matrix-column:nth-child(15) {
  left: 350px;
  animation-delay: -3.7s;
  animation-duration: 4.1s;
}

.matrix-column:nth-child(16) {
  left: 375px;
  animation-delay: -2.8s;
  animation-duration: 3.3s;
}

.matrix-column:nth-child(17) {
  left: 400px;
  animation-delay: -3.3s;
  animation-duration: 3.7s;
}

.matrix-column:nth-child(18) {
  left: 425px;
  animation-delay: -2.2s;
  animation-duration: 2.6s;
}

.matrix-column:nth-child(19) {
  left: 450px;
  animation-delay: -3.9s;
  animation-duration: 4.3s;
}

.matrix-column:nth-child(20) {
  left: 475px;
  animation-delay: -2.4s;
  animation-duration: 3.4s;
}

.matrix-column:nth-child(21) {
  left: 500px;
  animation-delay: -1.7s;
  animation-duration: 2.4s;
}

.matrix-column:nth-child(22) {
  left: 525px;
  animation-delay: -3.5s;
  animation-duration: 3.9s;
}

.matrix-column:nth-child(23) {
  left: 550px;
  animation-delay: -2s;
  animation-duration: 3s;
}

.matrix-column:nth-child(24) {
  left: 575px;
  animation-delay: -4s;
  animation-duration: 4.4s;
}

.matrix-column:nth-child(25) {
  left: 600px;
  animation-delay: -1.6s;
  animation-duration: 2.3s;
}

.matrix-column:nth-child(26) {
  left: 625px;
  animation-delay: -3s;
  animation-duration: 3.5s;
}

.matrix-column:nth-child(27) {
  left: 650px;
  animation-delay: -3.8s;
  animation-duration: 4s;
}

.matrix-column:nth-child(28) {
  left: 675px;
  animation-delay: -2.5s;
  animation-duration: 2.8s;
}

.matrix-column:nth-child(29) {
  left: 700px;
  animation-delay: -3.2s;
  animation-duration: 3.6s;
}

.matrix-column:nth-child(30) {
  left: 725px;
  animation-delay: -2.7s;
  animation-duration: 3.2s;
}

.matrix-column:nth-child(31) {
  left: 750px;
  animation-delay: -1.8s;
  animation-duration: 2.7s;
}

.matrix-column:nth-child(32) {
  left: 775px;
  animation-delay: -3.6s;
  animation-duration: 4.1s;
}

.matrix-column:nth-child(33) {
  left: 800px;
  animation-delay: -2.1s;
  animation-duration: 3.1s;
}

.matrix-column:nth-child(34) {
  left: 825px;
  animation-delay: -3.4s;
  animation-duration: 3.7s;
}

.matrix-column:nth-child(35) {
  left: 850px;
  animation-delay: -2.8s;
  animation-duration: 2.9s;
}

.matrix-column:nth-child(36) {
  left: 875px;
  animation-delay: -3.7s;
  animation-duration: 4.2s;
}

.matrix-column:nth-child(37) {
  left: 900px;
  animation-delay: -2.3s;
  animation-duration: 3.3s;
}

.matrix-column:nth-child(38) {
  left: 925px;
  animation-delay: -1.9s;
  animation-duration: 2.5s;
}

.matrix-column:nth-child(39) {
  left: 950px;
  animation-delay: -3.5s;
  animation-duration: 3.8s;
}

.matrix-column:nth-child(40) {
  left: 975px;
  animation-delay: -2.6s;
  animation-duration: 3.4s;
}

.matrix-column:nth-child(odd)::before {
  content: "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲン123456789";
}

.matrix-column:nth-child(even)::before {
  content: "ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポヴァィゥェォャュョッABCDEFGHIJKLMNOPQRSTUVWXYZ";
}

.matrix-column:nth-child(3n)::before {
  content: "アカサタナハマヤラワイキシチニヒミリウクスツヌフムユルエケセテネヘメレオコソトノホモヨロヲン0987654321";
}

.matrix-column:nth-child(4n)::before {
  content: "ンヲロヨモホノトソコオレメヘネテセケエルユムフヌツスクウリミヒニチシキイワラヤマハナタサカア";
}

.matrix-column:nth-child(5n)::before {
  content: "ガザダバパギジヂビピグズヅブプゲゼデベペゴゾドボポヴァィゥェォャュョッ!@#$%^&*()_+-=[]{}|;:,.<>?";
}

@keyframes fall {
  0% {
    transform: translateY(-10%);
    opacity: 1;
  }
  100% {
    transform: translateY(200%);
    opacity: 0;
  }
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-white {
  background: transparent;
}

.section-tint,
.docs-hero {
  background: rgba(255, 255, 255, 0.28);
}

.section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
}

#apis .section-inner {
  padding-top: 16px;
}

.split-layout,
.docs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

#apis .split-layout {
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.5fr);
}

.section-copy p,
.section-heading p,
.docs-hero p,
.timeline-item p,
.docs-panel p {
  color: var(--muted);
}

.metric-grid,
.timeline,
.docs-grid {
  display: grid;
  gap: 16px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item,
.docs-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.metric-number,
.doc-index {
  margin-bottom: 28px;
}

/* From Uiverse.io by SouravBandyopadhyay, adapted for SexySyntax content cards. */
.card {
  position: relative;
  z-index: 0;
  display: block;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(56, 76, 108, 0.18);
  border-radius: 10px;
  background: linear-gradient(to bottom, #c3e6ec, #a7d1d9);
  padding: 2em 1.2em;
  color: #262626;
  text-decoration: none;
}

.card::before {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: -1;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #364a60, #384c6c);
  content: "";
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.35s ease-out;
}

.card:hover::before,
.card:focus-within::before {
  transform: scale(30);
}

.card-title {
  margin-bottom: 0.5em;
  color: #262626;
  font-size: 1.5em;
  font-weight: 700;
  line-height: normal;
  transition: color 0.5s ease-out;
}

.small-desc {
  color: #452c2c;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5em;
  transition: color 0.5s ease-out;
}

.card:hover .small-desc,
.card:focus-within .small-desc {
  color: rgba(255, 255, 255, 0.82);
}

.card:hover .card-title,
.card:focus-within .card-title {
  color: #ffffff;
}

.go-corner {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 2em;
  height: 2em;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0 4px 0 32px;
  background: linear-gradient(135deg, #6293c8, #384c6c);
}

.go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.metric-card {
  min-height: 250px;
}

.metric-card .metric-number,
.doc-card .doc-index {
  color: rgba(38, 38, 38, 0.66);
  transition: color 0.5s ease-out;
}

.metric-card:hover .metric-number,
.metric-card:focus-within .metric-number,
.doc-card:hover .doc-index,
.doc-card:focus-within .doc-index {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-item {
  min-height: 220px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.timeline-item:hover {
  border-color: var(--aqua);
  transform: translateY(-3px);
}

.docs-promo {
  justify-content: space-between;
  gap: 24px;
}

.docs-promo h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 32px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.docs-hero {
  border-bottom: 1px solid var(--line);
}

.docs-hero h1 {
  max-width: 700px;
  font-size: 4rem;
}

.docs-hero p {
  max-width: 650px;
  font-size: 1.1rem;
}

.docs-panel {
  padding: 26px;
  border-top: 5px solid var(--blue);
}

.docs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-card {
  min-height: 280px;
}

.github-tv-section {
  background: transparent;
}

.github-tv-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: 36px;
  align-items: start;
}

.github-tv-grid .section-copy {
  max-width: 520px;
}

.github-tv-grid .button {
  margin-top: 8px;
}

.github-preview-stack {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.github-account-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  overflow: hidden;
  border: 1px solid #d0d7de;
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.github-account-sidebar {
  min-width: 0;
}

.github-avatar-link {
  display: block;
  width: min(172px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 12px;
  overflow: hidden;
  border: 1px solid #d0d7de;
  border-radius: 50%;
  background: #050505;
}

.github-avatar-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.github-account-sidebar h3 {
  margin-bottom: 2px;
  font-size: 1.45rem;
}

.github-username {
  margin-bottom: 14px;
  color: #687077;
  font-size: 1rem;
}

.github-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.github-facts div {
  min-width: 0;
}

.github-facts dt {
  color: #687077;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.github-facts dd {
  margin: 0;
  color: #24292f;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.github-facts a {
  border-bottom: 1px solid #8c959f;
}

.github-account-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.github-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.github-panel-header h3 {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.github-panel-header a,
.github-panel-header span {
  color: #0969da;
  font-size: 0.85rem;
  font-weight: 700;
}

.github-pinned-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.repo-card {
  display: grid;
  min-height: 154px;
  align-content: start;
  gap: 12px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #ffffff;
  color: #57606a;
  padding: 14px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.repo-card:hover,
.repo-card:focus-visible {
  border-color: #8c959f;
  transform: translateY(-2px);
}

.repo-name {
  color: #0969da;
  font-weight: 800;
}

.repo-name em {
  display: inline-flex;
  margin-left: 6px;
  border: 1px solid #d0d7de;
  border-radius: 999px;
  color: #57606a;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1;
  padding: 4px 6px;
}

.repo-desc {
  color: #3f4a54;
  font-size: 0.88rem;
  line-height: 1.45;
}

.repo-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  color: #57606a;
  font-size: 0.84rem;
}

.repo-meta b {
  font-weight: 600;
}

.lang-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.css-dot {
  background: #663399;
}

.ts-dot {
  background: #3178c6;
}

.py-dot {
  background: #3572a5;
}

.github-contrib-card {
  border: 1px solid #d0d7de;
  border-radius: 6px;
  background: #ffffff;
  padding: 14px;
}

.contrib-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8px, 1fr);
  grid-template-rows: repeat(7, 10px);
  gap: 4px;
  margin-top: 14px;
}

.contrib-grid span {
  border-radius: 2px;
  background: #ebedf0;
}

.contrib-grid .heat-1 {
  background: #9be9a8;
}

.contrib-grid .heat-2 {
  background: #40c463;
}

.contrib-grid .heat-3 {
  background: #30a14e;
}

.contrib-grid .heat-4 {
  background: #216e39;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(680px, calc(100% - 40px));
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 46px 0 38px;
  }

  .hero-content {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
  }

  .hero-visual {
    min-height: 320px;
  }

  #svg-global {
    zoom: 0.92;
    transform: rotateX(6deg) rotateY(-6deg) scale(1);
  }

  h1 {
    font-size: 3.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .split-layout,
  .docs-hero-grid,
  .github-tv-grid,
  .metric-grid,
  .timeline,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .github-account-panel {
    grid-template-columns: minmax(210px, 0.36fr) minmax(0, 1fr);
  }

  #apis .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-status {
    position: static;
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .matrix-column {
    width: 18px;
    font-size: 14px;
    line-height: 16px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .hero-inner,
  .section-inner {
    width: calc(100% - 32px);
  }

  .hero-inner {
    padding-top: 30px;
    padding-bottom: 26px;
  }

  .hero-visual {
    min-height: 240px;
  }

  #svg-global {
    zoom: 0.6;
  }

  h1,
  .docs-hero h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .hero-copy,
  .docs-hero p {
    font-size: 1rem;
  }

  .section-inner {
    padding: 56px 0;
  }

  #apis .section-inner {
    padding-top: 12px;
  }

  .docs-promo,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .github-account-panel,
  .github-pinned-grid {
    grid-template-columns: 1fr;
  }

  .github-account-panel {
    padding: 14px;
  }

  .github-avatar-link {
    width: 146px;
  }

  .github-panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .repo-card {
    min-height: 132px;
  }

  .matrix-column {
    width: 15px;
    font-size: 12px;
    line-height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
