/* bloom base: tokens, reset, typography, buttons. Kid-first: big targets, calm color,
   nothing blinking for attention. Self-teaching UI: every control looks like what it does. */

:root {
  --bg: #f6f8f2;
  --card: #ffffff;
  --ink: #26332a;
  --ink-soft: #5f6f64;
  --leaf: #3e9b5f;
  --leaf-deep: #2e7a49;
  --leaf-soft: #e3f2e8;
  --sun: #f6b73c;
  --sun-soft: #fdf1d7;
  --berry: #d96666;
  --berry-soft: #fbe9e7;
  --sky: #4d8fd1;
  --sky-soft: #e5eef8;
  --line: #dfe6da;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 2px 10px rgba(38, 51, 42, 0.08);
  --font: "Segoe UI Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; }

button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  min-height: 52px;
  cursor: pointer;
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
  touch-action: manipulation;
}
button:active { transform: scale(0.97); }
button:disabled { opacity: 0.45; cursor: default; }

.btn-primary { background: var(--leaf); color: #fff; font-weight: 700; }
.btn-primary:hover { background: var(--leaf-deep); }
.btn-quiet { background: transparent; box-shadow: none; color: var(--ink-soft); }
.btn-quiet:hover { background: var(--leaf-soft); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--leaf-soft);
  color: var(--leaf-deep);
}

.muted { color: var(--ink-soft); }
.center { text-align: center; }

.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

a { color: var(--leaf-deep); }

input[type="text"], textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  background: #fff;
  color: var(--ink);
}
input[type="text"]:focus, textarea:focus { outline: none; border-color: var(--leaf); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .card { padding: 20px; }
}
