:root {
  color-scheme: light;
  --bg: #f8f9fb;
  --surface: #ffffff;
  --surface-soft: #f2f4f8;
  --surface-hover: #f4f6fa;
  --text: #111827;
  --text-soft: #5b6472;
  --text-muted: #8a94a6;
  --line: #e7eaf0;
  --line-strong: #d8dde7;
  --primary: #5b6cff;
  --primary-hover: #4b5cf3;
  --primary-soft: rgba(91, 108, 255, 0.1);
  --primary-faint: rgba(91, 108, 255, 0.055);
  --danger: #c2410c;
  --success: #2563eb;
  --shadow-sm: 0 8px 22px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 20px 56px rgba(63, 74, 122, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1240px;
  --transition-fast: 160ms ease;
  --transition-normal: 220ms ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d12;
  --surface: #131722;
  --surface-soft: #10141d;
  --surface-hover: #181d2a;
  --text: #f6f8fb;
  --text-soft: #aab2c0;
  --text-muted: #747d8d;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);
  --primary: #5b6cff;
  --primary-hover: #7281ff;
  --primary-soft: rgba(91, 108, 255, 0.14);
  --primary-faint: rgba(91, 108, 255, 0.08);
  --danger: #fb923c;
  --success: #7c8aff;
  --shadow-sm: none;
  --shadow-md: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

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

::selection {
  background: var(--primary-soft);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--surface);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform var(--transition-fast);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.desktop-nav a {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.desktop-nav a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  place-items: center;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  color: var(--text);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.icon-button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary-soft);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
}

.button-large {
  min-height: 52px;
  padding-inline: 24px;
  font-size: 15px;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--primary-hover);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.hero {
  position: relative;
  padding: 38px 0 14px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  bottom: 216px;
  left: 0;
  width: 190px;
  height: 120px;
  background-image: radial-gradient(#d8ddff 1.3px, transparent 1.3px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.72;
}

.hero::after {
  position: absolute;
  top: 86px;
  right: 0;
  width: 34%;
  height: 420px;
  background: linear-gradient(90deg, transparent, rgba(91, 108, 255, 0.08));
  content: "";
  pointer-events: none;
}

[data-theme="dark"] .hero::before,
[data-theme="dark"] .hero::after {
  opacity: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 20px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 6%, var(--surface));
  color: var(--primary);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  color: var(--primary);
}

.hero-description {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.hero-actions .button {
  width: 178px;
  min-height: 52px;
  padding-inline: 16px;
}

.hero-actions .button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 520px;
}

.hero-meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 620;
}

.hero-meta span::before {
  display: grid;
  width: 16px;
  height: 16px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  content: "✓";
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  place-items: center;
}

.privacy-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 550;
}

.hero-visual {
  min-width: 0;
}

.comparison-panel {
  position: relative;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.comparison-head {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 650;
}

.comparison-docs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.document-preview {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface-soft) 72%, var(--surface));
}

