:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --bg-2: #ebe7dd;
  --ink: #171817;
  --muted: #62655f;
  --quiet: #898b84;
  --line: rgba(23, 24, 23, 0.13);
  --line-strong: rgba(23, 24, 23, 0.22);
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #fffdf8;
  --graphite: #222421;
  --violet: #7e5cff;
  --violet-2: #efe9ff;
  --green: #27b36a;
  --green-2: #e3f6eb;
  --amber: #c9851b;
  --amber-2: #fff1d5;
  --shadow: 0 22px 70px rgba(54, 47, 31, 0.15);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(23, 24, 23, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 24, 23, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, #fbfaf6 46%, #ece8dc 100%);
  background-size: 56px 56px, 56px 56px, auto;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-Hans"] body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

p,
li {
  color: var(--muted);
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 36px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(23, 24, 23, 0.14);
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #fffdf8;
  box-shadow: 0 12px 34px rgba(23, 24, 23, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: var(--graphite);
}

.button-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 14px;
}

.hero {
  width: min(calc(100% - 36px), var(--max));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 96px) 0 clamp(54px, 8vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(310px, 0.86fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero > *,
.section-inner > *,
.page > * {
  min-width: 0;
}

.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(39, 179, 106, 0.3);
  border-radius: var(--radius);
  background: var(--green-2);
  color: #127743;
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 88px);
}

html[lang="zh-Hans"] h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.08;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #4f524b;
  font-size: clamp(18px, 2.1vw, 22px);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.product-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(130px, 0.35fr);
  align-items: end;
  gap: 18px;
}

.phone-shot,
.agent-shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.phone-shot {
  overflow: hidden;
  padding: 10px;
  width: min(300px, 100%);
  transform: translateY(24px);
}

.phone-shot img {
  border-radius: var(--radius);
}

.agent-shot {
  grid-column: 1 / -1;
  padding: 12px;
}

.caption {
  margin: 10px 4px 0;
  color: var(--quiet);
  font-size: 13px;
}

.agent-note .caption {
  margin-top: 0;
  color: #4f524b;
}

.section {
  padding: clamp(58px, 7vw, 92px) 0;
  border-top: 1px solid rgba(23, 24, 23, 0.08);
}

.compact-section {
  padding-top: clamp(38px, 5vw, 66px);
}

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

.section-header {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-header h2,
.page h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.4vw, 56px);
}

.grid-3,
.grid-2,
.download-grid {
  display: grid;
  gap: 14px;
}

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

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

.card,
.fact-panel,
.doc-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(58, 54, 42, 0.08);
}

.card,
.doc-card {
  padding: clamp(20px, 2.4vw, 28px);
}

.card h3,
.doc-card h2,
.doc-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.icon-box {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--violet-2);
  color: var(--violet);
  font-weight: 900;
}

.comparison-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(58, 54, 42, 0.08);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.86fr 1fr 1.28fr;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row > div {
  min-width: 0;
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.comparison-row > div:first-child {
  border-left: 0;
}

.comparison-row strong {
  color: var(--ink);
}

.comparison-head {
  background: #151715;
}

.comparison-head > div {
  color: #fffdf8;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.fact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 3.4vw, 38px);
  background: #151715;
}

.fact-panel h2,
.fact-panel p,
.fact-panel li {
  color: #fffdf8;
}

.fact-panel p,
.fact-panel li {
  color: rgba(255, 253, 248, 0.74);
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check {
  flex: 0 0 auto;
  color: #66df9f;
  font-weight: 900;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 12px;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.step::before {
  content: counter(steps);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--graphite);
  color: #fffdf8;
  font-weight: 850;
}

.page {
  width: min(calc(100% - 36px), 900px);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) 0;
}

.page-wide {
  width: min(calc(100% - 36px), var(--max));
}

.doc-stack {
  display: grid;
  gap: 14px;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.meta-table th,
.meta-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.meta-table th {
  width: 170px;
  color: var(--ink);
}

.release-details {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.release-details summary {
  width: fit-content;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.release-details[open] summary {
  margin-bottom: 10px;
}

.release-details p {
  color: var(--muted);
}

.compact-meta th,
.compact-meta td {
  padding: 10px 0;
}

.compact-meta .code-line {
  padding: 10px;
  background: rgba(241, 238, 230, 0.72);
  font-size: 12px;
}

.code-line {
  display: block;
  padding: 12px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1eee6;
  color: #2b2d29;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.small-note {
  margin-top: 14px;
  color: var(--quiet);
  font-size: 13px;
}

.notice {
  border: 1px solid rgba(201, 133, 27, 0.35);
  background: var(--amber-2);
}

.support-warning {
  padding: 12px;
  border: 1px solid rgba(201, 133, 27, 0.35);
  border-radius: var(--radius);
  background: var(--amber-2);
  color: #6d4910;
  font-weight: 650;
}

.footer {
  padding: 34px 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .hero,
  .fact-panel,
  .grid-2,
  .grid-3,
  .download-grid,
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row > div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .comparison-row > div:first-child {
    border-top: 0;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row:not(.comparison-head) {
    border-top: 1px solid var(--line);
  }

  .comparison-row:not(.comparison-head) > div::before {
    display: block;
    margin-bottom: 6px;
    color: var(--quiet);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .comparison-row:not(.comparison-head) > div:nth-child(1)::before {
    content: "Layer";
  }

  .comparison-row:not(.comparison-head) > div:nth-child(2)::before {
    content: "Usually for";
  }

  .comparison-row:not(.comparison-head) > div:nth-child(3)::before {
    content: "VaultCopy fits";
  }

  html[lang="zh-Hans"] .comparison-row:not(.comparison-head) > div:nth-child(1)::before {
    content: "这一层";
  }

  html[lang="zh-Hans"] .comparison-row:not(.comparison-head) > div:nth-child(2)::before {
    content: "通常用于";
  }

  html[lang="zh-Hans"] .comparison-row:not(.comparison-head) > div:nth-child(3)::before {
    content: "VaultCopy 放置";
  }

  .hero {
    min-height: auto;
  }

  .product-stack {
    grid-template-columns: minmax(240px, 0.72fr) 1fr;
  }

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

@media (max-width: 560px) {
  .nav-links {
    width: 100%;
    gap: 10px;
  }

  .nav-cta {
    width: 100%;
  }

  h1 {
    font-size: clamp(34px, 10.2vw, 44px);
    line-height: 1.08;
  }

  .product-stack {
    grid-template-columns: 1fr;
  }

  .phone-shot {
    width: min(82vw, 340px);
    transform: none;
  }

  .pill {
    width: 100%;
    white-space: normal;
  }

}
