/* 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: 46px; height: 40px; }
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; } }

/* ---------- v1: nav, hero, sections ---------- */
.nav { display: flex; align-items: center; gap: 14px; }
.nav-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; }
.nav-link.on, .nav-link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.price-pill { display: inline-block; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 12px; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; text-transform: none; }
@media (max-width: 560px) { .nav-link { font-size: 15px; } .nav .btn { padding: 0 14px; font-size: 15px; } .logo { font-size: 0; } .logo svg { width: 42px; } }
.hero { padding-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 14px 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e3f4dc; color: #2f7a35; font-weight: 900; font-size: 13px; display: grid; place-items: center; }
.btn.big { min-height: 60px; font-size: 19px; width: 100%; }
.btn:hover { filter: brightness(1.08); } .btn:active { transform: translateY(1px); }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
.feat p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.feat-ico { font-size: 30px; width: 54px; height: 54px; border-radius: 16px; background: var(--soft); display: grid; place-items: center; margin-bottom: 10px; }
.band { background: #fff; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); padding: 40px 0; }
.band.dark { background: var(--ink); color: #fff; border: 0; } .band.dark a { color: #fff; } .band.dark .note { color: #d8d0ea; }
.center { justify-content: center; text-align: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; } .consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; } .actions .btn { flex: 1 1 160px; }

/* phone mock */
.phone-stage { display: grid; place-items: center; }
.phone { position: relative; width: 300px; aspect-ratio: 1290 / 2796; border-radius: 46px; border: 10px solid #1d1824; background: #1d1824; box-shadow: 0 30px 60px -20px #2b223366, 0 0 0 2px #3a3245 inset; overflow: hidden; }
.phone canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0d0a11; z-index: 3; }
.phone-clock { position: absolute; top: 8.5%; left: 0; right: 0; text-align: center; color: #2b2233; z-index: 2; pointer-events: none; }
.phone-clock span { display: block; font-size: 13px; font-weight: 700; opacity: .75; }
.phone-clock b { display: block; font-size: 68px; line-height: 1; font-weight: 800; letter-spacing: -.02em; opacity: .9; }
.phone.small { width: 260px; margin: 0 auto; } .phone.small .phone-clock b { font-size: 58px; }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } }
.editor { display: grid; gap: 14px; }
.preview { position: sticky; top: 14px; background: var(--bg); border: 2px solid var(--line); border-radius: 24px; padding: 16px; }
@media (max-width: 900px) { .preview { position: static; } }
.tabs { display: flex; gap: 6px; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.tab { flex: 1; border: 0; background: none; border-radius: 999px; min-height: 40px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.pv-body { min-height: 300px; display: grid; place-items: center; }
.sheet { width: 100%; max-width: 420px; border-radius: 10px; box-shadow: 0 12px 30px -14px #2b223355; display: block; margin: 0 auto; }
.cardimg { width: 100%; max-width: 380px; border-radius: 18px; box-shadow: 0 12px 30px -14px #2b223355; display: block; margin: 0 auto; }
.unlock { margin-top: 16px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px; }
.weather { padding: 16px 18px; }
.w-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.w-head small { display: block; color: var(--muted); font-size: 13px; }
.w-emoji { font-size: 28px; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; flex: none; }
.w-list { display: grid; gap: 8px; }
.w-row { display: flex; gap: 8px; align-items: center; position: relative; }
.w-row .field { min-height: 46px; }
.w-row.first .field { border-color: #e7c76a; background: #fffbea; }
.w-row.first::after { content: "on lock screen"; position: absolute; right: 56px; top: -9px; font-size: 11px; font-weight: 800; background: #ffe9a6; border-radius: 999px; padding: 1px 8px; }
.x { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 2px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.chip.add { min-height: 40px; justify-self: start; font-size: 14px; border-style: dashed; }
.w-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.idea { border: 0; background: #f4efe8; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.idea:hover { background: var(--soft); }
.yay-sun { font-size: 64px; text-align: center; animation: bsspin 8s linear infinite; }

/* landing: chat mock */
.chatphone { width: 320px; border-radius: 40px; border: 10px solid #1d1824; background: #efe7dd; box-shadow: 0 30px 60px -20px #2b223366; overflow: hidden; margin: 0 auto; }
.chat-top { background: #1d1824; color: #fff; padding: 22px 16px 10px; font-weight: 700; display: flex; gap: 10px; align-items: center; font-size: 15px; }
.chat-top .av { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-size: 18px; }
.chat-body { padding: 14px 12px 18px; display: grid; gap: 10px; min-height: 470px; align-content: start; }
.bub { max-width: 86%; background: #fff; border-radius: 16px 16px 16px 4px; padding: 8px; box-shadow: 0 1px 1px #0000001a; font-size: 14px; opacity: 0; transform: translateY(8px); transition: .5s ease; }
.bub.me { justify-self: end; background: #dcf6c6; border-radius: 16px 16px 4px 16px; padding: 8px 12px; }
.bub.show { opacity: 1; transform: none; }
.bub .mini { background: linear-gradient(#e9eefc, #fff7ee); border-radius: 12px; padding: 6px 30px 0; }
.bub .mini svg { display: block; }
.bub b { display: block; margin-top: 6px; } .bub ul { margin: 4px 0 0; padding-left: 18px; } .bub .time { display: block; text-align: right; font-size: 11px; color: #8a8292; margin-top: 2px; }
.weather-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
@media (max-width: 900px) { .weather-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .weather-grid { grid-template-columns: repeat(2, 1fr); } }
.wx { background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 10px; text-align: center; }
.wx .e { font-size: 34px; display: block; } .wx b { display: block; font-size: 15px; margin-top: 4px; } .wx small { color: var(--muted); font-size: 12.5px; }
.pain { border-left: 6px solid var(--accent); }
.pain p { margin: 6px 0 0; color: var(--muted); }
.cta-band { text-align: center; padding: 50px 0; }
.cta-band h2 { font-size: clamp(30px, 5vw, 46px); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 700; margin-top: 12px; }
.trust span::before { content: "● "; color: #7cc36a; }
.foot-links a { white-space: nowrap; }
/* polish */
.actions .btn { flex: 1 1 auto; white-space: nowrap; }
@media (max-width: 420px) { .actions .btn { white-space: normal; flex-basis: 100%; } }
.tab { white-space: nowrap; font-size: 13.5px; padding: 0 6px; }
@media (max-width: 400px) { .tab { font-size: 12.5px; } }
.nav-link, .nav .btn { white-space: nowrap; }
@media (max-width: 420px) { .nav { gap: 8px; } .nav .price-pill { display: none; } .nav .btn { min-height: 40px !important; padding: 0 12px; font-size: 14px; } .nav-link { font-size: 14px; } }
@media (max-width: 900px) { .preview { order: -1; } .see-pv { display: flex !important; } }
.see-pv { display: none; }
