/* ═══════════════════════════════════════════════════════════
   croquetwade.com — Windows XP Luna Theme
   Rounded, polished, nostalgic. The good old days.
   ═══════════════════════════════════════════════════════════ */

/* ── Palette ─────────────────────────────────────────────── */
:root {
  /* Desktop */
  --bg-desktop: #3a6ea5;

  /* Window chrome */
  --titlebar-top: #0054e3;
  --titlebar-bottom: #0f6cfc;
  --titlebar-inactive-top: #7a96df;
  --titlebar-inactive-bottom: #96b9f0;
  --window-border: #0054e3;
  --window-frame: #ece9d8;
  --window-body: #ffffff;

  /* Taskbar */
  --taskbar-top: #1f55d1;
  --taskbar-bottom: #3c81f3;
  --start-top: #3c9a45;
  --start-bottom: #28712e;
  --clock-bg: #1054c9;

  /* Text */
  --fg: #000000;
  --fg-dim: #555555;
  --fg-muted: #808080;
  --fg-titlebar: #ffffff;

  /* Buttons */
  --btn-face: #ece9d8;
  --btn-highlight: #ffffff;
  --btn-shadow: #aca899;
  --btn-dark-shadow: #716f64;
  --btn-hover: #f0ede1;

  /* Fonts */
  --font-display: 'Handjet', sans-serif;
  --font-body: 'Inter', 'Segoe UI', 'Tahoma', sans-serif;
  --font-mono: 'VT323', monospace;

  /* Layout */
  --max-width: 780px;
  --gutter: 1.5rem;
  --section-gap: 1.25rem;
  --window-radius: 8px;
}

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

/* ── Custom Scrollbar (XP style) ─────────────────────────── */
::-webkit-scrollbar {
  width: 17px;
}

::-webkit-scrollbar-track {
  background: #d6d3ce;
  border-left: 1px solid #aca899;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, #ece9d8, #d6d3ce);
  border: 1px solid #aca899;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to right, #f0ede1, #ddd9d0);
}

::-webkit-scrollbar-button:single-button {
  height: 17px;
  background: var(--btn-face);
  border: 1px solid #aca899;
}

