:root {
  --bg: #0b0e11;
  --panel: #12171d;
  --panel-2: #1a2027;
  --line: #232a32;
  --hairline: #171d24;
  --text: #e9eef3;
  --muted: #949ea9;
  --muted-2: #737c86;
  --accent: #5a4bff;
  --accent-soft: #9d8cff;
  --max: 1080px;
  --mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

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

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

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

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

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

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.icon {
  width: 18px;
  height: 18px;
}

/* ---------- 顶栏 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 14, 17, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.brand-word {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #d6dce2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(214, 220, 226, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #959da6;
}

.nav a {
  white-space: nowrap;
  transition: color 0.15s ease;
}

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

/* ---------- 通用 ---------- */

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #6f7882;
}

.section {
  border-top: 1px solid var(--hairline);
  padding: 72px 0 74px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: #6b5dff;
}

.btn-primary {
  margin-top: 30px;
  padding: 11px 26px;
  font-size: 16px;
  box-shadow: 0 12px 32px rgba(90, 75, 255, 0.22);
}

.btn-small {
  margin-top: 12px;
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 14px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 104px 0 80px;
  border-bottom: 1px solid var(--hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 110px;
  align-items: center;
}

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

/* 设计稿中英雄区整体略偏左，手机右侧留出更多呼吸空间。 */
@media (min-width: 1100px) {
  .container > .hero-grid {
    margin-left: -23px;
    padding-right: 68px;
  }
}

.hero h1 {
  margin: 12px 0 26px;
  font-size: 60px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 380px;
  font-size: 17px;
  line-height: 1.85;
  color: #b4bcc5;
}

/* ---------- 手机外壳 ---------- */

.device-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.device-figure figcaption {
  font-size: 12px;
  color: #7c858f;
  letter-spacing: 0.02em;
}

.phone {
  position: relative;
  width: 300px;
  height: 650px;
  border-radius: 50px;
  border: 1px solid #29313a;
  background: #0b0e11;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.phone-screen {
  position: absolute;
  inset: 0;
  border-radius: 49px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0b0e11;
}

.statusbar {
  position: relative;
  z-index: 4;
  flex: none;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.status-island {
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  width: 96px;
  height: 27px;
  border-radius: 16px;
  background: #000;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #e9eef3;
}

/* ---------- 终端 ---------- */

.term {
  flex: 1;
  min-height: 0;
  padding: 12px 20px 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.76;
  color: var(--text);
}

.term-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.term-prompt {
  color: var(--accent-soft);
}

.term-dim {
  color: #8a929c;
}

.term-gap {
  margin-top: 8px;
}

.term-bullet {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: #b7bfc8;
  vertical-align: 2px;
}

.term-accent {
  color: var(--accent-soft);
}

.term-cursor-line {
  margin-top: 1px;
}

.term-cursor {
  display: inline-block;
  width: 1.5px;
  height: 10px;
  background: #8b7bff;
  vertical-align: -1px;
}

.dock {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 30px;
}

.dock-key,
.dock-send {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.dock-key {
  background: #12171d;
  border: 1px solid #252d35;
  color: #a7afb8;
}

.dock-key .icon {
  width: 17px;
  height: 17px;
}

.dock-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 12px;
  border: 1px solid #222a32;
  background: #171d24;
  color: #8d96a0;
  font-size: 10.5px;
  white-space: nowrap;
  overflow: hidden;
}

.dock-send {
  background: var(--accent);
  color: #fff;
}

.dock-send .icon {
  width: 16px;
  height: 16px;
}

.homebar {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 99px;
  background: rgba(233, 238, 243, 0.72);
  z-index: 6;
}

/* ---------- 功能 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 29px 20px;
  margin-top: 42px;
}

.feature-card {
  min-height: 147px;
  padding: 26px 24px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-soft);
}

.feature-card h3 {
  margin: 26px 0 9px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 界面 ---------- */

.device-figure--ui {
  margin-top: 44px;
}

.section--ui {
  padding-bottom: 60px;
}

.phone--sessions .phone-screen {
  background: #06090b;
}

.sess-underlay {
  position: absolute;
  inset: 0;
  background: #06090b;
}

.underlay-term {
  position: absolute;
  top: 64px;
  left: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.9;
  color: #3d454e;
}

.underlay-term p {
  white-space: nowrap;
  overflow: hidden;
}

.dock--underlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 30px;
  padding: 0;
}

.sess-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 9, 0.45);
}

