/* App shell — matches marketing site (c0f8c96 cream / grass palette) */
:root {
  --cream: #fffaf2;
  --wool: #f6ecdc;
  --ink: #2b2118;
  --muted: #6d5d4e;
  --grass: #3f7d4e;
  --grass-dark: #2e5f3a;
  --sun: #f4b942;
  --line: #ead9c0;
  --radius: 22px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
a { color: var(--grass-dark); }
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
.app-top {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.92);
}
.app-top a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
}
.app-top .mark { width: 36px; display: inline-block; }
.app-top .mark .askpaca-mascot-img,
.app-top .mark .askpaca-mascot-svg { width: 36px; height: auto; }
.app-main { flex: 1; display: flex; align-items: stretch; }
.split-left {
  flex: 1;
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}
.split-right {
  flex: 1;
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 85% 20%, #fde6b0 0, transparent 45%), var(--wool);
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) {
  .app-main { flex-direction: column; }
  .split-right { border-left: none; border-top: 1px solid var(--line); min-height: 240px; }
  .split-left { max-width: none; }
}
h1 { font-size: clamp(1.75rem, 4vw, 2.2rem); margin: 0 0 12px; font-weight: 800; }
.lead { color: var(--muted); margin: 0 0 24px; }
.clerk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(80, 55, 20, 0.08);
  width: min(420px, 100%);
}
.quote { max-width: 360px; font-size: 1.15rem; line-height: 1.45; font-weight: 600; }
.quote small { display: block; margin-top: 12px; font-weight: 500; font-size: 0.9rem; color: var(--muted); }
#hero-mascot { width: 140px; }

.wizard { width: min(720px, 100%); margin: 0 auto; padding: 32px 24px 64px; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.progress span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wool);
  color: var(--muted);
}
.progress span.active { background: var(--grass); color: #fff; }
.progress span.done { background: var(--grass-dark); color: #fff; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 18px 40px rgba(80, 55, 20, 0.06);
}
.panel[hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font-size: 0.88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  background: var(--grass);
  color: #fff;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.btn.secondary { background: transparent; color: var(--grass-dark); box-shadow: inset 0 0 0 2px var(--grass); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.preview-box {
  margin-top: 16px;
  padding: 16px;
  background: var(--cream);
  border-radius: 12px;
  border: 1px dashed var(--line);
  min-height: 80px;
  font-size: 0.92rem;
}
.embed-code {
  width: 100%;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #f5efe6;
}
