/* ==========================================================================
   瑞亿播放器官网 · 样式
   与播放器共用一套设计令牌（tokens.css 的核心变量）
   ========================================================================== */

:root {
  --ry-accent: #22d3ee;
  --ry-accent-2: #6366f1;
  --ry-base: #0b1220;
  --ry-bg-image:
    radial-gradient(120% 80% at 50% -10%, #1b2b4d 0%, #0b1220 55%, #070b14 100%);
  --ry-surface: rgba(255, 255, 255, 0.045);
  --ry-surface-2: rgba(255, 255, 255, 0.075);
  --ry-surface-3: rgba(255, 255, 255, 0.11);
  --ry-border: rgba(255, 255, 255, 0.09);
  --ry-border-strong: rgba(255, 255, 255, 0.17);
  --ry-text: #e8eefb;
  --ry-text-dim: #9fb0cc;
  --ry-text-mute: #6b7d99;
  --ry-radius: 14px;
  --ry-radius-lg: 20px;
  --ry-shadow: 0 20px 56px rgba(0, 0, 0, 0.46);
  --ry-shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.3);
  --ry-font: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans CJK SC", "Segoe UI", system-ui, sans-serif;
  --ry-mono: "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --maxw: 1200px;
  --accent-grad: linear-gradient(135deg, var(--ry-accent), var(--ry-accent-2));
}

