/* Top Sales AI (销状元) Official Website — Crisp White Editorial Design System */

:root {
  --bg: #ffffff;
  --surface: #f8f9fb;
  --surface-warm: #fcfaf7;
  --surface-elevated: #ffffff;
  --ink: #111318;
  --ink-2: #4b5262;
  --ink-3: #7d8596;
  --line: rgba(17, 19, 24, 0.08);
  --line-strong: rgba(17, 19, 24, 0.14);

  /* Signature accents drawn directly from mascot & logo — restrained, never overpowering */
  --crimson: #c81e2b;
  --crimson-hover: #ad1824;
  --crimson-soft: rgba(200, 30, 43, 0.07);
  --crimson-border: rgba(200, 30, 43, 0.22);
  --gold: #d49420;
  --gold-soft: rgba(212, 148, 32, 0.1);
  --green: #07c160;
  --blue: #2b6df6;

  --shadow-xs: 0 1px 2px rgba(17, 19, 24, 0.04);
  --shadow-sm: 0 4px 16px rgba(17, 19, 24, 0.05), 0 1px 3px rgba(17, 19, 24, 0.04);
  --shadow-md: 0 14px 40px rgba(17, 19, 24, 0.08), 0 2px 8px rgba(17, 19, 24, 0.04);
  --shadow-phone: 0 28px 70px rgba(17, 19, 24, 0.14), 0 6px 18px rgba(17, 19, 24, 0.08);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* Language toggling (mirrors poki.bot's zero-flash HTML lang switching) */
html[lang="en"] [data-l="zh"],
html[lang="zh-Hans"] [data-l="en"] {
  display: none !important;
}

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

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

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(17, 19, 24, 0.03);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(17, 19, 24, 0.14);
}

.brand-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px 9px;
  white-space: nowrap;
}

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

.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.lang-switch button {
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(17, 19, 24, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(200, 30, 43, 0.22);
}

.btn-primary:hover {
  background: var(--crimson-hover);
  box-shadow: 0 8px 24px rgba(200, 30, 43, 0.28);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: rgba(17, 19, 24, 0.26);
  background: var(--surface);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  padding: 16px 24px 22px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 0;
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 24px 0 56px;
  background: #ffffff;
  overflow: hidden;
}

/* Whisper-soft warm aura behind the mascot/phone stage, keeping 95% pure white */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 210px;
  transform: translateX(-50%);
  width: min(980px, 94vw);
  height: 440px;
  background:
    radial-gradient(ellipse 46% 52% at 34% 52%, rgba(212, 148, 32, 0.085) 0%, rgba(212, 148, 32, 0) 70%),
    radial-gradient(ellipse 42% 48% at 64% 48%, rgba(200, 30, 43, 0.055) 0%, rgba(200, 30, 43, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 12px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 3px rgba(200, 30, 43, 0.14);
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 900px;
  text-wrap: balance;
}

html[lang="zh-Hans"] .hero-title {
  letter-spacing: -0.02em;
  line-height: 1.14;
}

.hero-title .accent-word {
  background: linear-gradient(110deg, #b81622 0%, #d42a37 52%, #c98617 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 12px;
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.56;
  text-wrap: balance;
}

.hero-ctas {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero Visual Stage: Mascot + Tall Interactive iPhone Sales Demo */
.hero-stage {
  margin-top: 28px;
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 28px;
  padding: 30px 36px 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 251, 0.78) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(17, 19, 24, 0.055);
  position: relative;
}

/* Left side: Mascot showcase */
.mascot-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mascot-visual-wrap {
  position: relative;
  width: 346px;
  height: 346px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-halo {
  position: absolute;
  width: 274px;
  height: 274px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 148, 32, 0.14) 0%, rgba(200, 30, 43, 0.06) 48%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
}

.mascot-img {
  position: relative;
  z-index: 2;
  width: 332px;
  height: 332px;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(17, 19, 24, 0.14));
  animation: mascotFloat 5.2s ease-in-out infinite;
  transition: opacity 0.22s ease, transform 0.25s ease;
  user-select: none;
}

.mascot-img.is-switching {
  opacity: 0.25;
  transform: scale(0.96);
}

.mascot-shadow {
  position: absolute;
  bottom: 10px;
  width: 190px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(17, 19, 24, 0.16) 0%, rgba(17, 19, 24, 0) 72%);
  animation: shadowPulse 5.2s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.85; }
  50% { transform: scaleX(0.92); opacity: 0.6; }
}

