:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-soft: #f1f5fb;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(16, 24, 40, 0.14);
  --accent: #2563eb;
  --accent-deep: #1d4ed8;
  --accent-soft: #eaf1ff;
  --orange: #ff6a3d;
  --ok: #12b76a;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 12px 32px -12px rgba(16, 24, 40, 0.18);
  --shadow-lg: 0 32px 80px -24px rgba(16, 24, 40, 0.28);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Hiragino Sans GB", sans-serif;
}

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

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

section[id] {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

code {
  font-family: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 248, 252, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.65);
}

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

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

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

.header-cta {
  flex: none;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: none;
}

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

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

.btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.7);
}

.btn-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(16, 24, 40, 0.22);
}

.btn-light {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 12px 28px -12px rgba(4, 20, 60, 0.5);
}

.btn-light:hover {
  background: #f5f8ff;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-block {
  width: 100%;
}

.btn-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-ghost .btn-tag {
  background: var(--surface-soft);
  color: var(--muted);
}

.btn-light .btn-tag {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 48px;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 860px;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 72% 28%, rgba(37, 99, 235, 0.17), transparent 68%),
    radial-gradient(420px 320px at 18% 12%, rgba(255, 106, 61, 0.1), transparent 70%),
    radial-gradient(800px 520px at 50% 0%, rgba(255, 255, 255, 0.9), transparent 72%);
}

.hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 24, 40, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 56px;
  padding-top: 22px;
  padding-bottom: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.4);
  animation: dot-pulse 2.4s ease-out infinite;
}

@keyframes dot-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 760;
}

.hero h1 .accent {
  color: var(--accent-deep);
  background-image: linear-gradient(transparent 74%, rgba(37, 99, 235, 0.14) 0);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.lede {
  max-width: 520px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta li {
  position: relative;
  padding-left: 14px;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.22);
  transform: translateY(-50%);
}

/* Hero preview */

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

.platform-switch {
  display: inline-flex;
  padding: 4px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.platform-switch button {
  border: 0;
  background: transparent;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.platform-switch button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px -6px rgba(16, 24, 40, 0.6);
}

.hero-visual > .platform-switch {
  display: flex;
  width: max-content;
}

.device-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 30px 22px 34px;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.14);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-1 {
  width: 108%;
  height: 108%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.07), transparent 62%);
}

.orbit-2 {
  width: 132%;
  height: 132%;
  border-style: dashed;
  border-color: rgba(37, 99, 235, 0.1);
}

.app-window {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.45);
  overflow: hidden;
  animation: window-float 7s ease-in-out infinite;
}

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

.window-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.traffic {
  display: flex;
  gap: 6px;
}

.traffic i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.traffic i:nth-child(2) { background: #febc2e; }
.traffic i:nth-child(3) { background: #28c840; }

.win-controls {
  display: none;
  gap: 12px;
  margin-left: auto;
  color: #98a2b3;
}

.win-controls i {
  font-style: normal;
  font-size: 10px;
  line-height: 1;
}

.app-window[data-window="win"] .traffic {
  display: none;
}

.app-window[data-window="win"] .win-controls {
  display: flex;
}

.app-window[data-window="win"] .window-bar {
  background: #f7f9fc;
}

.app-body {
  padding: 16px 16px 15px;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
}

.app-head img {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.app-version {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.power-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 6px;
}

.power-ring {
  position: absolute;
  top: 6px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 0 0 12px rgba(37, 99, 235, 0.05);
  animation: ring-breathe 3.4s ease-in-out infinite;
}

@keyframes ring-breathe {
  0%, 100% { transform: scale(0.96); opacity: 0.7; }
  50% { transform: scale(1.02); opacity: 1; }
}

.power-btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f8cff, #1f4fd8);
  box-shadow: 0 16px 30px -12px rgba(37, 99, 235, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.power-btn:hover {
  transform: scale(1.03);
}

.power-btn svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
}

.app-window.is-off .power-btn {
  background: linear-gradient(145deg, #98a2b3, #667085);
  box-shadow: 0 12px 24px -14px rgba(16, 24, 40, 0.55);
}

.app-window.is-off .power-ring {
  animation: none;
  border-color: rgba(16, 24, 40, 0.12);
  box-shadow: none;
}

.conn-state {
  margin-top: 10px;
  text-align: center;
  line-height: 1.3;
}

.conn-state strong {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
}

.conn-state span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}

.node-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfdff;
  text-align: left;
}

.node-flag {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  flex: none;
}

.node-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.node-info strong {
  font-size: 11.5px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-info small {
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--muted);
}

.node-latency {
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(18, 183, 106, 0.1);
  color: #067647;
  font-size: 9.5px;
  font-weight: 650;
  flex: none;
}

.mode-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 10.5px;
  color: var(--muted);
}

.segmented {
  display: flex;
  flex: 1;
  gap: 2px;
  padding: 2px;
  border-radius: 7px;
  background: var(--surface-soft);
}

.segmented i {
  flex: 1;
  padding: 4px 0;
  border-radius: 5px;
  font-style: normal;
  text-align: center;
  font-size: 9.5px;
  color: var(--muted);
}

.segmented i.active {
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.1);
}

