/* ==========================================================================
   Gnomarchy — Official Website Stylesheet
   Distinctive Modern Workstation Aesthetic: The Polish of GNOME + Power of Arch
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* --- 7 Built-in Gnomarchy Themes --- */
:root, [data-theme="tokyo-night"] {
  --theme-id: "tokyo-night";
  --theme-name: "Tokyo Night";
  --bg-canvas: #161720;
  --bg-surface: #1a1b26;
  --bg-card: #202336;
  --bg-card-hover: #262a40;
  --bg-glass: rgba(26, 27, 38, 0.82);

  --border-subtle: #292e42;
  --border-focus: #414868;
  --border-glow: rgba(122, 162, 247, 0.35);

  --text-primary: #c0caf5;
  --text-secondary: #a9b1d6;
  --text-muted: #6b75a1;
  --text-inverse: #101118;

  --accent: #7aa2f7;
  --accent-light: #9abafc;
  --accent-soft: rgba(122, 162, 247, 0.12);
  --accent-glow: rgba(122, 162, 247, 0.25);

  --color-green: #9ece6a;
  --color-yellow: #e0af68;
  --color-red: #f7768e;
  --color-magenta: #bb9af7;
  --color-cyan: #7dcfff;

  color-scheme: dark;
}

[data-theme="catppuccin"] {
  --theme-id: "catppuccin";
  --theme-name: "Catppuccin Mocha";
  --bg-canvas: #181825;
  --bg-surface: #1e1e2e;
  --bg-card: #252538;
  --bg-card-hover: #2e2e46;
  --bg-glass: rgba(30, 30, 46, 0.82);
  --border-subtle: #313244;
  --border-focus: #45475a;
  --border-glow: rgba(137, 180, 250, 0.35);
  --text-primary: #cdd6f4;
  --text-secondary: #bac2de;
  --text-muted: #7f849c;
  --text-inverse: #11111b;
  --accent: #89b4fa;
  --accent-light: #b4befe;
  --accent-soft: rgba(137, 180, 250, 0.12);
  --accent-glow: rgba(137, 180, 250, 0.25);
  --color-green: #a6e3a1;
  --color-yellow: #f9e2af;
  --color-red: #f38ba8;
  --color-magenta: #cba6f7;
  --color-cyan: #94e2d5;
  color-scheme: dark;
}

[data-theme="gruvbox"] {
  --theme-id: "gruvbox";
  --theme-name: "Gruvbox";
  --bg-canvas: #1d2021;
  --bg-surface: #282828;
  --bg-card: #32302f;
  --bg-card-hover: #3c3836;
  --bg-glass: rgba(40, 40, 40, 0.82);
  --border-subtle: #3c3836;
  --border-focus: #504945;
  --border-glow: rgba(250, 189, 47, 0.35);
  --text-primary: #ebdbb2;
  --text-secondary: #d5c4a1;
  --text-muted: #928374;
  --text-inverse: #1d2021;
  --accent: #fabd2f;
  --accent-light: #fe8019;
  --accent-soft: rgba(250, 189, 47, 0.12);
  --accent-glow: rgba(250, 189, 47, 0.25);
  --color-green: #b8bb26;
  --color-yellow: #fabd2f;
  --color-red: #fb4934;
  --color-magenta: #d3869b;
  --color-cyan: #8ec07c;
  color-scheme: dark;
}

[data-theme="everforest"] {
  --theme-id: "everforest";
  --theme-name: "Everforest";
  --bg-canvas: #232a2e;
  --bg-surface: #2d353b;
  --bg-card: #343f44;
  --bg-card-hover: #3d484d;
  --bg-glass: rgba(45, 53, 59, 0.82);
  --border-subtle: #3d484d;
  --border-focus: #475258;
  --border-glow: rgba(167, 192, 128, 0.35);
  --text-primary: #d3c6aa;
  --text-secondary: #bdc3af;
  --text-muted: #7a8478;
  --text-inverse: #1e2326;
  --accent: #a7c080;
  --accent-light: #83c092;
  --accent-soft: rgba(167, 192, 128, 0.12);
  --accent-glow: rgba(167, 192, 128, 0.25);
  --color-green: #a7c080;
  --color-yellow: #dbbc7f;
  --color-red: #e67e80;
  --color-magenta: #d699b6;
  --color-cyan: #83c092;
  color-scheme: dark;
}

[data-theme="nord"] {
  --theme-id: "nord";
  --theme-name: "Nord";
  --bg-canvas: #242933;
  --bg-surface: #2e3440;
  --bg-card: #3b4252;
  --bg-card-hover: #434c5e;
  --bg-glass: rgba(46, 52, 64, 0.82);
  --border-subtle: #3b4252;
  --border-focus: #4c566a;
  --border-glow: rgba(136, 192, 208, 0.35);
  --text-primary: #eceff4;
  --text-secondary: #d8dee9;
  --text-muted: #768299;
  --text-inverse: #242933;
  --accent: #88c0d0;
  --accent-light: #81a1c1;
  --accent-soft: rgba(136, 192, 208, 0.12);
  --accent-glow: rgba(136, 192, 208, 0.25);
  --color-green: #a3be8c;
  --color-yellow: #ebcb8b;
  --color-red: #bf616a;
  --color-magenta: #b48ead;
  --color-cyan: #8fbcbb;
  color-scheme: dark;
}

