:root {
  --dsx-canvas: #f6f7f1;
  --dsx-surface: #ffffff;
  --dsx-surface-tint: #ecf0df;
  --dsx-secondary-soft: #ecebfa;
  --dsx-warm-soft: #faf0df;
  --dsx-ink: #171d12;
  --dsx-ink-muted: #404b36;
  --dsx-accent: #3e5c15;
  --dsx-accent-dark: #2c430e;
  --dsx-accent-bright: #658c22;
  --dsx-secondary: #3b339e;
  --dsx-secondary-dark: #272170;
  --dsx-warm-lamp: #b86b14;
  --dsx-border: #1b2214;
  --dsx-shadow: #1b2214;
  --dsx-cabinet: #141926;
  --dsx-cabinet-inner: #1d2436;
  --dsx-font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --dsx-font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dsx-radius: 8px;
  --dsx-radius-sm: 5px;
  --dsx-max: 1240px;
}

.dsx-body {
  background: var(--dsx-canvas);
  color: var(--dsx-ink);
  font-family: var(--dsx-font-body);
  line-height: 1.62;
  background-image: radial-gradient(rgba(62, 92, 21, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

h1, h2, h3, h4 {
  font-family: var(--dsx-font-display);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--dsx-ink);
}

h1 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.38rem); font-weight: 700; }

.dsx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--dsx-secondary); color: #ffffff; padding: 0.75rem 1.25rem;
  font-weight: 700; text-decoration: none;
}
.dsx-skip:focus { left: 1rem; top: 1rem; }

/* Risograph / Printshop tactile cards & buttons */
.dsx-card {
  background: var(--dsx-surface);
  border: 2px solid var(--dsx-border);
  border-radius: var(--dsx-radius);
  box-shadow: 3px 3px 0 var(--dsx-shadow);
}
.dsx-card-tint {
  background: var(--dsx-surface-tint);
  border: 2px solid var(--dsx-border);
  border-radius: var(--dsx-radius);
  box-shadow: 3px 3px 0 var(--dsx-shadow);
}
.dsx-card-indigo {
  background: var(--dsx-secondary-soft);
  border: 2px solid var(--dsx-border);
  border-radius: var(--dsx-radius);
  box-shadow: 3px 3px 0 var(--dsx-shadow);
}

.dsx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 44px; padding: 0.65rem 1.25rem;
  border: 2px solid var(--dsx-border); border-radius: var(--dsx-radius-sm);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  background: var(--dsx-accent); color: #ffffff;
  box-shadow: 3px 3px 0 var(--dsx-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.dsx-btn:hover { background: var(--dsx-accent-dark); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--dsx-shadow); }
.dsx-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--dsx-shadow); }
.dsx-btn-secondary { background: var(--dsx-secondary); color: #ffffff; }
.dsx-btn-secondary:hover { background: var(--dsx-secondary-dark); }
.dsx-btn-outline { background: var(--dsx-surface); color: var(--dsx-ink); }
.dsx-btn-outline:hover { background: var(--dsx-surface-tint); }
.dsx-btn-warm { background: var(--dsx-warm-lamp); color: #ffffff; }
.dsx-btn-warm:hover { background: #92520c; }
.dsx-btn-danger { background: #9b2226; color: #ffffff; }
.dsx-btn-danger:hover { background: #74161a; }
.dsx-btn-sm { min-height: 40px; padding: 0.45rem 0.95rem; font-size: 0.88rem; }
.dsx-btn-mini {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0.3rem 0.7rem;
  border: 2px solid var(--dsx-border); border-radius: var(--dsx-radius-sm);
  background: var(--dsx-surface); color: var(--dsx-ink);
  font-size: 0.82rem; font-weight: 700; cursor: pointer; text-decoration: none;
}
.dsx-btn-mini:hover { background: var(--dsx-surface-tint); }

.dsx-stamp {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.22rem 0.6rem; border: 2px solid var(--dsx-border); border-radius: 4px;
  font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--dsx-surface-tint); color: var(--dsx-ink);
}
.dsx-stamp-open { background: #dff1d4; color: #1b3a08; }
.dsx-stamp-pass { background: #ecebfa; color: #26206b; }
.dsx-stamp-member { background: #faf0df; color: #6e3d06; }
.dsx-stamp-code { background: var(--dsx-ink); color: var(--dsx-canvas); }

.dsx-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--dsx-accent); margin-bottom: 0.5rem;
}
.dsx-muted { color: var(--dsx-ink-muted); }
.dsx-link { color: var(--dsx-secondary); font-weight: 600; text-underline-offset: 3px; }
.dsx-link:hover { color: var(--dsx-accent); }
