/* DogeGo marketing site - palette aligned with ui/static/app.css */

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --bg-elevated: #eef0f3;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fb;
  --bg-input: #eef0f3;
  --text: #1a1d21;
  --text-muted: #5c6570;
  --text-dim: #5c6570;
  --text-light: #e8eaed;
  --border: #d8dce3;
  --border-hover: #c2a633;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 4px 20px rgba(194, 166, 51, 0.14);
  --radius: 10px;
  --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, Monaco, monospace;
  --success: #16a34a;
  --warn: #a16207;
  --danger: #dc2626;
  --accent: #c2a633;
  --accent-dim: #9a8428;
  --doge-gold: var(--accent);
  --doge-gold-light: #d4bc4a;
  --doge-gold-dark: var(--accent-dim);
  --doge-amber: var(--accent-dim);
  --header-h: 64px;
  --gradient: linear-gradient(135deg, #c2a633, #9a8428);
  --demo-topbar: #1b1f24;
  --demo-accent: #c2a633;
  --stack: 20px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none;
}

body.modal-open { overflow: hidden; }

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

a { color: var(--accent-dim); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-2);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  color: var(--accent-dim);
}

/* Slim dismissible notice: codebase under review (localStorage dogego_code_review_banner_v1). */
:root {
  --code-review-banner-h: 0px;
}
body.has-code-review-banner {
  --code-review-banner-h: 42px;
}
.code-review-banner {
  position: fixed;
  top: var(--topbar-h, 52px);
  left: 0;
  right: 0;
  z-index: 290;
  margin: 0;
  padding: 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.code-review-banner[hidden] {
  display: none !important;
}
.code-review-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 7px 16px;
  min-height: var(--code-review-banner-h);
}
.code-review-banner-icon {
  flex-shrink: 0;
  font-size: 1.2rem !important;
  color: var(--accent-dim);
}
.code-review-banner-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.code-review-banner-text strong {
  display: inline;
  color: var(--text);
  font-weight: 600;
  margin-right: 0.35em;
}
@media (max-width: 640px) {
  body.has-code-review-banner {
    --code-review-banner-h: 52px;
  }
  .code-review-banner-text strong {
    display: block;
    margin: 0 0 2px;
  }
}
.code-review-banner-dismiss {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.code-review-banner-dismiss:hover {
  background: var(--surface);
  color: var(--text);
}
.code-review-banner-dismiss .material-icons-round {
  font-size: 1.15rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--gradient);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus { top: 1rem; color: #1a1d21; }

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(30, 30, 30, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand:hover { color: var(--doge-gold-light); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-beta {
  background: var(--gradient);
  color: #0a0a0a;
}

.badge-sm { font-size: 0.58rem; padding: 0.1rem 0.45rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.btn-header {
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  min-height: 40px;
}

.btn-header .material-icons-round {
  font-size: 1.1rem;
}

.site-nav a,
.site-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav .nav-icon,
.site-sidebar-nav .nav-icon {
  font-size: 1.15rem;
  opacity: 0.88;
  flex-shrink: 0;
}

.site-nav a:hover .nav-icon,
.site-nav a.is-active .nav-icon,
.site-sidebar-nav a:hover .nav-icon,
.site-sidebar-nav a.is-active .nav-icon { opacity: 1; }

.site-nav a:hover,
.site-nav a.is-active,
.site-sidebar-nav a:hover,
.site-sidebar-nav a.is-active { color: var(--doge-gold); }

/* Sidebar drawer */
.site-sidebar {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
  visibility: hidden;
}

.site-sidebar.is-open {
  pointer-events: auto;
  visibility: visible;
}

.site-sidebar-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.site-sidebar.is-open .site-sidebar-backdrop {
  opacity: 1;
}

.site-sidebar-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.site-sidebar.is-open .site-sidebar-panel {
  transform: translateX(0);
}

.site-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.site-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--doge-gold);
}

.site-sidebar-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
}

.site-sidebar-close:hover {
  border-color: var(--doge-gold);
  color: var(--doge-gold);
}

.site-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-sidebar-nav a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.site-sidebar-nav a:hover,
.site-sidebar-nav a.is-active {
  background: rgba(255, 193, 7, 0.1);
}

.site-sidebar-foot {
  padding: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.site-sidebar-foot .site-lang-picker {
  width: 100%;
}

.site-sidebar-foot .site-lang-btn {
  width: 100%;
  justify-content: center;
}

.site-sidebar-foot .site-lang-menu {
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  top: auto;
}

.nav-github-block {
  width: 100%;
  justify-content: center;
  text-decoration: none;
}

.nav-foundation-block {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  opacity: 0.92;
}

.nav-foundation-block img {
  height: 24px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

body.site-sidebar-open {
  overflow: hidden;
}

.nav-foundation {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.15s;
}

.nav-foundation img {
  width: auto;
  height: 22px;
  max-width: min(120px, 24vw);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-foundation:hover { opacity: 1; }

.nav-github {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: var(--radius-sm);
  color: var(--doge-gold);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.nav-github:hover {
  background: rgba(255, 193, 7, 0.18);
  border-color: var(--doge-gold);
}

.nav-github .material-icons-round { font-size: 1.1rem; }

.site-lang-picker {
  position: relative;
  flex-shrink: 0;
}

.site-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.65rem 0 0.5rem;
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 193, 7, 0.08);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.site-lang-btn:hover,
.site-lang-btn:focus-visible {
  background: rgba(255, 193, 7, 0.14);
  border-color: rgba(255, 193, 7, 0.45);
  color: var(--doge-gold);
}

.site-lang-btn .material-icons-round {
  font-size: 1.05rem;
  opacity: 0.9;
}

.site-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 11rem;
  padding: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 300;
}

.site-lang-menu[hidden] { display: none; }

.site-lang-menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.site-lang-menu button:hover,
.site-lang-menu button:focus-visible {
  background: rgba(255, 193, 7, 0.12);
  color: var(--doge-gold);
}

.site-lang-menu button[aria-selected="true"] {
  background: rgba(255, 193, 7, 0.18);
  color: var(--doge-gold);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: rgba(255, 193, 7, 0.45);
  color: var(--doge-gold);
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.hero-after {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.hero-status-card {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}

.hero-status-card .material-icons-round {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.hero-release-note .material-icons-round { color: var(--accent-dim); }

.hero-status-text {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--accent-dim);
  font-size: 0.88rem;
}

.hero-eyebrow .material-icons-round { font-size: 1.1rem; }

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 42ch;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent-dim);
  color: #1a1d21;
  box-shadow: 0 2px 8px rgba(194, 166, 51, 0.32);
}

.btn-primary:hover {
  background: var(--accent-dim);
  border-color: #7a6820;
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-dim);
  background: var(--surface-2);
}

.btn-sm { padding: 8px 14px; font-size: 12px; }

.hero-note .material-icons-round {
  color: var(--accent-dim);
}

.hero-preview { min-width: 0; }

.demo-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 450px;
}

.demo-webui {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), var(--shadow-glow);
  border: 1px solid var(--border);
  animation: demo-float 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  max-height: 450px;
  height: 450px;
}

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

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.5rem 0.75rem;
  background: var(--demo-topbar);
  color: #e8eaed;
  border-bottom: 3px solid var(--demo-accent);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.demo-topbar-brand { font-weight: 700; }

.demo-topbar-ver {
  font-size: 0.68rem;
  color: #9aa3ad;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: var(--mono);
}

.demo-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
}

