/* Powdrr Editorial: Stone canvas, Ivory surfaces, Espresso type, one Peach accent, Instrument Serif and Montserrat. */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts-site/instrument-serif-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts-site/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts-site/montserrat-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts-site/montserrat-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts-site/montserrat-latin-600-normal.woff2) format('woff2'); }

:root {
  --stone: #C7B9AD; --ivory: #FAF8F5; --espresso: #2F2826; --peach: #E0A18A; --mocha: #B09C8E; --taupe: #8B7668;
  --hair: rgba(47, 40, 38, .15); --hair-strong: rgba(47, 40, 38, .3); --soft: rgba(47, 40, 38, .66);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px; --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--espresso); background: var(--ivory); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; line-height: 1.06; margin: 0 0 .35em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
h3 { font-size: 28px; }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; display: block; }
.muted { color: var(--soft); }
.small { font-size: 13px; }
.center { text-align: center; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; }
.stone { background: var(--stone); }
.hidden { display: none !important; }
.accent { color: var(--peach); }
hr.hair { border: 0; border-top: 1px solid var(--hair); margin: 24px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 15px 28px; font: 600 15px/1 var(--sans); letter-spacing: .01em; border: 1px solid var(--espresso); background: var(--espresso); color: var(--ivory); cursor: pointer; text-decoration: none; transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.peach { background: var(--peach); border-color: var(--peach); color: var(--espresso); }
.btn.ghost { background: transparent; color: var(--espresso); border-color: var(--hair-strong); }
.btn.ghost.light { color: var(--ivory); border-color: rgba(250, 248, 245, .5); }
.btn.small { padding: 10px 18px; font-size: 13px; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Cards and chips */
.card { background: var(--ivory); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; }
.card.white { background: #fff; }
.card.flat { background: transparent; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hair-strong); border-radius: 999px; padding: 8px 14px; font: 500 13px/1.2 var(--sans); background: transparent; color: var(--espresso); cursor: pointer; transition: all .25s var(--ease); }
.chip.on, .chip[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.chip.static { cursor: default; }
.tag { display: inline-block; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); border: 1px solid var(--hair); border-radius: 999px; padding: 6px 10px; }
.tag.peach { color: var(--espresso); background: rgba(224, 161, 138, .35); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Forms */
.field { display: block; margin-bottom: 18px; }
.field > span, .label { display: block; font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.field small { display: block; color: var(--soft); font-size: 12px; margin-top: 6px; }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=search], textarea, select {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--espresso); background: #fff; border: 1px solid var(--hair-strong); border-radius: 12px; padding: 13px 14px; transition: border .2s, box-shadow .2s; appearance: none; }
textarea { min-height: 110px; resize: vertical; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--espresso) 50%), linear-gradient(135deg, var(--espresso) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 3px rgba(224, 161, 138, .35); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--soft); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--espresso); width: 16px; height: 16px; flex: 0 0 auto; }
.error-text { color: #9A3B32; font-size: 14px; margin-top: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* Drop zones and photo tiles */
.drop { border: 1px dashed var(--hair-strong); border-radius: var(--radius); padding: 22px; text-align: center; cursor: pointer; transition: background .25s, border-color .25s; background: #fff; }
.drop:hover, .drop.over { background: rgba(199, 185, 173, .18); border-color: var(--espresso); }
.drop strong { display: block; font-weight: 600; margin-bottom: 4px; }
.drop .muted { font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 12px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--stone); border: 2px solid transparent; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.sel { border-color: var(--espresso); }
.tile .x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(47, 40, 38, .75); color: #fff; font-size: 14px; line-height: 24px; cursor: pointer; }
.tile.loading::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: shimmer 1.2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Line icons */
.ic { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; flex: 0 0 auto; vertical-align: -4px; }
.btn .ic { width: 16px; height: 16px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--espresso); color: var(--ivory); padding: 13px 20px; border-radius: 999px; font: 500 14px/1.3 var(--sans); opacity: 0; transition: all .35s var(--ease); z-index: 100; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Fades */
.fade { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.wordmark img { height: 22px; width: auto; }
.wordmark b { font: 600 14px/1 var(--sans); letter-spacing: .3em; }
.wordmark i { font: italic 400 20px/1 var(--serif); letter-spacing: 0; color: var(--taupe); margin-left: -4px; }

/* ---------- Landing ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 245, .88); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav .links a { text-decoration: none; color: var(--soft); white-space: nowrap; }
.nav .links a:hover { color: var(--espresso); }
.nav .links a.btn, .nav .links a.btn:hover { color: var(--ivory); }
@media (max-width: 760px) { .nav .links .hide-sm { display: none; } .nav .links { gap: 16px; } }
.hero { background: var(--stone); padding: 80px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 18px; max-width: 540px; color: rgba(47, 40, 38, .82); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 14px; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0 64px; } }
.stack { position: relative; min-height: 610px; }
.stack .card { position: absolute; box-shadow: 0 30px 60px -30px rgba(47, 40, 38, .35); background: var(--ivory); }
.kit { top: 0; left: 0; width: 78%; }
.kit .swatches { display: flex; gap: 10px; margin: 14px 0 18px; }
.kit .sw { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hair); }
.kit .type { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--hair); padding-top: 14px; }
.kit .type .aa { font: italic 400 46px/1 var(--serif); }
.fix { top: 292px; right: 0; width: 70%; }
.fix .num { font: italic 400 40px/1 var(--serif); color: var(--peach); float: left; margin-right: 14px; }
.chat { top: 440px; left: 6%; width: 82%; }
.bubble { background: var(--espresso); color: var(--ivory); border-radius: 18px 18px 4px 18px; padding: 12px 16px; font-size: 14px; margin-left: auto; width: fit-content; max-width: 90%; }
.answer { font-size: 14px; margin-top: 12px; }
.src { display: inline-block; margin-top: 8px; font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); border-top: 1px solid var(--hair); padding-top: 8px; }
@media (max-width: 920px) { .stack { min-height: 0; display: grid; gap: 14px; } .stack .card { position: relative; top: auto; left: auto; right: auto; width: 100%; } }
.proof { border-bottom: 1px solid var(--hair); padding: 26px 0; text-align: center; font-size: 14px; color: var(--soft); }
.proof strong { color: var(--espresso); font-weight: 600; }
section.block { padding: 96px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.steps .card { padding: 30px; }
.steps .n { font: italic 400 54px/1 var(--serif); color: var(--peach); margin-bottom: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.features > div { background: var(--ivory); padding: 30px; }
.features svg { width: 28px; height: 28px; stroke: var(--espresso); stroke-width: 1.5; fill: none; margin-bottom: 18px; }
.features h3 { font-size: 26px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.phone { width: 300px; max-width: 80%; margin: 0 auto; border-radius: 38px; padding: 10px; background: var(--espresso); box-shadow: 0 40px 80px -40px rgba(47, 40, 38, .6); }
.phone img { border-radius: 30px; }
.note { border-left: 2px solid var(--peach); padding: 4px 0 4px 16px; margin: 22px 0; font-size: 15px; }
.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.qa .card p:last-child { margin: 0; }
.qa .q { font: italic 400 24px/1.2 var(--serif); margin-bottom: 10px; }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; } }
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.pricing .card { padding: 34px; }
.pricing .price { font: italic 400 52px/1 var(--serif); margin: 6px 0 16px; }
.pricing ul, .ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.pricing li, .ticks li { padding: 9px 0 9px 28px; border-top: 1px solid var(--hair); position: relative; font-size: 15px; }
.pricing li::before, .ticks li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 10px; height: 6px; border-left: 1.5px solid var(--espresso); border-bottom: 1.5px solid var(--espresso); transform: rotate(-45deg); }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
details.faq { border-top: 1px solid var(--hair); padding: 20px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--hair); }
details.faq summary { cursor: pointer; list-style: none; font: italic 400 26px/1.2 var(--serif); display: flex; justify-content: space-between; gap: 20px; }
details.faq summary::after { content: '+'; font: 300 26px/1 var(--sans); color: var(--taupe); transition: transform .3s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 14px 0 0; color: var(--soft); max-width: 760px; }
footer.site { padding: 48px 0; border-top: 1px solid var(--hair); font-size: 13px; color: var(--soft); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site a { text-decoration: none; margin-left: 20px; }

/* ---------- Onboarding ---------- */
.onb { min-height: 100vh; background: var(--stone); padding: 0 16px 60px; }
.onb header { max-width: 680px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; height: 76px; }
.progress { display: flex; gap: 6px; }
.progress i { width: 34px; height: 3px; border-radius: 3px; background: rgba(47, 40, 38, .2); transition: background .4s; }
.progress i.on { background: var(--espresso); }
.onb .panel { max-width: 680px; margin: 0 auto; background: var(--ivory); border-radius: 22px; padding: 40px; box-shadow: 0 40px 80px -50px rgba(47, 40, 38, .5); }
@media (max-width: 600px) { .onb .panel { padding: 26px 20px; border-radius: 18px; } }
.onb h1 { font-size: clamp(36px, 6vw, 52px); }
.onb .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.onb-h2 { font-size: 34px; margin: 38px 0 2px; }
.onb-go { text-align: center; margin-top: 34px; }
.onb-go .btn { padding: 18px 36px; font-size: 16px; }
.onb-go p { margin: 12px 0 0; }
.vibes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vibe { text-align: left; border: 1px solid var(--hair-strong); border-radius: 14px; padding: 14px; background: #fff; cursor: pointer; font: inherit; color: inherit; transition: all .25s var(--ease); }
.vibe b { display: block; font: italic 400 22px/1.1 var(--serif); margin-bottom: 4px; }
.vibe span { font-size: 13px; color: var(--soft); }
.vibe.on { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.vibe .dots { display: flex; gap: 5px; margin-top: 10px; }
.vibe .dots i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--hair); }
.reading { text-align: center; padding: 30px 0 10px; }
.reading .mark { width: 180px; margin: 0 auto 24px; animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(.98); } 50% { opacity: 1; transform: scale(1); } }
.reading ol { list-style: none; padding: 0; margin: 26px auto 0; max-width: 360px; text-align: left; }
.reading li { padding: 10px 0 10px 30px; position: relative; color: rgba(47, 40, 38, .4); transition: color .5s; border-top: 1px solid var(--hair); font-size: 15px; }
.reading li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; }
.reading li.on { color: var(--espresso); }
.reading li.on::before { background: var(--peach); border-color: var(--peach); }

/* Brand kit (shared by onboarding results and the studio) */
.kitcard { border-radius: 18px; overflow: hidden; border: 1px solid var(--hair); background: #fff; }
.kitcard .hero-sample { padding: 34px 28px; text-align: center; }
.kitcard .hero-sample .t { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; margin-bottom: 10px; opacity: .8; }
.kitcard .hero-sample .h { font-size: 44px; line-height: 1.05; }
.kitcard .body { padding: 22px 24px; }
.palette { display: flex; gap: 10px; flex-wrap: wrap; }
.palette .sw { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--soft); }
.palette .sw i { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--hair); display: block; position: relative; overflow: hidden; }
.palette .sw input[type=color] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 18px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.kv .k { font: 600 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 4px; } }
.copyable { position: relative; white-space: pre-wrap; background: rgba(199, 185, 173, .15); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.fixes { counter-reset: fix; list-style: none; padding: 0; margin: 0; }
.fixes li { counter-increment: fix; display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; padding: 18px 0; border-top: 1px solid var(--hair); }
.fixes li::before { content: counter(fix); font: italic 400 38px/1 var(--serif); color: var(--peach); grid-row: span 3; }
.fixes b { font-weight: 600; }
.fixes .meta { font-size: 12px; color: var(--taupe); letter-spacing: .04em; }
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.week .card { padding: 18px; }
.week .day { font: 600 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.week .hook { font: italic 400 22px/1.15 var(--serif); margin: 10px 0 8px; }

/* ---------- Studio ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: linear-gradient(to right, var(--stone) 248px, var(--ivory) 248px); }
.app > div { min-width: 0; }
.side { background: var(--stone); padding: 24px 18px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: rgba(47, 40, 38, .78); font-size: 15px; font-weight: 500; transition: background .2s; }
.side nav a svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; flex: 0 0 auto; }
.side nav a:hover { background: rgba(250, 248, 245, .4); }
.side nav a.on { background: var(--ivory); color: var(--espresso); }
.side .foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.credits-pill { display: flex; justify-content: space-between; align-items: center; background: rgba(250, 248, 245, .55); border-radius: 12px; padding: 12px 14px; font-size: 14px; text-decoration: none; color: var(--espresso); }
.credits-pill b { font: italic 400 26px/1 var(--serif); }
main.view { padding: 40px clamp(18px, 4vw, 56px) 120px; max-width: 1100px; width: 100%; }
.view-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.view-head h1 { font-size: clamp(40px, 5vw, 60px); margin: 0; }
.cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.cols > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; } }
.tabbar { display: none; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; background: var(--ivory); }
  .side { display: none; }
  .topbar { display: flex !important; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; background: rgba(250, 248, 245, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--hair); z-index: 30; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 500; text-decoration: none; color: rgba(47, 40, 38, .6); padding: 6px 0; }
  .tabbar a svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }
  .tabbar a.on { color: var(--espresso); }
  main.view { padding-top: 20px; }
}
.topbar { display: none; position: sticky; top: 0; z-index: 25; background: var(--stone); height: 60px; padding: 0 16px; align-items: center; justify-content: space-between; }
.streak { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.streak .flame { width: 20px; height: 20px; stroke: var(--peach); stroke-width: 1.6; fill: none; }
.today-post .hook { font: italic 400 34px/1.1 var(--serif); margin: 10px 0 14px; }
.lesson .src, .sources { font: 600 10px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.sources { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair); }
.banner { background: var(--espresso); color: var(--ivory); border-radius: var(--radius); padding: 22px 24px; }
.banner .eyebrow { color: rgba(250, 248, 245, .65); }
.checkin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.checkin label { font-size: 12px; color: var(--soft); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; font-size: 10px; color: var(--soft); }
.bars .bar i { display: block; width: 100%; background: rgba(47, 40, 38, .12); border-radius: 4px 4px 0 0; position: relative; }
.bars .bar i b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--peach); border-radius: 4px 4px 0 0; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.tool { text-align: left; padding: 20px; border-radius: var(--radius); border: 1px solid var(--hair); background: #fff; cursor: pointer; font: inherit; color: inherit; transition: all .25s var(--ease); }
.tool:hover { border-color: var(--espresso); transform: translateY(-1px); }
.tool.on { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.tool b { display: block; font: italic 400 24px/1.1 var(--serif); margin: 12px 0 6px; }
.tool span { font-size: 13px; color: var(--soft); }
.tool svg { width: 24px; height: 24px; stroke: var(--espresso); stroke-width: 1.5; fill: none; }
.output { white-space: pre-wrap; font-size: 15.5px; line-height: 1.65; }
.out-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
.out-group { padding: 18px 0 4px; border-top: 1px solid var(--hair); }
.out-group:first-child { border-top: 0; padding-top: 0; }
.out-h { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0 0 12px; }
.shot-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.out-check { margin: 8px 0 16px; padding-left: 20px; }
.out-check li { padding: 2px 0; }
.placeholder-mark { background: rgba(224, 161, 138, .35); border-radius: 4px; padding: 0 3px; }
.thread { display: flex; flex-direction: column; gap: 18px; padding-bottom: 20px; }
.msg.user { align-self: flex-end; background: var(--espresso); color: var(--ivory); border-radius: 18px 18px 4px 18px; padding: 12px 16px; max-width: 80%; white-space: pre-wrap; }
.msg.ai { align-self: flex-start; max-width: 92%; white-space: pre-wrap; font-size: 15.5px; line-height: 1.7; }
.msg.ai .saved { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.composer { position: sticky; bottom: 0; background: linear-gradient(to top, var(--ivory) 70%, rgba(250, 248, 245, 0)); padding: 18px 0 10px; }
@media (max-width: 860px) { .composer { bottom: 64px; } }
.composer form { display: flex; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--hair-strong); border-radius: 18px; padding: 8px 8px 8px 16px; }
.composer textarea { border: 0; min-height: 26px; max-height: 200px; padding: 8px 0; box-shadow: none !important; resize: none; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--taupe); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.reel { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--hair); background: #fff; }
.reel .media { aspect-ratio: 9/16; background: var(--stone); position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.reel .media video, .reel .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel .info { padding: 14px 16px; font-size: 13px; }
.facts .cat { margin-top: 26px; }
.fact { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.fact .l { font: 600 11px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.fact .v { font-size: 15px; }
.fact .acts { display: flex; gap: 6px; }
.iconbtn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--espresso); }
.iconbtn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.empty { text-align: center; padding: 40px 20px; color: var(--soft); }
.pack { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hair); }
.pack b { font: italic 400 30px/1 var(--serif); }
.demo-flag { background: rgba(224, 161, 138, .3); border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 20px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(250, 248, 245, .35); border-top-color: currentColor; animation: spin .8s linear infinite; display: inline-block; }
.btn.ghost .spinner { border-color: var(--hair); border-top-color: var(--espresso); }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.legal h1 { font-size: 52px; }
.legal h2 { font-size: 30px; margin-top: 36px; }
.legal ul { margin: 10px 0 16px; padding-left: 22px; }
.legal li { margin: 7px 0; line-height: 1.6; }
.legal li::marker { color: var(--peach); }

/* ---------- Home: one box for everything ---------- */
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ring { to { --spin: 360deg; } }
.cmd { position: relative; display: flex; align-items: center; gap: 8px; max-width: 840px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 26px; margin: 0 0 14px; box-shadow: 0 0 44px -12px rgba(224, 161, 138, .65), 0 18px 40px -26px rgba(47, 40, 38, .5); transition: box-shadow .3s var(--ease); }
.cmd::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--spin, 0deg), #E0A18A, #FAF8F5, #B09C8E, #E0A18A, #FFE3D6, #E0A18A); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ring 6s linear infinite; pointer-events: none; }
.cmd:focus-within { box-shadow: 0 0 0 6px rgba(47, 40, 38, .12), 0 0 54px -10px rgba(224, 161, 138, .85), 0 18px 40px -26px rgba(47, 40, 38, .5); }
.cmd input { flex: 1; min-width: 0; width: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none !important; padding: 15px 0; font: 500 18px/1.2 var(--sans); }
.cmd input::placeholder { color: rgba(47, 40, 38, .45); }
.cmd-go { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--espresso); color: var(--ivory); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s var(--ease); }
.cmd-go:hover { transform: scale(1.06); }
.cmd-go svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 840px; margin-bottom: 36px; }
.quick-btn { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--hair); background: #fff; font: 600 14.5px/1.25 var(--sans); color: var(--espresso); cursor: pointer; text-align: left; transition: border-color .2s, transform .2s var(--ease); }
.quick-btn:hover { border-color: var(--espresso); transform: translateY(-1px); }
.quick-btn svg { width: 22px; height: 22px; flex: 0 0 auto; stroke: var(--espresso); stroke-width: 1.5; fill: none; }
.cmd-go:focus-visible, .quick-btn:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
@media (max-width: 760px) {
  .quick { grid-template-columns: 1fr 1fr; margin-bottom: 28px; }
  .cmd { padding-left: 20px; }
  .cmd input { font-size: 16px; }
  .cmd-go { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .cmd::before { animation: none; } }

/* Create: one row of choices, the form straight underneath */
.tpills { display: flex; flex-wrap: wrap; gap: 8px; }
.tpill { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 1px solid var(--hair-strong); background: #fff; font: 600 14px/1 var(--sans); color: var(--espresso); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tpill svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; flex: 0 0 auto; }
.tpill:hover { border-color: var(--espresso); }
.tpill.on { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.tpill:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }

/* Carousel results: swipe through the slides, tap one to save it */
.cstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 44%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 4px -4px 0; padding-left: 4px; }
.cslide { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--stone); display: block; box-shadow: 0 10px 24px -18px rgba(47, 40, 38, .6); }
.cslide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-n { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--espresso); color: var(--ivory); font: 600 12px/24px var(--sans); text-align: center; }
.vtile .vplay { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(47, 40, 38, .72); display: flex; align-items: center; justify-content: center; }
.vtile .vplay svg { width: 15px; height: 15px; stroke: #fff; stroke-width: 1.6; fill: none; }

/* The free analysis: her screenshot being read, a checklist, then each finding with an example of what good looks like */
:root { --st-fix: #A8473B; --st-fix-tint: rgba(168, 71, 59, .12); --st-imp: #B7832A; --st-imp-ink: #85601C; --st-imp-tint: rgba(183, 131, 42, .14); --st-good: #5F7F5C; --st-good-ink: #4A6847; --st-good-tint: rgba(95, 127, 92, .14); }
.anl-top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; }
.anl-shot { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--stone); box-shadow: 0 18px 36px -24px rgba(47, 40, 38, .7); }
.anl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.anl-shot.empty img { object-fit: contain; padding: 22px; }
.anl-scan { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, rgba(224, 161, 138, 0), rgba(224, 161, 138, .34) 82%, rgba(255, 250, 246, .95) 100%); transform: translateY(-100%); animation: anlScan 2.6s cubic-bezier(.45, 0, .35, 1) infinite; pointer-events: none; }
@keyframes anlScan { to { transform: translateY(300%); } }
@keyframes pulse { to { box-shadow: 0 0 0 9px rgba(224, 161, 138, 0); } }
.anl-kicker { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font: 600 13px/1.2 var(--sans); color: var(--taupe); }
.anl-kicker.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); animation: pulse 1.4s ease-out infinite; box-shadow: 0 0 0 0 rgba(224, 161, 138, .7); }
.anl-name { font: italic 400 30px/1.08 var(--serif); margin: 6px 0 14px; overflow-wrap: anywhere; }
.anl-checks { list-style: none; margin: 0; padding: 0; }
.anl-checks li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--hair); font: 500 14px/1.3 var(--sans); color: rgba(47, 40, 38, .42); transition: color .4s; }
.anl-checks li i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; flex: 0 0 auto; transition: background .4s, border-color .4s; }
.anl-checks li[data-s] { color: var(--espresso); }
.anl-checks li[data-s="now"] i { border-color: var(--peach); background: var(--peach); animation: pulse 1.4s ease-out infinite; }
.anl-checks li[data-s="fix"] i { background: var(--st-fix); border-color: var(--st-fix); }
.anl-checks li[data-s="improve"] i { background: var(--st-imp); border-color: var(--st-imp); }
.anl-checks li[data-s="good"] i { background: var(--st-good); border-color: var(--st-good); }
.anl-checks li[data-s="ok"] i { background: var(--mocha); border-color: var(--mocha); }
.anl-checks li[tabindex] { cursor: pointer; }
.anl-checks li[tabindex]:hover span, .anl-checks li[tabindex]:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.anl-checks li:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; border-radius: 4px; }
.anl-note { font-size: 14px; margin: 16px 0 0; }
.anl-dial { position: relative; width: 112px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; }
.anl-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.anl-dial circle { fill: none; stroke-width: 9; }
.anl-dial .track { stroke: rgba(47, 40, 38, .1); }
.anl-dial .val { stroke: var(--dial, var(--st-imp)); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.4s var(--ease); }
.anl-dial[data-s="fix"] { --dial: var(--st-fix); }
.anl-dial[data-s="good"] { --dial: var(--st-good); }
.anl-dial b { font: italic 400 44px/1 var(--serif); }
.anl-dial span { font: 600 10.5px/1 var(--sans); color: var(--taupe); margin-top: 4px; }
.anl-verdict h1 { font-size: clamp(30px, 5.4vw, 44px); margin: 26px 0 12px; }
.anl-verdict p { margin: 0 0 14px; font-size: 16px; }
.anl-first { background: rgba(224, 161, 138, .2); border-radius: 14px; padding: 14px 16px; }
.anl-first b { display: block; font: 600 13px/1.3 var(--sans); margin-bottom: 2px; }
.anl-card { margin-top: 22px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 18px 18px 8px; }
.anl-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.anl-card-h h2 { font-size: 26px; margin: 0; }
.anl-card-h p { margin: 0; font-size: 14px; color: var(--soft); }
.anl-card-h b { color: var(--ink); font-size: 16px; }
.anl-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .anl-card ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; } }
.anl-card li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); }
.anl-card li > i { width: 20px; height: 20px; border-radius: 50%; margin-top: 1px; display: grid; place-items: center; background: var(--c, #cfc6bf); }
.anl-card li > i::before { content: ''; width: 9px; height: 9px; background: #fff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.anl-card li[data-c="yes"] { --c: var(--st-good); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2 4 7.6 8.6 2.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.anl-card li[data-c="no"] { --c: var(--st-fix); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.4 2.4 7.6 7.6M7.6 2.4 2.4 7.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.anl-card li[data-c="partly"] { --c: var(--st-imp); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5h6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.anl-card li[data-c="unknown"] { opacity: .62; }
.anl-card li b { display: block; font-size: 14.5px; font-weight: 600; }
.anl-card li span { display: block; font-size: 13.5px; color: var(--soft); line-height: 1.4; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anl-list { display: grid; gap: 14px; margin-top: 24px; }
.fnd { background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 20px 20px 18px; scroll-margin-top: 90px; }
.fnd.arrive { animation: fndIn .7s var(--ease) both; }
@keyframes fndIn { from { opacity: 0; transform: translateY(12px); } }
.fnd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 12.5px/1 var(--sans); }
.fnd-s { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px; background: var(--st-imp-tint); color: var(--st-imp-ink); }
.fnd-s i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-imp); }
[data-s="fix"] .fnd-s { background: var(--st-fix-tint); color: var(--st-fix); }
[data-s="fix"] .fnd-s i { background: var(--st-fix); }
[data-s="good"] .fnd-s { background: var(--st-good-tint); color: var(--st-good-ink); }
[data-s="good"] .fnd-s i { background: var(--st-good); }
.fnd-area { color: var(--taupe); }
.fnd h3 { font-size: 27px; line-height: 1.1; margin: 0 0 10px; }
.fnd-seen { margin: 0 0 6px; padding-left: 12px; border-left: 2px solid var(--hair-strong); font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.fnd-row { margin-top: 12px; }
.fnd-row b, .fnd-teach b { font: 600 13px/1.3 var(--sans); }
.fnd-row p { margin: 2px 0 0; font-size: 15px; line-height: 1.55; }
.fnd-effort { color: var(--taupe); }
.fnd-eg { margin-top: 16px; background: #F6F1EC; border-radius: 14px; padding: 14px; }
.fnd-eg-h { margin: 0 0 10px; font: 500 13px/1.3 var(--sans); color: var(--soft); }
.fnd-eg-h b { color: var(--espresso); font-weight: 600; }
.fnd-ba { display: grid; gap: 8px; }
.fnd-ba > div { border-radius: 11px; padding: 11px 13px; }
.fnd-ba span { font: 600 11.5px/1 var(--sans); color: var(--taupe); }
.fnd-ba p { margin: 5px 0 0; white-space: pre-line; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.fnd-ba .was { background: rgba(47, 40, 38, .05); color: var(--soft); }
.fnd-ba .better { background: #fff; box-shadow: inset 0 0 0 1px var(--hair); }
.fnd-ba .better span { color: var(--st-good-ink); }
.fnd-ba .better .link { margin-top: 8px; }
.fnd-teach { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--soft); }
.fnd-teach b { color: var(--espresso); }
.fnd-src { display: inline-block; margin: 6px 0 0 6px; font: 600 11.5px/1.3 var(--sans); color: var(--espresso); background: rgba(224, 161, 138, .28); border-radius: 999px; padding: 4px 9px; }
@media (min-width: 620px) { .fnd-ba:has(.was) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 600px) {
  .anl-top { grid-template-columns: 92px minmax(0, 1fr); gap: 16px; }
  .anl-dial { width: 92px; }
  .anl-dial b { font-size: 36px; }
  .anl-name { font-size: 25px; margin-bottom: 10px; }
  .anl-checks li { font-size: 13.5px; padding: 6px 0; }
  .fnd { padding: 16px 16px 15px; border-radius: 16px; }
  .fnd h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .anl-scan { animation: anlFade 2.6s ease-in-out infinite; transform: none; height: 100%; background: rgba(224, 161, 138, .16); }
  .fnd.arrive { animation-name: fndFade; }
}
@keyframes anlFade { 50% { opacity: .25; } }
@keyframes fndFade { from { opacity: 0; } }

/* Ask Powdrr: her own Claude for PMU. Pieces to copy, cards for what it made, files she attached */
.ask-intro h2 { font-size: 32px; margin: 0 0 6px; }
.msg.ai { white-space: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: 100%; min-width: 0; }
.msg.ai > *, .msg.ai .seg > * { min-width: 0; }
.thread { min-width: 0; }
.msg.ai .ans { white-space: pre-line; }
.msg.ai .seg { display: grid; gap: 12px; }
.piece { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 14px 16px 16px; box-shadow: 0 10px 24px -20px rgba(47, 40, 38, .45); }
.piece.writing { border-style: dashed; }
.piece-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.piece-h b { font: 600 13px/1.3 var(--sans); color: var(--taupe); }
.piece-h .btn { padding: 8px 12px; font-size: 13px; }
.piece-b { white-space: pre-line; font-size: 15.5px; line-height: 1.6; }
.chat-card { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 16px; }
.cc-h { display: block; margin-bottom: 10px; font: 600 13px/1.3 var(--sans); color: var(--taupe); }
.done-line { display: flex; align-items: center; gap: 8px; font: 500 14px/1.4 var(--sans); color: var(--soft); }
.done-line svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--st-good-tint); stroke: var(--st-good-ink); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.done-line a { color: var(--espresso); }
.chat-carousel .card { margin: 0; }
.offer { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; }
.offer-pic { width: 92px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--stone); }
.offer-pic.tall { aspect-ratio: 9 / 16; }
.offer b { display: block; font-weight: 600; margin-bottom: 4px; }
.offer p { margin: 0 0 12px; }
.chat-reel { max-width: 260px; }
.ask-status { display: flex; align-items: center; gap: 10px; font: 500 14px/1.3 var(--sans); color: var(--soft); min-height: 24px; }
.ask-status .spinner { width: 16px; height: 16px; }
.msg-files { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.msg-files img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: rgba(250, 248, 245, .2); }
.tray { display: flex; gap: 8px; flex-wrap: wrap; }
.tray:not(:empty) { margin-bottom: 8px; }
.tray-item { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--stone); display: grid; place-items: center; }
.tray-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tray-item.loading img { opacity: .5; }
.tray-item .x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(47, 40, 38, .75); color: #fff; font: 600 14px/22px var(--sans); cursor: pointer; padding: 0; }
.tray-item .spinner { position: relative; }
.composer { z-index: 5; }
.composer textarea { flex: 1; min-width: 0; }
.composer .attach { flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin-left: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--espresso); cursor: pointer; }
.composer .attach:hover { background: rgba(199, 185, 173, .25); }
.composer .attach svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.composer .attach:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }

