/* Public product page. Loads last to replace the original login-first layout. */
:root{--ink:#14122f;--muted:#6c687e;--line:#e7e4ef;--purple:#5220df;--purple-dark:#3d11be;--soft:#f0edff;--paper:#fff;--nav-h:58px}
body{font:400 16px/1.45 'DM Sans',Arial,sans-serif;background:#fff;color:var(--ink)}
.screen.app-shell{width:min(100%,720px);min-height:100dvh;height:auto;margin:auto;padding-bottom:var(--nav-h);overflow:visible;background:#fff;box-shadow:none}.topbar{height:70px;justify-content:flex-start;padding:12px 20px 6px}.topbar .icon-button{width:44px;height:44px;border-radius:10px}.topbar .icon{width:29px;height:29px;stroke-width:1.8}.home-topbar{position:relative;height:114px;justify-content:center;padding:0 20px}.home-topbar .icon-button{position:absolute;top:0;left:20px;transform:none}.topbar-hero-logo{display:grid;place-items:center}.topbar-hero-logo .hero-logo-image{display:block;width:114px;height:114px;object-fit:contain}.workspace{height:auto;min-height:0;overflow:visible;padding:0}.home{display:block;min-height:0}.home-product{width:min(100% - 40px,560px);margin:0 auto;padding:3px 0 calc(30px + var(--nav-h) + env(safe-area-inset-bottom,0px))}
.home-title{margin:0;color:var(--ink);font:600 clamp(27px,7.2vw,40px)/1.08 'Outfit',sans-serif;letter-spacing:-.052em;text-align:center}.home-subtitle{margin:4px 0 0;color:var(--ink);font:400 clamp(26px,7vw,37px)/1.12 'Outfit',sans-serif;letter-spacing:-.048em;text-align:center}.home-subtitle span{color:var(--purple);font-weight:500}.home-copy{margin:15px auto 20px;color:var(--muted);font:400 15px/1.45 'DM Sans',sans-serif;text-align:center}
.context-choices{gap:10px;margin:0 0 22px}.context-choice{min-height:79px;padding:8px 3px;border-color:var(--line);border-radius:14px;background:#fff;color:var(--ink);font:500 12px/1.2 'DM Sans',sans-serif;flex-direction:column;gap:5px;box-shadow:0 1px 3px rgba(26,16,66,.02)}.context-choice .icon{width:27px;height:27px;color:var(--purple);stroke-width:1.8}.context-choice.selected{border-color:var(--purple);background:var(--soft);color:var(--purple);font-weight:600}
.question-card{grid-template-columns:40px minmax(0,1fr) 52px;grid-template-rows:minmax(126px,1fr) 34px;gap:0;min-height:194px;padding:17px 17px 14px;border-color:#e2dfea;border-radius:23px;box-shadow:0 3px 13px rgba(27,17,72,.035)}.question-leading{grid-column:1;grid-row:1;align-self:start;display:grid;place-items:center;width:32px;height:32px;color:var(--purple)}.question-leading .icon{width:27px;height:27px;stroke-width:1.9}.question-card textarea{grid-column:2 / 4;grid-row:1;width:100%;height:100%;min-height:126px;padding:2px 0 4px;font:400 17px/1.45 'DM Sans',sans-serif}.question-card textarea::placeholder{color:#777389;opacity:1}.question-attachment{grid-column:1;grid-row:2;align-self:end;display:grid;place-items:center;width:32px;height:32px;color:#777389}.question-attachment .icon{width:28px;height:28px;stroke-width:1.8}.question-meta{grid-column:2;grid-row:2;align-self:end;justify-content:flex-end;padding:0 8px 7px 0;color:#696579;font:400 13px/1 'DM Sans',sans-serif}.send{grid-column:3;grid-row:2;align-self:end;justify-self:end;width:49px;height:49px;border-radius:14px;box-shadow:0 8px 15px rgba(82,32,223,.17)}.send .icon{width:28px;height:28px;stroke-width:1.8}
.home-subscriber .question-card{min-height:clamp(250px,calc(100dvh - 520px),330px);grid-template-rows:minmax(1px,1fr) 34px}
.allowance,.subscription{border-color:var(--line);border-radius:20px;box-shadow:0 3px 12px rgba(27,17,72,.025)}.allowance{min-height:112px;margin-top:18px;padding:17px 20px;gap:15px}.round-icon{flex:0 0 55px;width:55px;height:55px;background:#f1eeff}.round-icon .icon{width:31px;height:31px;stroke-width:1.8}.allowance h2,.subscription h2{margin:0 0 5px;font:600 20px/1.12 'Outfit',sans-serif;letter-spacing:-.035em}.allowance p,.subscription p{color:var(--muted);font:400 14px/1.42 'DM Sans',sans-serif}.allowance-count{padding-left:18px;border-left:1px solid var(--line);font:700 43px/.88 'Outfit',sans-serif}.allowance-count small{font:400 12px/1.1 'DM Sans',sans-serif}
.subscription{position:relative;min-height:137px;margin-top:15px;padding:18px 20px;gap:15px}.subscription-action{display:grid;justify-items:end;gap:10px;margin-left:auto;text-align:right}.subscription-action>strong{color:var(--purple);font:700 31px/.9 'Outfit',sans-serif;letter-spacing:-.055em;white-space:nowrap}.subscription-action>strong small{display:block;color:var(--muted);font:400 14px/1.1 'DM Sans',sans-serif;letter-spacing:0}.subscription .primary{min-height:43px;padding:10px 22px;border-radius:10px;font:500 14px/1 'DM Sans',sans-serif;box-shadow:0 8px 15px rgba(82,32,223,.2);text-decoration:none}.subscriber-note{margin-top:15px;font-weight:400}
.bottom-nav{z-index:10;height:var(--nav-h);padding-bottom:env(safe-area-inset-bottom,0);background:rgba(255,255,255,.98);border-top:1px solid var(--line)}.bottom-nav-inner{width:min(100%,720px)}.nav-item{min-height:50px;gap:3px;color:#817c91;font:400 11px/1.1 'DM Sans',sans-serif}.nav-item .icon{width:21px;height:21px;stroke-width:1.8}.nav-item.active{font-weight:600}.nav-item.active:before{height:3px;width:31px}
.drawer{z-index:40;background:rgba(18,16,46,.42)}.drawer-panel{width:min(290px,84vw);padding:24px 18px;background:#fff}.drawer-head{margin-bottom:24px}.drawer-title{font:600 21px/1 'Outfit',sans-serif}.drawer-links button{min-height:48px;font:500 16px/1.2 'DM Sans',sans-serif}.drawer-links .icon{color:var(--purple);stroke-width:1.8}
.page{width:min(100% - 40px,560px);min-height:calc(100dvh - var(--nav-h) - 70px);margin:0 auto;padding:25px 0 32px}.page h1{font:700 34px/1.1 'Outfit',sans-serif}.page-lead{font-weight:400}.profile-subscribe{display:flex;margin-top:18px;justify-content:center;text-decoration:none}.profile-logout,.profile-cancel{display:block;width:100%;margin-top:12px}.profile-cancel{color:#b42318;border-color:#f0c8c4}.profile-cancel:hover{background:#fff5f4}.profile-cancellation{margin:18px 0 0;padding:12px 14px;border-radius:12px;background:#f1eeff;color:#48209f;font-size:14px}.saved-card,.profile-list{border-color:var(--line)}.profile-item b,.saved-question{font-weight:600}.saved-card-head{display:flex;align-items:flex-start;gap:8px}.saved-card-head .saved-question{flex:1}.delete-saved{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;margin:-8px -8px 0 0;padding:0;border:0;border-radius:10px;background:transparent;color:#777389}.delete-saved:hover{background:#f7f4ff;color:var(--purple)}.delete-saved:disabled{cursor:wait;opacity:.55}.delete-saved .icon{width:20px;height:20px;stroke-width:1.8}
.result-modal{z-index:50}.result-modal-card{border-radius:23px}.close-modal{width:40px;height:40px}.suggestion b{font-weight:600}.copy-suggestion{width:44px;height:44px}.result-actions .secondary{font-weight:500}
.landing-footer{margin-top:0;padding:42px 0 calc(42px + env(safe-area-inset-bottom,0));background:#14112c;color:#e9e5f6}.landing-shell{width:min(1120px,calc(100% - 40px));margin:auto}.landing-footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:32px}.landing-brand{display:inline-flex;align-items:center;gap:9px;color:#fff;font:700 23px/1 'Outfit',sans-serif;letter-spacing:-.04em;text-decoration:none}.landing-brand .mark{width:31px;height:31px;border-radius:9px;font-size:21px}.landing-footer p{max-width:360px;margin:15px 0 0;color:#b7b1c9;font:400 13px/1.55 'DM Sans',sans-serif}.landing-footer h2{margin:0 0 12px;color:#e9e5f6;font:600 13px/1.2 'DM Sans',sans-serif}.landing-footer a:not(.landing-brand){display:block;margin:8px 0;color:#d8d2e8;font:400 14px/1.4 'DM Sans',sans-serif;text-decoration:none}.landing-footer a:not(.landing-brand):hover{text-decoration:underline}.landing-footer-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:38px;padding-top:20px;border-top:1px solid #37324b;color:#aaa3be;font:400 12px/1.55 'DM Sans',sans-serif}
@media(max-width:520px){.home-product{width:min(100% - 32px,560px);padding-top:2px}.topbar{padding-left:16px}.home-topbar{height:106px;padding:0 16px}.home-topbar .icon-button{left:16px}.topbar-hero-logo .hero-logo-image{width:106px;height:106px}.home-title{font-size:27px}.home-subtitle{font-size:27px}.home-copy{margin:13px auto 18px;font-size:14px}.context-choices{gap:8px;margin-bottom:18px}.context-choice{min-height:75px;font-size:11px}.context-choice .icon{width:25px;height:25px}.question-card{min-height:184px;grid-template-rows:minmax(116px,1fr) 34px}.question-card textarea{min-height:116px;font-size:16px}.allowance{min-height:107px;padding:16px}.allowance h2,.subscription h2{font-size:18px}.allowance-count{padding-left:13px;font-size:38px}.subscription{min-height:130px;padding:17px 16px}.subscription-action>strong{font-size:28px}.subscription .primary{padding:10px 16px}.landing-shell{width:min(100% - 32px,1120px)}.landing-footer-grid{grid-template-columns:1fr;gap:27px}.landing-footer-bottom{display:block}.landing-footer-bottom span{display:block;margin:8px 0}}
@media(max-height:850px){.home-product{padding-bottom:calc(16px + var(--nav-h) + env(safe-area-inset-bottom,0px))}.home-copy{margin:11px auto 15px}.context-choices{margin-bottom:14px}.context-choice{min-height:66px}.question-card{min-height:156px;grid-template-rows:minmax(92px,1fr) 34px}.question-card textarea{min-height:92px}.allowance{min-height:96px;margin-top:12px;padding:12px 16px}.subscription{min-height:96px;margin-top:10px;padding:10px 14px;gap:10px}.round-icon{flex-basis:48px;width:48px;height:48px}.round-icon .icon{width:28px;height:28px}.allowance-count{font-size:38px}.subscription h2{margin-bottom:3px;font-size:16px}.subscription p{font-size:12px;line-height:1.35}.subscription-action{gap:4px}.subscription-action>strong{font-size:25px}.subscription-action>strong small{font-size:12px}.subscription .primary{min-height:36px;padding:8px 12px;font-size:12px}}
@media(min-width:721px){body{background:#f6f4fb}.screen.app-shell{box-shadow:0 0 55px rgba(42,27,90,.1)}.topbar{padding-left:32px}.home-product,.page{width:min(100% - 64px,560px)}.landing-footer{margin-right:-32px;margin-left:-32px}.landing-shell{width:min(100% - 64px,1120px)}}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}.drawer-panel,.result-modal-card{transition:none}}

/* Image reading: the clip retains the established layout. It becomes an input
   only for subscribers; Free users get the subscription modal instead. */
.question-attachment{padding:0;border:0;background:transparent}.question-attachment input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.question-attachment.attachment-enabled{cursor:pointer;color:var(--purple)}.question-attachment.attachment-upsell{cursor:pointer}.question-attachment.attachment-upsell:hover{color:var(--purple)}.question-meta #attachment-status{display:block;margin-top:4px;color:var(--purple);font-size:11px}.image-upsell-card{max-width:360px}.image-upsell-copy{margin:0 0 10px;color:#6e697d;font:400 14px/1.45 'DM Sans',sans-serif}.image-upsell-action{display:inline-flex;align-items:center;justify-content:center;margin-top:11px;text-decoration:none}