.document-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.document-topbar h2 {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

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

.after-preview .status-dot {
  background: var(--primary);
}

.word-page {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px 15px;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
}

[data-theme="dark"] .word-page {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.doc-title {
  color: #111827;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.doc-subtitle {
  margin-bottom: 2px;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.doc-title.bad {
  font-size: 17px;
  letter-spacing: 0;
}

.doc-subtitle.bad {
  padding-left: 12px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.doc-line {
  height: 7px;
  border-radius: 999px;
  background: #d7dce6;
}

.doc-line.wide {
  width: 100%;
}

.doc-line.medium {
  width: 72%;
}

.doc-line.short {
  width: 52%;
}

.doc-line.tiny {
  width: 34%;
}

.doc-line.offset {
  margin-left: 18px;
}

.doc-line.clean {
  height: 6px;
  background: #cfd5e2;
}

.doc-alert,
.doc-note {
  width: fit-content;
  max-width: 100%;
  padding: 3px 7px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 650;
}

.doc-alert {
  background: #fff4ed;
  color: var(--danger);
}

.doc-note {
  background: #eef1ff;
  color: var(--primary);
}

.toc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #edf0f5;
  color: #4b5563;
  font-size: 12px;
}

.toc-row b {
  color: #111827;
  font-weight: 700;
}

.doc-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf0f5;
  color: #6b7280;
  font-size: 12px;
}

.process-chain {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.process-chain span {
  display: grid;
  width: 52px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  place-items: center;
}

.process-chain i {
  color: var(--line-strong);
  font-style: normal;
  transform: rotate(90deg);
}

.process-chain b {
  display: grid;
  width: 38px;
  height: 38px;
  margin: -1px 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 34px;
  font-weight: 420;
  line-height: 1;
  place-items: center;
}

.hero-capability-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 1188px;
  margin-top: 18px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-capability {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.capability-icon {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid color-mix(in srgb, currentColor 22%, var(--line));
  border-radius: 14px;
  background: var(--primary-faint);
  color: var(--primary);
  place-items: center;
}

.capability-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  user-select: none;
}

.hero-capability h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.35;
}

.hero-capability p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.capability-purple .capability-icon {
  background: rgba(91, 108, 255, 0.055);
  color: #5b6cff;
}

.capability-purple .capability-icon img {
  transform: translate(1px, -1px);
}

.capability-green .capability-icon {
  background: rgba(34, 197, 94, 0.055);
  color: #16a34a;
}

.capability-green .capability-icon img {
  transform: translate(1px, -1px);
}

.capability-blue .capability-icon {
  background: rgba(37, 144, 235, 0.06);
  color: #258feb;
}

.capability-blue .capability-icon img {
  transform: translate(0, -1px);
}

.capability-amber .capability-icon {
  background: rgba(245, 158, 11, 0.06);
  color: #d97706;
}

.capability-amber .capability-icon img {
  transform: translate(0, -1px);
}

.section {
  padding: 86px 0;
}

.features-section {
  position: relative;
  padding-top: 74px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 20%, rgba(91, 108, 255, 0.1), transparent 34%),
    var(--bg);
}

.features-section::before,
.features-section::after {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(91, 108, 255, 0.16) 2px, transparent 2px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.features-section::before {
  top: 120px;
  left: 56px;
}

.features-section::after {
  right: 56px;
  bottom: 70px;
}

.features-section .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 44px;
}

.section-heading.centered {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.privacy-content h2,
.donate-copy h2,
.cta-content h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 34px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p,
.privacy-content p,
.donate-copy p,
.cta-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

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

.feature-card,
.workflow-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal);
}

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 176px;
  column-gap: 18px;
  row-gap: 14px;
  align-items: center;
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover,
.workflow-card:hover,
.download-card:hover,
.audience-grid article:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  transform: translateY(-2px);
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
}

.feature-icon img {
  display: block;
  max-width: none;
  width: var(--feature-icon-size, 62px);
  height: var(--feature-icon-size, 62px);
  object-fit: contain;
  transform: translate(var(--feature-icon-x, 0), var(--feature-icon-y, 0));
  user-select: none;
}

.feature-card:nth-child(1) {
  --feature-icon-size: 60px;
  --feature-icon-x: -1px;
}

.feature-card:nth-child(2) {
  --feature-icon-size: 68px;
  --feature-icon-y: 1px;
}

.feature-card:nth-child(3) {
  --feature-icon-size: 60px;
}

.feature-card:nth-child(4) {
  --feature-icon-size: 60px;
  --feature-icon-x: -1px;
}

.feature-card:nth-child(5) {
  --feature-icon-size: 68px;
  --feature-icon-y: 1px;
}

.feature-card:nth-child(6) {
  --feature-icon-size: 62px;
}

.feature-card h3,
.workflow-card h3,
.download-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 720;
}

.feature-card h3 {
  align-self: center;
}

.feature-card p,
.workflow-card p,
.download-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.feature-card p {
  grid-column: 1 / -1;
}

.feature-arrow {
  display: none;
}

.workflow-section,
.faq-section {
  background: var(--surface-soft);
}

.workflow-section {
  padding-top: 42px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.workflow-card {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 112px;
  padding: 24px 30px 24px 72px;
  box-shadow: var(--shadow-sm);
}

.workflow-index {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
  place-items: center;
}

.workflow-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
}

.workflow-icon img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  user-select: none;
}

.workflow-card h3 {
  margin-bottom: 8px;
}

.workflow-arrow {
  color: var(--primary);
  font-size: 34px;
  font-weight: 350;
  line-height: 1;
}

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

.audience-grid article {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal);
}

.privacy-section {
  position: relative;
  padding: 52px 0 42px;
  overflow: hidden;
  background: var(--bg);
}

.privacy-section::before {
  position: absolute;
  top: 170px;
  left: 0;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(rgba(91, 108, 255, 0.14) 2px, transparent 2px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.65;
  pointer-events: none;
}

.privacy-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: center;
  min-height: 300px;
  padding: 32px 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 24%, rgba(91, 108, 255, 0.12), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}

