/* Placechi's pages on dreamyhomestyle.com/placechi/ (D15) — the app's own calm palette (src/theme/palettes.ts):
   paper and ink, jade as the one accent. Light and dark follow the reader's device. */
:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --muted: #eeeae2;
  --border: #dcd6ca;
  --text: #1b2220;
  --text2: #4e5853;
  --accent: #17604f;
  --on-accent: #ffffff;
  --accent-soft: #dcede6;
  --change: #9c3d1e;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111513;
    --surface: #1a1f1d;
    --muted: #232a27;
    --border: #36403b;
    --text: #edf2ef;
    --text2: #b3beb8;
    --accent: #72cdb1;
    --on-accent: #05241b;
    --accent-soft: #163a30;
    --change: #f49c7d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Inter, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 24px 16px 56px; }
header.top { padding: 8px 0 24px; }
header.top a { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
header.top img { width: 40px; height: 40px; border-radius: 10px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 22px; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 20px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 20px; color: var(--text2); margin: 0 0 24px; }
.muted { color: var(--text2); }
a { color: var(--accent); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px; margin: 16px 0; }
/* the card's padding is its space: its first heading and its last paragraph add none of their own */
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; }
.steps b { display: block; font-size: 18px; }
/* Get the app (D22): the stores' own badges, unchanged — Apple's at 48 px high, Google's sized so its badge (inside
   41 px of its own clear space on each side of the 646 × 250 file) reads the same height. */
.get { background: var(--accent-soft); border-radius: 18px; padding: 16px 20px 20px; margin: 0 0 8px; }
.get p { margin: 0 0 12px; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.badges a { display: inline-flex; }
.badges img.app-store { height: 48px; width: auto; }
.badges img.google-play { height: 71px; width: auto; margin: -11.5px; }
/* See how it works (Dashboard T-20261108-360): the store film, played only when pressed */
.film { margin: 0 0 24px; }
.film figcaption { color: var(--text2); font-size: 15px; margin-top: 8px; }
footer.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.foot nav a { display: inline-block; padding: 4px 0; }
.copy { color: var(--text2); margin: 12px 0 0; }
form { display: grid; gap: 14px; }
label { font-weight: 600; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; }
button {
  font: inherit;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 14px;
  min-height: 52px;
  padding: 0 24px;
  cursor: pointer;
}
button[disabled] { opacity: 0.5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.answer { border-radius: 12px; padding: 12px 14px; background: var(--muted); }
.answer.error { color: var(--change); }