.demo-badge-full { background: rgba(22, 163, 74, 0.25); color: #86efac; }
.demo-badge-mainnet { background: rgba(22, 163, 74, 0.2); color: #bbf7d0; }

.demo-topbar-spacer { flex: 1; }

.demo-foundation {
  display: inline-flex;
  opacity: 0.92;
}

.demo-foundation img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}

.demo-peers-short {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #9aa3ad;
  font-size: 0.72rem;
}

.demo-peers-short .material-icons-round { font-size: 0.9rem; }

.demo-update-banner {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: #1a1d21;
  background: linear-gradient(90deg, rgba(194, 166, 51, 0.2), rgba(194, 166, 51, 0.08));
  border-bottom: 1px solid rgba(194, 166, 51, 0.35);
  flex-shrink: 0;
}

.demo-update-banner strong {
  color: #7a6820;
  font-weight: 700;
}

.demo-update-banner .material-icons-round {
  font-size: 0.9rem;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.demo-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  margin-right: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #c8c8c8;
  font-family: inherit;
  font-size: 0.58rem;
  cursor: default;
}

.demo-lang-btn .material-icons-round { font-size: 0.85rem; }

.demo-lang-btn-wiz {
  border-color: var(--wiz-border);
  background: var(--wiz-surface-2);
  color: var(--wiz-muted);
}

.demo-shell {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 0;
  flex: 1;
  background: #f4f5f7;
  overflow: hidden;
}

.demo-sidebar {
  position: relative;
  background: var(--demo-topbar);
  padding: 0.5rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.demo-sidebar::-webkit-scrollbar {
  display: none;
}

.demo-nav-label {
  margin: 0.35rem 0 0.15rem;
  padding: 0 0.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa3ad;
}

.demo-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.35rem 0.25rem;
}

.demo-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #9aa3ad;
  transition: background 0.2s, color 0.2s;
}

.demo-nav-item .material-icons-round { font-size: 1rem; }

.demo-nav-active {
  background: rgba(194, 166, 51, 0.18);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--demo-accent);
}

.demo-main {
  position: relative;
  padding: 0.75rem;
  background: #f4f5f7;
  color: #1a1d21;
  min-height: 0;
  overflow: hidden;
}

.demo-panel {
  display: none;
  animation: panel-in 0.45s ease;
}