.traffic-row {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.traffic-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.traffic-row span {
  font-size: 9px;
  color: var(--muted);
}

.traffic-row strong {
  font-size: 10.5px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  line-height: 1.3;
}

.float-card strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
}

.float-card small {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
}

.float-kernel {
  top: 18px;
  right: 0;
  animation: float-a 6s ease-in-out infinite;
}

.float-latency {
  left: 0;
  bottom: 8px;
  animation: float-b 7s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.kernel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.13);
}

.latency-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.latency-bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.latency-bars i:nth-child(1) { height: 6px; opacity: 0.45; }
.latency-bars i:nth-child(2) { height: 10px; opacity: 0.6; }
.latency-bars i:nth-child(3) { height: 14px; opacity: 0.8; }
.latency-bars i:nth-child(4) { height: 18px; }

.preview-note {
  margin-top: 4px;
  text-align: center;
  font-size: 11px;
  color: rgba(102, 112, 133, 0.8);
}

/* Proof strip */

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.proof-strip li {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Sections */

.section {
  padding: 112px 0;
}

.section-soft {
  position: relative;
  background: linear-gradient(180deg, rgba(234, 241, 255, 0.42), rgba(246, 248, 252, 0));
  border-top: 1px solid rgba(16, 24, 40, 0.04);
  border-bottom: 1px solid rgba(16, 24, 40, 0.04);
}

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

.section-head h2 {
  margin: 12px 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 730;
  text-wrap: balance;
}

.section-head > p:last-child {
  font-size: 16px;
  color: var(--muted);
}

/* Features */

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

.feature-card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: 9px;
  font-size: 18px;
  letter-spacing: -0.015em;
}

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

/* Platforms */

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

.platform-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.platform-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.09), transparent 68%);
  pointer-events: none;
}

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

.os-badge {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  flex: none;
}

.os-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.os-win {
  background: #eaf1ff;
  color: #2563eb;
}

.os-mac {
  background: #f2f4f7;
  color: #344054;
}

.platform-top h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.platform-top p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.platform-tag {
  margin-left: auto;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfe;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.04em;
  flex: none;
}

.platform-desc {
  margin: 22px 0 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.platform-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.platform-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.platform-facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
}

.check {
  position: relative;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(18, 183, 106, 0.12);
  flex: none;
}

.check::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 4px;
  width: 4px;
  height: 7px;
  border: solid #067647;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}

.sha {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sha summary {
  width: max-content;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  user-select: none;
}

.sha summary:hover {
  color: var(--accent);
}

.sha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.sha code {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-2);
  word-break: break-all;
}

.copy-btn {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}

.copy-btn:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--accent);
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.step h3 {
  margin: 18px 0 9px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.step-note {
  display: inline-block;
  margin-top: 20px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
}

/* FAQ */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq-wrap .section-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 21px 44px 21px 0;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  color: var(--muted);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary {
  color: var(--accent-deep);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-deep);
}

.faq-list details p {
  padding: 0 40px 22px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-list code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--surface-soft);
  font-size: 12px;
}

/* CTA */

.cta-section {
  padding-top: 40px;
}

.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 54px 56px;
  border-radius: 28px;
  background:
    radial-gradient(480px 320px at 88% 12%, rgba(255, 106, 61, 0.28), transparent 62%),
    radial-gradient(520px 360px at 12% 100%, rgba(79, 140, 255, 0.5), transparent 66%),
    linear-gradient(135deg, #163ea8, #2563eb 58%, #1d4ed8);
  color: #fff;
  box-shadow: 0 34px 70px -30px rgba(29, 78, 216, 0.7);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  max-width: 560px;
}

.cta-copy img {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
}

.cta-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.cta-copy p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
  flex: none;
}

/* Footer */

.site-footer {
  padding: 44px 0 56px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

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

.footer-brand img {
  border-radius: 9px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand strong {
  font-size: 14px;
}

.footer-brand span {
  font-size: 11px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

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

.footer-meta {
  font-size: 11.5px;
  color: rgba(102, 112, 133, 0.85);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1040px) {
  .hero-grid {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(40px, 5.6vw, 58px);
  }

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

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-wrap .section-head {
    position: static;
  }
}

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

  .header-cta {
    margin-left: auto;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }

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

  .hero-visual {
    margin-top: 10px;
  }

  .device-stage {
    max-width: 500px;
  }

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

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

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 40px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-meta {
    width: 100%;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .brand-text small {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    letter-spacing: -0.04em;
  }

  .lede {
    font-size: 15.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-meta {
    gap: 6px 16px;
    font-size: 12px;
  }

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

  .feature-card {
    padding: 24px 22px 26px;
  }

  .platform-card {
    padding: 26px 22px;
  }

  .platform-top {
    flex-wrap: wrap;
  }

  .platform-tag {
    margin-left: 0;
  }

  .device-stage {
    padding: 22px 8px 28px;
  }

  .float-card {
    display: none;
  }

  .app-window {
    box-shadow: 0 24px 54px -24px rgba(16, 24, 40, 0.35), 0 0 0 5px rgba(255, 255, 255, 0.5);
  }

  .cta-panel {
    padding: 36px 26px;
    border-radius: 22px;
  }

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

  .footer-nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 14px 20px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 15px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 12.5px;
  }

  .hero-meta li {
    width: 100%;
  }

  .btn {
    font-size: 13.5px;
  }

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