.trust-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--line));
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 760;
}

.trust-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.privacy-content p:not(.trust-pill) {
  max-width: 820px;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.privacy-points article {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, var(--primary) 10%);
}

.privacy-point-icon {
  display: grid;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  overflow: hidden;
  place-items: center;
}

.privacy-point-icon img {
  display: block;
  width: 50px;
  height: 48px;
  object-fit: contain;
  user-select: none;
}

.privacy-points article > span:last-child {
  min-width: 0;
}

.privacy-points strong,
.privacy-points small {
  display: block;
}

.privacy-points strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.3;
  white-space: nowrap;
}

.privacy-points small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.privacy-visual {
  display: grid;
  justify-items: center;
  color: var(--text-muted);
  text-align: center;
}

.privacy-shield-stage {
  position: relative;
  display: grid;
  width: 230px;
  height: 170px;
  place-items: center;
}

.privacy-shield {
  display: block;
  width: 214px;
  height: 214px;
  object-fit: contain;
  transform: translateY(4px);
  user-select: none;
}

.privacy-visual strong {
  margin-top: -2px;
  color: var(--primary);
  font-size: 18px;
  font-weight: 760;
}

.privacy-visual span {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 650;
}

.download-section {
  padding-top: 46px;
  background: var(--bg);
}

.download-heading {
  margin-bottom: 36px;
}

.download-heading h2 {
  position: relative;
  padding-bottom: 14px;
}

.download-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
  transform: translateX(-50%);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 214px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.download-card.recommended {
  border-color: color-mix(in srgb, var(--primary) 56%, var(--line));
}

.recommended-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, #7b7cff 0%, var(--primary) 100%);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  color: transparent;
}

.recommended-badge::after {
  position: absolute;
  top: 12px;
  right: 3px;
  width: 56px;
  color: #ffffff;
  content: "推荐";
  font-size: 13px;
  font-weight: 760;
  text-align: center;
  transform: rotate(45deg);
}

.download-card-head {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-right: 42px;
}

.platform-icon {
  display: grid;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(91, 108, 255, 0.08), rgba(91, 108, 255, 0.03)),
    var(--surface-soft);
  color: var(--primary);
  place-items: center;
}

.platform-icon svg {
  display: block;
  width: 33px;
  height: 33px;
  fill: currentColor;
}

.download-card-head h3 {
  margin-bottom: 6px;
  font-size: 22px;
  line-height: 1.2;
}

.download-card-head p {
  font-size: 15px;
  line-height: 1.45;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 84px;
}

.download-meta span {
  min-height: 30px;
  padding: 5px 14px;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 620;
}

.platform-button {
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  font-size: 16px;
}

.platform-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 14px;
}

.download-notes span,
.download-notes a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.download-notes svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.download-notes strong {
  color: var(--primary);
  font-weight: 760;
}

.faq-list {
  display: flex;
  max-width: 960px;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}

.compact-faq-heading {
  margin-bottom: 46px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.faq-list details:hover {
  background: var(--surface-hover);
}

.faq-list details[open] {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--line));
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 0 28px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary strong {
  min-width: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.35;
}

.faq-icon {
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
}

.faq-icon img {
  display: block;
  width: 64px;
  height: 60px;
  object-fit: contain;
  user-select: none;
}

.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 9px;
  left: 4px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-muted);
  content: "";
  transition: transform var(--transition-fast);
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-list details[open] .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-list details p {
  position: relative;
  margin: -6px 28px 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.donate-section {
  position: relative;
  padding: 74px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 126, 255, 0.2), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(139, 126, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 74%, rgba(139, 126, 255, 0.14), transparent 26%),
    var(--bg);
}

.donate-section::before,
.donate-section::after {
  position: absolute;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.52) 2px, transparent 2px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.4;
  pointer-events: none;
}

.donate-section::before {
  top: 46px;
  left: 34px;
}

.donate-section::after {
  right: 48px;
  bottom: 42px;
}

.donate-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.86), transparent 34%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(91, 108, 255, 0.12);
}

[data-theme="dark"] .donate-card {
  background:
    radial-gradient(circle at 70% 18%, rgba(91, 108, 255, 0.08), transparent 32%),
    var(--surface);
  box-shadow: none;
}

[data-theme="dark"] .support-pill {
  background: rgba(91, 108, 255, 0.16);
  color: #dce1ff;
}