.demo-panel-active { display: block; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-page-hero {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
}

.demo-page-hero .material-icons-round {
  font-size: 1.25rem;
  color: var(--demo-accent);
}

.demo-page-hero strong { display: block; font-size: 0.88rem; }
.demo-page-hero span { color: #5c6570; font-size: 0.72rem; }

.demo-search-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.45rem;
  background: #fff;
  border: 1px solid #d8dce2;
  border-radius: 8px;
  font-size: 0.62rem;
}

.demo-search-bar .material-icons-round {
  font-size: 0.85rem;
  color: #8a9199;
}

.demo-search-placeholder {
  flex: 1;
  color: #8a9199;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-search-btn {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: var(--demo-accent);
  color: #1a1d21;
  font-weight: 700;
  font-size: 0.58rem;
}

.demo-kpi-section-title {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5c6570;
}

.demo-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.demo-kpi {
  background: #fff;
  border: 1px solid #d8dce3;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
}

.demo-kpi-name {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5c6570;
}

.demo-kpi-val {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--mono);
}

.demo-kpi-gold { color: #9a8428; }

.demo-kpi-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.demo-kpi-compact .demo-kpi-val { font-size: 0.72rem; }

.demo-kpi-sm { font-size: 0.72rem !important; }

.demo-kpi-spark {
  display: block;
  height: 3px;
  margin-top: 0.25rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #c2a633 0%, #e8dcc0 50%, #c2a633 100%);
  opacity: 0.45;
}

.demo-kpi-spark-gold { opacity: 0.7; }

.demo-storage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.35rem 0 0.45rem;
}

.demo-storage-chips span {
  font-size: 0.52rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef0f3;
  color: #5c6570;
}

.demo-sync-track {
  height: 5px;
  background: #eef0f3;
  border-radius: 999px;
  overflow: hidden;
}

.demo-sync-fill {
  height: 100%;
  background: linear-gradient(90deg, #e8d06a, #c2a633);
  border-radius: 999px;
  transition: width 0.8s ease;
}

.demo-blockstep { padding: 0; }

/* BlockStep mini preview (matches DogeGo app bs-* UI) */
.demo-bs-shell {
  padding: 10px 12px 12px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(194, 166, 51, 0.12) 0%, #ffffff 45%, rgba(244, 246, 250, 0.95) 100%);
  border: 1px solid rgba(194, 166, 51, 0.2);
}

.demo-bs-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.demo-bs-spacer { flex: 1; min-width: 6px; }

.demo-bs-btn-ghost,
.demo-bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: inherit;
  cursor: default;
  pointer-events: none;
}

.demo-bs-btn-ghost {
  border: 1px solid #d8dce3;
  background: transparent;
  color: #5c6570;
}

.demo-bs-btn {
  border: 1px solid #d8dce3;
  background: #eef0f3;
  color: #1a1d21;
  min-width: 28px;
}

.demo-bs-btn .material-icons-round { font-size: 0.95rem; }

.demo-bs-timeline-card {
  padding: 14px 12px 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 246, 250, 0.88));
  border: 1px solid rgba(194, 166, 51, 0.2);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.demo-bs-timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.demo-bs-time {
  margin: 0 0 2px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1d21;
}

.demo-bs-height {
  margin: 0;
  font-size: 0.72rem;
  color: #5c6570;
}

.demo-bs-range {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 600;
  color: #5c6570;
  text-align: right;
  max-width: 120px;
  line-height: 1.35;
}

.demo-bs-rail {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  margin: 24px 6px 28px;
}

.demo-bs-synced {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #c2a633, #e8d06a);
  opacity: 0.35;
  transition: width 1.2s ease;
}

.demo-bs-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.25);
}

.demo-bs-dot.has-body { background: #c2a633; }

.demo-bs-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c2a633;
  box-shadow: 0 3px 10px rgba(194, 166, 51, 0.45);
  transition: left 1.2s ease;
}

.demo-bs-years {
  position: relative;
  height: 14px;
  margin: 0 6px 10px;
}

.demo-bs-years span {
  position: absolute;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c6570;
  white-space: nowrap;
}

.demo-bs-slider {
  width: 100%;
  margin: 0 0 10px;
  accent-color: #9a8428;
  height: 5px;
  pointer-events: none;
}

.demo-bs-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: none;
  border-radius: 8px;
  background: #c2a633;
  color: #1a1d21;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}

.demo-bs-open-btn .material-icons-round { font-size: 0.95rem; }

.demo-mempool-rows { display: flex; flex-direction: column; gap: 0.35rem; }

.demo-mempool-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.55rem;
  background: #fff;
  border: 1px solid #d8dce3;
  border-radius: 6px;
  font-size: 0.72rem;
}

.demo-mempool-row code { font-size: 0.68rem; background: #eef0f3; color: #1a1d21; }

.demo-mempool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  font-size: 0.58rem;
  color: #5c6570;
}