[data-theme="light"] {
  --ry-base: #f2f5fa;
  --ry-bg-image: linear-gradient(180deg, #ffffff 0%, #eef2f8 100%);
  --ry-surface: rgba(15, 30, 55, 0.04);
  --ry-surface-2: rgba(15, 30, 55, 0.07);
  --ry-surface-3: rgba(15, 30, 55, 0.1);
  --ry-border: rgba(15, 30, 55, 0.1);
  --ry-border-strong: rgba(15, 30, 55, 0.2);
  --ry-text: #0f1a2e;
  --ry-text-dim: #465870;
  --ry-text-mute: #74869f;
  --ry-shadow: 0 20px 50px rgba(20, 40, 70, 0.13);
  --ry-shadow-sm: 0 6px 18px rgba(20, 40, 70, 0.09);
}

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

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

body {
  margin: 0;
  font-family: var(--ry-font);
  color: var(--ry-text);
  background: var(--ry-bg-image);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
code { font-family: var(--ry-mono); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ry-surface-3); border-radius: 99px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: var(--ry-border-strong); background-clip: padding-box; }

:focus-visible { outline: 2px solid var(--ry-accent); outline-offset: 3px; border-radius: 8px; }

/* ============================== 按钮 ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border-radius: var(--ry-radius);
  font-size: 14px; font-weight: 600;
  transition: transform 0.16s, filter 0.16s, background 0.16s, border-color 0.16s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent-grad); color: #04121a; }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { background: var(--ry-surface-2); color: var(--ry-text); border-color: var(--ry-border); }
.btn--ghost:hover { background: var(--ry-surface-3); border-color: var(--ry-border-strong); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn--block { width: 100%; }

/* ============================== 导航 ============================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ry-base) 72%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ry-border);
}
.nav__in {
  max-width: var(--maxw); margin: 0 auto;
  height: 68px; padding: 0 24px;
  display: flex; align-items: center; gap: 26px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-weight: 700; font-size: 16px; }
.nav__brand em { font-style: normal; font-weight: 400; color: var(--ry-text-mute); font-size: 12px; margin-left: 7px; }
.nav__mark { width: 30px; height: 30px; color: var(--ry-accent); display: block; }
.nav__mark svg { width: 100%; height: 100%; }
.nav__links { display: flex; gap: 4px; margin-left: 12px; }
.nav__links a {
  padding: 8px 13px; border-radius: 99px;
  font-size: 14px; color: var(--ry-text-dim);
  transition: color 0.16s, background 0.16s;
}
.nav__links a:hover { color: var(--ry-text); background: var(--ry-surface); }
.nav__cta { margin-left: auto; display: flex; gap: 10px; }
.nav__burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 4px; align-items: center; }
.nav__burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ry-text); display: block; }

/* ============================== HERO ============================== */
.hero { position: relative; padding: 76px 24px 84px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 520px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.2), transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}
.hero__in {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 32px; padding: 0 15px;
  border-radius: 99px;
  background: var(--ry-surface-2);
  border: 1px solid var(--ry-border);
  font-size: 12.5px; color: var(--ry-text-dim);
  margin-bottom: 22px;
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ry-accent); box-shadow: 0 0 10px var(--ry-accent); animation: bl 2s infinite; }
@keyframes bl { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.grad {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__desc {
  font-size: 16.5px; line-height: 1.85;
  color: var(--ry-text-dim);
  max-width: 520px; margin-bottom: 32px;
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__meta { display: flex; gap: 34px; flex-wrap: wrap; }
.hero__meta div { display: flex; flex-direction: column; gap: 3px; }
.hero__meta b { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.hero__meta span { font-size: 12.5px; color: var(--ry-text-mute); }

/* 界面预览 */
.hero__demo { position: relative; }
.mock {
  border-radius: var(--ry-radius-lg);
  overflow: hidden;
  background: color-mix(in srgb, var(--ry-base) 88%, transparent);
  border: 1px solid var(--ry-border-strong);
  box-shadow: var(--ry-shadow);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.mock:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg); }
.mock__bar {
  height: 34px; display: flex; align-items: center; gap: 6px;
  padding: 0 13px;
  background: var(--ry-surface-2);
  border-bottom: 1px solid var(--ry-border);
}
.mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ry-surface-3); display: block; }
.mock__bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; color: var(--ry-text-mute); font-family: var(--ry-mono); }
.mock__body { display: grid; grid-template-columns: 190px 1fr; height: 300px; }
.mock__side { padding: 11px; border-right: 1px solid var(--ry-border); overflow: hidden; }
.mock__side > b { display: block; font-size: 12.5px; margin-bottom: 9px; }
.mock__item { display: flex; gap: 8px; padding: 6px; border-radius: 8px; margin-bottom: 4px; }
.mock__item.is-on { background: color-mix(in srgb, var(--ry-accent) 16%, transparent); }
.mock__item img { width: 44px; height: 28px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }
.mock__item strong { display: block; font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__item small { display: block; font-size: 9.5px; color: var(--ry-text-mute); margin-top: 2px; }
.mock__stage { position: relative; background: #05070c; }
.mock__stage img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.mock__ctrl { position: absolute; left: 14px; right: 14px; bottom: 46px; display: flex; align-items: center; gap: 9px; }
.mock__time { font-size: 10.5px; color: #cfe0f5; font-variant-numeric: tabular-nums; }
.mock__bar2 { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.mock__bar2 i { display: block; height: 100%; width: 18%; background: var(--ry-accent); border-radius: 3px; }
.mock__btns { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; }
.mock__btns svg { width: 20px; height: 20px; color: #fff; }
.mock__chip {
  height: 18px; padding: 0 7px; border-radius: 4px;
  background: var(--ry-surface-3); color: #dbe8fa;
  font-size: 9.5px; font-weight: 600;
  display: inline-flex; align-items: center;
  margin-left: auto;
}
.mock__chip + .mock__chip { margin-left: 0; }

.hero__float {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  border-radius: var(--ry-radius);
  background: color-mix(in srgb, var(--ry-base) 92%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ry-border-strong);
  box-shadow: var(--ry-shadow-sm);
  animation: fl 5s ease-in-out infinite;
}
.hero__float--1 { top: 26px; right: -14px; }
.hero__float--2 { bottom: 22px; left: -18px; animation-delay: -2.5s; }
@keyframes fl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__float-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--ry-accent-grad); display: grid; place-items: center; color: #04121a; flex-shrink: 0; }
.hero__float-ic svg { width: 17px; height: 17px; }
.hero__float b { display: block; font-size: 12.5px; }
.hero__float small { display: block; font-size: 11px; color: var(--ry-text-mute); margin-top: 2px; }

/* ============================== 通用区块 ============================== */
.sect { padding: 92px 24px; max-width: var(--maxw); margin: 0 auto; }
.sect--alt { max-width: none; padding-left: max(24px, calc((100% - var(--maxw)) / 2)); padding-right: max(24px, calc((100% - var(--maxw)) / 2)); background: var(--ry-surface); border-top: 1px solid var(--ry-border); border-bottom: 1px solid var(--ry-border); }
.sect__head { text-align: center; margin-bottom: 52px; }
.sect__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--ry-accent); margin-bottom: 14px; }
.sect__title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.4px; margin-bottom: 14px; }
.sect__sub { font-size: 15.5px; color: var(--ry-text-dim); line-height: 1.8; max-width: 640px; margin: 0 auto; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  padding: 24px;
  border-radius: var(--ry-radius-lg);
  background: var(--ry-surface);
  border: 1px solid var(--ry-border);
  transition: transform 0.24s, border-color 0.24s, background 0.24s;
}
.card:hover { transform: translateY(-4px); border-color: var(--ry-border-strong); background: var(--ry-surface-2); }
.card__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ry-accent-grad); color: #04121a; display: grid; place-items: center; margin-bottom: 16px; }
.card__ic svg { width: 23px; height: 23px; }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 9px; }
.card p { font-size: 13.5px; line-height: 1.8; color: var(--ry-text-dim); }

