/* =============================================================
   ARYCHI PUBLIC LANDING PAGE STYLES
   Author: Hachiiro
   Consumes shared tokens from /static/css/tokens.css
============================================================= */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

button, a, input {
  -webkit-tap-highlight-color: transparent;
}

button {
  appearance: none;
  font: inherit;
  cursor: pointer;
  color: inherit;
  background: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--text-primary);
}

em {
  font-family: inherit;
  font-weight: inherit;
  font-style: normal;
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: var(--space-5);
  top: -96px;
  z-index: 120;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: var(--space-4);
}

/* =============================================================
   HEADER & NAVIGATION
============================================================= */
.site-header {
  position: relative;
  z-index: 50;
  width: min(1400px, calc(100% - 80px));
  margin: 0 auto;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-md);
  font: 700 22px/1 Georgia, serif;
  padding-bottom: 2px;
  flex-shrink: 0;
}

.brand-text {
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.site-nav a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--trans-fast);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  min-width: 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: background var(--trans-fast), border-color var(--trans-fast), color var(--trans-fast);
  flex-shrink: 0;
}

.icon-button:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border-primary);
  padding: 14px 24px;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 600;
  font-size: var(--text-base);
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

.button-ghost {
  background: transparent;
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.button-ghost:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
}

.header-dashboard {
  min-height: 38px;
  padding: 7px 14px;
  font-size: var(--text-sm);
  gap: 7px;
  min-width: 0;
}

#nav-btn-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-underline-offset: 5px;
}

.text-link:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

.menu-toggle .menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

/* =============================================================
   HERO & METRICS
============================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 0;
  padding-block: 32px 24px;
  min-height: 690px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font: 500 10px/1.6 var(--font-mono);
  letter-spacing: 0.08em;
}

.eyebrow-tag {
  color: var(--accent);
}

.eyebrow-sep {
  color: var(--text-muted);
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}

h1 {
  font-size: clamp(48px, 5.8vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.065em;
  font-weight: 700;
}

h1 em {
  color: var(--text-primary);
  display: inline-block;
  margin-top: 4px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
  max-width: 40ch;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-7);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.hero-metric-divider {
  display: none;
}

/* =============================================================
   SECTION SHARED HEADINGS & RHYTHM
============================================================= */
.section-space {
  padding-block: 100px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
}

.section-heading > p,
.cmd-heading-meta > p {
  max-width: 38ch;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

h2 em {
  color: var(--accent);
}

.section-copy {
  min-width: 0;
}

.section-copy > p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-block: var(--space-5) var(--space-6);
  font-size: 16px;
}

/* =============================================================
   ALL-IN-ONE ARCHITECTURE + DISCORD PREVIEW
============================================================= */
.allinone-section {
  border-top: 1px solid var(--border-subtle);
}

.allinone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-10);
  align-items: stretch;
}

.allinone-modules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.aio-module-btn {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-bottom-color: var(--border-subtle);
  border-radius: 14px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.aio-module-btn:hover {
  border-color: var(--border-primary);
  background: var(--bg-tertiary);
}

.aio-module-btn.is-active {
  border-color: var(--accent-border);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.aio-mod-index {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
}

.aio-module-btn.is-active .aio-mod-index {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.aio-mod-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.aio-mod-copy strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.aio-mod-copy span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}

.aio-replaces-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  white-space: nowrap;
}

.aio-module-btn.is-active .aio-replaces-tag {
  color: var(--accent);
  border-color: var(--accent-border);
  background: var(--accent-subtle);
}

/* Realistic Discord Preview Window (Theme-aware & High Contrast) */
.discord-preview-shell {
  --dc-shell-bg: #1f1f1f;
  --dc-chrome-bg: #2d2d2d;
  --dc-card-bg: #2d2d2d;
  --dc-footer-bg: #242424;
  --dc-border: rgba(255, 255, 255, 0.08);
  --dc-text: #f3f3f3;
  --dc-body: #dedede;
  --dc-muted: #b9b9b9;
  --dc-accent: #a9a9a9;
  --dc-accent-bg: rgba(169, 169, 169, 0.14);
  --dc-accent-border: rgba(169, 169, 169, 0.34);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-primary);
  background: var(--dc-shell-bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

[data-theme="light"] .discord-preview-shell {
  --dc-shell-bg: #ffffff;
  --dc-chrome-bg: #f3f3f3;
  --dc-card-bg: #f8f8f8;
  --dc-footer-bg: #f3f3f3;
  --dc-border: #e3e3e3;
  --dc-text: #181818;
  --dc-body: #333333;
  --dc-muted: #505050;
  --dc-accent: #585858;
  --dc-accent-bg: rgba(88, 88, 88, 0.09);
  --dc-accent-border: rgba(88, 88, 88, 0.28);
}

.discord-preview-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--dc-border);
  background: var(--dc-chrome-bg);
}