.demo-mempool-meta span {
  padding: 2px 6px;
  border-radius: 4px;
  background: #eef0f3;
}

.demo-mempool-tag {
  font-size: 0.52rem !important;
  font-weight: 600;
  text-transform: uppercase;
  color: #9a8428 !important;
  background: transparent !important;
}

.demo-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.demo-feature-pill {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  font-size: 0.58rem;
  background: #eef0f3;
  color: #1a1d21;
}

.demo-feature-pill .material-icons-round { font-size: 0.85rem; }

.demo-feature-ok .material-icons-round { color: #16a34a; }

.demo-feature-warn .material-icons-round { color: #d97706; }

.demo-features-note {
  margin: 0;
  font-size: 0.58rem;
  color: #5c6570;
  line-height: 1.45;
}

.demo-features-note code {
  font-size: 0.55rem;
  background: #eef0f3;
}

.demo-sync-dock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: var(--demo-topbar);
  color: #e8eaed;
  font-size: 0.72rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.demo-sync-dock-rich { padding: 0; }

.demo-sync-dock-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: none;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.62rem;
  text-align: left;
  cursor: default;
}

.demo-sync-dock-main { font-weight: 600; }

.demo-sync-dock-meta {
  flex: 1;
  min-width: 120px;
  color: #9aa0a6;
  font-size: 0.58rem;
}

.demo-sync-dock-meta strong { color: #e8eaed; font-weight: 600; }

.demo-sync-chevron {
  font-size: 1rem !important;
  color: var(--demo-accent);
  margin-left: auto;
}

.demo-spin {
  font-size: 0.95rem;
  color: var(--demo-accent);
  animation: spin 2s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Console below web UI */
.demo-console-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d0d0d;
  box-shadow: var(--shadow);
}

.demo-console-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.demo-console-title {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.demo-console-title .material-icons-round { font-size: 0.9rem; }

.demo-console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--success);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.demo-console-body {
  max-height: 140px;
  overflow-y: auto;
  padding: 0.65rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.65;
  color: #c8c8c8;
}

.demo-log-line { margin-bottom: 0.15rem; }
.demo-log-info { color: #e8eaed; }
.demo-log-ok { color: var(--success); }
.demo-log-warn { color: var(--accent-dim); }
.demo-log-dim { color: var(--text-dim); }

.demo-console-cursor {
  position: absolute;
  bottom: 0.65rem;
  left: 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--doge-gold);
  animation: blink 1s step-end infinite;
  display: none;
}

@keyframes blink { 50% { opacity: 0; } }

/* Demo sections (explainer + console, outside hero) */
.demo-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.demo-section-explainer {
  background: var(--bg-elevated);
}

.demo-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.demo-section-icon {
  flex-shrink: 0;
  font-size: 2rem;
  color: var(--doge-gold);
  opacity: 0.9;
}

.demo-section-header h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--text);
}

.demo-section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.console-howto {
  margin-bottom: 1.25rem;
}

.console-howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.console-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.console-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(194, 166, 51, 0.14);
  color: var(--accent-dim);
  font-weight: 700;
  font-size: 0.85rem;
}

.console-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.console-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.console-step code {
  font-size: 0.78rem;
  word-break: break-all;
}