[data-theme="dark"] .donate-copy h2,
[data-theme="dark"] .donate-copy > p:not(.support-pill),
[data-theme="dark"] .support-users p {
  color: var(--text);
}

[data-theme="dark"] .donate-copy > p:not(.support-pill),
[data-theme="dark"] .support-users p {
  color: var(--text-soft);
}

.donate-copy > p:not(.support-pill) {
  max-width: 520px;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 12px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line));
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 760;
}

.donate-copy h2 span {
  color: var(--primary);
}

.support-benefits {
  display: grid;
  max-width: 280px;
  gap: 9px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.support-benefits article {
  display: flex;
  gap: 12px;
  align-items: center;
}

.support-benefits img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  user-select: none;
}

.support-benefits strong,
.support-benefits small {
  display: block;
}

.support-benefits strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
}

.support-benefits small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
}

.coffee-visual {
  display: flex;
  height: 128px;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: -118px;
  padding-right: 18px;
}

.coffee-visual img {
  display: block;
  width: min(260px, 52%);
  height: auto;
  object-fit: contain;
  user-select: none;
}

.support-users {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.support-avatar {
  width: 28px;
  height: 28px;
  margin-right: -16px;
  border: 2px solid var(--surface);
  border-radius: 50%;
}

.avatar-one {
  background: linear-gradient(135deg, #0f172a, #64748b);
}

.avatar-two {
  background: linear-gradient(135deg, #e0f2fe, #0284c7);
}

.avatar-three {
  background: linear-gradient(135deg, #fef3c7, #f97316);
}

.avatar-four {
  background: linear-gradient(135deg, #fce7f3, #be185d);
}

.support-users p {
  margin: 0 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.support-users strong {
  color: var(--primary);
}

.donate-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-soft);
}

.donate-panel-head,
.donate-payment-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.donate-panel-head h3,
.donate-payment-title h3 {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 760;
}

.donate-panel-head svg,
.donate-payment-title svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.donate-panel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.amount-btn,
.custom-amount {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.amount-btn:hover,
.custom-amount:hover,
.custom-amount:focus-visible {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.amount-btn.active,
.custom-amount.active {
  border-color: var(--primary);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), transparent 44%),
    var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(91, 108, 255, 0.28);
}

.amount-btn img {
  display: block;
  width: 40px;
  height: 34px;
  object-fit: contain;
  justify-self: center;
  user-select: none;
}

.amount-btn span {
  color: var(--text-soft);
  font-size: 12px;
}

.amount-btn strong {
  color: var(--text);
  font-size: 18px;
  font-weight: 780;
  line-height: 1;
}

.amount-btn small {
  font-size: 14px;
  font-weight: 650;
}

.amount-btn.active span,
.amount-btn.active strong,
.custom-amount.active span,
.custom-amount.active strong,
.custom-amount.active input {
  color: #ffffff;
}

.amount-check {
  position: absolute;
  top: -11px;
  right: -9px;
  display: none !important;
  width: 28px;
  height: 28px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--primary);
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 800;
  place-items: center;
}

.amount-btn.active .amount-check,
.custom-amount.active .amount-check {
  display: grid !important;
}

.custom-amount {
  align-items: center;
  justify-items: center;
}

.custom-heart {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.12);
  color: #ec4899;
  font-size: 30px;
  place-items: center;
}

.custom-amount strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 720;
}

.custom-amount input {
  width: 100%;
  min-width: 0;
  max-width: 110px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.custom-amount input::placeholder {
  color: var(--text-muted);
}

.custom-amount.active input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.custom-amount input::-webkit-outer-spin-button,
.custom-amount input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.custom-amount input[type="number"] {
  appearance: textfield;
}

.custom-amount span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 650;
}

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

.donate-method-btn {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
}

.donate-method-btn:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
  background: var(--surface-hover);
  color: var(--primary);
}

.donate-method-btn.active {
  border-color: color-mix(in srgb, var(--primary) 62%, var(--line));
  color: var(--text);
}

.donate-method-btn svg,
.payment-logo {
  width: 24px;
  height: 24px;
}

.payment-logo {
  flex: 0 0 auto;
  object-fit: contain;
  user-select: none;
}

.donate-method-btn svg {
  fill: currentColor;
}

.method-radio {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
}

.donate-method-btn.active .method-radio {
  border-color: var(--primary);
}