.discord-channel-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dc-text);
}

.discord-channel-title .hash {
  color: var(--dc-muted);
  font-weight: 700;
}

.discord-v2-pill {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  color: var(--dc-accent);
  background: var(--dc-accent-bg);
  border: 1px solid var(--dc-accent-border);
}

.discord-message-frame {
  padding: 22px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.discord-msg-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 10px;
}

.discord-bot-avatar {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 16px/1 Georgia, serif;
  padding-bottom: 2px;
  flex-shrink: 0;
}

.discord-msg-header strong {
  font-size: 14.5px;
  color: var(--dc-text);
}

.discord-app-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: #585858;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.discord-msg-time {
  font-size: var(--text-xs);
  color: var(--dc-muted);
}

.discord-v2-card {
  --card-accent: #a9a9a9;
  background: var(--dc-card-bg);
  border: 1px solid var(--dc-border);
  border-left: 4px solid var(--card-accent);
  border-radius: var(--radius-md);
  padding: 16px;
}

.dv2-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dc-text);
  margin-bottom: 6px;
}

.dv2-body {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--dc-body);
}

.dv2-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--dc-border);
}

.dv2-meta-grid small {
  display: block;
  font-size: var(--text-xs);
  color: var(--dc-muted);
}

.dv2-meta-grid strong {
  font-size: var(--text-sm);
  color: var(--dc-text);
}

.dv2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: 14px;
}

.dv2-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ffffff;
}

.dv2-btn-primary { background: #585858; }
.dv2-btn-secondary { background: #505050; }
.dv2-btn-danger { background: #595959; }

.discord-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  padding: 11px 16px;
  border-top: 1px solid var(--dc-border);
  background: var(--dc-footer-bg);
  font-size: var(--text-xs);
  color: var(--dc-muted);
}

.discord-preview-footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dc-accent);
  font-weight: 600;
  white-space: nowrap;
}

.discord-preview-footer a:hover {
  text-decoration: underline;
}

/* =============================================================
   VOICE ARCHITECTURE
============================================================= */
.voice-section,
.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: center;
  border-top: 1px solid var(--border-subtle);
}

.voice-diagram {
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--bg-secondary);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.diagram-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-4);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.diagram-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.voice-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.voice-steps li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-top: var(--space-5);
}

.step-glyph {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.voice-steps h3 {
  font-size: 15.5px;
  margin-bottom: 3px;
}

.voice-steps p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* =============================================================
   COMMUNITY & AUTOMATION LEDGER
============================================================= */
.community-section {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: var(--space-12);
  align-items: start;
}

.community-intro {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.community-intro p {
  color: var(--text-secondary);
  line-height: 1.72;
  margin-block: var(--space-5) var(--space-6);
  font-size: 15.5px;
}

.capability-ledger {
  border-top: 1px solid var(--border-subtle);
  min-width: 0;
}

.capability-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: 104px;
}

.capability-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.capability-body {
  min-width: 0;
}

.capability-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
  margin-bottom: 4px;
}

.capability-header h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.capability-code {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
}

.capability-body p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.62;
}

.capability-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--trans-fast), background var(--trans-fast), color var(--trans-fast);
}

.capability-link:hover {
  border-color: var(--accent-border);
  background: var(--accent-subtle);
  color: var(--accent);
}