/* ── Base ────────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-desktop);
  background: linear-gradient(180deg, #245edb 0%, #3a6ea5 30%, #3a6ea5 100%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  padding: var(--gutter);
  padding-bottom: 48px;
  min-height: 100vh;
}

::selection {
  color: #ffffff;
  background-color: #3162d0;
}

/* Subtle CRT scanlines (desktop) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.025) 3px,
    rgba(0, 0, 0, 0.025) 4px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.7;
  animation: crt-breathe 8s ease-in-out infinite;
}

@keyframes crt-breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.3; }
}

/* ── Desktop Icons ───────────────────────────────────────── */
.desktop-icons {
  position: fixed;
  top: 8px;
  left: 8px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  width: 90px;
  z-index: 1;
  align-content: flex-start;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.desktop-icon:active {
  background: rgba(255, 255, 255, 0.25);
}

.desktop-icon-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.desktop-icon-label {
  font-size: 0.65rem;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
  word-break: break-word;
  max-width: 72px;
  font-family: var(--font-body);
}

/* (old column layout removed — all windows are floating now) */

/* ── Window Menu Bar ─────────────────────────────────────── */
.window-menubar {
  background: var(--window-frame);
  padding: 2px 4px;
  display: flex;
  gap: 0;
  font-size: 0.8rem;
  border-bottom: 1px solid #aca899;
}

.window-menubar a {
  color: var(--fg);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 2px;
}

.window-menubar a:hover {
  background: #3162d0;
  color: white;
  text-decoration: none;
}

/* ── Address Bar ─────────────────────────────────────────── */
.window-addressbar {
  background: var(--window-frame);
  padding: 3px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  border-bottom: 1px solid #aca899;
}

.addressbar-label {
  color: var(--fg);
  font-weight: 500;
  white-space: nowrap;
}

.addressbar-input {
  flex: 1;
  background: white;
  border: 1px solid #7f9db9;
  border-radius: 1px;
  padding: 2px 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--fg);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

.addressbar-go {
  padding: 1px 8px;
  font-size: 0.7rem;
  background: linear-gradient(180deg, #f5f3ee, #d5d2c8);
  border: 1px solid #aca899;
  border-radius: 2px;
  color: var(--fg);
  cursor: default;
}

/* ── Paint Window ────────────────────────────────────────── */
.paint-toolbar {
  background: var(--window-frame);
  padding: 3px 4px;
  display: flex;
  gap: 2px;
  border-bottom: 1px solid #aca899;
}

.paint-tool {
  width: 24px;
  height: 22px;
  background: var(--window-frame);
  border: 1px solid transparent;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: default;
}

.paint-tool:hover {
  border-color: #fff #aca899 #aca899 #fff;
}

.paint-tool.active {
  border-color: #aca899 #fff #fff #aca899;
  background: #d6d3ce;
}

.paint-palette {
  background: var(--window-frame);
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-top: 1px solid #aca899;
}

.paint-color-preview {
  width: 28px;
  height: 28px;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  position: relative;
  margin-right: 6px;
}

.paint-color-fg {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #000;
  border: 1px solid #808080;
}

.paint-color-bg {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 1px solid #808080;
}

.paint-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
}

.paint-swatch {
  width: 16px;
  height: 16px;
  border: 1px solid #808080;
  cursor: default;
}

.paint-canvas {
  background: white;
  min-height: 120px;
  border: 1px solid #aca899;
  margin: 3px;
  padding: 1.5rem 1.75rem;
  position: relative;
}

.paint-statusbar {
  background: var(--window-frame);
  padding: 2px 6px;
  font-size: 0.7rem;
  color: var(--fg-muted);
  display: flex;
  gap: 12px;
  border-top: 1px solid #aca899;
}

.paint-statusbar span {
  padding: 0 4px;
}

/* ── System Tray ─────────────────────────────────────────── */
.systray {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.systray-icon {
  font-size: 12px;
  opacity: 0.9;
  cursor: default;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3));
}

.systray-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
  margin: 0 2px;
}

/* ── XP Window ───────────────────────────────────────────── */
.window {
  border-radius: var(--window-radius);
  overflow: hidden;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--section-gap);
  border: 1px solid var(--window-border);
}

/* ── Window Titlebar ─────────────────────────────────────── */
.window-titlebar {
  background: linear-gradient(180deg, var(--titlebar-top) 0%, var(--titlebar-bottom) 100%);
  color: var(--fg-titlebar);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 6px 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  border-radius: var(--window-radius) var(--window-radius) 0 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  min-height: 30px;
}

.window-titlebar-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.window-titlebar-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Window Title Buttons (XP style) ─────────────────────── */
.window-buttons {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}

.window-btn {
  width: 21px;
  height: 21px;
  border-radius: 3px;
  border: 1px solid;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  font-family: 'Segoe UI', 'Inter', sans-serif;
}