/* ---------- Chat first studio: side panel with chats, new chat screen, buttons in answers, quick tour ---------- */
.side { overflow: hidden; gap: 18px; }
.newchat { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--espresso); color: var(--ivory); text-decoration: none; font: 600 14px/1 var(--sans); letter-spacing: .01em; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.newchat:hover { transform: translateY(-1px); opacity: .94; }
.newchat .ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.newchat:focus-visible, .chat-link:focus-visible, .side nav a:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.chats-h { font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(47, 40, 38, .55); padding: 4px 12px 0; margin-bottom: -10px; }
.chats { flex: 1 1 auto; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; gap: 1px; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.chat-link { display: block; padding: 8px 12px; border-radius: 10px; color: rgba(47, 40, 38, .8); text-decoration: none; font-size: 14px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; }
.chat-link:hover { background: rgba(250, 248, 245, .4); }
.chat-link.on { background: var(--ivory); color: var(--espresso); font-weight: 500; }
.chats-empty { font-size: 13px; color: rgba(47, 40, 38, .55); padding: 6px 12px; margin: 0; }
.side .foot { margin-top: 0; }
.scrim { display: none; }
.topbar .menu { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border: 0; border-radius: 12px; background: transparent; color: var(--espresso); cursor: pointer; }
.topbar .menu .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; }
.topbar .wordmark { margin-right: auto; margin-left: 6px; }
@media (max-width: 860px) {
  .side { display: flex; position: fixed; top: 0; bottom: 0; left: 0; width: min(84vw, 320px); height: 100dvh; z-index: 60; transform: translateX(-104%); transition: transform .3s var(--ease); box-shadow: 0 0 60px rgba(47, 40, 38, .28); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  body.drawer .side { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(47, 40, 38, .38); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
  body.drawer .scrim { opacity: 1; pointer-events: auto; }
  body.drawer { overflow: hidden; }
}

/* The new chat screen: a greeting, the message box in the middle, ideas, then today's plan. */
.chatpane { max-width: 820px; margin: 0 auto; }
.chatpane.is-new { padding-top: clamp(8px, 7vh, 72px); }
.hello { text-align: center; margin-bottom: 26px; }
.hello h1 { font-size: clamp(46px, 7vw, 76px); margin: 0; }
.hello p { margin: 6px 0 0; color: var(--soft); font-size: 17px; }
.chatpane.is-new .composer { position: relative; bottom: auto; background: none; padding: 0; z-index: 2; }
.chatpane.is-new .composer form { border-radius: 26px; padding: 10px 10px 10px 18px; border-color: transparent; box-shadow: 0 0 44px -12px rgba(224, 161, 138, .65), 0 18px 40px -26px rgba(47, 40, 38, .5); position: relative; }
.chatpane.is-new .composer form::before { content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--spin, 0deg), #E0A18A, #FAF8F5, #B09C8E, #E0A18A, #FFE3D6, #E0A18A); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ring 6s linear infinite; pointer-events: none; }
.chatpane.is-new .composer textarea { font-size: 17px; }
.composer .send { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--espresso); color: var(--ivory); cursor: pointer; transition: opacity .2s, transform .2s var(--ease); }
.composer .send:hover { transform: translateY(-1px); }
.composer .send:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.composer .send .ic { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.composer .send:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.composer-note { font-size: 12px; color: var(--soft); margin: 8px 6px 0; }
.chatpane.is-new .composer-note { text-align: center; }
.ideas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 700px; }
@media (max-width: 640px) {
  .ideas { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 16px -18px 0; padding: 2px 18px 6px; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
  .ideas::-webkit-scrollbar { display: none; }
  .ideas .chip { flex: none; }
}
.ideas .chip { background: rgba(255, 255, 255, .6); padding: 9px 15px; }
.ideas .chip:hover { background: #fff; border-color: var(--espresso); }
.chatpane.is-new .thread { padding: 0; }
.today-strip { margin-top: clamp(40px, 7vh, 72px); }
.strip-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 30px; margin: 0 0 14px; }
.strip-h .streak { font-family: var(--sans); font-style: normal; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 760px) { .strip { grid-template-columns: minmax(0, 1fr); } }
.strip .today-post .hook { font-size: 28px; }
.copyable.clamp { max-height: 9.5em; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.card.skel { display: grid; gap: 10px; min-height: 150px; }
.card.skel i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(199, 185, 173, .25), rgba(199, 185, 173, .45), rgba(199, 185, 173, .25)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.card.skel i:first-child { width: 40%; } .card.skel i:nth-child(2) { width: 85%; height: 22px; } .card.skel i:last-child { width: 65%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* A saved chat: its name with rename and delete. */
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.chat-head h2, .chat-head input { font-size: clamp(26px, 3.4vw, 34px); margin: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-head input { font: italic 400 clamp(26px, 3.4vw, 34px)/1.1 var(--serif); flex: 1; padding: 4px 10px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--espresso); cursor: pointer; flex: none; }
.icon-btn:hover { background: rgba(199, 185, 173, .2); }
.icon-btn .ic { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.6; fill: currentColor; }
.pop-wrap { position: relative; }
.pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 6px; min-width: 180px; box-shadow: 0 18px 40px -18px rgba(47, 40, 38, .35); display: grid; }
.pop[hidden] { display: none; }
.pop button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font: 500 14px/1 var(--sans); color: var(--espresso); cursor: pointer; text-align: left; }
.pop button:hover, .pop button:focus-visible { background: rgba(199, 185, 173, .2); outline: none; }
.pop button .ic { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.pop .danger { color: #9b3b2e; }
.confirm-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: rgba(224, 161, 138, .18); border-radius: 14px; padding: 12px 14px; margin: -8px 0 18px; font-size: 14px; }
.confirm-bar span { flex: 1 1 200px; }

/* Buttons inside Powdrr's answers. */
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--espresso); background: #fff; color: var(--espresso); font: 600 14px/1.2 var(--sans); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.choice:hover:not(:disabled) { background: var(--espresso); color: var(--ivory); transform: translateY(-1px); }
.choice .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.choice:disabled { cursor: default; }
.choices.used .choice { opacity: .45; border-color: var(--hair-strong); }
.choices.used .choice.picked { opacity: 1; background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.choice:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.can { display: grid; gap: 10px; }
.can-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 12px 14px; white-space: normal; }
.can-row b { display: block; font-size: 15px; }
.can-row div > span { display: block; font-size: 14px; color: var(--soft); line-height: 1.5; }
.can-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(224, 161, 138, .22); display: grid; place-items: center; }
.can-ic .ic { width: 20px; height: 20px; stroke: var(--espresso); stroke-width: 1.6; fill: none; }

/* The quick tour. */
.tour-ring { position: fixed; z-index: 90; border-radius: 18px; box-shadow: 0 0 0 3px var(--peach), 0 0 0 9999px rgba(47, 40, 38, .45); pointer-events: none; transition: all .35s var(--ease); }
.tour-card { position: fixed; z-index: 91; background: var(--ivory); border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 24px 60px -20px rgba(47, 40, 38, .55); animation: tour-in .3s var(--ease); }
.tour-card b { display: block; font: italic 400 26px/1.1 var(--serif); margin: 6px 0 6px; }
.tour-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: rgba(47, 40, 38, .82); }
.tour-n { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.tour-act { display: flex; justify-content: space-between; align-items: center; }
@keyframes tour-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  .chatpane.is-new .composer form::before, .card.skel i { animation: none; }
  .tour-ring { transition: none; } .tour-card { animation: none; }
}

