:root {
  --bg: #0f0f0f;
  --bg-elev: #141216;
  --panel: #19171d;
  --panel-soft: #1f1c24;
  --text: #eeeeee;
  --muted: #bcbcbc;
  --faint: #8d8a95;
  --accent: #7c3aed;
  --accent-strong: #a882ff;
  --accent-soft: rgba(168, 130, 255, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(124, 58, 237, 0.22), transparent 62%),
    radial-gradient(900px 520px at 8% 18%, rgba(94, 47, 170, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; }

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(13, 13, 14, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, 1);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.header-mark { width: 26px; height: 26px; }
.header-wordmark { white-space: nowrap; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 14px;
}
.header-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}
.header-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.account-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.account-btn:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 132px 0 96px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  right: -14%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 130, 255, 0.22), transparent 64%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.1vw, 82px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.hero-sub {
  margin: 22px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.66;
}
.hero-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.cta-note {
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 13px;
}
.hero-link {
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 550;
  border-bottom: 1px solid rgba(168, 130, 255, 0.4);
  padding-bottom: 2px;
}
.hero-link:hover { border-bottom-color: var(--accent-strong); }

/* Primary download CTA */
[data-node-id="download.primary"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px -14px rgba(124, 58, 237, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  animation: download-cta-glow 3.2s ease-in-out infinite;
  cursor: pointer;
}
[data-node-id="download.primary"] svg { flex: none; }
[data-node-id="download.primary"]:hover {
  transform: translateY(-2px) scale(1.025);
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 24px 56px -14px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
[data-node-id="download.primary"]:active { transform: translateY(0) scale(0.99); }
[data-node-id="download.primary"]:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}
@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 18px 44px -14px rgba(124, 58, 237, 0.64), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 22px 56px -10px rgba(139, 92, 246, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
}

/* App window */
.hero-visual { position: relative; }
.app-window {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1c1922 0%, #131116 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.window-title {
  margin-left: 10px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.window-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 190px;
  min-height: 342px;
}
.app-sidebar {
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  background: rgba(255, 255, 255, 0.015);
}
.vault-name {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 12px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}
.file-tree { list-style: none; margin: 0; padding: 0; }
.file-tree li {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--faint);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-tree li.is-active { background: var(--accent-soft); color: #e5d9ff; }
.app-editor {
  padding: 22px 22px 18px;
  border-right: 1px solid var(--border);
}
.note-meta { margin: 0 0 8px; color: var(--faint); font-size: 10.5px; letter-spacing: 0.03em; }
.app-editor h2 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.app-editor p { margin: 0 0 11px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.wikilink {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 12px;
}
.editor-lines { margin-top: 18px; }
.editor-lines span {
  display: block;
  height: 6px;
  margin-bottom: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
}
.editor-lines span.short { width: 62%; }
.app-graph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, rgba(124, 58, 237, 0.18), transparent 70%);
}
.app-graph svg { width: 100%; height: auto; max-height: 250px; }
.graph-lines path { stroke: rgba(168, 130, 255, 0.4); stroke-width: 1; fill: none; }
.graph-nodes circle { fill: #2a2533; stroke: rgba(168, 130, 255, 0.55); stroke-width: 1.2; }
.graph-nodes .node-strong { fill: #7c3aed; stroke: #c4b5fd; }
.graph-label { margin-top: 6px; color: var(--faint); font-size: 10.5px; letter-spacing: 0.08em; }

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(24, 21, 29, 0.92);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.floating-card .tag { color: var(--accent-strong); font-size: 10.5px; letter-spacing: 0.08em; }
.floating-card strong { font-size: 12.5px; font-weight: 600; color: var(--text); }
.float-a { left: -26px; bottom: 42px; }
.float-b { right: -18px; top: 46px; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Sections */
.section { padding: 96px 0; position: relative; }
.section-private { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%); }
.section-ideas { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-sync { background: radial-gradient(900px 460px at 12% 30%, rgba(124, 58, 237, 0.12), transparent 62%); }
.section-publish { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-community { padding-bottom: 112px; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}
.section-head.split > div { max-width: 640px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.text-link {
  color: var(--accent-strong);
  font-size: 14.5px;
  font-weight: 550;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(168, 130, 255, 0.35);
}
.text-link:hover { border-bottom-color: var(--accent-strong); }

.feature-grid { display: grid; gap: 18px; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; }
.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { border-color: rgba(168, 130, 255, 0.32); transform: translateY(-3px); }
.feature-card h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 600; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.72; }
.feature-card.compact { padding: 22px; }
.feature-card.compact h3 { margin-top: 0; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(168, 130, 255, 0.28);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.feature-icon svg { width: 22px; height: 22px; }

/* Canvas stage */
.canvas-stage {
  position: relative;
  height: 520px;
  margin: 8px 0 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 360px at 50% 40%, rgba(124, 58, 237, 0.12), transparent 70%),
    linear-gradient(180deg, #16141a, #121016);
  overflow: hidden;
}
.canvas-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.canvas-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.canvas-lines path { fill: none; stroke: rgba(168, 130, 255, 0.36); stroke-width: 1.4; stroke-dasharray: 5 6; }
.canvas-note {
  position: absolute;
  z-index: 2;
  width: 240px;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(26, 23, 31, 0.94);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.95);
}
.canvas-note p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.canvas-note .note-label { color: var(--accent-strong); font-size: 12px; letter-spacing: 0.06em; }
.note-main { left: 54px; top: 96px; }
.note-side { right: 58px; bottom: 74px; }
.canvas-item {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 10px 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #1b1820;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
}
.canvas-item img { border-radius: 7px; object-fit: cover; }
.canvas-item figcaption { margin-top: 8px; color: var(--faint); font-size: 11px; text-align: center; }
.item-a { left: 350px; top: 40px; width: 150px; }
.item-a img { width: 130px; height: 160px; }
.item-b { left: 420px; top: 250px; width: 150px; }
.item-b img { width: 130px; height: 160px; }
.item-c { right: 340px; top: 76px; width: 170px; }
.item-c img { width: 150px; height: 250px; }

/* Sync */
.sync-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}
.sync-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.sync-copy > p { margin: 0 0 28px; color: var(--muted); font-size: 17px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.check-list li {
  position: relative;
  padding-left: 30px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(168, 130, 255, 0.5);
  box-shadow: inset 0 0 0 3px rgba(15, 15, 15, 1), inset 0 0 0 4px var(--accent-strong);
}
.check-list strong { display: block; font-size: 15.5px; font-weight: 600; }
.check-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.vault-panel {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1c1922, #141116);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}
.vault-head { display: flex; align-items: flex-start; justify-content: space-between; }
.vault-kicker { margin: 0 0 4px; color: var(--faint); font-size: 11px; letter-spacing: 0.08em; }
.vault-head h3 { margin: 0; font-size: 20px; font-weight: 600; }
.vault-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #6ee7b7;
  font-size: 11px;
}
.vault-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 6px;
  padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 9px;
  color: var(--faint);
  font-size: 12.5px;
}
.vault-invite button {
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background: rgba(168, 130, 255, 0.18);
  color: var(--accent-strong);
  font-size: 12px;
}
.member-list { list-style: none; margin: 0; padding: 0; }
.member-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.member-list li:last-child { border-bottom: none; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  flex: none;
}
.avatar-a { background: #7c3aed; }
.avatar-b { background: #2563eb; }
.avatar-c { background: #0f766e; }
.avatar-d { background: #4b5563; }
.member-name { font-size: 13.5px; }
.member-role { margin-left: auto; color: var(--faint); font-size: 12px; }
.vault-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 11.5px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

/* Publish */
.publish-shot {
  margin: 0 0 34px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #151219;
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.browser-url {
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--faint);
  font-size: 11.5px;
}
.publish-shot img { width: 100%; }

/* Community */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.community-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.community-card:hover {
  border-color: rgba(168, 130, 255, 0.36);
  background: linear-gradient(165deg, rgba(124, 58, 237, 0.16), rgba(255, 255, 255, 0.02));
  transform: translateY(-3px);
}
.community-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(168, 130, 255, 0.28);
  color: var(--accent-strong);
}
.community-icon svg { width: 22px; height: 22px; }
.community-card h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 600; }
.community-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--faint);
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.community-card:hover .card-arrow { color: var(--accent-strong); transform: translateX(3px); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0c0c0d;
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 56px;
}
.footer-brand p { margin: 16px 0 0; color: var(--faint); font-size: 13.5px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 126px; height: 22px; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-col h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.18s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 12.5px;
}
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--muted); }
.footer-social a:hover { color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .window-body { grid-template-columns: 132px minmax(0, 1fr); }
  .app-graph { display: none; }
  .float-a { left: -10px; }
  .float-b { right: -8px; }
  .note-side { right: 34px; }
  .item-c { right: 300px; }
  .sync-grid { gap: 40px; }
}

@media (max-width: 920px) {
  .hero { padding: 112px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 640px; }
  .hero-sub { max-width: 34ch; }
  .feature-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sync-grid { grid-template-columns: 1fr; }
  .canvas-stage { height: 560px; }
  .note-main { left: 34px; top: 56px; }
  .note-side { right: 34px; bottom: 48px; }
  .item-a { left: 300px; top: 24px; }
  .item-b { left: 320px; top: 250px; }
  .item-c { right: 40px; top: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 20px;
    background: rgba(13, 13, 14, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
  }
  .header-nav.is-open { display: flex; }
  .header-nav a { padding: 12px 14px; font-size: 15px; }
  .account-btn { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 68px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .hero-sub { font-size: 17px; }
  .hero-action { gap: 16px; }
  .feature-grid.three, .feature-grid.four, .community-grid { grid-template-columns: 1fr; }
  .window-body { grid-template-columns: 1fr; min-height: 0; }
  .app-sidebar { display: none; }
  .app-editor { border-right: none; padding: 20px; }
  .floating-card { display: none; }
  .canvas-stage { height: 620px; }
  .canvas-note { width: 210px; }
  .note-main { left: 20px; top: 36px; }
  .note-side { left: 20px; right: auto; bottom: 30px; }
  .item-a { right: 24px; left: auto; top: 30px; width: 132px; }
  .item-a img { width: 112px; height: 137px; }
  .item-b { right: 24px; left: auto; top: 240px; width: 132px; }
  .item-b img { width: 112px; height: 137px; }
  .item-c { right: 40px; top: 350px; width: 150px; }
  .item-c img { width: 130px; height: 216px; }
  .canvas-lines { display: none; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  [data-node-id="download.primary"] {
    min-height: 54px;
    width: 100%;
    padding: 0 24px;
    font-size: 1.0625rem;
  }
  .hero-action { flex-direction: column; align-items: stretch; }
  .hero-link { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-node-id="download.primary"] { animation: none; transition: none; }
  .floating-card { animation: none; }
  .feature-card, .community-card, .card-arrow { transition: none; }
}