.console-howto-note {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.console-howto-note .material-icons-round {
  font-size: 1.05rem;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.demo-section-console .demo-console-body {
  max-height: 180px;
}

/* Stats */
.stats-bar {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
  padding: 1.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.stat {
  text-align: center;
  padding: 1rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-icon {
  display: block;
  margin: 0 auto 0.35rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.stat-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--surface-2); }

.section-header {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 2.25rem;
}

.section-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-header p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: rgba(194, 166, 51, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.feature-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.ext-id {
  margin: 0 0 0.35rem !important;
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 0.78rem !important;
  letter-spacing: 0.02em;
  color: var(--accent) !important;
}

.extensions-footnote {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Wizard */
.wizard-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.2s;
}

.wizard-card:hover { border-color: var(--border-hover); }

.wizard-card .material-icons-round {
  font-size: 2rem;
  color: var(--doge-gold);
  margin-bottom: 0.45rem;
}

.wizard-card h3 { margin: 0 0 0.3rem; font-size: 0.98rem; }
.wizard-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* Network table */
.network-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.network-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.network-table th,
.network-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.network-table th {
  background: var(--sidebar);
  color: var(--text-light);
  font-weight: 600;
}

.network-table tr:last-child td { border-bottom: none; }

/* Download / coming soon */
.soon-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.soon-banner-icon {
  font-size: 2.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.soon-banner strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.soon-banner p { margin: 0; color: var(--text-muted); font-size: 0.92rem; flex: 1; min-width: 200px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .platform-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
}

.platform-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 60%, rgba(194, 166, 51, 0.06));
  pointer-events: none;
}

.platform-icon { font-size: 2rem; color: var(--accent-dim); margin-bottom: 0.4rem; }
.platform-card h3 { margin: 0 0 0.2rem; }
.platform-arch { margin: 0 0 0.65rem; font-size: 0.85rem; color: var(--text-dim); }

.platform-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-dim);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.platform-link:hover { color: var(--accent); }

.build-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.build-box h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.build-box h3 .material-icons-round { color: var(--accent-dim); }

.code-block {
  margin: 0 0 1rem;
  padding: 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* VS Code-style build-from-source editor */
.code-editor {
  margin: 0 0 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2d2d2d;
  background: #1e1e1e;
}

.code-editor-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: #252526;
  border-bottom: 1px solid #2d2d2d;
}

.code-editor-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.code-editor-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-editor-dots .dot-red { background: #ff5f56; }
.code-editor-dots .dot-yellow { background: #ffbd2e; }
.code-editor-dots .dot-green { background: #27c93f; }

.code-editor-title {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #9d9d9d;
  letter-spacing: 0.02em;
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  border: 1px solid #3e3e42;
  background: #2d2d30;
  color: #d4d4d4;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.code-copy-btn:hover {
  background: #3c3c3f;
  border-color: #5a5a5e;
  color: #fff;
}

.code-copy-btn:focus-visible {
  outline: 2px solid var(--doge-gold);
  outline-offset: 2px;
}

.code-copy-btn .material-icons-round {
  font-size: 0.95rem;
}

.code-copy-btn.is-copied {
  border-color: rgba(39, 201, 63, 0.45);
  color: #86efac;
  background: rgba(39, 201, 63, 0.12);
}

.code-editor-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  overflow-x: auto;
}

.code-line-numbers {
  margin: 0;
  padding: 1rem 0.65rem 1rem 0.85rem;
  background: #1e1e1e;
  border-right: 1px solid #2d2d2d;
  color: #858585;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.65;
  text-align: right;
  user-select: none;
  white-space: pre;
}

.code-editor-pre {
  margin: 0;
  padding: 1rem 1rem 1rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #d4d4d4;
  overflow: visible;
}

.code-editor-pre code {
  color: #d4d4d4;
  font-family: inherit;
  white-space: pre;
}

.build-note { margin: 0 0 1rem; color: var(--text-dim); font-size: 0.9rem; }

/* Release checker */
.hero-release-note {
  margin: 0;
}

.soon-banner[data-state="ready"] {
  border-color: rgba(22, 163, 74, 0.35);
}

.soon-banner[data-state="soon"] {
  border-color: rgba(194, 166, 51, 0.35);
}

.soon-banner[data-state="loading"] .soon-banner-icon {
  animation: spin 1.2s linear infinite;
}

.release-banner-text { flex: 1; min-width: 200px; }

.release-banner-meta {
  margin: 0.35rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.release-banner-body {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.release-banner-body.is-collapsed {
  max-height: 7.2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent);
  mask-image: linear-gradient(to bottom, #000 50%, transparent);
}

.release-banner-body.is-collapsed.is-expanded {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.release-banner-body h3,
.release-banner-body h4 {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.release-banner-body h3:first-child,
.release-banner-body h4:first-child,
.release-banner-body p:first-child {
  margin-top: 0;
}

.release-banner-body p {
  margin: 0 0 0.55rem;
}

.release-banner-body ul {
  margin: 0 0 0.55rem;
  padding-left: 1.15rem;
}

.release-banner-body li {
  margin: 0.15rem 0;
}

.release-banner-body code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.05em 0.3em;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}

.release-banner-body a {
  color: var(--accent-dim);
}

.release-notes-toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-dim);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.release-notes-toggle[hidden] {
  display: none;
}

.release-assets {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.release-assets-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-size: 1rem;
}

.release-assets-title .material-icons-round { color: var(--accent-dim); }

.release-assets-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.release-asset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.release-asset-link {
  color: var(--doge-gold);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.release-asset-link:hover { text-decoration: underline; }

.release-asset-sha {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-family: var(--mono);
}

.subsection-title {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--accent-dim);
  font-weight: 600;
}

.roadmap-backlog-panel {
  margin-top: 2.25rem;
  padding: 1.35rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-dim);
}

.roadmap-backlog-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.roadmap-backlog-header .material-icons-round {
  font-size: 1.35rem;
  color: var(--accent-dim);
  flex-shrink: 0;
}

.roadmap-backlog-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.fullnode-grid .feature-ok {
  border-color: rgba(22, 163, 74, 0.28);
}

.roadmap-backlog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.roadmap-item {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.roadmap-item.roadmap-partial {
  background: #fff;
  border-color: rgba(161, 98, 7, 0.2);
}

.roadmap-item .material-icons-round {
  color: var(--accent-dim);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.roadmap-item.roadmap-partial .material-icons-round {
  color: var(--accent-dim);
}

.roadmap-item h4 { margin: 0 0 0.35rem; font-size: 0.98rem; }
.roadmap-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

.roadmap-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.roadmap-col-full {
  width: 100%;
}

.roadmap-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
}

.roadmap-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.roadmap-checklist .material-icons-round {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.roadmap-checklist li .material-icons-round { color: var(--success); }
.roadmap-checklist-todo li .material-icons-round { color: var(--accent-dim); }

@media (max-width: 900px) {
  .roadmap-backlog-grid,
  .roadmap-columns { grid-template-columns: 1fr; }
  .roadmap-checklist { grid-template-columns: 1fr; }

  .roadmap-backlog-panel {
    padding: 1.15rem 1.15rem 1.25rem;
  }
}

/* Developers */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.dev-card .material-icons-round {
  font-size: 2rem;
  color: var(--accent-dim);
  margin-bottom: 0.65rem;
}

.dev-card h3 { margin: 0 0 0.4rem; }
.dev-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Disclaimer */
.disclaimer-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(161, 98, 7, 0.06);
  border: 1px solid rgba(161, 98, 7, 0.22);
  border-radius: var(--radius);
}

.disclaimer-icon { font-size: 2rem; color: var(--accent-dim); flex-shrink: 0; }
.disclaimer-card h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.disclaimer-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Footer legacy rules removed (see footer-grid below) */

/* Coming soon modal */
.soon-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.soon-modal:not([hidden]) {
  display: flex;
}

.soon-modal[hidden] {
  display: none !important;
}

.soon-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.soon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.soon-card {
  position: relative;
  width: min(420px, 100%);
  padding: 2rem 1.75rem 1.75rem;
  background: var(--surface);
  border: 1px solid rgba(194, 166, 51, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 12px 40px rgba(0, 0, 0, 0.12);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.28s ease;
}

.soon-modal.is-visible .soon-card {
  transform: translateY(0) scale(1);
}

.soon-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
}

.soon-close:hover { background: var(--border); color: var(--text); }

.soon-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(194, 166, 51, 0.12);
  border: 1px solid rgba(194, 166, 51, 0.28);
}

.soon-icon { font-size: 2rem; color: var(--accent-dim); }

.soon-card h2 { margin: 0 0 0.65rem; font-size: 1.35rem; }
.soon-card p { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; }

.soon-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.soon-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

.soon-chip .material-icons-round { font-size: 0.9rem; color: var(--accent-dim); }

.soon-foot {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Sections: scroll offset for sticky header */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.feature-grid-lg {
  grid-template-columns: repeat(3, 1fr);
}

.feature-highlight {
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: var(--shadow-glow);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.care-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.care-card:hover {
  border-color: rgba(194, 166, 51, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.care-icon {
  display: block;
  font-size: 1.65rem;
  color: var(--accent-dim);
  margin-bottom: 0.5rem;
}

.care-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--text);
}

.care-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.care-card p code {
  font-size: 0.82em;
  background: var(--bg-input);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.care-card a {
  color: var(--accent-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Explainer block */
.demo-explainer-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.demo-explainer-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-explainer-head .material-icons-round { font-size: 1rem; }

.demo-explainer {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.35rem;
  min-height: 120px;
  align-items: flex-start;
}

.demo-explainer.explainer-fade {
  animation: explainer-in 0.4s ease;
}

@keyframes explainer-in {
  from { opacity: 0.4; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.explainer-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(194, 166, 51, 0.12);
  border: 1px solid rgba(194, 166, 51, 0.28);
}

.explainer-icon .material-icons-round {
  font-size: 1.5rem;
  color: var(--accent-dim);
}

.explainer-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: var(--text);
}

.explainer-body p {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.explainer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.explainer-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-dim);
}

.demo-ua {
  margin-left: auto;
  margin-right: 0.75rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--doge-gold);
  background: rgba(255, 193, 7, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* BlockStep showcase */
.blockstep-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.blockstep-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.blockstep-track {
  position: relative;
  height: 36px;
  background: var(--bg-input);
  border-radius: 999px;
  overflow: visible;
  margin-bottom: 0.75rem;
}

.blockstep-fill {
  height: 100%;
  width: 78%;
  border-radius: 999px;
  background: var(--gradient);
}

.blockstep-dot {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--doge-gold-dark);
}

.blockstep-dot-active {
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  background: var(--doge-gold);
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
}

.blockstep-dot-tip {
  background: var(--doge-gold-light);
  animation: pulse 1.5s ease infinite;
}

.blockstep-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.blockstep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blockstep-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.blockstep-list .material-icons-round {
  color: var(--doge-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Wizard demo (matches DogeGo setup.html light theme) */
.wiz-demo-app {
  --wiz-bg: #f4f5f7;
  --wiz-surface: #ffffff;
  --wiz-surface-2: #eef0f3;
  --wiz-border: #d8dce3;
  --wiz-text: #1a1d21;
  --wiz-muted: #5c6570;
  --wiz-accent: #c2a633;
  --wiz-accent-dim: #9a8428;
  --wiz-green: #16a34a;
}

.wiz-demo {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--wiz-border, var(--border));
}

.wiz-demo-app {
  background: var(--wiz-bg);
}

.wiz-demo-topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: #1b1f24;
  color: #e8eaed;
  border-bottom: 3px solid var(--wiz-accent);
  font-weight: 700;
  font-size: 0.88rem;
}

.wiz-demo-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8eaed;
}

.wiz-demo-topbar-spacer { flex: 1; }

.wiz-demo-first-run {
  font-size: 0.72rem;
  color: #9aa3ad;
  font-weight: 500;
}

.wiz-demo-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.wiz-demo-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wiz-muted);
  text-align: center;
}

.wiz-demo-stepper {
  margin-bottom: 1rem;
  padding: 1rem 0.85rem 0.85rem;
  background: var(--wiz-surface);
  border: 1px solid var(--wiz-border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.wiz-setup-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.wiz-setup-steps li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: var(--wiz-muted);
  font-size: 0.68rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.wiz-setup-steps li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(-50% + 17px);
  right: calc(50% + 17px);
  height: 3px;
  background: var(--wiz-border);
  z-index: -1;
}

.wiz-setup-steps li:first-child::before { display: none; }
.wiz-setup-steps li.done::before { background: var(--wiz-green); }
.wiz-setup-steps li.active { color: var(--wiz-text); }
.wiz-setup-steps li.done { color: var(--wiz-green); }

.wiz-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wiz-surface-2);
  border: 2px solid var(--wiz-border);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.wiz-step-icon { font-size: 1.15rem; color: var(--wiz-muted); }

.wiz-step-check {
  display: none;
  font-size: 1.15rem;
  color: var(--wiz-green);
}

.wiz-setup-steps li.active .wiz-step-indicator {
  border-color: var(--wiz-accent);
  background: rgba(194, 166, 51, 0.15);
  box-shadow: 0 0 0 3px rgba(194, 166, 51, 0.12);
}

.wiz-setup-steps li.active .wiz-step-icon { color: var(--wiz-accent-dim); }

.wiz-setup-steps li.done .wiz-step-indicator {
  border-color: var(--wiz-green);
  background: rgba(22, 163, 74, 0.12);
}

.wiz-setup-steps li.done .wiz-step-icon { display: none; }
.wiz-setup-steps li.done .wiz-step-check { display: block; }

.wiz-step-label {
  text-align: center;
  max-width: 52px;
  line-height: 1.2;
}

.wiz-demo-panels {
  position: relative;
  min-height: 160px;
  padding: 1.1rem 1.15rem;
  background: var(--wiz-surface);
  border: 1px solid var(--wiz-border);
  border-radius: 10px;
}

.wiz-demo-panel {
  display: none;
  animation: panel-in 0.35s ease;
}

.wiz-demo-panel.wiz-panel-active { display: block; }

.wiz-panel-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wiz-text);
}

.wiz-panel-hint {
  margin: 0;
  color: var(--wiz-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.wiz-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0.75rem;
}

.wiz-profile-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 11px;
  text-align: left;
  border: 2px solid var(--wiz-border);
  border-radius: 14px;
  background: var(--wiz-surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wiz-profile-card.selected {
  border-color: var(--wiz-accent);
  background: rgba(194, 166, 51, 0.1);
  box-shadow: 0 0 0 1px var(--wiz-accent);
}

.wiz-profile-icon {
  font-size: 1.5rem;
  color: var(--wiz-accent-dim);
  margin-bottom: 2px;
}

.wiz-profile-card.selected .wiz-profile-icon { color: var(--wiz-accent-dim); }

.wiz-profile-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wiz-text);
}

.wiz-profile-sub {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--wiz-muted);
}

.wiz-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.demo-caption {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

@media (min-width: 901px) {
  .hero-after .demo-explainer {
    min-height: 132px;
  }
}

.wiz-profile-tags span {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--wiz-surface-2);
  color: var(--wiz-muted);
}

.wiz-advanced-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  color: var(--wiz-muted);
}

.wiz-toggle-fake {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--wiz-surface-2);
  border: 1px solid var(--wiz-border);
}

.wiz-field-demo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
}