.window-btn-minimize {
  background: linear-gradient(180deg, #3c8bea 0%, #2663c7 100%);
  border-color: #3573d6;
  color: white;
}

.window-btn-maximize {
  background: linear-gradient(180deg, #3c8bea 0%, #2663c7 100%);
  border-color: #3573d6;
  color: white;
}

.window-btn-close {
  background: linear-gradient(180deg, #e47c6c 0%, #c9473b 100%);
  border-color: #c04535;
  color: white;
}

/* ── Window Frame & Body ─────────────────────────────────── */
.window-frame {
  background: var(--window-frame);
  padding: 3px;
  border-radius: 0 0 var(--window-radius) var(--window-radius);
  overflow: auto;
  flex: 1;
}

.float-window .window-frame {
  max-height: calc(100% - 60px);
}

.window-body {
  background: var(--window-body);
  padding: 1.5rem 1.75rem;
  border: 1px solid #aca899;
}

/* ── Recessed Panel (XP style) ───────────────────────────── */
.recessed {
  background: var(--window-body);
  border: 1px solid #aca899;
  box-shadow: inset 1px 1px 0 #d6d3ce;
  padding: 0.75rem 1rem;
  border-radius: 2px;
}

/* ── Typography ──────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

p {
  margin-bottom: 0.8rem;
  max-width: 65ch;
  font-size: 0.9rem;
}

/* ── Stat Readout (mono, in recessed panel) ──────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.stat-label {
  color: var(--fg-muted);
}

.stat-value {
  color: var(--fg);
}

/* ── Links ───────────────────────────────────────────────── */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  color: #0044aa;
  text-decoration: underline;
}

a:active {
  color: #cc3300;
}

/* ── XP Button ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 4px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--fg);
  background: linear-gradient(180deg, #f5f3ee 0%, var(--btn-face) 50%, #d5d2c8 100%);
  border: 1px solid var(--btn-dark-shadow);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.btn:hover {
  background: linear-gradient(180deg, #faf8f3 0%, var(--btn-hover) 50%, #dddad0 100%);
  color: var(--fg);
  text-decoration: none;
  border-color: #3162d0;
}

.btn:active {
  background: linear-gradient(180deg, #d5d2c8 0%, var(--btn-face) 50%, #f5f3ee 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
  padding: 5px 17px 3px 19px;
}

/* ── Project meta ────────────────────────────────────────── */
.project-meta {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero-body {
  padding: 2rem 2rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
  max-width: 55ch;
}

/* ── Taskbar ─────────────────────────────────────────────── */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--taskbar-top) 0%, var(--taskbar-bottom) 45%, var(--taskbar-top) 100%);
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 100;
  height: 36px;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
  border-top: 1px solid #4c91f7;
}

/* ── Start Button (XP green) ─────────────────────────────── */
.start-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 12px 2px 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  color: white;
  background: linear-gradient(180deg, #5db158 0%, var(--start-top) 15%, var(--start-bottom) 85%, #1a5c20 100%);
  border: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  text-decoration: none;
  height: 30px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 -1px 0 rgba(0, 0, 0, 0.2) inset,
    1px 0 0 rgba(0, 0, 0, 0.1);
  letter-spacing: 0.02em;
}

