/* ============================================================
   再续仙缘 · 站点样式
   原生 CSS，无外部字体、图标或资源依赖
   ============================================================ */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong",
    "Noto Serif CJK SC", serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --text: #333333;
  --text-strong: #1f2328;
  --text-body: #4b5563;
  --text-muted: #667085;
  --text-faint: #6b7684;

  --bg: #ffffff;
  --bg-subtle: #f6f8fa;
  --bg-hover: #f3f6f8;

  --border: #e5e9ed;
  --border-soft: #edf0f3;
  --border-strong: #d0d7de;

  --link: #0969da;
  --link-hover: #0550ae;

  --brand: #0f3d33;
  --brand-strong: #092e26;
  --brand-soft: #edf6f2;
  --brand-border: #cfe5dc;

  --green: #1a7f37;
  --header-height: 64px;
  --radius: 8px;

  --shadow-sm: 0 1px 2px rgba(31, 35, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 61, 51, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

svg {
  display: block;
}

code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: #24292f;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

::selection {
  background: #ddeee7;
  color: var(--text-strong);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2da44e;
  box-shadow: 0 0 0 3px rgba(45, 164, 78, 0.12);
}

/* ============================================================
   顶部导航
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

.nav-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 440px) minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-self: start;
  color: var(--text-strong);
  text-decoration: none;
}

.brand:hover {
  color: var(--text-strong);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 3px rgba(15, 61, 51, 0.12));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-name {
  color: var(--text-strong);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-tagline {
  margin-top: 4px;
  color: var(--text-faint);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #57606a;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.icon-button:hover {
  background: var(--bg-subtle);
  color: var(--text-strong);
  text-decoration: none;
}

.menu-button {
  display: none;
}

.search-form {
  position: relative;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--text-faint);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 0 48px 0 38px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  outline: none;
  background: var(--bg-subtle);
  color: var(--text);
  font-size: 13.5px;
  transition: border-color 0.16s ease, background-color 0.16s ease,
    box-shadow 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}

.search-input::placeholder {
  color: var(--text-faint);
}

.search-input:hover {
  background: #f3f5f7;
}

.search-input:focus {
  border-color: var(--link);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.12);
}

.search-kbd {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 1px solid #d8dee4;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #fff;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  transform: translateY(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.github-button {
  color: #57606a;
}

.github-button .icon {
  width: 19px;
  height: 19px;
}

/* ============================================================
   三栏布局
   ============================================================ */

.app-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr) 220px;
  align-items: start;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

.main-content {
  min-width: 0;
  padding: 40px 48px 0;
  outline: none;
}