.donate-method-btn.active .method-radio::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.donate-method-btn .wechat-mark {
  color: #22c55e;
}

.donate-method-btn .alipay-mark {
  color: #168bff;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.donate-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

.donate-qr-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 18px 40px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 26% 50%, rgba(91, 108, 255, 0.12), transparent 36%),
    var(--surface);
}

.qr-preview {
  display: grid;
  justify-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: zoom-in;
  font: inherit;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast);
}

.qr-preview:hover {
  filter: drop-shadow(0 16px 22px rgba(91, 108, 255, 0.18));
  transform: translateY(-2px);
}

.qr-preview:focus-visible {
  outline: 3px solid var(--primary-soft);
  outline-offset: 4px;
}

.qr-preview-frame {
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  overflow: hidden;
  border: 8px solid var(--surface);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(91, 108, 255, 0.12);
}

.donate-qr-card img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  object-fit: contain;
}

.qr-modal-image {
  display: block;
  width: 112px;
  height: 112px;
  border: 7px solid var(--surface);
  border-radius: 10px;
  object-fit: cover;
}

.qr-modal-image {
  width: min(100%, 320px);
  height: auto;
  margin-inline: auto;
  border-color: var(--surface-soft);
}

.donate-qr-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
}

.donate-selected-amount {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 760;
}

.donate-qr-card p,
.donate-qr-card small {
  display: block;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.donate-qr-card small {
  margin-top: 12px;
  color: var(--text-soft);
}

.cta-section {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 50% 18%, rgba(91, 108, 255, 0.12), transparent 34%),
    var(--bg);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
  min-height: 250px;
  padding: 42px 64px;
  overflow: hidden;
  border: 1px solid rgba(91, 108, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 52%, rgba(91, 108, 255, 0.12), transparent 24%),
    radial-gradient(circle at 82% 50%, rgba(91, 108, 255, 0.1), transparent 24%),
    var(--surface);
  box-shadow:
    0 26px 70px rgba(91, 108, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.cta-card::before,
.cta-card::after {
  position: absolute;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(rgba(91, 108, 255, 0.18) 2px, transparent 2px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.74;
  pointer-events: none;
}

.cta-card::before {
  top: 58px;
  left: 58px;
}

.cta-card::after {
  top: 58px;
  right: 214px;
}

.cta-visual {
  position: relative;
  z-index: 1;
  display: grid;
  width: 220px;
  height: 180px;
  justify-self: center;
  place-items: center;
}

.cta-visual::before {
  position: absolute;
  z-index: -1;
  width: 225px;
  height: 78px;
  border: 4px solid rgba(91, 108, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-9deg);
}

.cta-visual::after {
  position: absolute;
  z-index: -2;
  bottom: 6px;
  width: 214px;
  height: 48px;
  border-radius: 50%;
  background: rgba(91, 108, 255, 0.1);
  filter: blur(3px);
  content: "";
}

.cta-visual img {
  width: 172px;
  height: 172px;
  object-fit: contain;
}

.cta-content h2 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 30px;
  font-weight: 820;
  line-height: 1.28;
}

.cta-content p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 30px;
}

.cta-benefits span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
}

.cta-benefits img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cta-download {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.cta-download .button {
  min-width: 218px;
  box-shadow: 0 16px 28px rgba(91, 108, 255, 0.24);
}

.cta-download .button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.cta-download span {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 560;
}

.site-footer {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow:
    0 22px 68px rgba(91, 108, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.site-footer .container {
  width: calc(100% - 96px);
  max-width: none;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 72px;
  padding: 52px 0 46px;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.footer-socials a,
.footer-socials button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-soft);
  cursor: pointer;
  place-items: center;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.footer-socials a:hover,
.footer-socials button:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.footer-socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 96px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 780;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 15px;
  text-align: left;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 14px;
}

.modal {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 40px), 520px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.58);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  place-items: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.modal-close:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
  color: var(--text);
}

.modal-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  place-items: center;
}

.modal h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 760;
}

.modal p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.75;
}

.modal-note {
  display: block;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
}

.compact-modal {
  width: min(calc(100% - 40px), 420px);
}

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