.mascot-caption {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mascot-wordmark-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.mascot-wordmark-row img {
  height: 24px;
  width: auto;
}

.pose-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  flex-wrap: wrap;
  justify-content: center;
}

.pose-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.pose-pill:hover {
  color: var(--ink);
}

.pose-pill[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.mascot-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
}

/* Right side: Realistic Tall iPhone Hero Sales Demo */
.phone-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-phone {
  width: 320px;
  border-radius: 50px;
  padding: 10px;
  background: linear-gradient(145deg, #2b2f3a 0%, #14161c 52%, #242833 100%);
  box-shadow: var(--shadow-phone), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16);
  position: relative;
}

.hero-phone-screen {
  background: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 648px;
  text-align: left;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ios-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.dynamic-island {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111318;
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 8px;
  font-size: 10.5px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  max-width: 175px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.island-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f5b83d;
  animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.ios-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px 10px;
  border-bottom: 1px solid var(--line);
}

.ios-app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.ios-app-title img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(17, 19, 24, 0.14);
}

.ios-app-title-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ios-app-title-text strong {
  font-size: 13px;
  font-weight: 750;
}

.ios-app-title-text span {
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 500;
}

.ios-mode-chip {
  font-size: 10px;
  font-weight: 700;
  color: var(--crimson);
  background: var(--crimson-soft);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.ios-chat-stream {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  background: #f8f9fb;
}

.chat-bubble {
  max-width: 92%;
  border-radius: 14px;
  padding: 8px 11px;
  font-size: 11.2px;
  line-height: 1.4;
}

.chat-user {
  align-self: flex-end;
  background: var(--ink);
  color: #ffffff;
  border-bottom-right-radius: 5px;
}

/* Execution Plan Card inside Phone */
.plan-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 11px;
  box-shadow: var(--shadow-xs);
}

.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.plan-title {
  font-size: 10.5px;
  font-weight: 750;
  color: var(--ink);
}

.plan-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: #a67010;
  background: var(--gold-soft);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.plan-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.plan-steps li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 10.8px;
  line-height: 1.38;
  color: var(--ink-2);
}

.plan-steps li.is-active {
  color: var(--ink);
  font-weight: 600;
}

.step-ico {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-steps li.is-done .step-ico {
  background: rgba(7, 193, 96, 0.14);
  color: #05964a;
}

.plan-steps li.is-active .step-ico {
  background: var(--crimson-soft);
  color: var(--crimson);
}

/* Rich Sales Deal / Draft Preview Card */
.deal-preview-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 13px;
  padding: 10px 11px;
  box-shadow: var(--shadow-xs);
}

.deal-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.deal-client {
  font-size: 11px;
  font-weight: 750;
  color: var(--ink);
}