.main-content > .page,
.main-content > .site-footer {
  width: 100%;
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: page-in 0.24s ease-out both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 左侧目录 ---------- */

.sidebar {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  height: calc(100vh - var(--header-height));
  padding: 28px 22px 32px 0;
  border-right: 1px solid var(--border-soft);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.drawer-head {
  display: none;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tree-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 0 -4px;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #6e7781;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-align: left;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.tree-toggle:hover {
  background: var(--bg-subtle);
  color: var(--text-body);
}

.tree-toggle > span:first-child {
  flex: 1;
}

.tree-chevron {
  width: 13px;
  height: 13px;
  color: var(--text-faint);
  transition: transform 0.18s ease;
}

.tree-group.is-collapsed .tree-chevron {
  transform: rotate(-90deg);
}

.nav-list {
  margin: 6px 0 0 10px;
  padding: 0 0 0 8px;
  border-left: 1px solid var(--border-soft);
  list-style: none;
}

.tree-group.is-collapsed .nav-list {
  display: none;
}

.nav-item {
  margin: 2px 0;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 6px 9px 6px 10px;
  border-radius: 6px;
  color: #57606a;
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-link:hover {
  background: var(--bg-subtle);
  color: var(--text-strong);
  text-decoration: none;
}

.nav-link .icon {
  width: 16px;
  height: 16px;
  color: #7d8590;
  stroke-width: 1.7;
  transition: color 0.16s ease;
}

.nav-link:hover .icon {
  color: #57606a;
}

.nav-link.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.nav-link.is-active .icon {
  color: var(--brand);
}

.nav-link.is-active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -9px;
  width: 2px;
  height: 16px;
  margin-top: -8px;
  border-radius: 2px;
  background: var(--brand);
}

.nav-link-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nav-count {
  flex-shrink: 0;
  min-width: 19px;
  height: 18px;
  margin-left: auto;
  padding: 0 5px;
  border: 1px solid #e3e8ee;
  border-radius: 999px;
  background: #fff;
  color: var(--text-faint);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  text-align: center;
}

.nav-link.is-active .nav-count {
  border-color: var(--brand-border);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand);
}

.sidebar-meta {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.sidebar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6e7781;
  font-size: 11.5px;
  line-height: 1.6;
}

.sidebar-updated {
  margin: 10px 0 0 14px;
  color: var(--text-faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

/* ---------- 右侧本页目录 ---------- */

.outline {
  position: sticky;
  top: var(--header-height);
  max-height: calc(100vh - var(--header-height));
  padding: 42px 0 36px 26px;
  border-left: 1px solid var(--border-soft);
  overflow-y: auto;
  scrollbar-width: none;
}

.outline::-webkit-scrollbar {
  display: none;
}

.outline-title {
  margin: 0 0 12px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.outline-nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-soft);
}

.outline-link {
  width: 100%;
  margin-left: -1px;
  padding: 6px 8px 6px 13px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  background: transparent;
  color: #6e7781;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.outline-link:hover {
  background: var(--bg-subtle);
  color: var(--text-strong);
}

.outline-link.is-active {
  border-left-color: var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 600;
}

.outline-empty {
  margin: 0;
  padding-left: 13px;
  color: var(--text-faint);
  font-size: 12px;
}

.outline-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  padding: 0 0 0 13px;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-size: 11.5px;
  transition: color 0.16s ease;
}

.outline-top:hover {
  color: var(--link);
}

.outline-top .icon {
  width: 13px;
  height: 13px;
}

.sidebar-scrim {
  display: none;
}

/* ============================================================
   页头与通用内容
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
  color: var(--text-faint);
  font-size: 12.5px;
  line-height: 1.5;
}

.breadcrumb a {
  color: #6e7781;
}

.breadcrumb a:hover {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb-separator {
  color: #c4ccd4;
  font-size: 11px;
}

.page-header {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.kicker-line {
  display: block;
  width: 18px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--brand);
  opacity: 0.5;
}

.page-header h1,
.main-content h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.9rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.32;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.main-content h1[tabindex="-1"]:focus {
  outline: none;
}

.page-desc {
  max-width: 64ch;
  margin: 14px 0 0;
  color: #57606a;
  font-size: 15.5px;
  line-height: 1.85;
}

.page-body {
  min-height: 120px;
}

.content-section > .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border-soft);
}

.section-heading h2,
.content-section h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.45;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-count {
  flex-shrink: 0;
  color: var(--text-faint);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
  white-space: nowrap;
}

.section-intro {
  max-width: 58ch;
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.button:hover {
  text-decoration: none;
}

.button .icon {
  width: 15px;
  height: 15px;
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 61, 51, 0.12);
}

.button-primary:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 5px 14px rgba(15, 61, 51, 0.16);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--border-strong);
  background: #fff;
  color: var(--text-body);
}

.button-secondary:hover {
  border-color: var(--brand-border);
  background: #fbfdfc;
  color: var(--brand);
  transform: translateY(-1px);
}

/* ============================================================
   首页
   ============================================================ */

.home-hero {
  position: relative;
  padding: 12px 0 34px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  top: -54px;
  right: 0;
  color: var(--brand);
  font-family: var(--font-serif);
  font-size: clamp(150px, 18vw, 205px);
  font-weight: 700;
  line-height: 1;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

.home-eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.6;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.home-hero h1 {
  position: relative;
  max-width: 12em;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(2.35rem, 4.6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.home-lead {
  position: relative;
  max-width: 39em;
  margin: 20px 0 0;
  color: #24292f;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 500;
  line-height: 1.7;
}

.home-intro {
  position: relative;
  max-width: 45em;
  margin: 12px 0 0;
  color: #57606a;
  font-size: 15px;
  line-height: 1.9;
}

.home-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-stats {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-right: 22px;
  padding-right: 22px;
  border-right: 1px solid var(--border-soft);
  line-height: 1.4;
}

.hero-stat:nth-child(3) {
  border-right: 0;
}

.hero-stat-number {
  color: var(--brand);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  color: #6e7781;
  font-size: 11.5px;
  white-space: nowrap;
}

.hero-stat--status {
  align-items: center;
  gap: 9px;
  margin-left: auto;
  margin-right: 0;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fbfcfd;
}

.hero-stat--status .hero-stat-label {
  color: var(--text-faint);
  font-size: 10.5px;
}

.home-section {
  padding-top: 40px;
}

.home-section .section-heading {
  margin-bottom: 20px;
}

.section-heading--stacked {
  display: block;
}

.section-heading--stacked h2 {
  font-size: 1.32rem;
}

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

.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease, background-color 0.18s ease;
}

.quick-card:hover {
  border-color: #b9d8cc;
  background: #fcfefd;
  box-shadow: var(--shadow-md);
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

.quick-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.quick-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #e0eee8;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.quick-icon .icon {
  width: 17px;
  height: 17px;
}

.quick-card-title {
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.quick-card-desc {
  flex: 1;
  margin-top: 11px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.quick-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-faint);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.quick-card-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--text-faint);
  transition: color 0.18s ease, background-color 0.18s ease,
    transform 0.18s ease;
}

.quick-card-arrow .icon {
  width: 14px;
  height: 14px;
}

.quick-card:hover .quick-card-arrow {
  background: var(--brand);
  color: #fff;
  transform: translateX(2px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.principle-card {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.principle-card:nth-child(1) {
  border-top-color: var(--brand-border);
}

.principle-icon {
  display: block;
  color: var(--brand);
}

.principle-icon .icon {
  width: 20px;
  height: 20px;
}

.principle-card h3 {
  margin: 15px 0 6px;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.principle-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.78;
}

/* ============================================================
   资讯时间线
   ============================================================ */

.news-timeline {
  position: relative;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.news-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 1px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin: 0;
  padding: 0 0 30px 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  top: 7px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #b7c3bb;
  border-radius: 50%;
  background: #fff;
}

.timeline-item:first-child .timeline-marker {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 0 0 4px #eef6f2;
}

.timeline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 6px;
}

.timeline-date {
  color: var(--text-faint);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border: 1px solid #dcebe5;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.timeline-title {
  margin: 0 0 7px;
  color: var(--text-strong);
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  line-height: 1.55;
}

.timeline-text {
  max-width: 64ch;
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.85;
}

.timeline-text p {
  margin: 0;
}

.timeline-text p + p {
  margin-top: 0.55em;
}

/* ============================================================
   在线笔记卡片
   ============================================================ */

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

.doc-card {
  display: flex;
  flex-direction: column;
  min-height: 224px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
}

.doc-card:hover {
  border-color: #b9d8cc;
  box-shadow: var(--shadow-md);
  color: inherit;
  text-decoration: none;
  transform: translateY(-2px);
}

.doc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.doc-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: #57606a;
  transition: color 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease;
}

.doc-icon .icon {
  width: 17px;
  height: 17px;
}

.doc-card:hover .doc-icon {
  border-color: var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand);
}

.doc-category {
  padding: 2px 7px;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  background: var(--bg-subtle);
  color: #57606a;
  font-size: 10px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.doc-title {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-size: 16.5px;
  font-weight: 650;
  line-height: 1.5;
  transition: color 0.18s ease;
}

.doc-card:hover .doc-title {
  color: var(--brand);
}

.doc-desc {
  flex: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
}

.doc-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--text-faint);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.doc-meta .icon {
  width: 12px;
  height: 12px;
  color: #9aa4ae;
}

.doc-meta .meta-dot {
  color: #c4ccd4;
}

.doc-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--link);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.doc-open .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.18s ease;
}