/* =============================================================
   SECURITY & GOVERNANCE LIST
============================================================= */
.admin-list {
  min-width: 0;
}

.admin-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-6) 0;
}

.admin-list > div:first-child {
  border-top: 1px solid var(--border-subtle);
}

.admin-list span {
  grid-row: span 2;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: var(--text-base);
  font-weight: 700;
  padding-top: 3px;
}

.admin-list h3 {
  font-size: 18px;
}

.admin-list p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  line-height: 1.65;
}

/* =============================================================
   COMMAND & ECOSYSTEM CATALOG (DEVELOPER DIRECTORY)
============================================================= */
.commands-catalog-section {
  border-top: 1px solid var(--border-subtle);
}

.cmd-heading-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.cmd-registry-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cmd-total-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.cmd-registry-status {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.cmd-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.cmd-search-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1 1 280px;
  max-width: 400px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  background: var(--bg-input);
  color: var(--text-muted);
  transition: border-color var(--trans-fast);
}

.cmd-search-wrap:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cmd-search-icon {
  flex-shrink: 0;
}

.cmd-search-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
}

.cmd-search-wrap input::placeholder {
  color: var(--text-muted);
}

.cmd-search-wrap input:focus {
  outline: none;
}

.cmd-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cmd-pill {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-primary);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color var(--trans-fast), background var(--trans-fast), color var(--trans-fast);
}

.cmd-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: var(--bg-hover);
}

.cmd-pill.is-active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

.cmd-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.cmd-empty-state {
  margin-top: var(--space-6);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.cmd-empty-state[hidden],
.cmd-category-card[hidden],
.cmd-item-list li[hidden] {
  display: none;
}

.cmd-reset-btn {
  min-height: 36px;
  padding: 6px 14px;
  font-size: var(--text-sm);
}

.cmd-category-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  min-width: 0;
  transition: border-color var(--trans-fast);
}

.cmd-category-card:hover {
  border-color: var(--border-strong);
}

.cmd-cat-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
}

.cmd-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cmd-cat-title-wrap {
  min-width: 0;
  flex: 1;
}

.cmd-cat-header h3 {
  font-size: 16.5px;
  line-height: 1.3;
}

.cmd-cat-header p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 2px;
}

.cmd-cat-count {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.cmd-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.cmd-item-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px var(--space-3);
  padding: 9px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-base);
  line-height: 1.45;
  min-width: 0;
}

.cmd-item-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cmd-item-list code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--status-info);
  background: var(--status-info-bg);
  border: 1px solid var(--status-info-border);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.cmd-item-list span {
  color: var(--text-secondary);
  flex: 1 1 180px;
  min-width: 0;
}

.cmd-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}

.cmd-badge.music {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

.cmd-badge.admin {
  background: var(--status-error-bg);
  color: var(--status-error);
  border: 1px solid var(--status-error-border);
}

.cmd-badge.mod {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid var(--status-warning-border);
}

.cmd-badge.voice {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid var(--status-success-border);
}

.cmd-badge.event {
  background: var(--status-info-bg);
  color: var(--status-info);
  border: 1px solid var(--status-info-border);
}

.cmd-badge.general {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-primary);
}

/* =============================================================
   CTA & FOOTER
============================================================= */
.start-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 56px;
  margin-bottom: 64px;
  border-radius: 28px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
}

.start-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.start-section p {
  color: var(--text-secondary);
  margin-top: var(--space-3);
  font-size: 16px;
  max-width: 52ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-block: var(--space-7);
  border-top: 1px solid var(--border-subtle);
}

.site-footer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
  font-size: var(--text-base);
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* =============================================================
   RESPONSIVE BREAKPOINTS (1366px, 768px, 390px, 320px)
============================================================= */

.eyebrow-tag::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
}

.day-section {
  padding-block: 64px 80px;
}

.day-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.day-heading h2 {
  font-size: 24px;
  letter-spacing: -0.025em;
}

.day-heading p {
  color: var(--text-secondary);
  font-size: 14px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 320px;
  border-right: 1px solid var(--border-subtle);
  background: transparent;
  overflow: hidden;
  transition: transform 250ms ease;
}