[data-theme="rose-pine"] {
  --theme-id: "rose-pine";
  --theme-name: "Rosé Pine";
  --bg-canvas: #14121e;
  --bg-surface: #191724;
  --bg-card: #211f30;
  --bg-card-hover: #2a273e;
  --bg-glass: rgba(25, 23, 36, 0.82);
  --border-subtle: #26233a;
  --border-focus: #403d52;
  --border-glow: rgba(235, 188, 186, 0.35);
  --text-primary: #e0def4;
  --text-secondary: #908caa;
  --text-muted: #6e6a86;
  --text-inverse: #191724;
  --accent: #ebbcba;
  --accent-light: #f6c177;
  --accent-soft: rgba(235, 188, 186, 0.12);
  --accent-glow: rgba(235, 188, 186, 0.25);
  --color-green: #31748f;
  --color-yellow: #f6c177;
  --color-red: #eb6f92;
  --color-magenta: #c4a7e7;
  --color-cyan: #9ccfd8;
  color-scheme: dark;
}

[data-theme="matte-black"] {
  --theme-id: "matte-black";
  --theme-name: "Matte Black";
  --bg-canvas: #090a0d;
  --bg-surface: #121318;
  --bg-card: #1a1c24;
  --bg-card-hover: #222530;
  --bg-glass: rgba(18, 19, 24, 0.82);
  --border-subtle: #232734;
  --border-focus: #353a4d;
  --border-glow: rgba(100, 181, 246, 0.35);
  --text-primary: #f0f2f5;
  --text-secondary: #b0b8c4;
  --text-muted: #616b7e;
  --text-inverse: #090a0d;
  --accent: #64b5f6;
  --accent-light: #90caf9;
  --accent-soft: rgba(100, 181, 246, 0.12);
  --accent-glow: rgba(100, 181, 246, 0.25);
  --color-green: #03dac6;
  --color-yellow: #ffb74d;
  --color-red: #cf6679;
  --color-magenta: #ba68c8;
  --color-cyan: #4dd0e1;
  color-scheme: dark;
}

/* ==========================================================================
   Global Resets & Foundation
   ========================================================================== */

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

:root {
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

/* Ambient Radial Glow on canvas */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 520px;
  background: radial-gradient(circle at 50% -80px, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background var(--transition-normal);
}

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

code, pre, kbd {
  font-family: var(--font-mono);
}

kbd {
  display: inline-block;
  padding: 3px 7px;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Pill Navigation
   ========================================================================== */

.gnome-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin-bottom: 24px;
}

.nav-capsule {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-normal);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-gem {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--color-magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  box-shadow: 0 2px 8px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

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

.nav-link-item {
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link-item:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-pill-btn:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.theme-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.nav-btn-primary {
  padding: 7px 18px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.nav-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-wrap {
  padding: 48px 0 72px;
  text-align: center;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-pill-badge:hover {
  border-color: var(--accent);
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 22px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 20%, var(--accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-hero-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--text-inverse);
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: all var(--transition-fast);
}

.btn-hero-main:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--accent-glow);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-hero-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.curl-install-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 48px;
}

.curl-install-bar:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}

.curl-install-bar .prompt-symbol {
  color: var(--color-green);
}

/* ==========================================================================
   Desktop Window Showcase Frame
   ========================================================================== */

.hero-desktop-frame {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px var(--accent-glow);
  position: relative;
}

.desktop-header-bar {
  padding: 12px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.traffic-dots {
  display: flex;
  gap: 7px;
}

.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.desktop-body-art {
  background: #0f1017;
  display: block;
}

.desktop-body-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

section {
  padding: 88px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Tactile Grid Simulator
   ========================================================================== */

.tactile-simulator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .tactile-simulator-box { grid-template-columns: 1fr; }
}

.tactile-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tactile-slot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tactile-slot-btn:hover {
  border-color: var(--border-focus);
  color: var(--text-primary);
  transform: translateX(4px);
}

.tactile-slot-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.tactile-canvas {
  height: 280px;
  background: var(--bg-canvas);
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 16px;
}

.tactile-mock-window {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: 48%;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.tactile-mock-titlebar {
  padding: 8px 12px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent);
}

.tactile-mock-content {
  flex: 1;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Voxtype AI Voice Wave Playground
   ========================================================================== */

.voxtype-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 860px) {
  .voxtype-box { grid-template-columns: 1fr; }
}

.voxtype-mic-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.voxtype-mic-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mic-pulse-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green);
}

.voxtype-wave-display {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audio-bars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 50px;
}

.audio-bar {
  width: 4px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.live-transcript-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-top: 14px;
}

/* ==========================================================================
   Master CLI Dispatcher Interactive Simulator
   ========================================================================== */

.cli-console-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.cli-tab-bar {
  display: flex;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.cli-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text-muted);
  cursor: pointer;
  border-right: 1px solid var(--border-subtle);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cli-tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}

.cli-tab.active {
  color: var(--accent);
  background: var(--bg-surface);
  border-bottom: 2px solid var(--accent);
}

.cli-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  min-height: 220px;
}

.cli-cmd-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
}

/* ==========================================================================
   Theme Switcher Segmented Cards
   ========================================================================== */

.theme-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.theme-card-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-card-btn:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.theme-card-btn.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 16px var(--accent-glow);
}

.theme-swatch-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
}

.theme-card-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Feature Cards & Grid
   ========================================================================== */

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gnome-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-normal);
}

.gnome-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.card-h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Keyboard Shortcuts Cheat Sheet
   ========================================================================== */

.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.shortcut-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-fast);
}

.shortcut-pill:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.shortcut-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Installation Cards
   ========================================================================== */

.install-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.install-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.install-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  width: fit-content;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.code-snippet {
  background: var(--bg-canvas);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-primary);
  position: relative;
  overflow-x: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer.gnome-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 72px 0 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer-top-grid { grid-template-columns: 1fr; }
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
