/* Monjur homepage — shared design tokens & base */

:root {
  /* Brand (from existing system) */
  --navy-900: #0B1628;
  --navy-800: #0f172a;
  --navy-700: #1e293b;
  --navy-600: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-300: #fdba74;
  --accent:     #EA6A1E;

  /* Editorial palette */
  --ivory:      #F5F1EA;
  --ivory-2:    #EFE9DE;
  --ink:        #141416;
  --paper:      #FAF7F1;
  --rule:       #D9D2C4;

  /* Semantic */
  --text-primary: var(--navy-900);
  --text-secondary: #3b4a63;
  --text-muted: var(--slate-500);

  /* Type stacks — loaded via Google Fonts */
  --font-serif:  Georgia, 'Times New Roman', serif;
  --font-sans:   'Geist', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max: 1240px;
  --gutter: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { scrollbar-width: none; }

/* ── Variation switcher (Tweaks panel) ── */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--navy-900);
  color: white;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.06);
  font-family: var(--font-sans);
  font-size: 13px;
  min-width: 240px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-400);
}
.tweaks-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-row label { font-size: 11px; color: var(--slate-300); text-transform: uppercase; letter-spacing: 0.06em; }
.variation-buttons { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.variation-buttons button {
  padding: 10px 8px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  transition: background 0.15s;
  border: 1px solid rgba(255,255,255,0.08);
}
.variation-buttons button:hover { background: rgba(255,255,255,0.12); }
.variation-buttons button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.variation-buttons button .num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.6;
  margin-bottom: 2px;
}

/* ── Shared: common CTA look ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, background 0.15s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 10px 30px -10px rgba(234,106,30,0.6); }
.btn-ghost { color: inherit; background: transparent; border: 1px solid currentColor; }
.btn-dark { background: var(--navy-900); color: white; }

/* Variation root containers */
.variation { display: none; }
.variation.active { display: block; }

/* Responsive guardrails */
@media (max-width: 860px) {
  :root { --gutter: 1.25rem; }
}