.doc-card:hover .doc-open .icon {
  transform: translate(1px, -1px);
}

/* ============================================================
   资料下载
   ============================================================ */

.download-list {
  overflow: hidden;
  margin-top: 4px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}

.download-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  transition: background-color 0.16s ease;
}

.download-row + .download-row {
  border-top: 1px solid var(--border-soft);
}

.download-row:hover {
  background: #fbfcfd;
}

.file-badge {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  color: #57606a;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.file-badge[data-ext="zip"] {
  border-color: #e7d9fb;
  background: #f6f0ff;
  color: #8250df;
}

.file-badge[data-ext="md"] {
  border-color: #d8e7fb;
  background: #eef5ff;
  color: #0969da;
}

.file-badge[data-ext="csv"] {
  border-color: #d8eedf;
  background: #eef8f1;
  color: #1a7f37;
}

.file-badge[data-ext="html"] {
  border-color: #f5e3cf;
  background: #fff7ed;
  color: #bc4c00;
}

.file-badge[data-ext="pdf"] {
  border-color: #f7d8d6;
  background: #fff1f0;
  color: #cf222e;
}

.download-content {
  flex: 1;
  min-width: 0;
}

.download-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.download-title-line h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.file-format {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-faint);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.download-desc {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.download-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
  color: var(--text-faint);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.download-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.download-meta-item .icon {
  width: 12px;
  height: 12px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: #fff;
  color: #57606a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease;
}

.download-button .icon {
  width: 14px;
  height: 14px;
}

.download-button:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 61, 51, 0.14);
  text-decoration: none;
}

