/* Home refinement: one photographic language, a calmer portrait, clearer action. */
#home .hero-reference{transform:none;object-fit:cover;object-position:center 35%;border-radius:20px}
#home .hero-portrait{overflow:hidden;aspect-ratio:4 / 5}
#home .hero-portrait>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 35%}
#home .portrait-handwritten{position:absolute;left:7%;top:8%;font-family:'Caveat',cursive;font-size:clamp(27px,3vw,38px);font-weight:500;line-height:.88;color:#fff;transform:rotate(-7deg);text-shadow:0 1px 8px #24212865;pointer-events:none}
#home .portrait-online{position:absolute;left:7%;bottom:6%;display:inline-flex;align-items:center;gap:7px;padding:8px 12px;background:#fffffff2;border:1px solid #ffffffa6;border-radius:30px;color:#242128;font-size:11px;line-height:1.2;font-weight:600;box-shadow:0 3px 12px #24212810}
#home .portrait-online i{width:7px;height:7px;border-radius:50%;background:#20ba75;box-shadow:0 0 0 3px #20ba7514}
#home .income-copy>p{max-width:390px;font-size:16px;line-height:1.7;margin:20px 0 26px}
#home .niche-photo{object-position:center 45%}
#home .niche-unlock{box-shadow:none;border-radius:12px}
@media(max-width:760px){
 #home .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:24px 0}
 #home .hero-actions .btn:not(.secondary){width:100%;min-height:54px;justify-content:space-between;font-size:16px;padding:13px 20px}
 #home .hero-actions .btn.secondary{align-self:flex-start;width:auto;min-height:44px;padding:8px 0;background:none;border:0;box-shadow:none;border-radius:0;color:#625e68;font-size:14px;gap:10px}
 #home .hero-actions .btn.secondary>span{background:none;width:22px;height:22px;color:#625e68}
 #home .hero-reference{width:64%;max-width:240px;aspect-ratio:4 / 5;margin:0 0 20px;transform:none;border-radius:18px}
 #home .hero-blob{opacity:.45}
 #home .hero-blob.lavender{opacity:.35}
 #home .hero-art:after{opacity:.3}
 #home .income-copy>p{font-size:15px;line-height:1.65;margin:18px 0 22px}
}
/* Stronger product cards: neutral type, deliberate contrast, restrained pastel. */
.earnings-push{position:fixed;top:58px;right:28px;width:min(350px,calc(100vw - 32px));z-index:90;display:flex;align-items:center;gap:14px;padding:18px 20px;background:#242128;color:#fff;border:1px solid #ffffff26;border-radius:20px;box-shadow:0 12px 35px #24212830;opacity:0;visibility:hidden;transform:translateY(-18px) scale(.98);pointer-events:none;transition:opacity .35s ease,transform .45s cubic-bezier(.2,.8,.2,1),visibility .35s}
.earnings-push.show{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.earning-push-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;background:#dfeee5;color:#445d50;border-radius:14px}
.earning-push-icon svg{display:block;width:23px;height:23px}
.earning-push-copy{flex:1;min-width:0}
.earning-push-copy small{display:block;font-size:10px;line-height:1.4;letter-spacing:1px;color:#bdb7c5}
.earning-push-copy b{display:block;font-size:15px;line-height:1.4;font-weight:600;margin-top:4px}
.earning-push-copy p{font-size:15px;line-height:1.5;color:#e7e1eb;margin:4px 0 0}
.earning-push-copy strong{color:#c9e9d6;font-size:21px;font-weight:600;letter-spacing:-.5px;margin-left:3px}
.earning-push-close{align-self:flex-start;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:28px;height:28px;margin:-5px -6px 0 0;background:#ffffff0d;color:#bdb7c5;border-radius:8px;font-size:21px;line-height:1}
@media(max-width:760px){.earnings-push{top:calc(50px + env(safe-area-inset-top));right:16px;left:16px;margin:0 auto;padding:16px 18px}}
@media(prefers-reduced-motion:reduce){.earnings-push{transition:none;transform:none}}
#home .hero-conversation{display:contents}
.step-short,.workflow-current-copy{display:none}
#home .workflow-window{border:1px solid #e3e1e5;border-radius:24px;background:#faf9fb;box-shadow:none;min-height:0}
#home .window-top{padding:20px 28px;background:none;border-bottom:1px solid #e8e5e9;gap:12px}
#home .window-top>span:first-child{display:none}
#home .window-top small{font-size:13px;font-weight:500;color:#625e68}
#home .workflow-demo{font-size:10px;letter-spacing:1px;color:#716c77}
#home #workflow-preview{padding:32px 28px;min-height:450px}
#home .workflow-controls{padding:18px 28px;border-top:1px solid #e8e5e9}
#home .workflow-controls>span{font-size:12px;color:#716c77;letter-spacing:.5px}
#home .workflow-controls button{color:#242128;font-size:14px;font-weight:600}
#home .workflow-window:has(.workflow-profile){background:#242128;border-color:#242128;color:#fff}
#home .workflow-window:has(.workflow-profile) .window-top,#home .workflow-window:has(.workflow-profile) .workflow-controls{border-color:#ffffff18}
#home .workflow-window:has(.workflow-profile) .window-top small,#home .workflow-window:has(.workflow-profile) .workflow-controls>span{color:#c8c4ce}
#home .workflow-window:has(.workflow-profile) .workflow-demo{color:#a9a3b1}
#home .workflow-window:has(.workflow-profile) .workflow-controls button{color:#e2f1e8}
#home .workflow-profile{text-align:left}
#home .workflow-profile-person{display:flex;align-items:center;gap:14px;margin-bottom:28px}
#home .workflow-portrait{width:56px;height:56px;border:0;border-radius:50%;margin:0;flex-shrink:0}
#home .workflow-profile-person b{display:block;font-size:16px;font-weight:600}
#home .workflow-profile-person span{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:12px;color:#c6c0cd}
#home .workflow-profile-person .dot{width:6px;height:6px}
#home .workflow-profile h3{font-size:clamp(30px,3.6vw,42px);font-weight:600;line-height:1.06;letter-spacing:-1.4px;margin:0 0 20px;color:#fff}
#home .workflow-profile>p{font-size:16px;line-height:1.65;color:#c8c4ce;margin:0;max-width:310px}
#home .workflow-link{margin:28px 0 0;border:0;border-radius:12px;background:#e1efe7;color:#242128;padding:17px 18px;gap:12px;letter-spacing:0}
#home .workflow-link>div{min-width:0}
#home .workflow-link small{display:block;font-size:10px;letter-spacing:1px;color:#53695e;margin-bottom:7px;font-weight:500}
#home .workflow-link b{display:block;font-size:17px;letter-spacing:-.5px;font-weight:600;overflow-wrap:anywhere}
#home .workflow-link>span{font-size:26px;flex-shrink:0;color:#445d50}
#home .link-destinations{justify-content:flex-start;gap:0;margin:15px 0 0;flex-wrap:wrap}
#home .link-destinations span{padding:0;background:none;border:0;border-radius:0;color:#c8c4ce;font-size:12px;line-height:1.6}
#home .link-destinations span+span:before{content:'·';padding:0 10px;color:#8e8799}
#home .workflow-profile>small{font-size:12px;line-height:1.6;color:#a9a3b1;margin-top:24px}
#home .workflow-step{border-bottom-color:#e9e6eb}
#home .workflow-step>span{border-radius:8px;background:#f0edf2;color:#716c77}
#home .workflow-step.active>span{background:#242128;color:#fff;box-shadow:none}
#home .workflow-step.active h3,#home .workflow-step:hover h3{color:#242128}
#home .workflow-step small{color:#625e68}
#home .intro-chat{border-color:#e3e1e5;border-radius:20px;background:#faf9fb;box-shadow:none;transform:none}
#home .intro-chat-person div>span,#home .intro-chat>small{color:#716c77}
#home .intro-fan{background:#e9e4f0;color:#48404f}
#home .intro-locked{border-color:#e3e1e5;border-radius:12px}
#home .intro-format{color:#625e68;font-size:11px;letter-spacing:.6px}
#home .workflow-chat-head{border-color:#e3e1e5}
#home .workflow-chat-head small,#home .workflow-caption{color:#716c77}
#home .workflow-bubble.fan{background:#eeebf1;color:#48404f}
#home .workflow-bubble.creator{background:#e1efe7;color:#33483d}
#home .workflow-hint{border-top:1px solid #e3e1e5;border-radius:0;background:none;padding:23px 0 0;justify-content:flex-start}
#home .workflow-hint b{color:#625e68;font-size:15px;font-weight:500;line-height:1.4}
#home .workflow-premium{border-color:#dedbe2;border-radius:16px;padding:10px}
#home .workflow-locked{background:#242128}
#home .workflow-locked>span{background:#242128c9;color:#fff;width:36px;height:36px}
#home .workflow-locked svg{width:19px;height:19px}
#home .workflow-premium-meta{color:#242128}
#home .workflow-success h3{color:#242128}
#home .workflow-success>p,#home .workflow-success>small{color:#716c77}
#home .workflow-receipt{border-color:#e3e1e5;border-radius:12px;padding:5px 10px}
#home .workflow-receipt>div{color:#625e68}
#home .workflow-receipt .receipt-highlight{background:#e1efe7;color:#33483d;border-radius:8px}
#home .success-check{width:48px;height:48px;border-radius:12px;background:#e1efe7;color:#33483d;font-size:24px}
#home .creator-income{background:#eff5f1;border-radius:24px;border:0}
#home .income-copy h2 em{color:#4c6957}
#home .income-copy>p,#home .income-example>p{color:#625e68}
#home .income-example{border-color:#a9c2b2}
#home .unlock-math{border:0;background:#242128;border-radius:18px;box-shadow:none;padding:28px}
#home .math-top{color:#bcb6c4}
#home .math-equation{margin:26px 0;gap:28px}
#home .math-equation strong{color:#fff;font-size:40px;letter-spacing:-1.5px}
#home .math-equation span,#home .math-equation i{color:#c8c4ce}
#home .gross-result,#home .platform-share{color:#c8c4ce}
#home .gross-result b,#home .platform-share b{color:#fff}
#home .creator-share{background:#e1efe7;border-radius:12px;margin:10px 0 12px;padding:22px}
#home .creator-share small{color:#445d50}
#home .creator-share strong{color:#242128;font-size:48px;letter-spacing:-2px}
#home .creator-share>span{display:none}
#home .unlock-math>p{color:#bcb6c4;font-size:12px;line-height:1.65}
#home .format-demo{border:1px solid #e3e1e5;border-radius:24px;background:#faf9fb;padding:28px}
#home .format-demo-label{color:#716c77;font-size:11px;letter-spacing:.7px;margin-bottom:20px}
#home .format-message{padding:0;background:none;border-radius:0;box-shadow:none}
#home .format-message>span{color:#625e68}
#home .format-message h3{font-size:28px;font-weight:600;line-height:1.2;letter-spacing:-.8px;color:#242128}
#home .format-message p,#home .format-demo>p{color:#716c77}
#home .format-demo>p{text-align:left;font-size:13px;margin-top:20px}
#home .format-options button{border-color:#e3e1e5}
#home .format-options button.selected{background:#eff5f1;border-radius:12px}
#home .format-options button.selected>span,#home .format-options button.selected b,#home .format-options button.selected i{color:#242128}
#home .format-options small{color:#716c77}
@media(max-width:760px){
 #home .workflow-window{border-radius:22px}
 #home .window-top{padding:18px 24px}
 #home #workflow-preview{padding:28px 24px;min-height:0}
 #home .workflow-controls{padding:18px 24px}
 #home .workflow-profile h3{font-size:36px;letter-spacing:-1.2px}
 #home .workflow-profile-person{margin-bottom:26px}
 #home .workflow-profile>p{font-size:15px;line-height:1.65}
 #home .workflow-profile>p br{display:none}
 #home .workflow-link{padding:16px;margin-top:26px}
 #home .workflow-link b{font-size:17px}
 #home .creator-income{margin-left:20px;margin-right:20px;padding:28px 24px;gap:28px}
 #home .unlock-math{padding:24px}
 #home .math-equation strong{font-size:36px}
 #home .creator-share strong{font-size:44px}
 #home .format-demo{padding:24px}
 #home .format-message h3{font-size:26px}
}
@media(max-width:380px){
 #home .window-top,#home .workflow-controls{padding-left:20px;padding-right:20px}
 #home #workflow-preview{padding:26px 20px}
 #home .workflow-profile h3{font-size:32px}
 #home .workflow-link{padding:14px}
 #home .workflow-link b{font-size:15px}
 #home .creator-income{padding:26px 20px}
 #home .unlock-math{padding:20px}
}

/* Bring the demo dashboard and entry dialogs into the same visual system. */
#dashboard .btn,#dashboard .dash-title .btn,#modal .btn{background:#242128;color:#fff;border:1px solid #242128;border-radius:12px;font-size:14px;font-weight:600;min-height:44px;box-shadow:none;padding:11px 16px}
#dashboard .btn:hover,#modal .btn:hover{background:#3a343f}
#dashboard .sidebar nav button{font-size:13px;min-height:44px;color:#625e68;gap:12px}
#dashboard .sidebar nav button.selected{background:#e1efe7;color:#242128}
#dashboard .sidebar nav button>span{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;color:inherit}
#dashboard .sidebar nav svg,#dashboard .stat-top svg,#dashboard #notifications svg{display:block;width:19px;height:19px}
#dashboard .sidebar nav b{background:#242128}
#dashboard .card h3{font-size:17px;line-height:1.35;letter-spacing:-.3px}
#dashboard .card-head p{font-size:13px;line-height:1.55}
#dashboard .card-head button{font-size:13px;color:#625e68;min-height:36px}
#dashboard .row b{font-size:14px;line-height:1.4}
#dashboard .row p,#dashboard .row-right small{font-size:12px;line-height:1.5}
#dashboard .row-right{font-size:13px}
#dashboard .row-right b{font-size:14px}
#dashboard .stat{border-color:#e8e3eb}
#dashboard .stat-top{font-size:12px;line-height:1.4;min-height:34px;padding-right:35px;align-items:flex-start;color:#625e68}
#dashboard .stat-top>span{border-radius:8px;background:#ffffffa6;color:#625e68;width:28px;height:28px}
#dashboard .stat small{font-size:11px;line-height:1.5}
#dashboard .stat strong{font-size:28px}
#dashboard .stat-spark{opacity:.45}
#dashboard .inbox-person b{font-size:14px}
#dashboard .inbox-person small{font-size:12px;line-height:1.5}
#dashboard .messages .bubble{font-size:15px;line-height:1.6}
#dashboard .composer input,#dashboard input,#dashboard textarea,#dashboard select,#modal input,#modal textarea,#modal select{font-size:16px}
#dashboard .resource b,#dashboard .checklist b{font-size:14px;line-height:1.4}
#dashboard .resource small,#dashboard .checklist p{font-size:12px;line-height:1.5}
#dashboard .resource svg{width:19px;height:19px;display:block}
#dashboard .resource>span{background:#e1efe7;color:#445d50}
#dashboard .dashboard-bottom{grid-template-columns:1fr 1fr}
#dashboard .chart-value small,#dashboard .payout-summary small{font-size:12px;line-height:1.5}
#dashboard .payout-summary p{font-size:13px;line-height:1.6;color:#445d50}
#dashboard .period button{font-size:12px;min-height:36px;padding:6px 9px}
#dashboard .period button.selected{background:#e1efe7;color:#242128}
#dashboard .side-card b{font-size:14px;line-height:1.45}
#dashboard .side-card p,#dashboard .side-card button,#dashboard .side-user small{font-size:12px;line-height:1.5}
#dashboard .side-user b{font-size:14px}
#dashboard .profile-editor label{font-size:14px}
#dashboard .dashboard-note{font-size:12px;line-height:1.6}
#home .format-options button>span{display:flex;align-items:center;justify-content:center}
#home .format-options svg{width:24px;height:24px;display:block;color:#625e68}
#home .format-media span{display:flex;align-items:center;justify-content:center;padding:12px;border-radius:12px}
#home .format-media svg{width:26px;height:26px}
#creator #creator-info svg,#creator #public-play svg{width:19px;height:19px;display:block}
#creator #creator-info,#creator #public-play{display:flex;align-items:center;justify-content:center}
#home .niche-controls button{width:40px;height:40px}
#home .workflow-controls button{min-height:40px}
#modal>small,#modal #modal-content>small{font-size:12px;line-height:1.6}
body.dark #dashboard .btn{background:#e1efe7;border-color:#e1efe7;color:#242128}
body.dark #dashboard .btn:hover{background:#cce3d5}
body.dark #dashboard .sidebar nav button.selected{background:#33483d;color:#e1efe7}
body.dark #dashboard .sidebar nav button,body.dark #dashboard .card-head button,body.dark #dashboard .stat-top{color:var(--muted)}
body.dark #dashboard .stat-top>span{background:#ffffff0d;color:#c9dfd2}
body.dark #dashboard .stat{border-color:var(--line)}
body.dark #dashboard .period button.selected{background:#33483d;color:#e1efe7}
body.dark #dashboard .payout-summary{background:#33483d}
body.dark #dashboard .payout-summary p{color:#c9dfd2}
@media(max-width:760px){
 #dashboard .dash-title{gap:12px;align-items:flex-start}
 #dashboard .dash-title .btn{font-size:13px;min-width:44px;max-width:125px;padding:10px 12px;flex-shrink:0}
 #dashboard .dash-title .btn:first-letter{font-size:inherit}
 #dashboard .card-head{flex-wrap:wrap}
 #dashboard .dashboard-bottom{grid-template-columns:1fr}
 #dashboard .stat{padding:16px;min-height:145px}
 #dashboard .stat strong{font-size:26px}
 #dashboard .stat-top{font-size:11px;padding-right:27px}
 #dashboard .stat-top>span{right:12px;width:24px;height:24px}
 #dashboard .stat-spark{width:40px;bottom:16px;right:12px}
 #dashboard .stat small{display:block;max-width:calc(100% - 35px)}
 #dashboard .community-row{flex-wrap:wrap}
 #dashboard .community-row .row-right{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}.btn:hover{transform:none}}

/* Mobile: select a short step, read its explanation, then see it in the product. */
@media(max-width:760px){
 #home .hero-chat.paid-chat{display:flex;flex-direction:column}
 #home .paid-chat-top{order:0;flex-shrink:0}
 #home .hero-demo-controls{order:1;margin:0 0 12px;padding:0;border:0;height:34px;min-height:34px;max-height:34px;flex-shrink:0}
 #home .hero-demo-controls .typing{text-align:left;font-size:12px}
 #home .hero-demo-controls #hero-replay{display:inline-flex;min-height:34px}
 #home .hero-conversation{display:block;order:2;height:clamp(330px,52svh,430px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7cde1 transparent;padding:1px 2px 4px;scroll-padding:12px}
 #home .hero-conversation .is-pending{display:none!important}
 #home .hero-conversation .fan-message:not(.is-pending),#home .hero-conversation .creator-message:not(.is-pending),#home .hero-conversation .hero-paid-note:not(.is-pending){animation:mobileChatArrival .35s ease both}
 #home .workflow-layout{gap:20px}
 #home .workflow-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #home .workflow-step,#home .workflow-step.active{display:flex;align-items:flex-start;gap:10px;padding:15px 12px;border:1px solid #e3e1e5;border-radius:12px;background:#faf9fb;min-height:85px}
 #home .workflow-step>span,#home .workflow-step.active>span{width:auto;height:auto;padding:0;margin:2px 0 0;background:none;box-shadow:none;color:#716c77;font-size:11px;line-height:1.5;flex-shrink:0}
 #home .workflow-step h3{font-size:14px;line-height:1.4;letter-spacing:-.2px;margin:0;color:#48404f}
 #home .workflow-step p,#home .workflow-step small,#home .step-full{display:none}
 #home .step-short{display:inline}
 #home .workflow-step.active{background:#242128;border-color:#242128}
 #home .workflow-step.active h3{color:#fff}
 #home .workflow-step.active>span{color:#c9dfd2}
 #home .workflow-current-copy{display:block;width:100%;max-width:460px;margin:0 auto}
 #home .workflow-current-copy p{font-size:15px;line-height:1.6;color:#625e68;margin:0 0 7px}
 #home .workflow-current-copy small{font-size:12px;line-height:1.6;color:#716c77;display:block}
 #home{padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@keyframes mobileChatArrival{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#home .hero-conversation .fan-message,#home .hero-conversation .creator-message,#home .hero-conversation .hero-paid-note{animation:none!important}}

/* Keep the typing state in the chat flow without changing the reference composition. */
#home .hero-conversation{display:contents}
#home .hero-conversation .is-pending{display:none!important}
#home .hero-conversation .paid-receipt[hidden]{display:none!important}
#home .hero-conversation .typing{display:none;margin:0 0 12px 14px;padding:8px 12px;border:1px solid #e7deec;border-radius:15px;background:#f7f2f9;color:#93859e;font-size:12px;line-height:18px;font-weight:500;white-space:nowrap}
#home .hero-conversation .typing.is-typing{display:block}
#home .hero-conversation .typing.is-typing:before{content:'•••';display:inline-block;letter-spacing:2px;color:#b08bd2;margin-right:6px;animation:heroTypingPulse 1s ease-in-out infinite}
#home .hero-conversation .fan-message:not(.is-pending),#home .hero-conversation .creator-message:not(.is-pending),#home .hero-conversation .hero-paid-note:not(.is-pending),#home .hero-conversation .paid-receipt.receipt-arrived{animation:heroMessageArrival .38s ease both}
#home .hero-chat.paid-chat{align-self:start}
@keyframes heroMessageArrival{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
 #home .hero-conversation{display:contents;height:auto;max-height:none;overflow:visible;padding:0}
 #home .hero-conversation .typing{margin:0 0 12px;padding:8px 11px;font-size:11px}
 #home .hero-chat.paid-chat{align-self:start}
}
@media(prefers-reduced-motion:reduce){
 #home .hero-conversation .typing.is-typing:before,#home .hero-conversation .fan-message:not(.is-pending),#home .hero-conversation .creator-message:not(.is-pending),#home .hero-conversation .hero-paid-note:not(.is-pending),#home .hero-conversation .paid-receipt.receipt-arrived{animation:none!important}
}
@media(min-width:761px){
 #home .hero-art{height:580px;min-height:580px}
 #home .hero-chat.paid-chat{align-self:start}
}
@media(max-width:760px){
 #home .hero-art{height:950px;min-height:950px}
}
