/* Creator Garden DIY landing — preview only. Cozy, mobile-first. */
:root {
  --sky: #e7f3ee;
  --cream: #fbf6ea;
  --paper: #fffdf7;
  --soil: #4a3428;
  --soil-soft: #6b4a3a;
  --leaf: #2f6a45;
  --leaf-deep: #1f4a30;
  --moss: #7da36a;
  --sun: #e8b84a;
  --petal: #e07a5f;
  --lavender: #8d7bb8;
  --line: rgba(74, 52, 40, 0.14);
  --shadow: 0 10px 28px rgba(48, 32, 20, 0.12);
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-body: "Nunito", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--soil);
  background:
    radial-gradient(1200px 500px at 50% -80px, #f4e7b8 0%, transparent 60%),
    linear-gradient(180deg, #d8ecc8 0%, var(--sky) 28%, var(--cream) 100%);
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
button, a, input, select { font-family: inherit; }
.wrap { width: min(640px, 100%); margin: 0 auto; padding: 16px 16px 40px; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 14px;
}
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand span { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--soil-soft); }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; font-size: 0.75rem; font-weight: 800; box-shadow: var(--shadow);
}
.hero, .card, .showcase, .builder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 16px 16px;
  box-shadow: var(--shadow);
  margin: 0 0 14px;
  position: relative;
  overflow: hidden;
}
.kicker { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: var(--moss); margin: 0 0 6px; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
h1 { font-size: 1.85rem; line-height: 1.15; }
h2 { font-size: 1.3rem; }
.hero p, .card p, .lede { color: var(--soil-soft); margin: 0 0 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 999px;
  padding: 11px 16px; font-weight: 800; font-size: 0.95rem;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  color: var(--paper); background: var(--leaf); box-shadow: 0 4px 0 var(--leaf-deep);
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--leaf-deep); }
.btn-ghost { background: #efe6d4; color: var(--soil); box-shadow: 0 4px 0 #d9cdb4; }
.modes { display: grid; gap: 10px; margin: 0 0 14px; }
@media (min-width: 520px) { .modes { grid-template-columns: 1fr 1fr 1fr; } }
.mode-card {
  appearance: none; width: 100%; text-align: left; cursor: pointer;
  background: #f6efe2; border: 2px solid transparent; border-radius: 16px;
  padding: 12px; font: inherit; color: inherit;
}
.mode-card:active { transform: scale(0.98); }
.mode-card.is-on { border-color: var(--leaf); background: #eef6ea; }
.mode-card b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.mode-card span { display: block; font-size: 0.85rem; color: var(--soil-soft); }
.showcase-grid, .chip-row { display: grid; gap: 10px; }
.showcase-grid { margin-top: 8px; }
.show-card, .chip {
  display: block; width: 100%; text-align: left; text-decoration: none; color: inherit;
  background: #f6efe2; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  appearance: none; font: inherit; cursor: pointer;
}
.show-card:active, .chip:active { transform: scale(0.98); }
.show-card b, .chip b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.show-card span, .chip span { display: block; font-size: 0.85rem; color: var(--soil-soft); }
.chip-row { grid-template-columns: 1fr 1fr; }
.chip.is-on { border-color: var(--leaf); background: #eef6ea; box-shadow: inset 0 0 0 1px var(--leaf); }
label.field { display: block; margin: 0 0 10px; font-weight: 800; font-size: 0.82rem; }
label.field input, label.field select {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 600;
}
.builder-layout { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .builder-layout { grid-template-columns: 1fr 220px; align-items: start; }
  .mini-col { grid-column: 2; grid-row: 1; position: sticky; top: 12px; }
  .form-col { grid-column: 1; grid-row: 1; }
}
.modes-row { grid-template-columns: 1fr 1fr 1fr; }

.mini-wrap {
  border-radius: 18px; padding: 8px;
  background: repeating-linear-gradient(45deg, #8a9a4e 0 8px, #7e9146 8px 16px), #7a8c44;
  box-shadow: var(--shadow), inset 0 0 0 3px #5d6e32;
}
.mini-wrap.is-satellite { background: linear-gradient(180deg, #d7c49a, #c4b07a); box-shadow: var(--shadow), inset 0 0 0 3px #7a6240; }
.mini-wrap.is-regional { background: linear-gradient(180deg, #cde3f2, #b7d4a8); box-shadow: var(--shadow), inset 0 0 0 3px #5d7a6a; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; min-height: 180px; }
.mini-tile {
  border-radius: 10px; min-height: 42px; background: hsl(110 48% 72%);
  border: 1px solid rgba(255,255,255,0.45); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
  padding: 3px 2px; font-size: 0.55rem; font-weight: 800; line-height: 1.1; color: var(--soil);
  text-align: center; overflow: hidden;
}
.mini-tile .g { position: static; font-size: 0.95rem; line-height: 1; }
.mini-tile .n { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-tile.is-house { background: linear-gradient(180deg, #f3e6cf 0 42%, #8fbf6a 42% 100%); grid-column: span 2; grid-row: span 2; font-size: 0.7rem; }
.mini-tile.is-house .g { font-size: 1.35rem; }
.mini-tile.is-off { opacity: 0.28; filter: grayscale(0.4); }
.fork {
  background: #f6efe2; border-radius: 14px; padding: 12px 14px; font-size: 0.9rem; color: var(--soil-soft);
}
.fork ol { margin: 6px 0 0; padding-left: 18px; }
.fork code { background: #fff; border-radius: 6px; padding: 0 4px; font-size: 0.85em; }
.toast {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(12px);
  background: var(--soil); color: var(--paper); padding: 10px 14px; border-radius: 999px;
  font-weight: 800; font-size: 0.85rem; opacity: 0; pointer-events: none; transition: 0.2s ease; z-index: 40;
  max-width: 90%;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.legal { text-align: center; font-size: 0.78rem; color: var(--soil-soft); margin: 16px 4px 0; }
html.is-shot { scroll-behavior: auto; }

html.is-shot-builder .topbar,
html.is-shot-builder .hero,
html.is-shot-builder #modes,
html.is-shot-builder #showcases,
html.is-shot-builder #fork,
html.is-shot-builder .legal { display: none !important; }
html.is-shot-builder .wrap { padding-top: 8px; padding-bottom: 16px; }
html.is-shot-builder .builder { margin-bottom: 0; }