.day-card:hover {
  transform: translateY(-5px);
}

.day-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}

.day-card p {
  max-width: 30ch;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.day-card-label {
  color: var(--text-muted);
  font: 500 11px/1.4 var(--font-mono);
  margin-bottom: 24px;
}

.day-card-arrow {
  position: absolute;
  right: 28px;
  top: 24px;
  color: var(--accent);
  font-size: 22px;
}

.mini-stage {
  height: 128px;
  display: grid;
  place-items: center;
  perspective: 600px;
  margin-bottom: 12px;
}

.room-stack {
  width: 190px;
  transform: rotateX(22deg) rotateY(-18deg) rotateZ(-8deg);
  transform-style: preserve-3d;
  transition: transform 400ms ease;
}

.room-stack span {
  display: block;
  padding: 10px 14px;
  border: 1px solid #b9c9eb;
  border-radius: 10px;
  background: #e7efff;
  color: #315280;
  box-shadow: 4px 5px 0 #c2d1ed;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 600;
}

.room-stack span + span {
  transform: translateX(18px) translateZ(20px);
  background: #fff;
}

.day-card:hover .room-stack {
  transform: rotateX(12deg) rotateY(12deg) rotateZ(-4deg);
}

.record {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #293044 0 2px, #394158 3px 4px);
  box-shadow: 7px 10px 0 #cdd3df, 14px 18px 24px #202b3d20;
  display: grid;
  place-items: center;
  transform: rotateX(28deg) rotateY(-12deg);
}

.record::before {
  content: 'a.';
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #d8b9eb;
  border: 5px solid #f3e8fa;
  border-radius: 50%;
  color: #433055;
  font: 700 24px Georgia, serif;
  animation: recordSpin 12s linear infinite;
}

.shield-model {
  width: 86px;
  height: 102px;
  border-radius: 22px 22px 44px 44px;
  display: grid;
  place-items: center;
  color: #285c45;
  background: #c9e8d8;
  border: 3px solid #eaf7f0;
  box-shadow: 8px 7px 0 #8bb8a0, 18px 16px 24px #254c3420;
  transform: rotateY(-24deg) rotateZ(12deg);
  font-size: 38px;
  transition: transform 400ms ease;
}

.day-card:hover .shield-model {
  transform: rotateY(15deg) rotateZ(-6deg);
}

@keyframes recordSpin {
  to {
    rotate: 360deg;
  }
}

@media (max-width: 1080px) {
  .hero {
    text-align: center;
  }
  .hero-copy {
    margin-inline: auto;
  }
  .hero-eyebrow, .hero-actions {
    justify-content: center;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-metrics {
    text-align: left;
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 8px;
    width: calc(100% - 24px);
    margin-top: 8px;
  }
  .header-inner {
    width: calc(100% - 24px);
  }
  .day-grid {
    grid-template-columns: 1fr;
  }
  .day-card {
    min-height: 0;
  }
  .day-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .day-section {
    padding-bottom: 56px;
  }
  .start-section {
    padding: 28px;
  }
  .site-nav {
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(40px, 10vw, 56px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-eyebrow {
    align-items: center;
  }




}

@media (max-width: 1080px) {
  .container {
    width: calc(100% - 48px);
  }
  .hero {
    gap: var(--space-8);
    grid-template-columns: 1fr;
    padding-block: 44px;
  }
  .hero-copy {
    max-width: 680px;
  }

  .voice-section,
  .security-section,
  .community-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .community-intro {
    position: static;
  }
  .allinone-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 66px;
    gap: var(--space-3);
  }
  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--bg-secondary);
    padding: var(--space-3) var(--space-6);
    border-bottom: 1px solid var(--border-primary);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }
  .site-nav a:last-child {
    border-bottom: 0;
  }
  .menu-toggle {
    display: inline-flex;
  }


  .section-space {
    padding-block: 60px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-4);
  }
  .cmd-catalog-grid {
    grid-template-columns: 1fr;
  }
  .aio-module-btn {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .aio-replaces-tag {
    display: none;
  }
  .dv2-meta-grid {
    grid-template-columns: 1fr;
  }
  .start-section {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero {
    padding-block: 32px 40px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
  .hero-metric-divider {
    display: none;
  }










  .capability-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: var(--space-3);
  }
  .capability-link {
    grid-column: 2;
    justify-self: start;
    margin-top: var(--space-1);
  }
  .cmd-search-wrap {
    max-width: 100%;
  }
}

@media (max-width: 480px) {


  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .header-actions {
    gap: 6px;
  }
  .icon-button,
  .menu-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
  }
  .menu-toggle-label {
    display: none;
  }
  .header-dashboard {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12.5px;
  }
  .hero-eyebrow {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .eyebrow-sep {
    display: none;
  }
}

@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }




  .header-dashboard .ui-icon-arrow {
    display: none;
  }
  .header-dashboard {
    padding: 6px 9px;
    font-size: 12px;
    max-width: 124px;
  }
}

