/* 私考题库 PrivateExamBank — Official Website Stylesheet */
:root {
  --blue: #1F6BFF;
  --blue-hover: #175AE0;
  --blue-deep: #1247B8;
  --blue-soft: #EAF1FF;
  --blue-tint: #F4F8FF;

  --teal: #1B6B5A;
  --teal-bright: #1E9E58;
  --teal-soft: #E8F6F1;

  --amber: #B26A00;
  --amber-soft: #FFF6E6;

  --ink: #0F172A;
  --ink-2: #1E293B;
  --ink-muted: #526071;
  --ink-subtle: #6B7280;

  --surface: #FFFFFF;
  --canvas: #F7F9FC;
  --canvas-2: #EEF2F7;
  --border: #E2E8F0;
  --border-subtle: #ECEEF2;

  --dark-bg: #0B1220;
  --dark-card: #121D32;
  --dark-border: rgba(148, 163, 184, 0.16);
  --dark-ink: #F8FAFC;
  --dark-muted: #94A3B8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.13), 0 4px 16px rgba(31, 107, 255, 0.08);

  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --container: 1180px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

img, svg {
  display: block;
}

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

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

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ==================== Navigation ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(31, 107, 255, 0.24);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-en {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-subtle);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--canvas);
  outline: none;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--canvas);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94A3B8;
  flex-shrink: 0;
}

.status-pill.online .status-dot {
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(30, 158, 88, 0.18);
}

.status-pill.online {
  color: var(--teal);
  background: var(--teal-soft);
  border-color: rgba(27, 107, 90, 0.18);
}

.status-pill.degraded .status-dot {
  background: var(--amber);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}

.mobile-drawer a:hover {
  background: var(--canvas);
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(31, 107, 255, 0.28);
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 8px 22px rgba(31, 107, 255, 0.34);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
  background: var(--canvas);
  border-color: #CBD5E1;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
  border-radius: 13px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  padding: 58px 0 84px;
  background:
    radial-gradient(62% 55% at 78% 18%, rgba(31, 107, 255, 0.09) 0%, rgba(31, 107, 255, 0) 70%),
    radial-gradient(45% 45% at 12% 85%, rgba(27, 107, 90, 0.06) 0%, rgba(27, 107, 90, 0) 72%),
    linear-gradient(180deg, #F8FAFE 0%, #FFFFFF 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.075) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 88%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(31, 107, 255, 0.18);
  box-shadow: 0 2px 10px rgba(31, 107, 255, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 22px;
}

.hero-badge-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-title .accent {
  color: var(--blue);
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 540px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-subtle);
  margin-top: -18px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.metric-label {
  font-size: 12.5px;
  color: var(--ink-subtle);
}

/* ==================== Interactive Device Preview ==================== */
.showcase-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preview-tabs {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  gap: 3px;
  flex-wrap: wrap;
  justify-content: center;
}

.preview-tab {
  padding: 6px 13px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-muted);
  transition: all 0.18s ease;
}

.preview-tab:hover {
  color: var(--ink);
}

.preview-tab.active {
  background: var(--blue);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(31, 107, 255, 0.25);
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 348px;
}

.phone-frame {
  position: relative;
  border-radius: 36px;
  padding: 11px;
  background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-screen {
  border-radius: 26px;
  background: #F6F7F9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 556px;
  color: var(--ink);
}

.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 6px;
  background: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.phone-camera {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0F172A;
}

.phone-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
}

.phone-body::-webkit-scrollbar {
  display: none;
}

.phone-screen-pane {
  display: none;
  flex-direction: column;
  gap: 10px;
  animation: fadeSlide 0.22s ease;
}

.phone-screen-pane.active {
  display: flex;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-title-sm {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.app-sub-sm {
  font-size: 11.5px;
  color: var(--ink-subtle);
}

.app-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.app-pill.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.app-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
}

.app-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 6px;
}

.app-stat-grid > div:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

.app-stat-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.app-stat-lbl {
  font-size: 10.5px;
  color: var(--ink-subtle);
}

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

.app-quick-tile {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 13px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.app-quick-tile:hover {
  border-color: rgba(31, 107, 255, 0.35);
  background: #FAFCFF;
}

.app-tile-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
}

.app-tile-icon.blue { background: var(--blue-soft); color: var(--blue); }
.app-tile-icon.teal { background: var(--teal-soft); color: var(--teal); }
.app-tile-icon.amber { background: var(--amber-soft); color: var(--amber); }
.app-tile-icon.slate { background: #EEF1F5; color: #334155; }

.app-tile-t {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.app-tile-s {
  font-size: 10.5px;
  color: var(--ink-subtle);
  margin-top: 2px;
}

.app-banner {
  background: linear-gradient(135deg, #1F6BFF 0%, #1554D1 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-banner-t {
  font-size: 13px;
  font-weight: 700;
}

.app-banner-s {
  font-size: 11px;
  opacity: 0.86;
  margin-top: 2px;
}

.app-banner-cta {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.chip.selected {
  background: var(--blue-soft);
  border-color: rgba(31, 107, 255, 0.3);
  color: var(--blue-deep);
}

.paper-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.paper-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.paper-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--ink-subtle);
}

/* Interactive Mini Question inside Exam Preview */
.exam-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  font-size: 11.5px;
  font-weight: 600;
}

.exam-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  padding: 2px 8px;
  border-radius: 7px;
}

.demo-stem {
  font-size: 12.2px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 10px;
}

.demo-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  font-size: 12px;
  text-align: left;
  transition: all 0.16s ease;
}

.demo-opt:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
}

