/* tree2 holiday try-on (evergreen shell; Halloween = S1) */
:root {
  --bg: #0f0a12;
  --card: #1a1220;
  --ink: #f6efe8;
  --muted: #b9a8b0;
  --accent: #ff7a18;
  --accent2: #9b5cff;
  --line: #2e2233;
  --hi: #2a1a10;
  font-family: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(1200px 600px at 20% -10%, #3a1520, var(--bg)); color: var(--ink); }
a { color: #ffc08a; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; backdrop-filter: blur(8px); background: rgba(15,10,18,.85); z-index: 10; }
.logo { font-weight: 700; text-decoration: none; color: var(--ink); }
nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
main { width: min(980px, 100%); margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin: .4rem 0 0.75rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: .75rem; margin: 0; }
.lede { color: var(--muted); max-width: 40rem; }
.lede.small { font-size: .95rem; }
.try-panel { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.upload { display: grid; place-items: center; min-height: 180px; border: 2px dashed #5a3a4a; border-radius: 12px; cursor: pointer; padding: 1rem; text-align: center; color: var(--muted); }
.upload input { display: none; }
.upload img { max-height: 220px; max-width: 100%; border-radius: 8px; }
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem; margin: 1rem 0; }
.styles button { background: #241828; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .7rem; cursor: pointer; }
.styles button[aria-selected="true"] { border-color: var(--accent); background: #3a2210; }
.btn { border: 0; border-radius: 10px; padding: .7rem 1rem; cursor: pointer; background: #34243a; color: var(--ink); }
.btn.primary { background: linear-gradient(90deg, var(--accent), #ffb347); color: #1a0a00; font-weight: 700; width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.fine { color: var(--muted); font-size: .85rem; }
.result { margin-top: 1rem; }
.result img { width: min(420px, 100%); border-radius: 12px; background: #000; min-height: 200px; }
.pricing .price-row, .want-grid, .cards { display: grid; gap: .75rem; }
.pricing .price-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.pricing article, .cards article, .want-grid button { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.pricing article.hi { border-color: var(--accent); background: var(--hi); }
.price { font-size: 1.4rem; font-weight: 700; margin: .25rem 0; }
.email-shape { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.email-shape input { padding: .6rem .7rem; border-radius: 8px; border: 1px solid var(--line); background: #120c14; color: var(--ink); }
.cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1rem; }
.cards h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.cards pre { white-space: pre-wrap; background: #120c14; padding: .6rem; border-radius: 8px; font-size: .78rem; color: #e8dccf; }
.cards .meta { font-size: .75rem; color: var(--muted); }
.want-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: .75rem; }
.want-grid button { cursor: pointer; color: var(--ink); }
.want-grid button.saved { border-color: var(--accent2); }
.faq details { margin: .4rem 0; padding: .6rem .8rem; background: var(--card); border-radius: 10px; border: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 1.5rem; text-align: center; color: var(--muted); font-size: .85rem; }
.legal { padding: 2rem 1rem; width: min(640px, 100%); margin: 0 auto; }

.festival-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 .25rem; }
.festival-tabs button { border: 1px solid var(--line); background: #241828; color: var(--ink); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-size: .9rem; }
.festival-tabs button[aria-selected="true"] { border-color: var(--accent); background: #3a2210; font-weight: 600; }
.festival-tabs button:disabled { opacity: .45; cursor: not-allowed; }


.api-banner {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid #ddd;
}
.api-banner.stub { background: #fff6e5; color: #6a4b00; }
.api-banner.live { background: #e8f7ee; color: #0d5c2e; }
.api-banner.err { background: #fdecea; color: #8a1f11; }
