/* Shared Zealt public-web atmosphere: warm paper, gold light, green action. */
:root {
  --bg: #f6efe2;
  --bg-deep: #ead9b8;
  --card: rgba(255, 251, 244, 0.88);
  --card-solid: #fffaf3;
  --text: #1c1812;
  --muted: #6d6458;
  --line: rgba(122, 90, 20, 0.16);
  --gold: #c79a2a;
  --gold-soft: #f3d27a;
  --gold-deep: #7a5a14;
  --green: #39c759;
  --green-deep: #24943e;
  --shadow: 0 22px 50px rgba(90, 62, 18, 0.12);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --display: "Inter Tight", var(--font);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --radius: 28px;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
}

body.zealt-web {
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 70% at 50% -18%, rgba(245, 215, 122, 0.55), transparent 58%),
    radial-gradient(70% 45% at 108% 8%, rgba(238, 139, 96, 0.16), transparent 52%),
    radial-gradient(60% 40% at -8% 88%, rgba(57, 199, 89, 0.12), transparent 50%),
    linear-gradient(180deg, #f8f1e4 0%, #f3e6cc 48%, #efe0c4 100%);
  background-attachment: fixed;
}

body.zealt-web::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Ccircle cx='18' cy='22' r='1.2' fill='%237a5a14' fill-opacity='0.07'/%3E%3Ccircle cx='92' cy='48' r='0.9' fill='%237a5a14' fill-opacity='0.06'/%3E%3Ccircle cx='54' cy='110' r='1.1' fill='%237a5a14' fill-opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.9;
}

body.zealt-web > * {
  position: relative;
  z-index: 1;
}

/* Overlays must stay viewport-fixed (beat the rule above). */
body.zealt-web > .modal,
body.zealt-web > .sheet,
body.zealt-web > .escape-overlay,
body.zealt-web > .toast,
body.zealt-web > .dock {
  position: fixed;
}