.demo-opt-key {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-opt.correct {
  border-color: var(--teal-bright);
  background: var(--teal-soft);
}

.demo-opt.correct .demo-opt-key {
  background: var(--teal-bright);
  color: #FFFFFF;
}

.demo-opt.wrong {
  border-color: #E5484D;
  background: #FDECEC;
}

.demo-opt.wrong .demo-opt-key {
  background: #E5484D;
  color: #FFFFFF;
}

.demo-feedback {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 11.5px;
  line-height: 1.45;
  background: var(--canvas);
  color: var(--ink-muted);
}

.demo-feedback.is-ok {
  background: var(--teal-soft);
  color: var(--teal);
}

.demo-feedback.is-err {
  background: #FDECEC;
  color: #991B1B;
}

/* Essay preview */
.essay-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: #EEF1F5;
  padding: 3px;
  border-radius: 10px;
}

.essay-tab {
  text-align: center;
  padding: 5px 0;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}

.essay-tab.active {
  background: #FFFFFF;
  color: var(--blue);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.essay-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 11px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.essay-meta-bar {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px dashed var(--border);
}

.phone-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 7px 4px 10px;
  text-align: center;
  font-size: 10px;
  color: var(--ink-subtle);
}

.phone-nav-btn {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 2px 0;
  color: var(--ink-subtle);
  font-size: 10px;
  font-weight: 500;
}

.phone-nav-btn.active {
  color: var(--blue);
  font-weight: 700;
}

.phone-nav-dot {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== Sections ==================== */
.section {
  padding: 84px 0;
}

.section-muted {
  background: var(--canvas);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.section-sub {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==================== Coverage / Data Section ==================== */
.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.panel-title {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.panel-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.pill-badge {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill-badge.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.module-bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bar-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13.5px;
}

.bar-name {
  font-weight: 600;
  color: var(--ink-2);
}

.bar-val {
  font-size: 13px;
  color: var(--ink-muted);
}

.bar-val strong {
  color: var(--ink);
  font-weight: 700;
}

.bar-track {
  height: 9px;
  border-radius: 999px;
  background: var(--canvas-2);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1F6BFF 0%, #4C8DFF 100%);
  width: var(--w, 50%);
}

.coverage-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.subject-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.subject-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.subject-num-box {
  display: flex;
  flex-direction: column;
}

.subject-num-box strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.subject-num-box span {
  font-size: 12px;
  color: var(--ink-subtle);
}

.coverage-footnote {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ==================== Features Bento ==================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 107, 255, 0.26);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ==================== Dark Architecture & Security Band ==================== */
.arch-section {
  background:
    radial-gradient(50% 65% at 15% 15%, rgba(31, 107, 255, 0.18) 0%, rgba(31, 107, 255, 0) 68%),
    radial-gradient(45% 55% at 88% 82%, rgba(27, 107, 90, 0.16) 0%, rgba(27, 107, 90, 0) 70%),
    var(--dark-bg);
  color: var(--dark-ink);
  padding: 88px 0;
}

.arch-section .eyebrow {
  color: #6EA4FF;
}

.arch-section .section-title {
  color: #FFFFFF;
}

.arch-section .section-sub {
  color: var(--dark-muted);
}

.arch-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}

.arch-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-step {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #6EA4FF;
}

.arch-step-ver {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(110, 164, 255, 0.14);
  color: #B4D1FF;
  font-weight: 600;
}

.arch-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.arch-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--dark-muted);
}

.arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 8px;
}

.arch-tag {
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11.5px;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--dark-border);
}

.sec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-item strong {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 700;
}

.sec-item span {
  font-size: 13px;
  color: var(--dark-muted);
  line-height: 1.55;
}

/* ==================== Download Section ==================== */
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}

.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.release-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

.release-app {
  display: flex;
  align-items: center;
  gap: 15px;
}

.release-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(31, 107, 255, 0.22);
  flex-shrink: 0;
}

.release-app h3 {
  margin: 0 0 3px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}

.release-meta {
  font-size: 13px;
  color: var(--ink-muted);
}

.release-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.release-notes {
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
}

.release-notes-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.release-notes-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.checksum-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.checksum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px 12px;
}

.checksum-info {
  min-width: 0;
  flex: 1;
}

.checksum-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checksum-val {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.copy-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.copy-btn.copied {
  border-color: var(--teal-bright);
  background: var(--teal-soft);
  color: var(--teal);
}

.invite-guide {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.invite-guide h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.invite-guide > p {
  margin: 0 0 22px;
  font-size: 13.8px;
  color: var(--ink-muted);
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.step-content span {
  font-size: 13.3px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.env-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 12.5px;
}

.env-meta div {
  background: var(--canvas);
  border-radius: 10px;
  padding: 10px 12px;
}

.env-meta dt {
  color: var(--ink-subtle);
  font-size: 11.5px;
  margin-bottom: 2px;
}

.env-meta dd {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: rgba(31, 107, 255, 0.32);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--ink-subtle);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 14.2px;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  padding: 46px 0 34px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

.footer-brand-desc {
  margin: 10px 0 0;
  max-width: 380px;
  font-size: 13.5px;
  color: var(--ink-subtle);
  line-height: 1.65;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-col a {
  color: var(--ink-muted);
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-subtle);
}

.icp-link {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icp-link:hover {
  color: var(--blue);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .hero-grid,
  .coverage-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-desc {
    max-width: none;
  }

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

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

@media (max-width: 720px) {
  .nav-links,
  .status-pill {
    display: none;
  }

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

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

  .bento-grid,
  .arch-flow,
  .security-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .release-card,
  .invite-guide,
  .panel {
    padding: 22px;
  }

  .env-meta {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