.download-button.is-disabled {
  border-color: var(--border);
  background: var(--bg-subtle);
  color: var(--text-faint);
  pointer-events: none;
}

/* ============================================================
   网盘资源
   ============================================================ */

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

.cloud-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cloud-card:hover {
  border-color: #d3dde4;
  box-shadow: 0 8px 24px rgba(31, 35, 40, 0.055);
}

.cloud-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 17px;
}

.cloud-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: #f1f3f5;
  color: #57606a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.cloud-card[data-theme="baidu"] .cloud-mark {
  border-color: #dbe6ff;
  background: #eef4ff;
  color: #2457c5;
}

.cloud-card[data-theme="aliyun"] .cloud-mark {
  border-color: #ffe4cf;
  background: #fff4e8;
  color: #b45309;
}

.cloud-card[data-theme="quark"] .cloud-mark {
  border-color: #dce2ff;
  background: #eef0ff;
  color: #4f46e5;
}

.cloud-provider {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.cloud-provider-name {
  color: #57606a;
  font-size: 11px;
  font-weight: 600;
}

.cloud-updated {
  margin-top: 3px;
  color: var(--text-faint);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.cloud-external {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  color: var(--text-faint);
  font-size: 9.5px;
  line-height: 1.5;
  white-space: nowrap;
}

.cloud-external .icon {
  width: 11px;
  height: 11px;
}

.cloud-title {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.5;
}

.cloud-desc {
  flex: 1;
  margin: 0 0 17px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.75;
}

.cloud-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--border-soft);
}

.cloud-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 4px 0 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #f8fafb;
  color: var(--text-faint);
  font-size: 10.5px;
}