.drawer {
  position: absolute;
  top: 46px;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 80%;
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  background: var(--panel);
  border-radius: 0 16px 0 0;
  box-shadow: 10px 0 34px rgba(0, 0, 0, 0.38);
}

.drawer-head {
  padding: 0 20px;
}

.drawer-kicker {
  display: block;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #7c858e;
}

.drawer-title {
  display: block;
  margin-top: 7px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.device-card {
  margin: 15px 16px 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--panel-2);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 7px;
  align-items: center;
}

.device-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.device-state {
  grid-column: 2;
  font-size: 9.5px;
  color: #7f8892;
  line-height: 1.4;
}

.session-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5e6771;
}

.device-card .session-dot {
  grid-row: 1 / span 2;
}

.dot-live {
  background: var(--accent-soft);
}

.dot-wait {
  background: #e3b05e;
}

.dot-idle {
  background: #5e6771;
}

.session-list {
  list-style: none;
  margin: 0;
  padding: 0 8px;
}

.session {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 51px;
  padding: 7px 8px;
  border-radius: 10px;
}

.session.is-active {
  background: #1b1b48;
}

.session-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.session-name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}

.session-meta {
  font-size: 9.5px;
  line-height: 1.3;
  color: #7f8892;
}

.session-meta em {
  font-style: normal;
}

.state-live {
  color: var(--accent-soft);
}

.state-wait {
  color: #e3b05e;
}

.session-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 2px;
  color: #5f6873;
}

.row-icon {
  width: 12px;
  height: 12px;
}

.drawer-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 34px;
  font-size: 12px;
  color: #a7afb8;
}

.foot-icon {
  width: 14px;
  height: 14px;
  color: #8b939c;
}

/* ---------- 下载 ---------- */

.section--download {
  padding-top: 88px;
  padding-bottom: 96px;
  text-align: center;
}