.wiz-field-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--wiz-muted);
}

.wiz-field-value {
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--wiz-surface-2);
  border: 1px solid var(--wiz-border);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--wiz-text);
}

.wiz-option-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.wiz-option-card {
  flex: 1;
  min-width: 88px;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--wiz-accent);
  background: rgba(194, 166, 51, 0.08);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--wiz-text);
}

.wiz-option-card small {
  display: block;
  margin-top: 0.15rem;
  font-weight: 400;
  font-size: 0.55rem;
  color: var(--wiz-muted);
}

.wiz-option-muted {
  border-color: var(--wiz-border);
  background: var(--wiz-surface-2);
  opacity: 0.75;
}

.wiz-preflight-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.wiz-preflight-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  color: var(--wiz-text);
}

.wiz-preflight-item .material-icons-round { font-size: 0.85rem; }

.wiz-preflight-ok .material-icons-round { color: #16a34a; }

.wiz-preflight-warn .material-icons-round { color: #d97706; }

.wiz-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.62rem;
  color: var(--wiz-text);
  border-bottom: 1px solid var(--wiz-border);
}

.wiz-switch-on,
.wiz-switch-off {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 999px;
}

.wiz-switch-on { background: rgba(22, 163, 74, 0.15); color: #16a34a; }

.wiz-switch-off { background: var(--wiz-surface-2); color: var(--wiz-muted); }

.wiz-panel-foot {
  margin: 0.45rem 0 0;
  font-size: 0.58rem;
  color: var(--wiz-muted);
}

.wiz-finish-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 183, 77, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.35);
  font-size: 0.62rem;
  color: var(--wiz-text);
}