/* 格式 */
.fmt { display: grid; gap: 16px; }
.fmt__row { display: grid; grid-template-columns: 132px 1fr; gap: 20px; align-items: start; padding: 18px 20px; border-radius: var(--ry-radius); background: var(--ry-surface); border: 1px solid var(--ry-border); }
.fmt__k { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.fmt__k i { width: 8px; height: 8px; border-radius: 50%; background: var(--ry-accent); display: block; flex-shrink: 0; }
.fmt__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.fmt__tag { padding: 4px 10px; border-radius: 7px; background: var(--ry-surface-2); border: 1px solid var(--ry-border); font-size: 12px; color: var(--ry-text-dim); font-family: var(--ry-mono); transition: all 0.16s; }
.fmt__tag:hover { color: var(--ry-accent); border-color: var(--ry-accent); }

/* 风格展示 */
.tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.tabs__b {
  height: 38px; padding: 0 20px; border-radius: 99px;
  font-size: 14px; color: var(--ry-text-dim);
  background: var(--ry-surface); border: 1px solid var(--ry-border);
  transition: all 0.18s;
}
.tabs__b:hover { color: var(--ry-text); }
.tabs__b.is-on { background: var(--ry-accent-grad); color: #04121a; border-color: transparent; font-weight: 600; }
.panel { display: none; }
.panel.is-on { display: block; }

.sk {
  border-radius: var(--ry-radius);
  overflow: hidden;
  border: 1.5px solid var(--ry-border);
  background: var(--ry-surface);
  transition: transform 0.2s, border-color 0.2s;
  cursor: default;
}
.sk:hover { transform: translateY(-4px); border-color: var(--ry-border-strong); }
.sk__prev { height: 118px; position: relative; overflow: hidden; }
.sk__prev i { position: absolute; border-radius: 3px; background: rgba(255, 255, 255, 0.5); display: block; }
.sk__meta { padding: 12px 14px; }
.sk__name { font-size: 14px; font-weight: 700; display: block; }
.sk__tag { font-size: 11.5px; color: var(--ry-text-mute); display: block; margin-top: 3px; }
.sk__desc { font-size: 11.5px; color: var(--ry-text-dim); line-height: 1.65; margin-top: 7px; }

.sw { border-radius: var(--ry-radius); overflow: hidden; border: 1.5px solid var(--ry-border); transition: transform 0.2s, border-color 0.2s; }
.sw:hover { transform: translateY(-4px); border-color: var(--ry-border-strong); }
.sw__chip { height: 84px; }
.sw__name { padding: 9px 4px; text-align: center; font-size: 12.5px; background: var(--ry-surface); display: block; }

.bgc { padding: 20px; border-radius: var(--ry-radius); border: 1.5px solid var(--ry-border); background: var(--ry-surface); text-align: center; transition: transform 0.2s, border-color 0.2s; }
.bgc:hover { transform: translateY(-4px); border-color: var(--ry-border-strong); }
.bgc__prev { height: 88px; border-radius: 10px; margin-bottom: 14px; }
.bgc b { display: block; font-size: 14px; }
.bgc small { display: block; font-size: 11.5px; color: var(--ry-text-mute); margin-top: 5px; line-height: 1.6; }

/* 文档区 */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 46px; align-items: center; }
.ticks { display: grid; gap: 12px; margin: 26px 0 30px; }
.ticks li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ry-text-dim); }
.ticks svg { width: 19px; height: 19px; color: var(--ry-accent); flex-shrink: 0; }
.doc__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.doc__code { border-radius: var(--ry-radius-lg); overflow: hidden; border: 1px solid var(--ry-border-strong); box-shadow: var(--ry-shadow); background: #0a0f1a; }
.code__bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--ry-border); }
.code__bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); display: block; }
.code__bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; color: var(--ry-text-mute); font-family: var(--ry-mono); }
.doc__code pre { margin: 0; padding: 22px; overflow-x: auto; }
.doc__code code { font-family: var(--ry-mono); font-size: 12.5px; line-height: 1.85; color: #cfe0f5; }
.c-key { color: #7dd3fc; }
.c-str { color: #a5f3a0; }
.c-num { color: #fcd34d; }
.c-br { color: #64748b; }
.doc__copy code { background: var(--ry-surface-2); padding: 2px 7px; border-radius: 5px; font-size: 13px; color: var(--ry-accent); }

/* ============================== 下载 ============================== */
.dl { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.dl__side {
  padding: 24px;
  border-radius: var(--ry-radius-lg);
  background: var(--ry-surface);
  border: 1px solid var(--ry-border);
  position: sticky; top: 88px;
}
.dl__detected { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl__det-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--ry-accent-grad); color: #04121a; display: grid; place-items: center; flex-shrink: 0; }
.dl__det-icon svg { width: 26px; height: 26px; }
.dl__det-txt b { display: block; font-size: 16px; }
.dl__det-txt small { display: block; font-size: 12px; color: var(--ry-text-mute); margin-top: 3px; }
.dl__note { font-size: 11.5px; color: var(--ry-text-mute); line-height: 1.7; margin: 12px 0 20px; }
.dl__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 0; border-top: 1px solid var(--ry-border); border-bottom: 1px solid var(--ry-border); margin-bottom: 16px; }
.dl__meta div { text-align: center; }
.dl__meta b { display: block; font-size: 14px; font-weight: 700; }
.dl__meta span { display: block; font-size: 10.5px; color: var(--ry-text-mute); margin-top: 3px; }
.dl__checks { display: grid; gap: 9px; }
.dl__checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ry-text-dim); line-height: 1.6; }
.dl__checks svg { width: 15px; height: 15px; color: var(--ry-accent); flex-shrink: 0; margin-top: 2px; }

.dl__tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.dl__tab { height: 34px; padding: 0 15px; border-radius: 99px; font-size: 13px; color: var(--ry-text-dim); background: var(--ry-surface); border: 1px solid var(--ry-border); transition: all 0.16s; }
.dl__tab:hover { color: var(--ry-text); }
.dl__tab.is-on { background: var(--ry-accent-grad); color: #04121a; border-color: transparent; font-weight: 600; }
.dl__list { display: grid; gap: 11px; }
.dlrow {
  display: flex; align-items: center; gap: 15px;
  padding: 16px 18px;
  border-radius: var(--ry-radius);
  background: var(--ry-surface);
  border: 1.5px solid var(--ry-border);
  transition: all 0.2s;
}
.dlrow:hover { border-color: var(--ry-border-strong); background: var(--ry-surface-2); }
.dlrow.is-rec { border-color: var(--ry-accent); background: color-mix(in srgb, var(--ry-accent) 9%, transparent); }
.dlrow__ic { width: 42px; height: 42px; border-radius: 11px; background: var(--ry-surface-3); display: grid; place-items: center; color: var(--ry-text-dim); flex-shrink: 0; }
.dlrow.is-rec .dlrow__ic { background: var(--ry-accent-grad); color: #04121a; }
.dlrow__ic svg { width: 22px; height: 22px; }
.dlrow__t { flex: 1; min-width: 0; }
.dlrow__t b { display: block; font-size: 14.5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dlrow__t small { display: block; font-size: 11.5px; color: var(--ry-text-mute); margin-top: 4px; }
.badge-rec { padding: 2px 8px; border-radius: 99px; background: var(--ry-accent-grad); color: #04121a; font-size: 10.5px; font-weight: 700; }
.badge-x { padding: 2px 8px; border-radius: 99px; background: var(--ry-surface-3); color: var(--ry-text-mute); font-size: 10.5px; }
.dlrow__act { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.dlrow__size { font-size: 11.5px; color: var(--ry-text-mute); font-variant-numeric: tabular-nums; }
.btn--sm { height: 34px; padding: 0 15px; font-size: 13px; }

/* 性能 */
.perf { padding: 26px; border-radius: var(--ry-radius-lg); background: var(--ry-surface); border: 1px solid var(--ry-border); text-align: center; }
.perf b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -1px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.perf span { display: block; font-size: 13.5px; color: var(--ry-text); font-weight: 600; margin-top: 8px; }
.perf small { display: block; font-size: 11.5px; color: var(--ry-text-mute); margin-top: 5px; line-height: 1.6; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq__i { border-radius: var(--ry-radius); background: var(--ry-surface); border: 1px solid var(--ry-border); overflow: hidden; transition: border-color 0.18s; }
.faq__i.is-on { border-color: var(--ry-accent); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 17px 20px; text-align: left; font-size: 15px; font-weight: 600; }
.faq__q svg { width: 18px; height: 18px; margin-left: auto; color: var(--ry-text-mute); transition: transform 0.24s; flex-shrink: 0; }
.faq__i.is-on .faq__q svg { transform: rotate(90deg); color: var(--ry-accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__a p { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.9; color: var(--ry-text-dim); }

/* CTA */
.cta { padding: 92px 24px; text-align: center; }
.cta__in { max-width: 720px; margin: 0 auto; padding: 56px 32px; border-radius: 26px; background: linear-gradient(150deg, rgba(34, 211, 238, 0.14), rgba(99, 102, 241, 0.1)); border: 1px solid var(--ry-border-strong); }
.cta h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 14px; }
.cta p { font-size: 15px; color: var(--ry-text-dim); margin-bottom: 30px; }
.cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 页脚 */
.foot { border-top: 1px solid var(--ry-border); background: var(--ry-surface); }
.foot__in { max-width: var(--maxw); margin: 0 auto; padding: 52px 24px 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr); gap: 40px; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand b { display: block; font-size: 15px; }
.foot__brand small { display: block; font-size: 12px; color: var(--ry-text-mute); margin-top: 3px; }
.foot__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.foot__links div { display: flex; flex-direction: column; gap: 10px; }
.foot__links b { font-size: 13px; margin-bottom: 3px; }
.foot__links a { font-size: 13px; color: var(--ry-text-dim); transition: color 0.16s; }
.foot__links a:hover { color: var(--ry-accent); }
.foot__bar { max-width: var(--maxw); margin: 0 auto; padding: 18px 24px; border-top: 1px solid var(--ry-border); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ry-text-mute); }

/* ============================== 响应式 ============================== */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { text-align: center; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__btns, .hero__meta { justify-content: center; }
  .mock { transform: none; }
  .hero__float { display: none; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .doc { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  .dl__side { position: static; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .fmt__row { grid-template-columns: 1fr; gap: 12px; }
  .sect { padding: 62px 18px; }
  .hero { padding: 48px 18px 60px; }
  .mock__body { grid-template-columns: 1fr; height: 260px; }
  .mock__side { display: none; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__links { grid-template-columns: 1fr 1fr; }
  .dlrow { flex-wrap: wrap; }
}
