:root {
  --bg: #f8f5ef;
  --ink: #241d1a;
  --muted: #756a63;
  --line: #e8ded2;
  --accent: #9f6b54;
  --accent-dark: #714836;
  --card: rgba(255, 255, 255, 0.78);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(159, 107, 84, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(113, 72, 54, 0.12), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.glass {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 222, 210, 0.9);
  box-shadow: 0 24px 80px rgba(64, 43, 32, 0.08);
}

.soft-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(64, 43, 32, 0.06);
}

.btn-primary {
  background: var(--accent);
  color: white;
  transition: all 180ms ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fffaf4;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: all 180ms ease;
}

.btn-secondary:hover {
  background: #fff4e8;
  transform: translateY(-1px);
}

input[type="range"] {
  accent-color: var(--accent);
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #dfd1c4;
}

.step-dot.active {
  width: 28px;
  background: var(--accent);
}

.loading-ring {
  width: 74px;
  height: 74px;
  border: 7px solid #eadfd5;
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 420ms ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hidden-screen {
  display: none;
}

.warning-card {
  background: linear-gradient(135deg, rgba(36, 29, 26, 0.96), rgba(113, 72, 54, 0.94));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(36, 29, 26, 0.18);
}

@media print {
  .no-print { display: none !important; }
  body { background: white; }
  .glass, .soft-card, .warning-card {
    box-shadow: none;
    background: white;
    color: black;
  }
}