.cloud-code code {
  padding: 0;
  background: transparent;
  color: var(--text-strong);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.copy-code {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  margin-left: 1px;
  padding: 0 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-faint);
  font-size: 10px;
  line-height: 1;
  transition: color 0.16s ease, background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.copy-code .icon {
  width: 11px;
  height: 11px;
}

.copy-code:hover {
  background: #fff;
  color: var(--link);
  box-shadow: 0 0 0 1px var(--border);
}

.copy-code.is-copied {
  color: var(--green);
}

.cloud-public {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-faint);
  font-size: 10.5px;
}

.cloud-public .icon {
  width: 13px;
  height: 13px;
}

.cloud-open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease;
}

.cloud-open .icon {
  width: 12px;
  height: 12px;
}

.cloud-open:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.cloud-open.is-disabled {
  border-color: var(--border);
  background: var(--bg-subtle);
  color: var(--text-faint);
  pointer-events: none;
}

/* ============================================================
   提示、空状态与页脚
   ============================================================ */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 15px 17px;
  border: 1px solid var(--border-soft);
  border-left: 3px solid #9fc4b5;
  border-radius: 7px;
  background: var(--bg-subtle);
}

.callout-icon {
  margin-top: 2px;
  color: #6e7781;
}

.callout-icon .icon {
  width: 16px;
  height: 16px;
}

.callout-body {
  min-width: 0;
}

.callout-title {
  margin: 0 0 3px;
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}

.callout-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.75;
}

.empty-state {
  padding: 46px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: 9px;
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-faint);
}

.empty-icon .icon {
  width: 20px;
  height: 20px;
}

.empty-title {
  margin: 0 0 4px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
}

.empty-desc {
  margin: 0;
  color: var(--text-faint);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  margin-top: 56px;
  padding: 0 0 42px;
}

.footer-rule {
  height: 1px;
  margin-bottom: 18px;
  background: var(--border);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--text-faint);
  font-size: 11px;
  line-height: 1.7;
}

.footer-copy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.footer-separator {
  color: #c4ccd4;
}

.footer-note {
  margin: 0;
  color: var(--text-faint);
}

.data-error {
  padding-top: 20px;
}

.data-error h1 {
  margin-bottom: 16px;
}

.data-error p:not(.page-kicker) {
  max-width: 58ch;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.noscript-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px;
  border: 1px solid #f0d38a;
  border-radius: 7px;
  background: #fff8e6;
  color: #6b4b00;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(31, 35, 40, 0.08);
  color: #57606a;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.back-to-top .icon {
  width: 17px;
  height: 17px;
}