/* =============================================================
   ACCESSIBILITY: REDUCED MOTION
============================================================= */

.hero-art {
  position: relative;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.art-edition {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  white-space: nowrap;
  font: 500 9px var(--font-mono);
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-world-slot {
  position: relative;
  width: 100%;
  height: 560px;
}

.hero-world {
  width: 100%;
  height: 100%;
  position: relative;
  touch-action: pan-y;
  cursor: grab;
}

.hero-world:active {
  cursor: grabbing;
}

.hero-world canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-world:not(.world-ready) canvas {
  visibility: hidden;
}

/* =============================================================
   ARYCHI FREELY FLOATING COMPANION (RIGHT GUTTER)
============================================================= */
.hero-world.is-floating {
  position: fixed;
  right: max(20px, calc((100vw - 1240px) / 2 - 310px));
  top: 90px;
  width: 320px;
  height: 380px;
  z-index: 80;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  pointer-events: auto;
  cursor: grab;
  will-change: top, transform;
}

.hero-world.is-floating:active {
  cursor: grabbing;
}

@media (max-width: 1240px) {
  .hero-world.is-floating {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.world-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 24px;
}

.world-fallback span {
  font: 700 130px Georgia, serif;
  color: var(--accent);
}

.world-fallback p {
  color: var(--text-secondary);
  font-size: 14px;
}

.world-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  color: var(--text-muted);
}

.world-toolbar div {
  display: flex;
  gap: 8px;
}

.world-toolbar button {
  border: 0;
  border-bottom: 1px solid var(--border-primary);
  padding: 5px 0;
  font-size: 10px;
}

.world-toolbar button:hover {
  color: var(--text-primary);
  border-color: currentColor;
}

.art-caption {
  position: absolute;
  bottom: 90px;
  right: 5px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transform: rotate(-7deg);
  font-size: 11px;
  pointer-events: none;
}

.art-caption > span {
  color: var(--accent);
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-top: 36px;
}

.hero-note strong {
  color: var(--text-secondary);
  font-weight: 500;
}

.note-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 50%;
  font: 700 24px Georgia, serif;
}

.day-card:last-child {
  border-right: 0;
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }
  .hero-art {
    width: min(100%, 720px);
    margin: auto;
  }
  .hero-note {
    justify-content: center;
  }
  .hero-world-slot {
    height: 520px;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 32px);
  }
  .day-card {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .site-nav {
    top: 66px;
  }
}

@media (max-width: 560px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    display: contents;
  }
  .hero-eyebrow {
    order: 0;
    margin-bottom: 12px;
  }
  .hero h1 {
    order: 1;
  }
  .hero-art {
    order: 2;
    width: 100%;
  }
  .hero-description {
    order: 3;
    margin-top: 16px;
  }
  .hero-actions {
    order: 4;
    width: 100%;
    margin-top: 20px;
  }
  .hero-note {
    order: 5;
    margin-top: 20px;
  }
  .hero-world-slot {
    height: 340px;
  }
  .hero-art {
    margin-top: 20px;
  }
  .hero {
    gap: 8px;
  }
  .art-edition {
    top: 16px;
    font-size: 8px;
  }
  .art-caption {
    bottom: 60px;
    right: 0;
    font-size: 9px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .world-toolbar {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
