:root {
  color-scheme: light;
  --sky: #eef6fc;
  --sky-deep: #e1f0fa;
  --azure: #229ed9;
  --azure-dark: #117eae;
  --ink: #122c43;
  --slate: #536b7e;
  --muted: #8195a5;
  --line: #d8e6ef;
  --white: #fff;
  --mono: "DM Mono", monospace;
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 5;
  background: var(--ink);
  color: white;
  padding: 12px;
  border-radius: 5px;
}
.skip-link:focus {
  top: 10px;
}
a {
  color: inherit;
}
.topbar {
  height: 74px;
  max-width: 1220px;
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 44, 67, 0.09);
  position: relative;
  z-index: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.brand-light {
  font-weight: 400;
  color: var(--slate);
}
.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: var(--azure);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px #229ed930;
}
.brand-mark svg {
  width: 17px;
  fill: white;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 700;
}
.top-nav a {
  text-decoration: none;
}
.source-link {
  color: var(--slate);
}
.source-link span {
  color: var(--azure);
}
.page-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--slate);
  font-size: 11px;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}
.page-switch span {
  color: var(--azure);
}
.page-switch:hover {
  border-color: var(--azure);
  background: var(--white);
  color: var(--azure-dark);
}
.github-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.github-link svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: none;
}
.github-label {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}
.github-link:hover {
  background: var(--azure-dark);
  transform: translateY(-1px);
}
.hero {
  max-width: 1220px;
  min-height: 491px;
  margin: 0 auto;
  padding: 77px 66px 71px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-copy,
.handoff {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font: 500 10px var(--mono);
  letter-spacing: 1.15px;
  color: var(--azure-dark);
  margin: 0 0 22px;
}
.live-dot,
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #43bd9c;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px #43bd9c20;
}
.hero h1 {
  font: 600 clamp(48px, 6vw, 72px)/0.99 var(--display);
  letter-spacing: -4.4px;
  margin: 0 0 21px;
}
.hero h1 span {
  color: var(--azure);
}
.hero-description {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--slate);
  margin: 0 0 27px;
}
.hero-actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.button {
  min-height: 45px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  transition:
    transform 0.18s,
    background 0.18s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--azure);
  color: white;
  box-shadow: 0 5px 14px #229ed92b;
}
.button-primary:hover {
  background: var(--azure-dark);
}
.button-quiet {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button-quiet:hover {
  background: #f9fcfe;
}
.snapshot-note {
  font: 11px var(--mono);
  color: var(--muted);
  margin: 19px 0 0;
}
.snapshot-note span {
  color: var(--azure);
  font-size: 15px;
  margin-right: 4px;
}
.hero-wash {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #d9eefb 0,
    #e4f2fb77 48%,
    transparent 72%
  );
  right: -40px;
  top: 24px;
  pointer-events: none;
}
.handoff {
  max-width: 425px;
  width: 100%;
  justify-self: end;
  background: var(--white);
  border: 1px solid #d9e8f1;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 18px 50px #294f6810;
  transform: rotate(1deg);
}
.handoff-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 1px 15px;
  border-bottom: 1px solid #edf2f5;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #e4f4fc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--azure);
  font-size: 17px;
}
.handoff-head strong,
.handoff-head small,
.file-meta strong,
.file-meta small {
  display: block;
}
.handoff-head strong {
  font: 600 12px var(--display);
}
.handoff-head small {
  font: 9px var(--mono);
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-top: 4px;
}
.handoff-head small span {
  color: var(--azure);
}
.dots {
  margin-left: auto;
  color: #b6c6d1;
  letter-spacing: 2px;
  font-size: 10px;
}
.message {
  margin: 16px 0 13px 31px;
  background: #edf7fc;
  border-radius: 3px 10px 10px 10px;
  padding: 14px 16px;
  position: relative;
}
.message:before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  border-top: 9px solid #edf7fc;
  border-left: 8px solid transparent;
}
.message-label {
  font: 500 9px var(--mono);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--azure-dark);
}
.message p {
  font-size: 12px;
  line-height: 1.65;
  color: #37566d;
  margin: 8px 0 0;
}
.file-card {
  min-height: 57px;
  margin: 8px 0 0;
  border: 1px solid #e3edf3;
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 8px 11px;
  gap: 11px;
}
.file-icon {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: #e9f6fc;
  color: var(--azure-dark);
  font: 500 9px var(--mono);
  display: grid;
  place-items: center;
}
.file-icon-full {
  background: #edf0fc;
  color: #526eb2;
}
.file-meta {
  flex: 1;
}
.file-meta strong {
  font: 500 11px var(--mono);
  color: var(--ink);
}
.file-meta small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.file-card > a {
  text-decoration: none;
  color: var(--azure);
  font-size: 18px;
  padding: 5px;
}
.handoff-tail {
  text-align: right;
  color: #9bacb7;
  font: 9px var(--mono);
  letter-spacing: 0.7px;
  margin: 15px 2px 0;
}
.handoff-tail span {
  color: var(--azure);
  padding: 0 4px;
}
.catalog-section {
  background: var(--white);
  border-top: 1px solid #e0ebf2;
  padding: 64px max(30px, calc((100vw - 1088px) / 2)) 70px;
}
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.catalog-heading .eyebrow {
  margin-bottom: 12px;
}
.catalog-heading h2 {
  font: 600 34px/1.1 var(--display);
  letter-spacing: -1.5px;
  margin: 0;
}
.catalog-intro {
  font-size: 13px;
  color: var(--slate);
  margin: 10px 0 0;
}
.catalog-meta {
  font: 10px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 5px;
}
.catalog-meta .status-dot {
  width: 6px;
  height: 6px;
  margin-right: 5px;
}
.catalog-tools {
  display: flex;
  gap: 11px;
  margin: 25px 0 0;
}
.search-box {
  height: 46px;
  max-width: 540px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  background: #fbfdfe;
}
.search-box:focus-within {
  border-color: var(--azure);
  box-shadow: 0 0 0 3px #229ed91a;
}
.search-box svg {
  width: 17px;
  fill: none;
  stroke: #8195a5;
  stroke-width: 1.7;
}
.search-box input {
  border: 0;
  background: transparent;
  outline: 0;
  min-width: 0;
  flex: 1;
  font: 12px var(--body);
  color: var(--ink);
}
.search-box input::placeholder {
  color: #9aabb7;
}
.search-box kbd {
  font: 10px var(--mono);
  color: #91a2ae;
  border: 1px solid #dfe8ed;
  border-radius: 3px;
  padding: 2px 5px;
}
.copy-button {
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--slate);
  font: 600 11px var(--body);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.copy-button:hover {
  border-color: var(--azure);
  color: var(--azure-dark);
}
.copy-button.is-copied {
  color: #168266;
  background: #f0faf6;
  border-color: #a9ddcc;
}
.search-summary {
  min-height: 17px;
  font: 10px var(--mono);
  color: var(--muted);
  margin: 16px 0 0;
}
.section-list {
  border-top: 1px solid var(--line);
}
.group-block {
  border-bottom: 1px solid var(--line);
}
.group-title {
  font: 600 15px var(--display);
  letter-spacing: -0.2px;
  margin: 0;
  padding: 21px 0 10px;
}
.group-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 45px;
}
.section-link {
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #edf2f5;
  text-decoration: none;
  padding: 10px 0;
}
.section-link:hover .section-name {
  color: var(--azure-dark);
}
.section-name {
  display: block;
  font: 600 12px var(--display);
  transition: color 0.15s;
}
.section-description {
  display: block;
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 4px;
}
.section-arrow {
  flex: none;
  font-size: 15px;
  color: #9eb0bc;
  transition:
    transform 0.15s,
    color 0.15s;
}
.section-link:hover .section-arrow {
  transform: translate(2px, -2px);
  color: var(--azure);
}
.catalog-placeholder,
.fallback-note {
  padding: 22px 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
}
.catalog-placeholder a,
.fallback-note a {
  color: var(--azure-dark);
  font-weight: 700;
}
.catalog-error {
  border: 1px solid #f0d8b2;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
  color: #796342;
  background: #fffaf2;
  font-size: 12px;
}
.catalog-error a {
  color: var(--azure-dark);
  font-weight: 700;
}
.empty-state {
  padding: 24px 0;
  color: var(--slate);
  font-size: 12px;
}
.closing-strip {
  min-height: 66px;
  background: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px max(30px, calc((100vw - 1088px) / 2));
  font: 10px var(--mono);
  color: var(--slate);
}
.closing-strip > span:first-child {
  color: var(--azure-dark);
  letter-spacing: 0.5px;
}
.closing-strip b {
  color: var(--azure);
  padding: 0 4px;
}
.closing-strip a,
footer a {
  color: var(--azure-dark);
  text-decoration: none;
  font-weight: 600;
}
footer {
  max-width: 1220px;
  min-height: 62px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 10px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid #229ed970;
  outline-offset: 3px;
}
@media (min-width: 1221px) {
  .hero {
    padding-left: 66px;
    padding-right: 66px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 65px;
    padding: 0 21px;
  }
  .top-nav {
    gap: 18px;
    font-size: 11px;
  }
  .hero {
    padding: 58px 25px 55px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-description {
    max-width: 490px;
  }
  .handoff {
    justify-self: center;
    max-width: 460px;
  }
  .hero-wash {
    right: -180px;
    top: 180px;
  }
  .catalog-section {
    padding: 51px 25px 55px;
  }
  .closing-strip {
    padding: 17px 25px;
    flex-wrap: wrap;
  }
  .closing-strip > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
}
@media (max-width: 640px) {
  .top-nav {
    gap: 13px;
  }
  .top-nav .browse-link,
  .source-link {
    display: none;
  }
  .github-link {
    width: 26px;
    height: 26px;
    padding: 0;
    gap: 0;
    justify-content: center;
  }
  .github-label {
    display: none;
  }
}
@media (max-width: 520px) {
  .brand {
    font-size: 14px;
  }
  .brand-light {
    display: none;
  }
  .topbar {
    padding: 0 17px;
  }
  .hero {
    padding: 49px 21px 47px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -3.3px;
  }
  .serverless-page .hero h1 {
    font-size: clamp(36px, 11vw, 54px);
    letter-spacing: -2.4px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-actions {
    align-items: stretch;
  }
  .button {
    padding: 0 12px;
    font-size: 11px;
    gap: 8px;
  }
  .handoff {
    padding: 14px;
    transform: none;
  }
  .catalog-section {
    padding: 44px 21px 48px;
  }
  .catalog-heading {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .catalog-heading h2 {
    font-size: 30px;
  }
  .catalog-tools {
    gap: 8px;
  }
  .copy-button {
    width: 45px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0;
    font-size: 0;
  }
  .copy-button span {
    font-size: 18px;
  }
  .search-box {
    padding: 0 9px;
    gap: 7px;
  }
  .search-box input {
    font-size: 11px;
  }
  .group-links {
    grid-template-columns: 1fr;
  }
  .group-title {
    padding-top: 18px;
  }
  .section-link {
    min-height: 55px;
  }
  .closing-strip {
    padding-left: 21px;
    padding-right: 21px;
    font-size: 9px;
  }
  footer {
    padding: 17px 21px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