/* ---------- The analysis as cards: score first, then one thing at a time ---------- */
.deck { max-width: 640px; margin: 0 auto; outline: none; }
.deck:focus-visible { outline: 2px solid var(--espresso); outline-offset: 8px; border-radius: 28px; }
.dk-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dk-bars { flex: 1; display: flex; gap: 4px; }
.dk-bars i { flex: 1; height: 4px; border-radius: 2px; background: rgba(47, 40, 38, .12); overflow: hidden; position: relative; }
.dk-bars i.done { background: var(--espresso); }
.dk-bars i.now::after { content: ''; position: absolute; inset: 0; background: var(--peach); transform-origin: left; animation: dk-bar .5s var(--ease) both; }
@keyframes dk-bar { from { transform: scaleX(0); } }
.dk-count { font: 600 12px/1 var(--sans); color: var(--taupe); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dk-stage { position: relative; touch-action: pan-y; }
.dk-card { background: #fff; border: 1px solid var(--hair); border-radius: 26px; padding: clamp(22px, 4vw, 34px); box-shadow: 0 30px 60px -40px rgba(47, 40, 38, .45); user-select: none; -webkit-user-select: none; }
.dk-card.in-right { animation: dk-in-r .38s var(--ease) both; }
.dk-card.in-left { animation: dk-in-l .38s var(--ease) both; }
@keyframes dk-in-r { from { opacity: 0; transform: translateX(36px) rotate(1.2deg); } }
@keyframes dk-in-l { from { opacity: 0; transform: translateX(-36px) rotate(-1.2deg); } }
.dk-card h2 { font-size: clamp(30px, 4.6vw, 40px); margin: 0 0 12px; }
.dk-kicker { font: 600 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 0 0 8px; }
.dk-verdict { color: var(--soft); font-size: 16px; line-height: 1.6; margin: 0 0 16px; }
.dk-score { text-align: center; display: grid; justify-items: center; }
.dk-score .anl-dial { width: 148px; margin-bottom: 16px; }
.dk-score .anl-dial b { font-size: 58px; }
.dk-tally { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 2px 0 16px; }
.dk-tally span { font-size: 13.5px; padding: 8px 13px; border-radius: 999px; background: rgba(47, 40, 38, .05); }
.dk-tally span[data-s="good"] { background: var(--st-good-tint); color: var(--st-good-ink); }
.dk-tally span[data-s="fix"] { background: var(--st-fix-tint); color: var(--st-fix); }
.dk-hint { margin: 0; font-size: 14px; color: var(--soft); max-width: 44ch; }
.dk-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font: 600 12px/1 var(--sans); }
.dk-top .fnd-area { color: var(--taupe); letter-spacing: .04em; }
.dk-seen { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--soft); }
.dk-ba { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0 0 16px; }
.dk-ba.one { grid-template-columns: minmax(0, 1fr); }
.dk-ba > div { border-radius: 16px; padding: 14px 15px; }
.dk-ba span { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dk-ba p { margin: 9px 0 0; white-space: pre-line; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
.dk-ba .was { background: rgba(47, 40, 38, .05); color: var(--soft); }
.dk-ba .was span { color: var(--taupe); }
.dk-ba .better { background: linear-gradient(160deg, #FFF7F2, #fff 60%); box-shadow: inset 0 0 0 1.5px rgba(224, 161, 138, .6); color: var(--espresso); }
.dk-ba .better span { color: #B4664D; }
@media (max-width: 480px) { .dk-ba { gap: 7px; } .dk-ba > div { padding: 12px; } .dk-ba p { font-size: 13.5px; } }
.dk-why { font-size: 14.5px; line-height: 1.55; margin: 0 0 18px; color: rgba(47, 40, 38, .85); }
.dk-why b { color: var(--espresso); }
.dk-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dk-effort { font: 600 12.5px/1 var(--sans); color: var(--taupe); }
.dk-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; }
.dk-nav .dk-next { min-width: 140px; }
.dk-nav .dk-back:disabled { visibility: hidden; }
.dk-kit .kit { margin-top: 6px; }
.dk-end { text-align: center; display: grid; justify-items: center; gap: 4px; }
.dk-plan { text-align: left; margin: 6px 0 22px; padding: 0; list-style: none; counter-reset: plan; display: grid; gap: 10px; width: 100%; max-width: 440px; }
.dk-plan li { counter-increment: plan; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; background: rgba(47, 40, 38, .04); border-radius: 14px; padding: 12px 14px; font-weight: 500; }
.dk-plan li::before { content: counter(plan); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--ivory); font: italic 400 19px/1 var(--serif); }
.dk-end .btn { margin-bottom: 10px; }
.dk-end .small { max-width: 42ch; margin: 4px 0 0; }
/* While it works: each thing found arrives as one line. */
.dk-found-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.dk-found { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: center; background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.dk-found i { width: 10px; height: 10px; border-radius: 50%; background: var(--st-imp); }
.dk-found[data-s="fix"] i { background: var(--st-fix); }
.dk-found[data-s="good"] i { background: var(--st-good); }
.dk-found.arrive { animation: dk-in-r .4s var(--ease) both; }
.brand-anl { margin-bottom: 28px; }
@media (prefers-reduced-motion: reduce) { .dk-card.in-right, .dk-card.in-left, .dk-found.arrive, .dk-bars i.now::after { animation: none; } }
.score-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 14px 18px 14px 14px; text-decoration: none; color: var(--espresso); max-width: 460px; white-space: normal; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.score-card:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -24px rgba(47, 40, 38, .45); }
.score-card .ring { --dial: var(--st-imp); flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--dial) calc(var(--p) * 1%), rgba(47, 40, 38, .1) 0); position: relative; }
.score-card .ring::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.score-card .ring b { position: relative; font: italic 400 28px/1 var(--serif); }
.score-card[data-s="fix"] .ring { --dial: var(--st-fix); }
.score-card[data-s="good"] .ring { --dial: var(--st-good); }
.sc-t b { display: block; font-size: 15px; margin-bottom: 2px; }
.sc-t span { display: block; font-size: 13.5px; color: var(--soft); line-height: 1.45; }
/* In setup the cards sit straight on the page rather than inside another panel. */
.onb .panel:has(.deck) { background: none; box-shadow: none; padding: 8px 0 0; }
.onb .panel:has(.deck) .dk-count { color: rgba(47, 40, 38, .7); }
.onb .panel:has(.deck) .dk-bars i { background: rgba(47, 40, 38, .16); }
.onb .panel:has(.deck) .dk-bars i.done { background: var(--espresso); }
@media (max-width: 640px) {
  .dk-score .anl-dial { width: 118px; margin-bottom: 10px; }
  .dk-score .anl-dial b { font-size: 46px; }
  .dk-card h2 { font-size: 30px; }
  .dk-verdict { font-size: 15px; margin-bottom: 12px; }
  .dk-tally span { font-size: 12.5px; padding: 7px 11px; }
  /* Next is always in reach of her thumb. */
  .dk-nav { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 4; background: rgba(250, 248, 245, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; padding: 6px; margin: 14px -6px 0; box-shadow: 0 10px 30px -18px rgba(47, 40, 38, .5); }
  .studio-deck .dk-nav, .app .dk-nav { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .dk-nav .dk-next { flex: 1; }
}
.dk-nav [hidden] { display: none; }
/* Business brain: how it learns, remembers, creates and answers. */
.brain-count { font-size: 17px; max-width: 640px; margin: -10px 0 22px; color: var(--soft); }
.brain-how { margin-bottom: 24px; }
.brain-how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: bh; }
.brain-how li { counter-increment: bh; position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; }
.brain-how li::after { content: counter(bh); position: absolute; top: 16px; right: 18px; font: italic 400 22px/1 var(--serif); color: rgba(47, 40, 38, .3); }
.brain-how li b { font: italic 400 25px/1.1 var(--serif); margin-top: 6px; }
.brain-how li > span:last-child { font-size: 14px; line-height: 1.5; color: var(--soft); }
.bh-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(224, 161, 138, .22); display: grid; place-items: center; }
.bh-ic .ic { width: 21px; height: 21px; stroke: var(--espresso); stroke-width: 1.6; fill: none; }
@media (max-width: 1000px) { .brain-how ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .brain-how ol { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .brain-how li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 14px 16px; }
  .brain-how li .bh-ic { grid-row: span 2; }
  .brain-how li b { margin-top: 0; font-size: 22px; }
}
.rate { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; margin-top: -4px; }
.rate-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: rgba(47, 40, 38, .45); cursor: pointer; transition: background .2s, color .2s; }
.rate-btn:hover { background: rgba(199, 185, 173, .22); color: var(--espresso); }
.rate-btn .ic { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.rate-btn[aria-pressed="true"] { color: var(--espresso); }
.rate-btn[aria-pressed="true"] .ic { fill: rgba(224, 161, 138, .55); }
.rate-btn:focus-visible { outline: 2px solid var(--espresso); outline-offset: 1px; }
.rate-note { display: flex; gap: 8px; align-items: center; flex: 1 1 260px; margin-left: 6px; }
.rate-note input { flex: 1; min-width: 0; padding: 8px 12px; font-size: 14px; }

/* ---------- Reels: photos in, labels from Powdrr, a voice, done ---------- */
.rl-lede { margin: -12px 0 22px; color: var(--soft); font-size: 16px; max-width: 620px; }
.rl-form { display: grid; gap: 22px; }
.rl-step { display: grid; gap: 12px; }
.rl-step h2 { display: flex; align-items: center; gap: 12px; font-size: 28px; margin: 0; }
.rl-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--espresso); color: var(--ivory); font: italic 400 17px/1 var(--serif); flex: none; }
.rl-sub { margin: 4px 0 -4px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.rl-chosen { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.rl-chosen[hidden] { display: none; }
.rl-pick { position: relative; display: grid; gap: 6px; align-content: start; }
.rl-pick img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: var(--stone); }
.rl-pick .x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(47, 40, 38, .75); color: #fff; font: 600 15px/26px var(--sans); cursor: pointer; padding: 0; }
.rl-kind { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--hair-strong); background: #fff; color: var(--espresso); font: 600 13px/1 var(--sans); cursor: pointer; }
.rl-kind .spinner { width: 14px; height: 14px; border-color: var(--hair); border-top-color: var(--espresso); }
.rl-kind.on { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }
.rl-kind.day { background: rgba(224, 161, 138, .3); border-color: transparent; }
.rl-kind .ic { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.rl-pick.video .rl-kind { pointer-events: none; }
.rl-note { font-size: 12.5px; line-height: 1.35; color: var(--soft); }
.rl-status { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin: 0; font-size: 14px; color: var(--soft); min-height: 1em; }
.rl-status .spinner { width: 14px; height: 14px; border-color: var(--hair); border-top-color: var(--espresso); }
.rl-status:empty { display: none; }
.rl-lib { margin-top: 0; }
.rl-voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.rl-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rl-styles .vc-pick { padding: 14px 15px; gap: 4px; }
.rl-styles .vc-pick b { font: italic 400 22px/1.1 var(--serif); }
.vc { display: flex; align-items: stretch; border: 1px solid var(--hair-strong); border-radius: 14px; background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.vc.on { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.vc.off { opacity: .45; }
.vc-pick { flex: 1; min-width: 0; text-align: left; border: 0; background: none; padding: 11px 12px; cursor: pointer; display: grid; gap: 2px; color: var(--espresso); }
.vc-pick b { font-size: 14.5px; }
.vc-pick span { font-size: 12.5px; color: var(--soft); line-height: 1.35; }
.vc-pick:disabled { cursor: not-allowed; }
.vc-play { flex: none; width: 44px; border: 0; border-left: 1px solid var(--hair); background: rgba(199, 185, 173, .14); color: var(--espresso); cursor: pointer; display: grid; place-items: center; }
.vc-play:hover { background: rgba(224, 161, 138, .25); }
.vc-play .ic { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.vc-pick:focus-visible, .vc-play:focus-visible, .rl-kind:focus-visible { outline: 2px solid var(--espresso); outline-offset: -2px; }
.rl-more summary { cursor: pointer; font-size: 14px; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.rl-more[open] summary { margin-bottom: 10px; }
@media (max-width: 640px) {
  .rl-chosen { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .rl-kind { font-size: 12px; padding: 6px 8px; min-height: 30px; }
  .rl-voices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .vc-pick { padding: 9px 10px; }
  .vc-pick b { font-size: 14px; }
  .vc-pick span { font-size: 11.5px; }
  .vc-play { width: 36px; }
}

/* The 6 digit email code */
.codebox { display: grid; gap: 10px; text-align: left; }
.codebox-lead { margin: 0; font-size: 15px; color: var(--soft); }
.codebox-lead b { color: var(--espresso); font-weight: 600; word-break: break-all; }
.codebox-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.codebox-row input { flex: 1 1 180px; min-width: 0; }
.code-in { font: 600 28px/1 var(--sans); letter-spacing: .42em; text-indent: .21em; text-align: center; padding: 14px 12px; border-radius: 14px; border: 1px solid var(--hair-strong); background: #fff; color: var(--espresso); max-width: 100%; }
.code-in::placeholder { color: rgba(47, 40, 38, .25); letter-spacing: .3em; }
.code-in:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.codebox-links { display: flex; gap: 18px; flex-wrap: wrap; }
.codebox .error-text { margin: 0; min-height: 0; }
.codebox .error-text:empty { display: none; }
/* Confirming the email: under the analysis while it runs, and on the studio until it is done */
.onb-code { background: #fff; border: 1px solid var(--hair); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; display: grid; gap: 8px; }
.onb-code > b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; }
.onb-code.done { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.onb-code.done svg { flex: none; width: 20px; height: 20px; stroke: var(--st-good, #5F7F5C); fill: none; stroke-width: 2.4; }
.verifybar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--espresso); color: var(--ivory); padding: 12px 20px; font-size: 14px; }
.verifybar b { font-weight: 600; }
.verifybar .btn { padding: 10px 18px; font-size: 14px; }
.verify-dlg { border: 0; border-radius: 22px; padding: 28px; width: min(460px, calc(100vw - 32px)); background: var(--ivory); color: var(--espresso); box-shadow: 0 30px 80px -30px rgba(47, 40, 38, .6); }
.verify-dlg::backdrop { background: rgba(47, 40, 38, .45); }
.verify-dlg h2 { font-size: 34px; margin-bottom: 8px; }
.verify-dlg .x { position: absolute; top: 14px; right: 14px; border: 0; background: none; font-size: 22px; line-height: 1; padding: 8px; cursor: pointer; color: var(--soft); }

/* Website page in the studio */
.site-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.site-main { display: grid; gap: 14px; position: sticky; top: 16px; min-width: 0; }
.site-side { display: grid; gap: 20px; min-width: 0; }
.site-side h3 { margin-bottom: 6px; }
.site-status .ss-top { display: flex; align-items: center; gap: 10px; }
.site-status .ss-top b { font: 600 16px/1.3 var(--sans); }
.ss-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mocha); flex: none; }
.ss-dot.live { background: var(--st-good, #5F7F5C); box-shadow: 0 0 0 4px var(--st-good-tint); }
.ss-dot.changed { background: var(--st-imp, #B7832A); box-shadow: 0 0 0 4px var(--st-imp-tint); }
.ss-url { display: flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.ss-url a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ss-url svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; }
.site-bar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-bar select { width: auto; min-width: 180px; padding: 10px 14px; }
.dev { display: flex; gap: 6px; }
.dev .chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.site-stage { position: relative; overflow: hidden; border-radius: 18px; background: var(--stone); border: 1px solid var(--hair); }
.site-frame { display: block; border: 0; background: #fff; }
.site-stage[data-device="desktop"] .site-frame { width: 1280px; height: 900px; transform-origin: 0 0; }
.site-stage[data-device="phone"] { padding: 22px 12px; }
.site-stage[data-device="phone"] .site-frame { width: min(390px, 100%); height: 740px; margin: 0 auto; border-radius: 30px; border: 9px solid var(--espresso); box-shadow: 0 30px 60px -36px rgba(47, 40, 38, .7); }
.site-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; }
.site-summary:empty { display: none; }
.site-summary { margin-top: 14px; }
.enq { border-top: 1px solid var(--hair); padding: 12px 0; }
.enq.new { box-shadow: inset 3px 0 0 var(--peach); padding-left: 12px; }
.enq-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.site-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 44px); }
.site-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.site-gets { list-style: none; padding: 0; margin: 4px 0 24px; display: grid; gap: 10px; }
.site-gets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.site-gets svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--st-good-tint); stroke: var(--st-good-ink); stroke-width: 2.4; fill: none; margin-top: 1px; }
.site-mock { border-radius: 14px; overflow: hidden; background: var(--m-bg); color: var(--m-ink); box-shadow: 0 30px 60px -34px rgba(47, 40, 38, .6); border: 1px solid var(--hair); }
.sm-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--m-paper); border-bottom: 1px solid rgba(47, 40, 38, .08); }
.sm-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(47, 40, 38, .18); }
.sm-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; padding: 22px 18px; align-items: center; }
.sm-hero b { display: block; font-size: 26px; line-height: 1.05; font-weight: 400; margin-bottom: 12px; }
.sm-hero span { display: block; height: 7px; border-radius: 4px; background: currentColor; opacity: .18; margin-bottom: 7px; }
.sm-hero span.short { width: 60%; }
.sm-hero em { display: block; width: 92px; height: 26px; border-radius: 999px; background: var(--m-accent); margin-top: 14px; }
.sm-pic { aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(160deg, var(--m-paper), var(--m-accent)); opacity: .85; }
.sm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 18px 20px; }
.sm-row div { aspect-ratio: 4 / 5; border-radius: 4px; background: var(--m-paper); opacity: .8; }
@media (max-width: 1100px) {
  .site-grid { grid-template-columns: minmax(0, 1fr); }
  .site-main { position: static; }
}
@media (max-width: 760px) {
  .site-stage[data-device="phone"] .site-frame { height: 560px; }
  .site-intro { grid-template-columns: 1fr; }
  .site-mock { order: -1; }
}

/* Automatic top-ups on the Credits page */
.auto-top { display: flex; align-items: center; gap: 10px; }
.auto-top b { font: 600 16px/1.3 var(--sans); }
.auto-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.auto-row .field { margin-bottom: 12px; }
@media (max-width: 520px) { .auto-row { grid-template-columns: 1fr; } }