.donate-code {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.donate-code-head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-mark {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  font-weight: 800;
  place-items: center;
}

.donate-code-head strong {
  color: var(--text);
  font-size: 14px;
}

.donate-code img {
  width: 100%;
  max-width: 150px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.donate-code small {
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 200;
  bottom: 24px;
  left: 50%;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-md);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translate(-50%, 80px);
  transition:
    transform var(--transition-normal),
    opacity var(--transition-normal);
}

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

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }

  .hero-copy h1,
  .hero-description,
  .hero-meta {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-meta {
    justify-content: center;
  }

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

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .workflow-arrow {
    display: none;
  }

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

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

  .privacy-card,
  .donate-card {
    grid-template-columns: 1fr;
  }

  .privacy-visual {
    justify-self: stretch;
  }

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

  .donate-copy {
    text-align: center;
  }

  .donate-copy > p:not(.support-pill) {
    margin-inline: auto;
  }

  .support-benefits {
    margin-inline: auto;
    text-align: left;
  }

  .coffee-visual {
    max-width: 360px;
    margin-inline: auto;
    margin-top: 12px;
    justify-content: center;
  }

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

  .donate-qr-card {
    padding-inline: 28px;
  }

  .cta-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 36px;
  }

  .site-footer {
    width: min(calc(100% - 48px), var(--container));
  }

  .cta-download {
    grid-column: 1 / -1;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-links {
    justify-content: space-between;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    height: 66px;
  }

  .brand {
    font-size: 17px;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    padding: 60px 0 68px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-description {
    font-size: 16px;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .comparison-panel {
    padding: 14px;
    border-radius: 20px;
  }

  .comparison-docs {
    grid-template-columns: 1fr;
  }

  .process-chain {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 4px 0;
  }

  .process-chain span {
    width: auto;
    padding: 0 12px;
  }

  .process-chain i {
    transform: none;
  }

  .process-chain b {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .word-page {
    min-height: 280px;
  }

  .hero-capability-strip {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2,
  .privacy-content h2,
  .donate-copy h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .feature-grid,
  .audience-grid,
  .download-grid,
  .donate-amounts,
  .donate-methods-inline,
  .donate-methods {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .workflow-card {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: auto;
    padding: 22px 22px 22px 58px;
  }

  .workflow-index {
    top: 20px;
    left: 18px;
  }

  .workflow-icon {
    width: 60px;
    height: 60px;
  }

  .workflow-icon img {
    width: 66px;
    height: 66px;
  }

  .privacy-card,
  .donate-card,
  .cta-card {
    padding: 28px;
  }

  .cta-section {
    padding: 54px 0 34px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .cta-card::before,
  .cta-card::after {
    opacity: 0.36;
  }

  .cta-card::after {
    right: 22px;
  }

  .cta-visual {
    width: 190px;
    height: 142px;
    margin-inline: auto;
  }

  .cta-visual::before {
    width: 188px;
    height: 58px;
  }

  .cta-visual img {
    width: 132px;
    height: 132px;
  }

  .cta-benefits {
    justify-content: center;
    gap: 14px 18px;
  }

  .site-footer {
    width: min(calc(100% - 28px), var(--container));
    margin-bottom: 28px;
    border-radius: 24px;
  }

  .site-footer .container {
    width: calc(100% - 48px);
  }

  .footer-main {
    gap: 34px;
    padding: 34px 0 30px;
  }

  .footer-socials {
    justify-content: center;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-list summary {
    grid-template-columns: minmax(0, 1fr) 20px;
    min-height: 66px;
    padding: 0 18px;
  }

  .faq-icon {
    display: none;
  }

  .faq-list summary strong {
    font-size: 15px;
  }

  .faq-list details p {
    margin: -4px 18px 20px;
    padding: 0;
    font-size: 14px;
  }

  .privacy-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .privacy-shield-stage {
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
  }

  .download-card-head {
    padding-right: 0;
  }

  .download-card {
    min-height: auto;
    padding: 24px;
  }

  .download-meta {
    margin-left: 0;
  }

  .donate-panel {
    gap: 16px;
    padding: 20px;
  }

  .donate-panel-head,
  .donate-payment-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .amount-btn,
  .custom-amount {
    min-height: 128px;
  }

  .donate-method-btn {
    min-height: 60px;
    font-size: 17px;
  }

  .coffee-visual {
    height: 130px;
    transform: none;
  }

  .coffee-visual img {
    width: min(260px, 78%);
  }

  .donate-qr-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    text-align: center;
  }

  .qr-preview-frame {
    width: 172px;
    height: 172px;
    margin: 0 auto;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-links a,
  .footer-links button {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .modal {
    padding: 28px 20px 22px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 34px;
  }

  .word-page {
    padding: 20px 16px 16px;
  }
}
