:root {
  --ink: #182b49;
  --muted: #64748b;
  --paper: #ffffff;
  --line: #dbe2ea;
  --accent: #c4ddff;
  --dark: #1d63ed;
  --soft: #f4f6f9;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a.button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #1d63ed;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.topbar {
  max-width: 1360px;
  margin: auto;
  height: 100px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 500;
  display: block;
}
.brand-mark {
  background: var(--dark);
  color: var(--accent);
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  font-size: 30px;
}
.topbar nav,
.user-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.topbar nav a[aria-current="page"] {
  color: #1d63ed;
  font-weight: 750;
}
.container {
  max-width: 1264px;
  padding: 0 48px;
  margin: auto;
  min-height: 65vh;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--dark);
  color: white;
  border: 1px solid var(--dark);
  padding: 13px 23px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.15s;
}
.button:hover {
  background: #164ec0;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #cbd5e1;
}
.button.secondary:hover {
  background: var(--soft);
}
.button.small {
  padding: 9px 14px;
  font-size: 13px;
}
.button.full {
  width: 100%;
  margin-top: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 70px;
}
.eyebrow {
  font:
    600 10px/1.5 Consolas,
    monospace;
  letter-spacing: 1.7px;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d63ed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(38px, 4.8vw, 65px);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -2.8px;
  margin-bottom: 25px;
}
h1 em {
  font-style: normal;
  color: #1d63ed;
}
h2 {
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 600;
  margin-bottom: 15px;
}
h3 {
  font-size: 19px;
  letter-spacing: -0.3px;
}
.lede {
  max-width: 480px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.quiet,
small {
  color: var(--muted);
  font-size: 13px;
}
.search {
  display: flex;
  align-items: center;
  margin: 28px 0 14px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 3px 8px #182b4908;
}
.search input {
  border: 0;
  background: transparent;
  min-width: 0;
  flex: 1;
  margin: 0;
  padding: 13px;
  font-size: 13px;
}
.search button {
  background: var(--dark);
  color: white;
  border: 0;
  border-radius: 5px;
  padding: 12px 18px;
  font-size: 13px;
}
.search.wide {
  max-width: 850px;
}
.terminal {
  background: #10234b;
  border-radius: 12px;
  color: #e8f1ff;
  padding: 26px;
  box-shadow: 0 20px 38px #10234b12;
  transform: none;
  position: relative;
}
.terminal::before {
  content: "";
  position: absolute;
  inset: -17px 20px 15px -15px;
  border: 1px solid #dbe2ea;
  border-radius: 12px;
  z-index: -1;
  transform: rotate(4deg);
}
.terminal-title {
  display: flex;
  justify-content: space-between;
  font:
    10px Consolas,
    monospace;
  letter-spacing: 1.5px;
  color: #94a9c8;
  border-bottom: 1px solid #314465;
  padding-bottom: 20px;
}
.terminal-title span {
  color: #9bb7e4;
  letter-spacing: 3px;
}
.terminal-comment {
  font:
    12px Consolas,
    monospace;
  color: #adc2e1;
  margin: 36px 0 18px;
}
.terminal pre {
  font:
    14px/2.3 Consolas,
    monospace;
  white-space: pre-wrap;
  padding: 0;
  color: #edf4ff;
}
.terminal pre span {
  color: var(--accent);
}
.terminal-bottom {
  font-size: 11px;
  border-top: 1px solid #314465;
  padding-top: 20px;
  margin-top: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.terminal-bottom .dot {
  background: var(--accent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  gap: 20px;
}
.stats div {
  border-right: 1px solid var(--line);
  padding-left: 30px;
  display: flex;
  align-items: baseline;
  gap: 13px;
}
.stats div:first-child {
  padding-left: 0;
}
.stats div:last-child {
  border: 0;
}
.stats strong {
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -1px;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.section {
  margin: 54px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.text-link {
  font-size: 13px;
  font-weight: 600;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.package-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  overflow-wrap: anywhere;
}
.package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #182b4910;
}
.package-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.package-icon {
  background: #eef4ff;
  color: #1d63ed;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font:
    600 16px Consolas,
    monospace;
}
.badge {
  font:
    10px Consolas,
    monospace;
  padding: 4px 8px;
  background: var(--soft);
  border-radius: 4px;
  color: #48617f;
  white-space: nowrap;
}
.package-card .namespace {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 3px;
}
.package-card h3 {
  margin-bottom: 10px;
}
.package-card p {
  font-size: 13px;
  color: var(--muted);
  min-height: 40px;
}
.package-meta {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  gap: 10px;
}
.empty {
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  grid-column: 1/-1;
  padding: 44px;
  text-align: center;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 40px;
  border: 1px solid #d9e5f8;
  background: #f1f6ff;
  border-radius: 10px;
  margin: 60px 0;
}
.callout .eyebrow {
  margin-bottom: 10px;
}
.callout h2 {
  margin-bottom: 7px;
}
.callout p:last-child {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
footer {
  max-width: 1264px;
  margin: 70px auto 0;
  padding: 30px 48px 40px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
}
footer .brand {
  font-size: 20px;
  color: var(--ink);
}
footer nav {
  display: flex;
  gap: 22px;
}
.page-heading {
  padding: 60px 0 25px;
  max-width: 830px;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
}
.page-heading h1 {
  font-size: 49px;
}
.page-heading .text-link {
  display: inline-block;
  margin-bottom: 26px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1040px;
  margin: 75px auto;
}
.auth-story h1 {
  font-size: 52px;
}
.auth-story > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  max-width: 350px;
}
.steps {
  list-style: none;
  margin: 35px 0 0;
  padding: 0;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  margin: 23px 0;
}
.steps b {
  font:
    12px Consolas,
    monospace;
  color: #1d63ed;
}
.form-card {
  background: white;
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 11px;
  min-width: 0;
}
.form-card h2 {
  font-size: 25px;
}
.form-card a {
  color: #1d63ed;
  text-decoration: underline;
}
form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 22px 0 8px;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
}
textarea {
  resize: vertical;
}
small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
}
.form-footnote {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.error {
  background: #fff0eb;
  color: #922f26;
  border: 1px solid #eccbc5;
  padding: 12px;
  border-radius: 6px;
  font-size: 13px;
}
.success {
  color: #3e6c32;
  font-size: 13px;
}
.notice {
  border: 1px solid #cbdcf4;
  background: #f1f6ff;
  padding: 20px;
  border-radius: 8px;
  font-size: 13px;
  margin: 20px 0;
}
.two-columns,
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.two-columns {
  margin-top: 30px;
  align-items: start;
}
.two-fields {
  gap: 18px;
}
.account-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 15px 0 30px;
}
.account-banner > div {
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  background: #e8f0ff;
  display: grid;
  place-items: center;
  font-weight: 650;
}
.token-list {
  margin-top: 25px;
}
.token-row,
.release-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 14px;
}
.token-row small {
  font-size: 11px;
}
.token-row button {
  flex-shrink: 0;
}
.publish-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 65px;
  align-items: start;
}
.publish-aside {
  padding: 25px 0;
}
.publish-aside h2 {
  font-size: 23px;
}
.feature {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 25px;
}
.feature b {
  font-size: 13px;
}
.feature p {
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 25px;
}
.install {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 8px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}
.install > span {
  font:
    10px Consolas,
    monospace;
  letter-spacing: 1px;
}
.install pre {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.release-list {
  background: white;
  border: 1px solid var(--line);
  padding: 5px 25px;
  border-radius: 9px;
}
.release-row:first-child {
  border-top: 0;
}
.release-row a {
  font-weight: 600;
}
.release-row time {
  font-size: 12px;
  color: var(--muted);
}
pre {
  font:
    12px/1.8 Consolas,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre.code-panel,
.prose pre {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.artifact dl {
  font-size: 11px;
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 10px;
}
.artifact dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}
details {
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 8px;
  margin: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.docs-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 55px;
}
.docs-nav {
  position: sticky;
  top: 25px;
  align-self: start;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding-left: 20px;
  font-size: 13px;
}
.prose section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.prose p {
  color: var(--muted);
  font-size: 15px;
}
.prose a {
  text-decoration: underline;
  color: var(--ink);
}
.pagination {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
#form-status:empty,
#page-status:empty {
  display: none;
}
#token-secret {
  user-select: all;
}
.sign-in-notice {
  margin-bottom: 30px;
}
@media (max-width: 1050px) {
  .topbar {
    padding: 0 28px;
    gap: 15px;
  }
  .topbar nav,
  .user-nav {
    gap: 16px;
  }
  .container {
    padding: 0 28px;
  }
  .hero {
    gap: 35px;
  }
  .terminal pre {
    font-size: 12px;
  }
  .stats div {
    padding-left: 15px;
    display: block;
  }
  .stats span {
    display: block;
  }
  .auth-layout {
    gap: 50px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .publish-layout {
    gap: 30px;
  }
  footer {
    padding: 25px 28px;
  }
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .topbar {
    height: auto;
    min-height: 105px;
    padding: 18px 20px;
    flex-wrap: wrap;
  }
  .topbar .brand {
    font-size: 21px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .user-nav {
    margin-left: auto;
    font-size: 12px;
    gap: 12px;
  }
  .user-nav .button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 34px;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }
  .hero .lede {
    font-size: 15px;
  }
  .hero .quiet {
    font-size: 11px;
  }
  .terminal {
    transform: none;
    margin: 5px 8px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .stats div {
    padding-left: 0;
    border: 0;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  h2 {
    font-size: 24px;
  }
  .section {
    margin: 36px 0;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .callout {
    padding: 25px;
    flex-direction: column;
    align-items: start;
    gap: 22px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    margin: 40px 0;
    gap: 25px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
  .steps {
    display: none;
  }
  .form-card {
    padding: 24px;
  }
  .page-heading {
    padding: 38px 0 20px;
  }
  .page-heading h1 {
    font-size: 40px;
    overflow-wrap: anywhere;
  }
  .two-columns,
  .publish-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .account-banner > div {
    gap: 9px;
  }
  .account-banner .badge {
    display: none;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .docs-nav {
    position: static;
  }
  .install {
    padding: 18px;
  }
  .install pre {
    flex-basis: 100%;
  }
  .release-row {
    flex-wrap: wrap;
  }
  footer {
    padding: 25px 20px;
    flex-wrap: wrap;
    gap: 18px;
  }
  footer nav {
    width: 100%;
    gap: 20px;
  }
  footer > span {
    font-size: 10px;
  }
  .two-fields {
    gap: 12px;
  }
  .search input {
    font-size: 12px;
  }
  .search button {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Shared catalog and account design. All assets stay on the registry origin. */
.topbar { max-width: none; height: 72px; padding: 0 max(24px, calc((100vw - 1440px) / 2)); background: #1d63ed; color: white; border: 0; gap: 28px; }
.topbar .brand { font-size: 25px; letter-spacing: -.7px; flex-shrink: 0; }
.topbar .brand small { color: #e0ebff; letter-spacing: 2px; margin: 0; }
.brand-mark { background: white; color: #1d63ed; width: 36px; height: 36px; border-radius: 8px; font-size: 26px; }
.topbar nav a[aria-current="page"] { color: white; text-decoration: underline; text-underline-offset: 8px; }
.topbar nav, .user-nav { gap: 20px; white-space: nowrap; }
.topbar .button { background: white; color: #1754cc; border-color: white; }
.topbar .button:hover { background: #eaf2ff; }
.topbar .button.secondary { background: transparent; color: white; border-color: #a6c5ff; }
.header-search { display: flex; align-items: center; flex: 1; max-width: 510px; min-width: 100px; margin-left: auto; background: #ffffff21; border: 1px solid #ffffff35; border-radius: 6px; padding: 0 12px; }
.header-search > span { font-size: 28px; }
.header-search input { background: transparent; color: white; border: 0; padding: 10px; min-width: 0; }
.header-search input::placeholder { color: #f0f5ff; opacity: 1; }
.header-search button { background: transparent; border: 1px solid #ffffff60; color: white; border-radius: 4px; padding: 0 6px; }
.topbar :focus-visible { outline-color: white; }
.container { max-width: 1440px; padding: 0 32px; }
h1 { font-weight: 400; letter-spacing: -1.6px; }
h2 { font-size: 24px; letter-spacing: -.5px; font-weight: 400; }
.page-heading h1 { font-size: 38px; letter-spacing: -1px; }
.eyebrow { font: 650 11px/1.5 "Segoe UI", Arial, sans-serif; letter-spacing: 1.3px; color: #5c6f89; }
.text-link, .package-card h3 a, .release-row a { color: #175cd3; }
.hub-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; min-height: 330px; margin-top: 24px; padding: 44px 60px; border: 1px solid #dce8fa; border-radius: 10px; background: linear-gradient(115deg,#f4f8ff 5%,#eef4ff 60%,#e4eeff); overflow: hidden; }
.hero-copy h1 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.hero-copy h1 em { color: #1d63ed; }
.hero-copy > p:not(.eyebrow) { color: #536783; font-size: 15px; line-height: 1.75; }
.hero-copy .eyebrow { color: #175cd3; margin-bottom: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }
.hero-art { height: 240px; position: relative; width: 320px; justify-self: center; }
.artifact-tile { position: absolute; border-radius: 18px; width: 210px; height: 174px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 16px 30px #1d63ed18; }
.artifact-tile > span { font-size: 43px; font-weight: 750; letter-spacing: -2px; }
.artifact-tile small { font-size: 8px; font-weight: 700; letter-spacing: 1.5px; color: inherit; }
.tile-back { top: 0; right: 0; background: white; color: #6391df; transform: rotate(9deg); border: 1px solid #cbdffc; }
.tile-front { top: 52px; left: 0; background: #1d63ed; color: white; transform: rotate(-6deg); }
.artifact-chip { position: absolute; bottom: 0; right: 0; color: #2453a1; background: white; box-shadow: 0 4px 18px #142e6415; border: 1px solid #d7e4fa; border-radius: 6px; padding: 10px 15px; font-size: 12px; }
.hub-layout { display: grid; grid-template-columns: 204px minmax(0,1fr); gap: 36px; margin-top: 40px; }
.catalog-sidebar { border-right: 1px solid var(--line); padding-right: 22px; }
.sidebar-label { font-size: 10px; font-weight: 700; color: #77869c; letter-spacing: 1.2px; margin: 27px 0 12px; }
.sidebar-label:first-child { margin-top: 2px; }
.catalog-sidebar > a { display: flex; gap: 9px; align-items: center; padding: 9px 10px; margin: 2px -10px; font-size: 13px; border-radius: 5px; color: #40536f; }
.catalog-sidebar > a:hover, .catalog-sidebar > a.active { background: #edf4ff; color: #175cd3; text-decoration: none; }
.sidebar-note { background: #f6f8fb; border: 1px solid #e8edf4; padding: 15px; margin-top: 32px; border-radius: 6px; font-size: 12px; }
.sidebar-note p { color: var(--muted); font-size: 11px; margin: 6px 0 0; }
.catalog-main { min-width: 0; }
.catalog-main .section-heading h2 { margin-bottom: 0; }
.catalog-main .section-heading .eyebrow { margin-bottom: 5px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.spotlight { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fbfcfe; }
.spotlight:hover { border-color: #91b5f5; text-decoration: none; background: #f4f8ff; }
.spotlight-icon { font-size: 27px; color: #1d63ed; }
.spotlight h3 { font-size: 14px; margin: 5px 0; letter-spacing: -.2px; }
.spotlight small { color: #6681a4; font-size: 9px; font-weight: 650; letter-spacing: .7px; margin: 0; }
.spotlight p { font-size: 11px; color: var(--muted); margin: 0; }
.spotlight > span:last-child { margin-left: auto; color: #1d63ed; }
.catalog-main .stats { margin-top: 24px; padding: 17px 0; }
.stats strong { font-size: 23px; font-weight: 650; }
.stats div { padding-left: 18px; gap: 10px; }
.catalog-main .latest-packages { margin: 30px 0; }
.package-card { border-radius: 7px; padding: 20px; box-shadow: 0 1px 2px #182b4905; }
.package-card:hover { border-color: #94b8ef; }
.package-top { margin-bottom: 13px; }
.package-card h3 { font-size: 18px; }
.package-icon { border-radius: 6px; background: #edf4ff; }
.badge { font: 500 11px "Segoe UI", Arial, sans-serif; border: 1px solid #e2e8f0; }
.empty { padding: 34px; border-style: solid; background: #fafbfd; }
.callout { margin: 30px 0; padding: 26px; gap: 20px; }
.callout h2 { font-size: 20px; }
.callout p:last-child { font-size: 12px; }
footer { max-width: 1440px; font-size: 12px; }
.auth-layout { gap: 70px; margin: 60px auto; max-width: 980px; }
.auth-story h1 { font-size: 44px; color: #183765; }
.auth-story .eyebrow { color: #1d63ed; }
.form-card { border-radius: 10px; box-shadow: 0 4px 22px #1c3d6806; }
.form-card a.button.github-button { background: white; color: #243247; border-color: #b9c6d7; text-decoration: none; margin: 16px 0; }
.form-card a.button.github-button:hover { background: #f4f6f9; }
.github-button span { font-size: 19px; }
.auth-divider { display: flex; gap: 12px; align-items: center; font-size: 11px; color: #748399; margin: 7px 0; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
#oauth-status:empty { display: none; }
body[data-page="login"], body[data-page="register"] { background: #f8fafc; }
@media (max-width: 1100px) {
  .topbar { gap: 16px; padding: 0 24px; }
  .topbar nav, .user-nav { gap: 14px; font-size: 12px; }
  .topbar nav a:last-child { display: none; }
  .hub-hero { padding: 32px; }
  .hub-layout { grid-template-columns: 175px minmax(0,1fr); gap: 24px; }
  .spotlight { padding: 15px; gap: 10px; }
}
@media (max-width: 700px) {
  .topbar { height: auto; padding: 14px 20px; gap: 14px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .topbar nav { order: 4; padding: 0; border: 0; justify-content: start; }
  .topbar nav a:last-child { display: inline; }
  .topbar .user-nav { margin-left: auto; }
  .container { padding: 0 20px; }
  .hub-hero { grid-template-columns: 1fr; padding: 28px 24px; min-height: 0; }
  .hero-copy h1 { font-size: 38px; }
  .hero-art { display: none; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .button { padding: 11px 14px; font-size: 12px; }
  .desktop-break { display: none; }
  .hub-layout { grid-template-columns: 1fr; margin-top: 28px; }
  .catalog-sidebar { display: none; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .catalog-main .stats { gap: 16px; }
  .stats div { padding-left: 0; }
  .auth-layout { margin: 30px auto; gap: 20px; }
  .auth-story h1 { font-size: 30px; margin-bottom: 12px; }
  .auth-story h1 br { display: none; }
  .auth-story > p:not(.eyebrow), .auth-story .text-link { display: none; }
  .auth-story .eyebrow { margin-bottom: 10px; }
  .page-heading h1 { font-size: 32px; }
}

/* Editorial typography: matches realjobworkfromhome.com without font downloads. */
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy h1 { letter-spacing: -1.5px; }
.brand, .topbar .brand { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.5px; }
.brand small { font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; }
.brand-mark { display: block; flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: transparent; }
.topbar .brand-mark { outline: 1px solid #ffffff50; outline-offset: -1px; }
footer .brand-mark { width: 36px; height: 36px; }
/* Draw one focus indicator around each compound search control. */
.search:focus-within { border-color: #1d63ed; box-shadow: 0 0 0 3px #1d63ed20; }
.header-search:focus-within { border-color: white; background: #ffffff2e; box-shadow: 0 0 0 3px #ffffff24; }
.search input:focus, .search input:focus-visible,
.header-search input:focus, .header-search input:focus-visible { outline: none; box-shadow: none; }
.search button:focus-visible, .header-search button:focus-visible { outline-offset: 2px; }