.deal-value {
  font-size: 9.8px;
  font-weight: 700;
  color: #05964a;
  background: rgba(7, 193, 96, 0.11);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.deal-draft {
  font-size: 11px;
  line-height: 1.44;
  color: var(--ink-2);
}

.deal-source {
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px dashed var(--line);
  font-size: 9.6px;
  font-weight: 600;
  color: var(--ink-3);
}

.chat-approval {
  margin-top: auto;
  background: #ffffff;
  border: 1px solid var(--crimson-border);
  border-radius: 14px;
  padding: 10px 11px;
  box-shadow: 0 4px 14px rgba(200, 30, 43, 0.08);
}

.approval-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.approval-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.approval-btn {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 9px;
  transition: opacity 0.15s ease, transform 0.12s ease;
}

.approval-btn:hover {
  opacity: 0.92;
}

.approval-btn:active {
  transform: scale(0.98);
}

.approval-allow {
  background: var(--crimson);
  color: #ffffff;
}

.approval-deny {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.approval-toast {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 650;
  color: #05964a;
  background: rgba(7, 193, 96, 0.1);
  border-radius: 8px;
  padding: 5px 8px;
  text-align: center;
}

.ios-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px 6px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.ios-composer-pill {
  flex: 1;
  font-size: 11px;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 11px;
}

.ios-send-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--crimson);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.ios-home-bar {
  background: #ffffff;
  padding: 4px 0 7px;
  display: flex;
  justify-content: center;
}

.ios-home-bar span {
  width: 104px;
  height: 4px;
  border-radius: 99px;
  background: rgba(17, 19, 24, 0.18);
}

.stage-playback-btn {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.stage-playback-btn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

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

.stage-playback-btn[data-playing="0"] .playback-dot {
  background: var(--ink-3);
}

.stage-playback-btn[data-playing="1"] [data-state="paused"],
.stage-playback-btn[data-playing="0"] [data-state="playing"] {
  display: none;
}

.copy-btn[data-copied="0"] [data-copy-state="done"],
.copy-btn[data-copied="1"] [data-copy-state="idle"] {
  display: none;
}

/* ===================== Sections Common ===================== */
.section {
  padding: 92px 0;
  background: #ffffff;
}

.section-subtle {
  background: #fafbfc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.section-desc {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  text-wrap: balance;
}

/* ===================== Section 2: Quick Start Cards ===================== */
.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 20px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.card-featured {
  border-color: var(--crimson-border);
  box-shadow: 0 12px 34px rgba(200, 30, 43, 0.06), var(--shadow-xs);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--crimson);
  background: var(--crimson-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.card-badge-neutral {
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
}

.card h3 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

.prompt-box {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
}

.prompt-box code {
  flex: 1;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink);
  overflow-x: auto;
  white-space: nowrap;
}

.copy-btn {
  flex-shrink: 0;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 11px;
  transition: background-color 0.16s ease, transform 0.12s ease;
}

.copy-btn:hover {
  background: #272b36;
}

.copy-btn.is-copied {
  background: var(--green);
}

.install-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.channel-pills {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 13px;
}

.dot-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* ===================== Section 3: 4-Column Sales Workflow Showcase ===================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.flow-card-title {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chain-row {
  margin: 10px 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 5px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.chain-icon {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  background: var(--c, var(--ink));
}

.chain-arrow {
  font-size: 11px;
  color: var(--ink-3);
}

/* Crisp Mini Phone inside cards */
.mini-phone {
  width: 100%;
  max-width: 214px;
  background: #14161c;
  border-radius: 28px 28px 0 0;
  padding: 8px 8px 0;
  box-shadow: 0 -2px 20px rgba(17, 19, 24, 0.08);
  margin-top: auto;
}

.mini-screen {
  background: #ffffff;
  border-radius: 21px 21px 0 0;
  padding: 10px 11px 16px;
  min-height: 238px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-notch {
  width: 54px;
  height: 12px;
  border-radius: 99px;
  background: #14161c;
  margin: 0 auto 4px;
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px 9px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink);
}

.mini-card strong {
  display: block;
  font-size: 10.5px;
  margin-bottom: 2px;
}

.mini-muted {
  color: var(--ink-2);
  font-size: 10px;
}

.mini-tag {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--crimson-soft);
  color: var(--crimson);
}

.mini-tag-green {
  background: rgba(7, 193, 96, 0.11);
  color: #05964a;
}

.mini-tag-gold {
  background: var(--gold-soft);
  color: #a67010;
}

.mini-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin: 4px 0;
}

.mini-wave span {
  width: 4px;
  border-radius: 4px;
  background: var(--crimson);
  animation: waveBar 1.4s ease-in-out infinite;
}

.mini-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.mini-wave span:nth-child(2) { height: 26px; animation-delay: 0.15s; }
.mini-wave span:nth-child(3) { height: 34px; animation-delay: 0.3s; }
.mini-wave span:nth-child(4) { height: 22px; animation-delay: 0.45s; }
.mini-wave span:nth-child(5) { height: 30px; animation-delay: 0.6s; }
.mini-wave span:nth-child(6) { height: 16px; animation-delay: 0.75s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ===================== Section 4: 3-Column Feature Pillars ===================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pillar-visual {
  height: 144px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}

.pillar-visual img {
  height: 124px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(17, 19, 24, 0.12));
}

.pillar-card h3 {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pillar-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.mode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.mode-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  padding: 8px 11px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mode-list strong {
  color: var(--ink);
  font-weight: 700;
}

.mode-list span {
  color: var(--ink-3);
  font-size: 11.5px;
}

/* ===================== Section 5: Architecture ===================== */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.arch-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.arch-card-core {
  border-color: var(--crimson-border);
  border-top: 3px solid var(--crimson);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
}

.arch-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.arch-card-core .arch-label {
  color: var(--crimson);
}

.arch-card h3 {
  font-size: 18px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 8px;
}

.arch-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.arch-subbox {
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-2);
}

.arch-subbox strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.arch-arrow {
  color: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-chips {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.model-chip {
  font-size: 12px;
  font-weight: 650;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ===================== Section 6: Get Started 1-2-3 ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--crimson-soft);
  color: var(--crimson);
  font-size: 13.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 18.5px;
  font-weight: 750;
  color: var(--ink);
}

.step-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.step-checklist {
  list-style: none;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
}

.step-check {
  color: var(--crimson);
  font-weight: 800;
  flex-shrink: 0;
}

.steps-banner {
  margin-top: 24px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.steps-banner p {
  font-size: 14px;
  color: var(--ink-2);
}

/* ===================== Section 7: Closing CTA ===================== */
.closing-cta {
  padding: 84px 0 88px;
  background: #ffffff;
}

.closing-box {
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: var(--shadow-md);
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
}

.closing-copy h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.closing-copy p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 540px;
}

.closing-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.closing-mascot {
  width: 210px;
  height: 210px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(17, 19, 24, 0.14));
}

/* ===================== Footer ===================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 52px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(17, 19, 24, 0.14);
}

.footer-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  max-width: 290px;
  line-height: 1.6;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ===================== Reveal Animations ===================== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mascot-img, .mascot-shadow, .island-dot, .mini-wave span {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .arch-arrow {
    transform: rotate(90deg);
    height: 22px;
  }
}

@media (max-width: 860px) {
  .desktop-nav, .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero {
    padding: 18px 0 36px;
  }
  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 20px;
    padding: 20px 18px 20px;
    gap: 20px;
    border-radius: 26px;
  }
  .mascot-visual-wrap {
    width: 220px;
    height: 220px;
  }
  .mascot-halo {
    width: 184px;
    height: 184px;
  }
  .mascot-img {
    width: 210px;
    height: 210px;
  }
  .mascot-shadow {
    width: 130px;
    bottom: 6px;
  }
  .hero-phone {
    width: min(336px, 100%);
    border-radius: 40px;
    padding: 8px;
  }
  .hero-phone-screen {
    height: auto;
    border-radius: 32px;
  }
  .chat-approval {
    margin-top: 4px;
  }
  .stage-playback-btn {
    position: static;
    margin: 4px auto 0;
  }
  .install-grid,
  .pillars-grid,
  .steps-grid,
  .closing-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .footer-desc {
    max-width: none;
  }
  .closing-cta {
    padding: 40px 0 44px;
  }
  .closing-box {
    padding: 28px 20px;
    gap: 20px;
    text-align: center;
    border-radius: 24px;
  }
  .closing-copy p {
    margin: 10px auto 0;
  }
  .closing-actions {
    margin-top: 18px;
    justify-content: center;
  }
  .closing-mascot {
    margin: 0 auto;
    width: 148px;
    height: 148px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    height: 58px;
    gap: 10px;
  }
  .brand-badge {
    display: none;
  }
  .hero {
    padding: 14px 0 28px;
  }
  .hero::before {
    top: 140px;
    height: 260px;
  }
  .hero-eyebrow {
    font-size: 11.5px;
    padding: 4px 11px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(30px, 8.6vw, 40px);
  }
  .hero-sub {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.55;
  }
  .hero-ctas {
    margin-top: 16px;
    gap: 10px;
    width: 100%;
  }
  .hero-ctas .btn-lg {
    flex: 1 1 auto;
    padding: 11px 16px;
    font-size: 14px;
  }
  .hero-stage {
    margin-top: 18px;
    padding: 16px 14px 18px;
    gap: 16px;
    border-radius: 22px;
  }
  .mascot-visual-wrap {
    width: 188px;
    height: 188px;
  }
  .mascot-halo {
    width: 156px;
    height: 156px;
  }
  .mascot-img {
    width: 180px;
    height: 180px;
  }
  .mascot-caption {
    width: 100%;
    gap: 10px;
  }
  .pose-pills {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    border-radius: 16px;
    padding: 4px;
  }
  .pose-pill {
    text-align: center;
    padding: 7px 8px;
    font-size: 12px;
    border-radius: 12px;
  }
  .mascot-metrics {
    gap: 6px;
  }
  .metric-chip {
    font-size: 11px;
    padding: 4px 10px;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    margin: 0 auto 24px;
  }
  .section-kicker {
    margin-bottom: 6px;
  }
  .section-title {
    font-size: clamp(24px, 6.8vw, 30px);
  }
  .section-desc {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.55;
  }
  .install-grid,
  .workflow-grid,
  .pillars-grid,
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .card,
  .pillar-card,
  .step-card,
  .arch-card,
  .arch-card-core {
    padding: 20px 16px;
    border-radius: 20px;
    min-width: 0;
  }
  .card h3 {
    font-size: 18.5px;
  }
  .prompt-box {
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    min-width: 0;
  }
  .prompt-box code {
    white-space: normal;
    word-break: break-word;
    overflow-x: visible;
    font-size: 12.5px;
    line-height: 1.5;
  }
  .copy-btn {
    width: 100%;
    text-align: center;
  }
  .channel-pills {
    margin-top: 14px;
    gap: 6px;
  }
  .channel-pill {
    font-size: 12px;
    padding: 6px 11px;
  }
  .flow-card {
    padding: 16px 14px 0;
  }
  .flow-card-title {
    min-height: 0;
    font-size: 15px;
  }
  .chain-row {
    margin: 8px 0 14px;
  }
  .mini-phone {
    max-width: 248px;
  }
  .mini-screen {
    min-height: 0;
    padding: 10px 11px 14px;
  }
  .pillar-card {
    gap: 10px;
  }
  .pillar-visual {
    height: 112px;
    padding: 8px;
  }
  .pillar-visual img {
    height: 96px;
  }
  .arch-stack {
    gap: 12px;
  }
  .arch-subbox {
    margin-top: 12px;
    padding: 11px 12px;
  }
  .steps-banner {
    margin-top: 14px;
    padding: 16px;
    gap: 12px;
  }
  .closing-cta {
    padding: 32px 0 36px;
  }
  .closing-box {
    padding: 24px 16px;
    gap: 16px;
  }
  .closing-copy h2 {
    font-size: clamp(24px, 6.8vw, 30px);
  }
  .closing-copy p {
    font-size: 14.5px;
  }
  .closing-actions {
    width: 100%;
  }
  .closing-actions .btn-lg {
    flex: 1 1 auto;
    padding: 11px 16px;
    font-size: 14px;
  }
  .closing-mascot {
    width: 128px;
    height: 128px;
  }
  .site-footer {
    padding: 32px 0 28px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    gap: 8px;
    font-size: 12px;
  }
}

/* ===================== Download & Update Center (/download/) ===================== */
.desktop-nav a.is-active {
  color: var(--ink);
  font-weight: 700;
}

.dl-hero {
  position: relative;
  padding: 44px 0 64px;
  background: #ffffff;
}

.dl-hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.dl-latest-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
}

.dl-latest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.dl-latest-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dl-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.dl-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-title-row h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dl-version-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--crimson);
  background: var(--crimson-soft);
  border: 1px solid var(--crimson-border);
}

.dl-meta-line {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.dl-verified-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: #057a3c;
  background: rgba(7, 193, 96, 0.09);
  border: 1px solid rgba(7, 193, 96, 0.22);
}

.dl-notes-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
}

.dl-notes-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.dl-notes-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  white-space: pre-line;
}

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

.dl-actions a[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.dl-checksum-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow-x: auto;
}

.dl-checksum-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.dl-checksum-bar code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
}

.dl-helper-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-3);
}

.dl-helper-note strong {
  color: var(--ink-2);
}

.dl-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.dl-history-item {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.dl-history-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dl-history-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.dl-history-title h3 {
  font-size: 17px;
  font-weight: 750;
  font-family: var(--mono);
  color: var(--ink);
}

.dl-latest-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  color: var(--crimson);
  background: var(--crimson-soft);
}

.dl-history-meta {
  font-size: 13px;
  color: var(--ink-3);
}

.dl-history-notes {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  white-space: pre-line;
}

.dl-history-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dl-empty-state {
  padding: 36px 24px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14.5px;
}

@media (max-width: 680px) {
  .dl-latest-card {
    padding: 22px 18px;
  }
  .dl-actions .btn {
    width: 100%;
  }
}
