/* Bright Spells v0 — system fonts only (no third-party font requests, for privacy) */
:root { --bg:#fbf3ea; --card:#fff; --ink:#2b2233; --muted:#6a5f72; --line:#eadfd2; --accent:#c9482a; --sun:#ffc531; --soft:#fff4d6; --focus:#5866d6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.ink { stroke: #2b2233; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.alt { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.btn.wa { background: #1f8f4e; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.02; letter-spacing: -.03em; margin: 8px 0 12px; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.1; }
.lede { font-size: 20px; color: var(--muted); max-width: 560px; margin: 0 0 22px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 24px; padding: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; text-decoration: none; }
.logo svg { width: 40px; height: 30px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
section { padding: 36px 0; }
.bs-foot { max-width: 980px; margin: 30px auto 0; padding: 22px 20px 40px; font-size: 14px; color: var(--muted); border-top: 2px solid var(--line); }
.bs-foot p { margin: 6px 0; }
.bs-char { width: 100%; height: auto; display: block; }
/* character motion */
.bs-bob { animation: bsbob 3.2s ease-in-out infinite; transform-origin: 150px 300px; }
@keyframes bsbob { 50% { transform: translateY(-5px); } }
.bs-fog circle { animation: bsdrift 6s ease-in-out infinite; } .bs-fog circle:nth-child(2) { animation-delay: -2s; } .bs-fog circle:nth-child(3) { animation-delay: -4s; }
@keyframes bsdrift { 50% { transform: translateX(12px); } }
.bs-flame { animation: bsflick .35s ease-in-out infinite alternate; transform-origin: 150px 50px; transform-box: view-box; }
@keyframes bsflick { to { transform: scaleY(1.15) rotate(3deg); } }
.bs-zz text { animation: bszz 2.4s ease-in-out infinite; opacity: 0; } .bs-zz text:nth-child(2) { animation-delay: .8s; } .bs-zz text:nth-child(3) { animation-delay: 1.6s; }
@keyframes bszz { 20% { opacity: 1; } 100% { opacity: 0; transform: translate(12px, -22px); } }
.bs-blink { animation: bsblink 4.5s infinite; transform-origin: 150px 148px; transform-box: view-box; }
@keyframes bsblink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
.bs-heat path { animation: bsheat 1.4s ease-in-out infinite; } @keyframes bsheat { 50% { opacity: .3; } }
.bs-batt { animation: bsbatt 1.2s steps(2) infinite; } @keyframes bsbatt { 50% { opacity: .2; } }
.bs-bubble { animation: bsspin 30s linear infinite; transform-origin: 150px 190px; transform-box: view-box; } @keyframes bsspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--soft); }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.field { width: 100%; min-height: 52px; border: 2px solid var(--line); border-radius: 14px; padding: 0 14px; font: inherit; background: #fff; }
.note { font-size: 13px; color: var(--muted); }
/* recipient view */
.forecast { max-width: 460px; margin: 0 auto; }
.forecast .stage { background: linear-gradient(#e9eefc, #fff7ee); border-radius: 22px; padding: 14px 30px 0; }
.forecast h1 { font-size: 30px; margin: 16px 0 2px; }
.forecast .today { color: var(--muted); margin: 0 0 10px; }
.notyou { background: #fff4e8; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-weight: 600; }
.tips { margin: 6px 0 14px; padding-left: 20px; } .tips li { margin: 4px 0; }
dialog { border: 0; border-radius: 22px; padding: 24px; max-width: 440px; width: calc(100% - 32px); }
dialog::backdrop { background: #2b223399; }
details { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
details summary { font-weight: 700; cursor: pointer; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