.start-btn:hover {
  background: linear-gradient(180deg, #6ec669 0%, #48ad4b 15%, #2d7d32 85%, #1f6824 100%);
  color: white;
  text-decoration: none;
}

.start-btn-logo {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

.taskbar-divider {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 0 2px;
}

/* ── Taskbar Quick Launch / Links ────────────────────────── */
.taskbar-links {
  display: flex;
  gap: 3px;
}

.taskbar-link {
  padding: 3px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  height: 26px;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.taskbar-link:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
  color: white;
  text-decoration: none;
}

.taskbar-link.active {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ── Taskbar Clock ───────────────────────────────────────── */
.taskbar-clock {
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: white;
  padding: 0 12px;
  background: var(--clock-bg);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  height: 26px;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ── Spacer for fixed taskbar ────────────────────────────── */
.taskbar-spacer {
  height: 44px;
}

/* ── Floating Windows (games, apps) ──────────────────────── */
.float-window {
  position: fixed;
  z-index: 50;
  display: none;
  border-radius: var(--window-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--window-border);
  overflow: hidden;
  min-width: 280px;
  min-height: 120px;
  flex-direction: column;
}

.float-window.open {
  display: flex;
}

.float-window .window-titlebar {
  cursor: grab;
}

.float-window .window-titlebar:active {
  cursor: grabbing;
}

.float-window .window-btn-close {
  cursor: pointer;
}

.float-window .window-frame,
.float-window > div:last-of-type {
  overflow: auto;
}

/* (merged into .float-window above) */

.resize-handle {
  height: 6px;
  background: var(--window-frame, #ece9d8);
  cursor: ns-resize;
  border-top: 1px solid #aca899;
  flex-shrink: 0;
  position: relative;
}

.resize-handle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: #aca899;
  border-radius: 1px;
}

.float-window iframe {
  display: block;
  border: none;
  background: #008000;
  width: 100%;
  height: calc(100% - 30px);
  overflow: hidden;
  min-height: 200px;
}

/* ── Section fade-in ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Back Link ───────────────────────────────────────────── */
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

/* ── Responsive ──────────────────────────────────────────── */
/* ── BIOS Fallback (mobile) ───────────────────────────────── */
.bios-screen {
  display: none;
}

/* Mobile game overlay — hidden by default on all screens */
.mobile-game-overlay {
  display: none;
}

@media (max-width: 768px) {
  .desktop-icons,
  .float-window,
  .taskbar,
  #window-container { display: none !important; }

  .bios-screen {
    display: block;
    background: #000;
    color: #aaa;
    font-family: 'VT323', monospace;
    font-size: 16px;
    line-height: 1.5;
    padding: 16px;
    min-height: 100vh;
    position: relative;
  }

  /* Subtle CRT scanlines */
  .bios-screen::before {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.12) 2px,
      rgba(0, 0, 0, 0.12) 4px
    );
    pointer-events: none;
    z-index: 10;
  }

  /* Subtle phosphor glow on text */
  .bios-post .bios-ok,
  .bios-section a,
  .bios-footer a {
    text-shadow: 0 0 6px rgba(85, 255, 85, 0.3);
  }

  .bios-post .bios-error {
    text-shadow: 0 0 6px rgba(255, 85, 85, 0.3);
  }

  .bios-post .bios-brand {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  }

  body {
    background: #000;
    padding: 0;
  }

  .bios-post {
    color: #aaa;
    margin-bottom: 24px;
    white-space: pre-wrap;
  }

  .bios-post .bios-brand {
    color: #fff;
    font-size: 20px;
  }

  .bios-post .bios-ok {
    color: #55ff55;
  }

  .bios-post .bios-error {
    color: #ff5555;
  }

  .bios-post .bios-prompt {
    color: #ffff55;
  }

  .bios-cursor {
    animation: bios-blink 0.7s step-end infinite;
    color: #aaa;
  }

  @keyframes bios-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .bios-content {
    display: none;
  }

  .bios-content.visible {
    display: block;
  }

  .bios-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
  }

  .bios-section h2 {
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }

  .bios-section .bios-meta {
    color: #55ff55;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .bios-section p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 8px;
    max-width: none;
    font-family: 'VT323', monospace;
  }

  .bios-section a {
    color: #55ff55;
  }

  .bios-divider {
    color: #333;
    margin: 20px 0;
  }

  .bios-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #333;
    text-align: center;
    color: #555;
    font-size: 13px;
  }

  .bios-footer a {
    color: #55ff55;
  }

  .bios-reboot {
    display: inline-block;
    margin-top: 16px;
    color: #ffff55;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
  }

  .bios-games {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
  }

  .bios-game-link {
    display: block;
    padding: 10px 14px;
    background: rgba(85, 255, 85, 0.08);
    border: 1px solid #333;
    border-radius: 4px;
    color: #55ff55 !important;
    text-decoration: none !important;
    font-size: 16px;
    cursor: pointer;
    font-family: 'VT323', monospace;
  }

  .bios-game-link:active {
    background: rgba(85, 255, 85, 0.2);
  }

  .mobile-game-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
  }

  .mobile-game-overlay.open {
    display: flex;
    flex-direction: column;
  }

  .mobile-game-close {
    flex-shrink: 0;
    padding: 10px 16px;
    background: #cc0000;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    font-family: 'VT323', monospace;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
  }

  .mobile-game-close:active {
    background: #990000;
  }

  .mobile-game-overlay iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #000;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 0.5rem;
  }

  h1 { font-size: 2.5rem; }

  .hero-body { padding: 1.25rem; }
  .window-body { padding: 1rem 1.25rem; }
  .paint-canvas { padding: 1rem; }

  .stat-grid { grid-template-columns: 1fr; }
  .taskbar-links { display: none; }
  .window-menubar { display: none; }
  .window-addressbar { display: none; }
  .paint-toolbar { flex-wrap: wrap; }
  .paint-palette { flex-wrap: wrap; }
}

@media (max-width: 375px) {
  h1 { font-size: 2rem; }
  body { padding: 0.25rem; padding-bottom: 44px; }
}