.back-to-top:hover {
  border-color: var(--brand-border);
  color: var(--brand);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  z-index: 150;
  max-width: calc(100vw - 32px);
  padding: 9px 16px;
  border-radius: 7px;
  background: #24292f;
  color: #fff;
  box-shadow: 0 8px 26px rgba(31, 35, 40, 0.2);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1300px) {
  .app-shell {
    grid-template-columns: 240px minmax(0, 1fr);
    max-width: 1200px;
    padding: 0 24px;
  }

  .outline {
    display: none;
  }

  .main-content {
    padding: 36px 42px 0;
  }

  .sidebar {
    padding-right: 22px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 60px;
  }

  .nav-inner {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 12px;
    max-width: none;
    padding: 0 20px;
  }

  .menu-button {
    display: inline-flex;
  }

  .search-form {
    max-width: none;
  }

  .app-shell {
    display: block;
    max-width: none;
    padding: 0 20px;
  }

  .main-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 0 0;
  }

  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 20px 18px 26px;
    border-right: 1px solid var(--border);
    background: #fff;
    visibility: hidden;
    transform: translateX(-102%);
    transition: transform 0.24s ease, visibility 0.24s ease;
    box-shadow: none;
  }

  body.nav-open .sidebar {
    visibility: visible;
    transform: translateX(0);
    box-shadow: 0 20px 60px rgba(20, 34, 28, 0.18);
  }

  .sidebar-inner {
    min-height: 100%;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
  }

  .drawer-eyebrow {
    margin: 0 0 2px;
    color: var(--brand);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .drawer-title {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }

  .drawer-close {
    border-color: var(--border-soft);
  }

  .sidebar-meta {
    margin-top: auto;
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    background: rgba(20, 34, 28, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
  }

  body.nav-open .sidebar-scrim {
    opacity: 1;
    visibility: visible;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    gap: 10px;
    padding: 0 16px;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .search-input {
    height: 36px;
    padding-right: 34px;
    font-size: 13px;
  }

  .search-kbd {
    display: none;
  }

  .app-shell {
    padding: 0 16px;
  }

  .main-content {
    padding-top: 26px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  .page-header {
    margin-bottom: 26px;
    padding-bottom: 22px;
  }

  .page-header h1,
  .main-content h1 {
    font-size: 1.8rem;
  }

  .page-desc {
    margin-top: 11px;
    font-size: 14px;
    line-height: 1.8;
  }

  .home-hero {
    padding-top: 4px;
  }

  .home-eyebrow {
    margin-bottom: 16px;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
  }

  .home-lead {
    margin-top: 16px;
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .home-intro {
    font-size: 14px;
    line-height: 1.85;
  }

  .home-actions {
    margin-top: 22px;
  }

  .button {
    min-height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .hero-stats {
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero-stat {
    margin-right: 16px;
    padding-right: 16px;
  }

  .hero-stat-number {
    font-size: 1.4rem;
  }

  .hero-stat--status {
    margin-top: 3px;
  }

  .home-section {
    padding-top: 32px;
  }

  .section-heading--stacked h2 {
    font-size: 1.22rem;
  }

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

  .quick-card {
    min-height: 0;
    padding: 18px;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .principle-card {
    padding: 18px 0;
    border-top: 1px solid var(--border);
  }

  .principle-card h3 {
    margin-top: 11px;
  }

  .doc-card {
    min-height: 0;
    padding: 18px;
  }

  .download-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 4px 13px;
    padding: 16px;
  }

  .file-badge {
    grid-row: 1;
    grid-column: 1;
  }

  .download-content {
    grid-row: 1;
    grid-column: 2;
  }

  .download-button {
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .download-meta {
    gap: 9px;
  }

  .cloud-card {
    min-height: 0;
    padding: 18px;
  }

  .callout {
    margin-top: 24px;
    padding: 14px;
  }

  .content-section > .section-heading {
    gap: 12px;
  }

  .site-footer {
    margin-top: 42px;
    padding-bottom: 28px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
  }

  .toast {
    bottom: 20px;
  }
}

@media (max-width: 560px) {
  .nav-inner {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .nav-actions {
    display: none;
  }

  .hero-stat--status {
    width: fit-content;
    margin-left: 0;
  }

  .cloud-external {
    display: none;
  }

  .download-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .cloud-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .cloud-open {
    width: 100%;
    justify-content: center;
  }

  .doc-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .timeline-title {
    font-size: 15.5px;
  }
}

@media (max-width: 390px) {
  :root {
    --header-height: 58px;
  }

  .nav-inner {
    gap: 8px;
    padding: 0 14px;
  }

  .menu-button {
    width: 32px;
    height: 32px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .brand-name {
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .search-input {
    height: 33px;
    padding: 0 10px 0 31px;
    font-size: 12px;
  }

  .search-icon {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  .app-shell {
    padding: 0 14px;
  }

  .home-hero h1 {
    font-size: 1.85rem;
  }

  .home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-actions .button {
    width: 100%;
  }

  .hero-stat {
    margin-right: 13px;
    padding-right: 13px;
  }

  .hero-stat-number {
    font-size: 1.3rem;
  }

  .hero-stat-label {
    font-size: 10.5px;
  }

  .hero-stat--status {
    padding: 4px 8px;
  }

  .cloud-code {
    max-width: 100%;
  }

  .download-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 3px 11px;
    padding: 14px;
  }

  .file-badge {
    width: 40px;
    height: 40px;
    font-size: 9px;
  }
}

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

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