/* SSOUL / editorial studio — shared visual layer, existing interaction contracts retained. */
:root{--paper:#f5f5ef;--white:#fff;--ink:#20251f;--muted:#62695f;--line:#dce0d7;--accent:#defa94;--accent-dark:#496323;--radius:18px;--mint:#e7eddf}
body{font-size:15px;letter-spacing:-.015em;background:var(--paper)}
.page-wrap,.nav-wrap,.site-footer{width:min(1280px,calc(100% - 72px))}
a,button,input,textarea,select{touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #779d41;outline-offset:4px}
.site-header{height:88px;background:#f5f5eff2;border-bottom:1px solid var(--line);position:relative;z-index:20}.nav-wrap{gap:48px}.brand{font-size:23px;letter-spacing:-1px}.brand-symbol{width:35px;height:35px;border-radius:11px;background:#263323;color:#defa94}.brand-toon{font-weight:500}.brand-beta{color:#62695f;border-color:#b8c0b0}.nav-link,.nav-login,.language-switch select{font-size:13px;color:#384032}.nav-login{padding:10px 17px;border:1px solid #cdd3c5;border-radius:100px;background:#fff}.nav-actions{gap:20px}.nav-link.active{font-weight:750}.environment-note{background:#edf0e8;border-color:#dce0d7;color:#56634d;font-size:11px}
.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#596551}.eyebrow-dot{color:#758d49}.button{border-radius:100px;min-height:48px;font-size:13px;padding:13px 22px;font-weight:700;transition:background .18s,box-shadow .18s,transform .18s}.button-primary{background:#253221;color:#fff}.button-primary:hover:not(:disabled){background:#3c4e33;box-shadow:0 5px 14px #2532211a}.button-secondary{border-color:#d5dacf;background:#fff}.button-small{min-height:40px;font-size:12px;padding:9px 15px}.text-input{font-size:14px;border-color:#d8ddd2;border-radius:11px;background:#fff;padding:13px 15px}.text-input:focus{border-color:#829965;box-shadow:0 0 0 4px #defa9445}.text-input::placeholder{color:#7d8576}.field-label{font-size:12px;font-weight:700;color:#3e4837}.input-hint,.control-note,.provider-note,.character-processing-note,.home-price-disclosure{font-size:11px;color:#62695f;line-height:1.8}.muted-small{font-size:12px;color:#62695f}.check-row{font-size:12px;color:#62695f}.inline-message{background:#f1f4ec;border-color:#d5dec9;color:#4c5e3c}.wallet-nav{background:#e9efd9;color:#384b25;border:1px solid #cddab5}
/* The cover. An editorial headline and a framed interactive workbench. */
.toon-home .toon-hero{grid-template-columns:1fr 1fr;gap:56px;padding:64px 0 74px;min-height:710px}.hero-copy{padding:0}.hero-copy>.eyebrow{border:1px solid #cdd6bf;border-radius:100px;padding:7px 13px;width:fit-content;background:#edf2e4}.toon-home .hero-heading{font-size:clamp(44px,4.9vw,70px);line-height:1.16;letter-spacing:-.065em;font-weight:800;margin:26px 0}.toon-home .hero-heading span:last-child{color:#5d743f}.toon-home .hero-description{color:#596151;font-size:16px;line-height:1.9;max-width:460px}.toon-home .hero-button{margin-top:30px;background:#d9f886;color:#243020;border-radius:100px;box-shadow:none;transform:none;padding:17px 25px;min-height:58px;font-size:15px;border:1px solid #c9e676}.toon-home .hero-button:hover{background:#cfee74;transform:translateY(-2px)}.toon-home .hero-note{font-size:11px;color:#637057;max-width:440px;margin-top:16px}.toon-home .hero-tools{border-top:1px solid #d8dfcd;padding-top:22px;margin-top:30px;font-size:10px;letter-spacing:1.8px;color:#596b49;gap:18px}.hero-interactive{min-height:550px;background:#e7ecd9;border:1px solid #d8e0c8;border-radius:28px;padding:28px 28px 14px;box-shadow:inset 0 0 0 8px #eff2e7;overflow:hidden}.hero-interactive:before{filter:none;background:radial-gradient(ellipse at 50% 35%,#faffed,transparent 70%);inset:0;border-radius:0}.toon-three-stage{inset:0 6px 58px}.hero-interactive .hero-toon{max-width:440px;margin:auto;border-color:#d2d7c6;box-shadow:0 15px 38px #24302016;transform:rotate(-3deg)}.hero-toon:before{background:#d5e3b6a8}.hero-orbit-mark{color:#647c36}.orbit-mark-one{right:14px;top:12px;font-size:48px}.orbit-mark-two{left:12px;bottom:95px;font-size:28px}.hero-floating-label{display:none}.hero-scene-footer{margin:10px 0 0;border-color:#cbd5bc;padding:12px 0}.hero-scene-footer>span{color:#596a47;font-size:10px}.scene-panel-buttons button{border-color:#c2cfad;background:#f8faef;color:#43562f;width:29px;height:29px}.scene-panel-buttons button:hover{background:#354628}.hero-scene-source{color:#536549}.toon-ticker{background:#263321;color:#e5f3cf;border:0;padding:23px 0}.toon-ticker>div{font-size:10px;color:#e5f3cf;letter-spacing:2.5px}.toon-ticker>div>span:nth-child(even){color:#d9f886}
/* Landing chapters */
.toon-use-cases{padding-block:100px}.use-case-heading .eyebrow{justify-content:center}.use-case-heading h2{font-size:42px;font-weight:750;letter-spacing:-.05em;margin:14px 0 30px}.use-case-tabs{gap:8px}.use-case-tabs button{font-size:13px;border-color:#d3dbca;color:#55644a;background:#fff;padding:12px 24px}.use-case-tabs button[aria-selected=true]{background:#283523;border-color:#283523;box-shadow:none}.use-case-content{background:#ebefdf;border-color:#d9dfcf;border-radius:24px;min-height:420px}.use-case-copy{padding:48px}.use-case-copy h3{font-size:33px;max-width:430px;color:#273421}.use-case-copy>p:not(.use-case-index){font-size:14px;color:#58664d;max-width:400px}.use-case-index{color:#5e7248;font-size:10px}.use-case-visual{background:radial-gradient(ellipse,#d3ddba80,transparent 65%)}.use-case-sticker{background:#def58e;color:#405127;box-shadow:2px 3px 0 #b4c886}.manual-editor-feature{background:#252e24;color:#fff;border-radius:24px;padding:58px;gap:60px;margin-bottom:70px;border:0}.manual-editor-feature h2{font-size:36px;letter-spacing:-.045em;color:#fff}.manual-editor-feature .eyebrow{color:#c4dd9b}.manual-editor-feature-copy>p,.manual-editor-feature-copy>p:last-child{color:#c6d0be;font-size:14px}.editor-feature-pills span{background:#3b4635;color:#e9f5d7;border-color:#59664c}.editor-feature-preview{box-shadow:0 18px 45px #0003;transform:rotate(2deg);border-color:#718062}.how-section{padding:40px 0 80px}.how-section header{max-width:700px}.how-section header h2{font-size:38px;font-weight:750;letter-spacing:-1.7px;line-height:1.35}.how-section header>p:last-child{font-size:14px;color:#65705a}.feature-cards{gap:20px;margin-top:35px}.feature-cards article{background:#fff;border:1px solid #dce1d5;border-radius:20px;padding:30px}.feature-cards h3{font-size:20px;font-weight:700;color:#283523}.feature-cards p{font-size:13px;color:#646e5c}.feature-number{color:#586c43;font-size:11px}.toon-credit-pricing{padding:50px 0 70px;border-top:1px solid var(--line)}.toon-credit-pricing h2{font-size:38px;font-weight:750}.toon-credit-pricing>header>p:last-child{font-size:14px;color:#626d58}.home-credit-packages{gap:20px}.home-credit-package{padding:32px;border-color:#d8dfce;border-radius:20px;background:#fff}.home-credit-package.featured{background:#e3f2c5;border:2px solid #7b9657;position:relative}.home-package-name{color:#536344;font-size:13px;font-weight:700}.home-credit-package h3{font-size:24px;font-weight:650}.home-package-price strong{font-size:40px;font-weight:750;letter-spacing:-1.7px}.home-package-cost{font-size:12px;color:#5c694e}.home-credit-package>.button{font-size:13px}.home-price-disclosure{max-width:1000px}.site-footer{border-top:1px solid #d7ddcf;padding-top:40px}.footer-top p,.business-info,.footer-bottom{color:#65705c}.footer-bottom{padding-block:24px;font-size:11px}.brand.footer-brand{font-size:25px}
/* Actual creation workspace */
.workspace-heading{padding:40px 0 26px}.workspace-heading h1,.page-heading h1{font-size:35px;font-weight:750;letter-spacing:-1.4px}.workspace-subnav{border-bottom-color:#d5ddca}.workspace-tabs button{font-size:13px;color:#66735a}.workspace-tabs button.active{color:#2e4223;border-color:#3e542d}.workspace-wallet{color:#4a6038;font-size:12px}.workspace-wallet button{color:#3b5527}.save-status{color:#5e7150;font-size:11px}.toon-studio-grid{grid-template-columns:340px minmax(0,1fr);gap:24px}.story-sidebar{background:#fff;border:1px solid #d9dfd1;border-radius:18px;padding:25px;box-shadow:0 6px 20px #26332104}.sidebar-title h2{font-size:16px}.sidebar-step{background:#e7f1d6;color:#435c2d;width:28px;height:28px;font-size:11px;border-radius:8px}.sidebar-decoration{color:#708756}.story-input{font-size:14px;line-height:1.85}.story-count{font-size:10px;color:#737c6b}.example-chip{font-size:11px;background:#f3f6ed;border-color:#dae2cd;color:#536843;padding:6px 10px}.studio-fieldset legend{font-size:12px}.subtle-label{font-size:11px;color:#657259}.toon-stage{border:1px solid #d9dfd1;background:#ecefe6;border-radius:18px;padding:24px;min-width:0}.stage-toolbar{border-bottom-color:#d2dbc5;padding-bottom:18px}.stage-step{font-size:12px;color:#68765c}.stage-step.active{color:#2a4020}.stage-step.active i{background:#354b29;color:#fff}.project-status{background:#dce8ca;color:#425831;font-size:10px}.toon-empty{min-height:560px}.empty-comic-copy h2{font-size:27px;letter-spacing:-1px;color:#2b3c23}.empty-comic-copy p{font-size:13px;color:#657457}.empty-story-icon{color:#4e6c33}.comic-panel-card,.saved-character-card,.character-form-card{border-color:#d7dfce;border-radius:15px;background:#fff}.panel-card-heading{padding:16px}.panel-script-fields,.panel-result-fields{padding:16px}.panel-actions button{font-size:11px;color:#456231}.toon-style-card:has(input:checked){border-color:#75994e;background:#eff5e7}.character-card:has(input:checked) .character-avatar{border-color:#75994e}.character-add-link{color:#46652e;font-size:12px}.character-library-intro h2{font-size:28px;color:#2e4024}.workspace-limit-note{font-size:11px;color:#69765e}
/* Account and authentication */
.auth-layout{padding-block:64px 80px;gap:80px;grid-template-columns:minmax(0,1fr) minmax(0,440px);align-items:center;min-height:760px}.auth-story{background:#e7edda;border:1px solid #dbe2cf;border-radius:25px;padding:42px;overflow:hidden}.auth-story h1{font-size:40px;font-weight:750;letter-spacing:-1.7px}.auth-story>p{font-size:14px;color:#5d6c4f}.auth-art{margin-top:28px}.auth-card{background:#fff;padding:36px;border-color:#dbe1d4;border-radius:22px;box-shadow:0 16px 48px #27342108}.auth-card-top{padding-bottom:22px}.auth-card .text-input{min-height:50px}.auth-card .field-label{font-size:13px}.auth-switch{font-size:12px;color:#617154}.auth-switch a{color:#385326}.auth-demo-note{font-size:11px!important}.page-heading{padding:45px 0 30px}.page-heading>div>p:last-child{font-size:14px;color:#617054}.empty-state{background:#ebf0e3;border:1px solid #d5dfc8;border-radius:20px;padding:60px 24px}.empty-state h2{font-size:27px;font-weight:700}.empty-state p{font-size:14px;color:#5b6d4b}.empty-icon{background:#dbe8c7;border-color:#bfd19f;color:#4e6a33}.project-card{border-color:#d7dfce;border-radius:18px;box-shadow:0 3px 12px #25322105}.project-card-body{padding:23px}.project-card h2{font-size:19px;font-weight:700}.account-credit-section,.account-purchases-section{border-color:#d7dfce;border-radius:20px}.legal-dialog,.credit-dialog{border-color:#d6dfca;border-radius:22px;box-shadow:0 24px 80px #17201130}.credit-package{border-color:#d7dfcc}.credit-package.featured{background:#e9f2dc;border-color:#a7bd8b}.credit-dialog-intro,.credit-costs,.credit-disclaimer{color:#5d6d4d;font-size:12px}dialog::backdrop{background:#16200e70;backdrop-filter:blur(5px)}
@media(min-width:1500px){.toon-home .toon-hero{padding-block:85px}.toon-home .hero-heading{font-size:76px}}
@media(max-width:1050px){.toon-home .toon-hero{gap:30px}.hero-interactive{min-height:500px;padding:20px}.toon-home .hero-heading{font-size:50px}.toon-studio-grid{grid-template-columns:300px minmax(0,1fr)}.story-sidebar,.toon-stage{padding:18px}.manual-editor-feature{padding:36px;gap:35px}.auth-layout{gap:35px;grid-template-columns:1fr 390px}.auth-story{padding:28px}.auth-story h1{font-size:32px}.use-case-copy{padding:32px}.use-case-copy h3{font-size:28px}}
@media(max-width:760px){.page-wrap,.nav-wrap,.site-footer{width:calc(100% - 36px)}.site-header{height:72px}.nav-wrap{gap:16px}.brand{font-size:19px}.brand-symbol{width:29px;height:29px}.brand-beta{display:none}.nav-actions{gap:11px}.nav-login{padding:8px 12px;font-size:12px}.main-nav{display:none}.language-switch select{font-size:12px}.toon-home .toon-hero{grid-template-columns:1fr;padding:40px 0 36px;gap:30px;min-height:0}.toon-home .hero-heading{font-size:clamp(40px,8vw,57px);margin:22px 0;letter-spacing:-.06em}.toon-home .hero-description{font-size:15px;max-width:100%}.toon-home .hero-tools{margin-top:25px}.hero-interactive{min-height:480px}.toon-three-stage{inset:0 0 65px}.hero-interactive .hero-toon{max-width:360px}.toon-use-cases{padding-block:60px}.use-case-heading h2{font-size:29px}.use-case-tabs button{padding:10px 15px;font-size:12px}.use-case-content{grid-template-columns:1fr}.use-case-copy{padding:30px}.use-case-copy h3{font-size:28px;max-width:none}.use-case-visual{min-height:360px}.manual-editor-feature{padding:30px 24px;grid-template-columns:1fr;gap:30px;margin-bottom:40px}.manual-editor-feature h2{font-size:29px}.editor-feature-preview{max-width:100%;transform:none}.how-section{padding:20px 0 50px}.how-section header h2{font-size:30px}.feature-cards{grid-template-columns:1fr;gap:14px}.feature-cards article{padding:26px}.feature-cards p{max-width:none}.toon-credit-pricing{padding:35px 0 45px}.toon-credit-pricing h2{font-size:30px}.home-credit-packages{grid-template-columns:1fr;gap:14px}.home-credit-package{padding:27px}.home-credit-package h3{margin-top:12px}.home-package-cost{margin:14px 0 20px}.toon-studio-grid{grid-template-columns:1fr}.story-sidebar{position:static;padding:22px}.toon-stage{padding:16px}.workspace-heading h1,.page-heading h1{font-size:28px}.workspace-heading{padding:28px 0 20px;flex-wrap:wrap}.workspace-heading-actions{gap:10px;flex-wrap:wrap}.workspace-subnav{gap:10px;flex-wrap:wrap}.stage-toolbar{flex-wrap:wrap;gap:12px}.stage-steps{flex-wrap:wrap;gap:8px}.stage-step{font-size:11px}.toon-empty{min-height:420px}.auth-layout{grid-template-columns:1fr;padding-block:30px 50px;gap:24px;min-height:0}.auth-story{padding:28px}.auth-story h1{font-size:32px}.auth-art{display:none}.auth-story .auth-demo-note{margin-top:18px}.auth-card{padding:27px}.project-grid{grid-template-columns:1fr}.account-heading{align-items:flex-start;flex-wrap:wrap}.footer-top{gap:24px;flex-wrap:wrap}.site-footer{padding-top:30px}.footer-bottom{gap:16px;flex-wrap:wrap}.comic-panel-grid{grid-template-columns:1fr}.account-credit-balance{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.hero-interactive .hero-toon{transition:none}}
/* Japanese has no word spaces: allow natural CJK wrapping instead of keep-all. */
html[lang="ja"] h1,html[lang="ja"] h2,html[lang="ja"] h3,html[lang="ja"] p{word-break:normal;overflow-wrap:anywhere}
.account-heading>div,.empty-state>*{min-width:0;max-width:100%}.account-heading .button{white-space:normal}
/* Readable controls and explanations across the existing product, including narrow phones. */
.button{font-size:14px}.button-small{min-height:44px;font-size:14px}.text-input{font-size:15px}.field-label,.studio-fieldset legend{font-size:14px}.input-hint,.control-note,.provider-note,.character-processing-note,.home-price-disclosure,.home-retention-note,.check-row,.environment-note{font-size:12px;line-height:1.8}.eyebrow{font-size:12px;letter-spacing:1.3px}.nav-link,.nav-login,.language-switch select{font-size:14px}.nav-login,.language-switch select{min-height:44px}.wallet-nav{min-height:44px}.toon-home .hero-note,.hero-purpose-links a{font-size:12px}.toon-home .hero-tools{font-size:12px}.feature-cards p,.toon-credit-pricing>header>p:last-child,.manual-editor-feature-copy>p,.manual-editor-feature-copy>p:last-child{font-size:15px}.home-package-cost,.home-credit-package>.button{font-size:14px}.footer-bottom,.business-info{font-size:12px}.workspace-tabs button,.workspace-wallet,.workspace-wallet button{font-size:14px;min-height:44px}.save-status,.workspace-limit-note,.project-status,.subtle-label{font-size:12px}.story-input{font-size:15px}.story-count{font-size:12px}.example-chip,.character-add-link{font-size:13px;min-height:44px}.stage-step{font-size:13px;min-height:44px}.panel-actions button,.panel-edit-button{font-size:14px;min-height:44px}.empty-comic-copy p{font-size:15px}.auth-switch,.auth-demo-note,.auth-password-toggle,.auth-storage-note,.auth-draft-context p,.auth-draft-context a{font-size:12px!important}.auth-password-toggle{min-height:44px}.project-meta,.project-card p{font-size:12px}.credit-order-code,.credit-order-date,.credit-order-amount span,.credit-order-status,.credit-order-refund-state{font-size:12px}.credit-order-actions .button,.account-purchases-section>header .button{font-size:13px;min-height:44px}.refund-request-intro,.refund-order-label{font-size:13px}.inline-message{font-size:13px;line-height:1.8}
.journey-home .hero-reader-visual{min-height:0}.journey-home .hero-reader-visual .hero-toon{max-width:440px;transform:none;margin:0 auto}.journey-home .toon-three-stage{inset:0;opacity:1}.journey-home .hero-heading{font-size:clamp(39px,4.5vw,64px);line-height:1.18}.journey-home .hero-description{font-size:17px;line-height:1.8}.journey-home .toon-hero{align-items:center;padding:54px 0 64px;gap:42px}.journey-home .manual-editor-feature{grid-template-columns:1fr 1fr}.journey-home .manual-editor-feature h2{font-size:clamp(28px,3vw,38px)}
@media(max-width:760px){.text-input,.story-input,.auth-card .text-input,.translation-controls select{font-size:16px}.nav-login,.language-switch select{font-size:13px}.toon-home .hero-heading{font-size:clamp(36px,8.4vw,51px)}.journey-home .hero-description{font-size:16px}.journey-home .toon-hero{padding:34px 0 42px;gap:28px}.journey-home .manual-editor-feature{grid-template-columns:1fr;padding:28px 20px}.stage-step{font-size:12px}.stage-steps{gap:5px}.stage-step i{flex-shrink:0}.workspace-wallet{flex-wrap:wrap}.workspace-subnav{align-items:flex-start}.download-actions>.button{font-size:14px;min-height:48px}.hero-interactive{min-height:0}.auth-layout .check-row{align-items:flex-start}.auth-card .check-row input{flex-shrink:0}}
.journey-home .hero-reader-visual .hero-toon{padding:0}.toon-workspace .eyebrow,.toon-workspace .save-status,.toon-workspace .input-hint,.toon-workspace .control-note,.toon-workspace .provider-note,.toon-workspace .subtle-label,.toon-workspace .project-status,.toon-workspace .panel-state,.toon-workspace .demo-pill,.toon-workspace .export-files small,.toon-workspace .export-files strong,.toon-workspace .character-card strong,.toon-workspace .studio-fieldset legend>span{font-size:12px}.toon-workspace .field-label,.toon-workspace .studio-fieldset legend,.toon-workspace .panel-card-heading strong{font-size:14px}.toon-workspace .editor-heading p:last-child,.toon-workspace .toon-export header p{font-size:14px;line-height:1.8}.toon-workspace .toon-export h2{font-size:21px}.toon-workspace .workspace-heading .button-small,.toon-workspace .panel-regenerate-fields>.button{min-height:44px;font-size:14px}.toon-workspace .panel-regenerate-fields p,.toon-workspace .character-cost{font-size:13px}.toon-workspace .export-files{grid-template-columns:1fr}.toon-workspace .export-files>div{min-width:0;gap:12px}.toon-workspace .export-files>div>div{min-width:0;overflow-wrap:anywhere}.toon-workspace .export-files small{line-height:1.6}.toon-workspace .toon-export>.text-button{font-size:13px;min-height:44px}
@media(max-width:760px){.toon-workspace .text-input,.toon-workspace .panel-script-fields .text-input,.toon-workspace .panel-result-fields textarea{font-size:16px}.toon-workspace .workspace-heading-actions{flex-direction:row;align-items:center}.toon-workspace .stage-steps{gap:4px}.toon-workspace .stage-step{font-size:12px;gap:5px}.toon-workspace .stage-step i{font-size:12px;width:23px;height:23px}.toon-workspace .stage-steps>span{font-size:12px}.toon-workspace .story-sidebar{padding:20px}.toon-workspace .comic-panel-card .panel-script-fields,.toon-workspace .comic-panel-card .panel-result-fields{padding:16px}.toon-workspace .panel-actions{gap:8px;flex-wrap:wrap}.toon-workspace .panel-actions button{font-size:14px;min-height:44px}.toon-workspace .character-options{gap:14px}.toon-workspace .character-card{min-width:0}.toon-workspace .toon-export{padding:18px}.toon-workspace .download-actions{flex-direction:column}.toon-workspace .download-actions>.button{width:100%;min-height:48px;white-space:normal}}
.journey-edit-comparison button{width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.nav-logout{font-size:13px;min-height:44px}
@media(max-width:400px){.site-header .brand-toon{display:none}.site-header .brand{font-size:18px;gap:5px;flex-shrink:0}.site-header .nav-wrap{gap:10px}.site-header .nav-actions{min-width:0;gap:8px}.site-header .language-switch select{padding-inline:6px;min-width:44px}.site-header .nav-login{padding-inline:10px;gap:5px}.site-header .wallet-nav{padding-inline:10px}.site-header .nav-logout{font-size:12px;white-space:nowrap}}
