/* =========================================================
   Base Reset, Typography & Page Layout
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-cream);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', 'Noto Sans Gujarati', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p {
  margin: 0;
}

button, input, textarea {
  font-family: inherit;
}

/* Ambient Milk-Cream Radial Glows */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-backdrop::before,
.ambient-backdrop::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  filter: blur(60px);
}

.ambient-backdrop::before {
  top: -90px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 70%);
}

.ambient-backdrop::after {
  top: 35%;
  left: -100px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(20, 83, 45, 0.1) 0%, rgba(20, 83, 45, 0) 70%);
}

/* Mobile-First Shell */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 16px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.main-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  background: var(--warm-card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
}

.hidden {
  display: none !important;
}