.wiz-finish-banner .material-icons-round {
  font-size: 0.95rem;
  color: #d97706;
  flex-shrink: 0;
}

.wiz-review-snippet {
  margin: 0.45rem 0;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--wiz-surface-2);
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--wiz-muted);
}

.wiz-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: default;
}

.wiz-start-btn .material-icons-round { font-size: 0.95rem; }

.wizard-feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.25rem;
}

.wizard-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.wizard-feature-list .material-icons-round {
  font-size: 1.1rem;
  color: var(--accent-dim);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Compare table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.compare-table th {
  background: var(--sidebar);
  color: var(--text-light);
  font-weight: 600;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-yes {
  font-size: 1.1rem;
  color: var(--success);
  vertical-align: middle;
  margin-right: 0.25rem;
}

.compare-table td:nth-child(2) { color: var(--text); }
.compare-table td:nth-child(3) { color: var(--text-dim); }

/* Footer modern grid */
.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand-col { max-width: 320px; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.75rem;
}

.footer-brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-ua {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.footer-ua .material-icons-round {
  color: var(--doge-gold);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.footer-ua-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}

.footer-ua code {
  font-size: 0.82rem;
  background: transparent;
  padding: 0;
  color: var(--doge-gold-light);
}

.footer-ua-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.footer-heading {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--doge-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links button {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links button:hover { color: var(--doge-gold); }

.footer-foundation {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-foundation img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-foundation:hover img { opacity: 1; }

.footer-foundation-note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom {
  padding: 1.25rem 0 1.75rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-bottom a { color: var(--doge-gold); text-decoration: none; }

.footer-disclaimer { font-size: 0.78rem !important; opacity: 0.85; }

.demo-console-cursor { display: none; }

@media (max-width: 960px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-preview {
    order: -1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .hero-status { grid-template-columns: 1fr; }
  .demo-stack {
    flex-shrink: 0;
    transform-origin: top center;
    will-change: transform;
    height: 374px;
    max-height: 374px;
  }
  .demo-webui {
    height: 374px;
    max-height: 374px;
  }
  /* Icon-only demo rail (like collapsed site sidebar) for more main content when scaled */
  .demo-shell {
    grid-template-columns: 48px 1fr;
  }
  .demo-sidebar {
    padding: 0.4rem 0.2rem;
  }
  .demo-nav-label,
  .demo-nav-divider {
    display: none;
  }
  .demo-nav-item {
    justify-content: center;
    padding: 0.42rem 0.2rem;
    gap: 0;
  }
  .demo-nav-item > :not(.material-icons-round) {
    display: none;
  }
  .demo-nav-active {
    box-shadow: inset 3px 0 0 var(--demo-accent);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .dev-grid { grid-template-columns: 1fr; }
  .blockstep-showcase { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .demo-explainer { flex-direction: column; }
  .demo-ua { display: none; }
  .console-howto-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .btn-header span:not(.material-icons-round) {
    display: none;
  }

  .btn-header {
    padding: 0.45rem;
    min-width: 40px;
  }

  .feature-grid,
  .feature-grid-lg,
  .care-grid,
  .platform-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .soon-banner { flex-direction: column; text-align: center; }
  .soon-banner .btn { width: 100%; justify-content: center; }

  .section { padding: 3rem 0; }
  .disclaimer-card { flex-direction: column; }
  .wiz-profile-grid { grid-template-columns: 1fr; }
  .wiz-setup-steps li::before { top: 15px; }
  .wizard-feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-webui { animation: none; }
  .demo-spin { animation: none; }
  .demo-panel { animation: none; }
  .btn:hover, .feature-card:hover { transform: none; }
  .site-sidebar-backdrop,
  .site-sidebar-panel { transition: none; }
  .site-sidebar.is-open .site-sidebar-panel { transform: none; }
  .site-sidebar:not(.is-open) .site-sidebar-panel { transform: translateX(100%); }
}