.section--download h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.dl-card {
  padding: 25px 24px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.dl-card:hover {
  border-color: #3a4350;
  transform: translateY(-2px);
}

.dl-qr {
  width: 130px;
  height: 130px;
  border-radius: 8px;
}

.dl-plate {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  background: var(--panel-2);
  display: grid;
  place-items: center;
}

.dl-arrow {
  width: 30px;
  height: 30px;
  color: var(--accent-soft);
}

.dl-card h3 {
  margin-top: 26px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.dl-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.dl-hint {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #5f6873;
}

/* ---------- 快捷面板 ---------- */

.section--panel {
  padding: 88px 0 96px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 480px);
  gap: 100px;
  justify-content: center;
  align-items: center;
}

.panel-copy h2 {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-lede {
  margin-top: 18px;
  max-width: 470px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

.highlight-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.highlight-index {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #1b1b48;
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.highlight-text strong {
  font-size: 14.5px;
  font-weight: 600;
}

.highlight-text span {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.term--panel {
  padding: 8px 16px 0;
  font-size: 10.5px;
  line-height: 1.95;
}

.quick-panel {
  flex: none;
  padding: 8px 14px 6px;
  background: #0d1116;
  border-top: 1px solid #1b222a;
}

.quick-commands {
  display: flex;
  gap: 6px;
  overflow: hidden;
  padding: 2px 0 8px;
}

.quick-chip {
  flex: none;
  height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #252d35;
  background: #171d24;
  color: #c9d0d8;
  font-size: 9.5px;
  white-space: nowrap;
}

.quick-chip.is-primary {
  background: #1b1b48;
  border-color: #33306f;
  color: #b9b2ff;
}

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

.quick-key {
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid #252d35;
  background: #171d24;
  color: #b7bfc8;
  font-family: var(--mono);
  font-size: 8.5px;
}

.dock-key.is-on {
  background: #1b1b48;
  border-color: #33306f;
  color: #b9b2ff;
}

/* ---------- 亮点 ---------- */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.highlight-card {
  min-height: 180px;
  padding: 24px 24px 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.highlight-card h3 {
  margin: 24px 0 8px;
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 600;
}

.highlight-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 安全 ---------- */

.section--security {
  padding: 88px 0 88px;
}

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 80px;
  align-items: center;
}

.security-copy h2 {
  margin-top: 14px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.security-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-list li {
  padding-left: 16px;
  border-left: 1px solid #2b3340;
}

.security-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
  font-weight: 600;
}

.security-list span {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.security-visual {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.sec-flow {
  display: flex;
  flex-direction: column;
}

.sec-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid #252d35;
  background: var(--panel-2);
}

.sec-node--relay {
  background: #131a21;
}

.sec-node-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #1b1b48;
  color: var(--accent-soft);
}

.sec-node-icon .icon {
  width: 17px;
  height: 17px;
}

.sec-node-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sec-node-text strong {
  font-size: 13.5px;
  font-weight: 600;
}

.sec-node-text span {
  font-size: 11px;
  color: #7f8892;
}

.sec-tag {
  flex: none;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 9.5px;
  color: #7f8892;
  white-space: nowrap;
}

.sec-wire {
  position: relative;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-wire::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: repeating-linear-gradient(to bottom, #2b3340 0 4px, transparent 4px 8px);
}

.sec-wire-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid #252d35;
  background: #0e1318;
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: #8d96a0;
}

.sec-wire-label .icon {
  width: 11px;
  height: 11px;
  color: var(--accent-soft);
}

.sec-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font-size: 10.5px;
  color: #7f8892;
}

.sec-note .icon {
  width: 12px;
  height: 12px;
  color: #8d96a0;
}

/* ---------- 兼容 ---------- */

.section--compat {
  padding: 64px 0 76px;
}

.compat-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}

.compat-copy h2 {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.compat-rows {
  display: flex;
  flex-direction: column;
}

.compat-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}

.compat-row:last-child {
  border-bottom: 0;
}

.compat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #6f7882;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 12.5px;
  color: #c6cdd5;
}

/* ---------- 响应式 ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
    justify-items: start;
  }

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

  .device-figure {
    align-self: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    height: 58px;
  }

  .nav {
    gap: 18px;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .lede {
    font-size: 16px;
  }

  .section {
    padding: 72px 0 64px;
  }

  .section-head h2,
  .section--download h2 {
    font-size: 28px;
  }

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

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

  .device-figure--ui {
    margin-top: 36px;
  }

  .download-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
    margin: 44px auto 0;
  }

  .dl-card {
    min-height: 0;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 18px;
  }

  .brand-word {
    font-size: 16px;
  }

  .nav {
    gap: 12px;
    font-size: 11.5px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .phone {
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -76px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- 文档页（隐私说明） ---------- */

.doc {
  padding: 72px 0 96px;
}

.doc .container {
  max-width: 820px;
}

.doc-title {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.doc-intro {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.doc h2 {
  margin: 42px 0 12px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
}

.doc p,
.doc li {
  font-size: 14.5px;
  line-height: 1.9;
  color: #b4bcc5;
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  margin: 0;
  padding-left: 20px;
}

.doc li + li {
  margin-top: 6px;
}

.doc strong {
  color: var(--text);
  font-weight: 600;
}

.doc code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.9em;
  color: #c9d0d8;
}

.doc-table {
  width: 100%;
  margin: 16px 0 8px;
  border-collapse: collapse;
}

.doc-table th,
.doc-table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.7;
  color: #b4bcc5;
}

.doc-table th {
  background: var(--panel);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.doc-table code {
  white-space: nowrap;
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.doc-back:hover {
  color: var(--text);
}

@media (max-width: 720px) {
  .doc {
    padding: 48px 0 64px;
  }

  .doc-title {
    font-size: 28px;
  }

  .doc-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 1000px) {
  .panel-grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 64px;
  }

  .security-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
  }

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

@media (max-width: 860px) {
  .panel-grid,
  .security-grid,
  .compat-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    justify-items: start;
  }

  .panel-copy {
    order: -1;
  }

  .device-figure--panel,
  .security-visual {
    justify-self: center;
    width: 100%;
    max-width: 420px;
  }

  .compat-grid {
    gap: 30px;
  }

  .compat-rows {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .section--panel {
    padding: 64px 0 72px;
  }

  .section--security {
    padding: 64px 0 64px;
  }

  .section--compat {
    padding: 56px 0 64px;
  }

  .panel-copy h2,
  .security-copy h2 {
    font-size: 28px;
  }

  .highlight-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }

  .highlight-card {
    min-height: 0;
  }

  .security-visual {
    padding: 18px;
  }
}
