/* The display preference affects application chrome, not article or exported canvas colors. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:8px;flex-shrink:0;border:1px solid var(--calm-border-strong);border-radius:11px;background:transparent;color:var(--calm-ink)}
.theme-toggle:hover{background:var(--calm-soft)}.theme-toggle:focus-visible{outline:3px solid var(--calm-focus);outline-offset:3px}.theme-toggle svg{display:block;width:22px;height:22px}.theme-toggle .theme-icon-moon{display:none}
:root[data-theme=light] .theme-toggle .theme-icon-sun{display:none}:root[data-theme=light] .theme-toggle .theme-icon-moon{display:block}
:root[data-theme=light]{color-scheme:light;--calm-bg:#ffffff;--calm-panel:#ffffff;--calm-rail:#f8f8fa;--calm-ink:#18181b;--calm-muted:#52525b;--calm-line:#dedee3;--calm-accent:#6d28d9;--calm-soft:#f5f5f7;--calm-paper:#ffffff;--calm-header:#ffffff;--calm-input:#ffffff;--calm-selected:#f0e9ff;--calm-border-strong:#888891;--calm-focus:#6d28d9;--calm-accent-deep:#5b21b6;--calm-on-accent:#ffffff}
:root[data-theme=light] .landing-hero{background:var(--calm-bg);}
:root[data-theme=light] :is(.landing-intro h2,.landing-section-heading h3,.landing-story-copy h3,.landing-login-invitation h3,.landing-login-heading h3,.landing-steps h4,.landing-tool-overview h4,.landing-example-input h4,.landing-example-paper h4,.landing-plan-price strong,.landing-questions summary,.landing-bottom-cta h3,.comparison-cta h3,.brand-difference-grid h4){color:var(--calm-ink)}
:root[data-theme=light] :is(.landing-intro h2 em,.landing-eyebrow,.landing-small-label,.landing-text-link,.landing-legal a,.landing-comparison h3 em,.brand-feature-label,.landing-plan h4,.landing-direction-demo h4,.landing-direction-demo>span,.landing-direction-demo li b){color:#6522cc}
:root[data-theme=light] :is(.landing-lead,.landing-section-heading>p,.landing-story-copy>p,.landing-login-invitation p,.landing-login-heading p,.landing-legal,.landing-hero-notes,.landing-note-card p,.landing-steps p,.landing-tool-overview p,.landing-example-input p,.landing-example-paper p,.landing-example-paper ol,.landing-example-caption,.landing-story-copy ul,.landing-plan>p,.landing-plan-price span,.landing-plan-period,.landing-pricing-note,.landing-questions p,.brand-difference-grid p,.brand-feature-tag,.comparison-caption,.comparison-cta p,.landing-tour .landing-section-heading p){color:var(--calm-muted)}
:root[data-theme=light] :is(.landing-primary,.landing-plan.is-popular button:not(:disabled),.site-header #header-guest-controls>button:last-child){background:#6d28d9;border-color:#6d28d9;color:#fff;box-shadow:none}
:root[data-theme=light] .landing-primary:hover{background:#5b21b6;color:#fff}
:root[data-theme=light] :is(.landing-note-card strong,.brand-workflow>strong){color:var(--calm-ink)}
:root[data-theme=light] :is(.landing-note-icon,.brand-feature-icon){background:#f0e9ff;color:#6522cc;border-color:#d3c2e8}
:root[data-theme=light] :is(.landing-difference,.landing-comparison,.landing-tour){background:#ffffff;border-color:var(--calm-line)}
:root[data-theme=light] :is(.brand-difference-grid article,.landing-login,.landing-steps article,.landing-example-paper,.landing-tool-overview article,.landing-plan,.landing-product-preview){background:#fff;border-color:var(--calm-line);box-shadow:none}
:root[data-theme=light] :is(.brand-workflow,.landing-login-band,.landing-capabilities,.landing-journey-intro,.landing-pricing,.landing-bottom-cta){background:#f8f8fa;border-color:var(--calm-line)}
:root[data-theme=light] .brand-workflow>div{color:#6522cc}:root[data-theme=light] .brand-feature-label b{background:#f0e9ff;color:#6522cc;border-color:#bca5da}
:root[data-theme=light] :is(.brand-feature-tag,.landing-note-card,.landing-legal,.landing-plan ul,.landing-questions details,.landing-footer-bottom){border-color:var(--calm-line)}
:root[data-theme=light] .landing-google{background:#fff;border-color:#b1b1b1;color:#383838}:root[data-theme=light] .landing-google:hover{background:#f5f5f7}
:root[data-theme=light] :is(.landing-capabilities>.landing-wrap>span,.landing-capabilities>.landing-wrap>div>span,.site-footer p,.site-footer small,.site-footer nav a){color:var(--calm-muted)}
:root[data-theme=light] :is(.landing-direction-demo,.landing-example-input,.landing-preview-toolbar,.landing-preview-tabs,.landing-billing-toggle){background:#f5f5f7;color:var(--calm-ink);border-color:var(--calm-line)}
:root[data-theme=light] :is(.landing-direction-demo li,.landing-direction-tags span,.landing-example-tabs button){background:#fff;color:#52525b;border-color:#d4d4d8}
:root[data-theme=light] .landing-example-tabs button[aria-pressed=true]{background:#6d28d9;color:#fff;border-color:#6d28d9}
:root[data-theme=light] :is(.landing-preview-toolbar small,.landing-preview-tabs>span){color:var(--calm-muted)}
:root[data-theme=light] .landing-preview-tabs>span.active{background:#f0e9ff;color:#6522cc;border-color:#6d28d9}
:root[data-theme=light] #landing-pricing-section .landing-billing-toggle button{color:#52525b}:root[data-theme=light] #landing-pricing-section .landing-billing-toggle button.bg-indigo-600{background:#6d28d9;color:#fff}
:root[data-theme=light] .landing-plan ul{color:#45454d}:root[data-theme=light] .landing-plan-label{background:#f0e9ff;color:#5b21b6}:root[data-theme=light] .landing-plan button{background:#e8e8e8;color:#3f3f3f}:root[data-theme=light] .landing-plan button:disabled{background:#ececec;color:#616161}
:root[data-theme=light] .draft-demo{background:#fff;border-color:#d4d4d8;box-shadow:0 15px 40px #372a5810}
:root[data-theme=light] .draft-demo-toolbar{background:#f7f4ff;color:#202023;border-color:#d6cce5}:root[data-theme=light] .draft-demo-label{color:#5f5278;border-color:#b5a7cd}
:root[data-theme=light] .draft-demo-command{background:#fff;border-color:#a1a1aa}:root[data-theme=light] .draft-demo-command strong{color:#202023}
:root[data-theme=light] :is(.draft-demo-topics button,.draft-demo-stages button,.draft-demo-footer button,.draft-demo-caption){color:#52525b}
:root[data-theme=light] .draft-demo-stages button{background:#f5f5f7;border-color:#d4d4d8}
:root[data-theme=light] :is(.draft-demo-topics button[aria-pressed=true],.draft-demo-stages button[aria-current=step],.draft-demo-stages button.is-complete){background:#f0e9ff;color:#5b21b6;border-color:#bda0e8}
:root[data-theme=light] .draft-demo-footer>span{color:#6522cc}
:root[data-theme=light] :is(.comparison-controls button,.comparison-brief){background:#fff;color:#52525b;border-color:#d4d4d8}
:root[data-theme=light] :is(.comparison-brief>span,.comparison-brief p){color:#52525b}
:root[data-theme=light] .comparison-brief button{background:#f5f5f7;color:#52525b;border-color:#d4d4d8}:root[data-theme=light] .comparison-brief button[aria-pressed=true]{background:#f0e9ff;color:#5b21b6;border-color:#bda0e8}
:root[data-theme=light] .comparison-card{background:#fff;border-color:#d4d4d8}:root[data-theme=light] .comparison-card-refined{border-color:#9273bf;box-shadow:none}
:root[data-theme=light] .comparison-card-heading{background:#f5f5f7;border-color:#d4d4d8}:root[data-theme=light] .comparison-card-heading>span{color:#343438}:root[data-theme=light] .comparison-card-heading small{color:#52525b}
:root[data-theme=light] .comparison-card-refined .comparison-card-heading{background:#f0e9ff}:root[data-theme=light] .comparison-card-refined .comparison-card-heading>span{color:#5b21b6}
:root[data-theme=light] .comparison-card-basic .comparison-paper{background:#fafafa;color:#343438}:root[data-theme=light] .comparison-card-basic mark{background:#ffe3bc;color:#663c0b;border-color:#a3661c}
:root[data-theme=light] .comparison-takeaways{background:#f5f5f7;color:#52525b;border-color:#d4d4d8}:root[data-theme=light] .comparison-card-refined .comparison-takeaways{background:#f0e9ff;color:#5b21b6;border-color:#c4afd8}
:root[data-theme=light] .comparison-card-refined .comparison-takeaways li::before{color:#6522cc}:root[data-theme=light] .comparison-caption>span{color:#6522cc}:root[data-theme=light] .comparison-cta{border-color:#d4d4d8}
:root[data-theme=light] .tour-chapters button{color:#6522cc;border-color:#d4d4d8}:root[data-theme=light] .tour-player{background:#fff;border-color:#d4d4d8}:root[data-theme=light] .tour-player-heading{background:#f0e9ff;color:#5b21b6}:root[data-theme=light] .tour-player-heading>span:last-child,:root[data-theme=light] .tour-player-footer p{color:#52525b}:root[data-theme=light] .tour-player-footer button{background:#6d28d9;color:#fff}:root[data-theme=light] .tour-status{color:#6522cc}
/* Workspace-specific states formerly used fixed dark colors. */
:root[data-theme=light] :is(.journey-dialog,.account-blog-dialog){background:#fff;color:var(--calm-ink);border-color:#b3b3b3}
:root[data-theme=light] .journey-choice-list label{background:#f5f5f7;color:var(--calm-ink)}:root[data-theme=light] .journey-choice-list label:has(input:checked){background:#f0e9ff;border-color:#9273bf}
:root[data-theme=light] :is(.journey-dialog .journey-field input,.account-blog-dialog input){background:#fff;color:#202023;border-color:#a1a1aa}
:root[data-theme=light] :is(.journey-save-note,.account-blog-note){color:#52525b!important}:root[data-theme=light] .journey-dialog .journey-text-button{color:#6522cc}
:root[data-theme=light] .journey-type-card[data-recommended=true]{background:#f0e9ff;border-color:#9273bf}:root[data-theme=light] .journey-type-card[data-recommended=true]>small{color:#6522cc}
:root[data-theme=light] .compose-page .journey-field :is(input,textarea,select){background:#fff;color:#202023}:root[data-theme=light] .compose-page .journey-save-note{color:#52525b!important}
:root[data-theme=light] .journey-section-editor :is(summary,label){color:#6522cc}
:root[data-theme=light].has-workspace #main-workspace-container input::placeholder,:root[data-theme=light].has-workspace #main-workspace-container textarea::placeholder{color:#707070}
:root[data-theme=light].has-workspace #main-workspace-container :is(.text-indigo-600,.text-indigo-700,.text-indigo-800,.text-indigo-900,.text-blue-600,.text-blue-700,.text-blue-800,.text-purple-600,.text-purple-700,.text-purple-800,.text-emerald-600,.text-amber-700,.text-amber-800,.text-pink-600){color:#6522cc}
:root[data-theme=light].has-workspace #section-trends :is(.workspace-topic-heading,.workspace-topic-usage,.workspace-topic-news>div>span,.workspace-topic-metrics,.workspace-topic-score,.workspace-topic-score-reason,.workspace-topic-audience,.workspace-topic-audience strong){color:#52525b}
:root[data-theme=light].has-workspace #section-trends .workspace-topic h3{color:#18181b}
:root[data-theme=light].has-workspace #section-trends .workspace-topic-news{background:#f5f5f7;border-color:#c7c7cf}:root[data-theme=light].has-workspace #section-trends .workspace-topic-news :is(strong,.workspace-topic-reason){color:#343438}
:root[data-theme=light].has-workspace #section-trends .workspace-topic-metrics{background:#f7f7f8;border-color:#c7c7cf}:root[data-theme=light].has-workspace #section-trends .workspace-topic-score :is(strong,b){color:#6522cc}
:root[data-theme=light].has-workspace #section-trends :is(.workspace-topic-type,.workspace-topic-usage>span:first-child,.workspace-topic-audience>span){background:#f0e9ff;color:#5b21b6;border-color:#bda0e8}
:root[data-theme=light].has-workspace #section-trends .workspace-topic-audience{border-color:#c7c7cf}
:root[data-theme=light].has-workspace #main-workspace-container #section-skin :is(.bg-indigo-200,.bg-pink-100){background:#f0e9ff;color:#5b21b6}
:root[data-theme=light].has-workspace #main-workspace-container #section-skin :is(.text-pink-700,.text-pink-800,.text-indigo-950){color:#6522cc}
:root[data-theme=light].has-workspace #main-workspace-container #section-skin :is(.skin-layout-btn,.skin-theme-btn)[class~="bg-indigo-50/60"]{background:#f0e9ff;border-color:#9273bf}
:root[data-theme=light].has-workspace #main-workspace-container #section-skin [class~="bg-slate-50/80"]{background:#e7e7e7}
:root[data-theme=light].has-workspace #section-skin :is(#tab-skin-ctrl-theme,#tab-skin-ctrl-text,#tab-skin-ctrl-widgets){background:#f5f5f7;color:#343438}
:root[data-theme=light].has-workspace #section-skin .skin-ctrl-tab-btn[class~="bg-white"]{background:#f0e9ff;color:#5b21b6;border-color:#9273bf}
:root[data-theme=light].has-workspace #blog-design-guide :is(.design-guide-tag,.design-result-badge,.design-patterns button[aria-pressed=true],.design-menu-list li>span){background:#f0e9ff;color:#5b21b6;border-color:#bda0e8}
:root[data-theme=light].has-workspace #blog-design-guide :is(.design-benchmarks a,#blog-design-status,.design-locked>svg){color:#6522cc}
:root[data-theme=light].has-workspace #blog-design-guide :is(.design-menu-list li,.design-applied){background:#f5f5f7;color:#202023;border-color:#c7c7cf}
:root[data-theme=light].has-workspace #blog-design-guide .design-cover-preview{background:#ededed;color:#202023}:root[data-theme=light].has-workspace #blog-design-guide .design-cover-preview>p{color:#52525b}:root[data-theme=light].has-workspace #blog-design-guide .design-cover-preview>div>span{background:#f0e9ff;color:#5b21b6;border-color:#bda0e8}
:root[data-theme=light] #journey-writing-error,:root[data-theme=light] #journey-setup-error{color:#9b332d}
@media(max-width:540px){.theme-toggle{width:34px;height:34px;padding:6px;border-radius:9px}.site-header>div:first-child{column-gap:8px}.theme-toggle svg{width:20px;height:20px}}
/* Apply foreground and background together instead of briefly interpolating unreadable colors. */
:root[data-theme-changing] *,:root[data-theme-changing] *::before,:root[data-theme-changing] *::after{transition:none!important}
:root[data-theme=light] .landing-plan li>span:first-child{color:#6522cc}
:root[data-theme=light].has-workspace #blog-design-guide .design-skip{color:#6522cc}
:root[data-theme=light].has-workspace #section-skin [class~="bg-slate-950"] :is(.text-slate-300,.text-slate-400,.text-slate-500){color:#cccccc}
:root[data-theme=light] #header-guest-controls{margin-left:auto}
.landing-naver{background:#087c3d;color:#fff}.landing-naver:hover{background:#076b35}
.landing-preview-toolbar>span{color:var(--calm-ink)}
.landing-questions details>p{color:var(--calm-muted)}
.landing-paper-cover small{color:#3f5e3d}
#landing-tour-video{color:#f0f0f0}
:root[data-theme=light] :is(.landing-example-input>span,.landing-example-paper>span){color:#6522cc}
:root[data-theme=light] .landing-step-number{color:var(--calm-muted)}

/* Crisp writing sheets in both display modes; actual media and canvas artwork keep their colors. */
.draft-demo-paper,.landing-preview-paper,.comparison-card-refined .comparison-paper{background:#fff;color:#252525}
.draft-demo-paper :is(h3,h4,p),.landing-preview-paper :is(h4,p){color:#252525}
.draft-demo-outline{background:#f5f5f7;border-color:#d4d4d8}.draft-demo-outline>span,.draft-demo-outline ol{color:#52525b}
.has-workspace #main-workspace-container #naver-preview-content{background:#fff;color:#252525}
.has-workspace #main-workspace-container #naver-preview-content :is(h1,h2,h3,h4,p,.naver-body-p,.text-slate-600,.text-slate-700,.text-slate-800,.text-slate-900){color:#252525}
.landing-comparison,.landing-tour{background:#151515}
:root[data-theme=light] .landing-comparison,:root[data-theme=light] .landing-tour{background:#fff}

:root[data-theme=dark] .workspace-primary,:root[data-theme=dark] .journey-dialog-actions button[type=submit],:root[data-theme=dark].has-workspace #section-trends #btn-custom-generate,:root[data-theme=dark].has-workspace #editor-workspace-body #btn-copy-naver,:root[data-theme=dark].has-workspace #images-workspace-body #btn-download-all-images{background:#8b4ded;border-color:#a879ff;color:#fff}
:root[data-theme=dark] .landing-bottom-cta{background:#1b1b1b;border-color:#444}

/* Pricing: centered decisions, readable benefits and a true corner ribbon. */
:root[data-theme] .landing-plan{overflow:hidden;padding:60px 24px 26px;text-align:center;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.landing-plan-heading{display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:8px;min-height:60px;margin-bottom:6px}
.landing-plan-heading h4{font-size:25px;font-weight:800;letter-spacing:1.4px;line-height:1.2;margin:0}
.landing-plan-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}
.landing-plan-badges:empty{display:none}
.landing-plan-heading .landing-plan-label{position:static;white-space:nowrap;font-size:12px;padding:4px 9px}
:root[data-theme] .landing-plan>p:not(.landing-plan-audience){font-size:15px;line-height:1.7;min-height:26px;margin:0 0 14px}
.landing-plan-hot{position:absolute;z-index:2;right:-43px;top:29px;width:174px;display:flex;justify-content:center;align-items:center;gap:5px;padding:10px 0;transform:rotate(45deg);background:#c2410c;color:#fff;font-size:15px;font-weight:800;line-height:1.3;box-shadow:0 3px 9px #0002;letter-spacing:.3px}
.landing-plan-hot svg{width:17px;height:17px;stroke-width:2.5}
:root[data-theme] .landing-plan.is-popular{border:2px solid var(--calm-accent);box-shadow:0 8px 28px #7c3aed14}
.landing-plan-ribbon{position:absolute;top:15px;left:16px;display:flex;align-items:center;gap:5px;padding:5px 9px;border-radius:6px;background:#6d28d9;color:#fff;font-size:11px;font-weight:650;line-height:1.5}
.landing-plan-ribbon b{font-size:12px;font-weight:800}
.landing-plan-deal{min-height:26px;display:flex;justify-content:center;align-items:center;gap:9px;font-size:14px;color:var(--calm-muted)}
.landing-plan-deal>span{padding:3px 7px;border-radius:5px;background:var(--calm-selected);color:var(--calm-accent);font-size:11px;font-weight:800}
.landing-plan .landing-plan-price{margin-top:3px;justify-content:center;flex-wrap:wrap;gap:6px}
.landing-plan .landing-plan-price strong{font-size:clamp(34px,3.2vw,44px);line-height:1.25;font-weight:850;letter-spacing:-1.8px}
.landing-plan .landing-plan-price>span{font-size:13px}
:root[data-theme] .landing-plan.has-annual-deal .landing-plan-price strong{color:var(--calm-accent)}
.landing-plan .landing-plan-period{font-size:13px;line-height:1.6;min-height:0;margin:8px 0 10px}
:root[data-theme] .landing-plan .landing-plan-audience{font-size:16px;font-weight:750;line-height:1.6;min-height:26px;margin:0;color:var(--calm-accent)}
.landing-plan-saving{min-height:28px;display:flex;justify-content:center;align-items:center;gap:5px;color:var(--calm-accent);font-size:12px;font-weight:700;line-height:1.6;margin:5px 0 10px}
.landing-plan-saving svg{width:15px;height:15px;flex-shrink:0}
.landing-plan-difference{display:grid;align-content:center;gap:8px;min-height:120px;margin:0 0 22px;padding:16px 10px;border-radius:12px;background:var(--calm-selected);border:1px solid var(--calm-accent);color:var(--calm-ink)}
.landing-plan-difference>span{font-size:12px;font-weight:650;color:var(--calm-muted)}
.landing-plan-difference strong{font-size:17px;font-weight:800;line-height:1.5;color:var(--calm-accent)}
.landing-plan-difference b{font-size:13px;font-weight:700;line-height:1.6;color:var(--calm-ink)}
.landing-plan-difference.is-free{background:var(--calm-soft);border-color:var(--calm-line)}
:root[data-theme] .landing-plan ul{font-size:14px;gap:12px;padding:22px 0 26px;text-align:left;grid-template-columns:1fr;align-content:start}
.landing-plan li{gap:9px;line-height:1.7}
.landing-plan-feature-note{display:block;margin-top:2px;color:var(--calm-muted);font-size:12px;line-height:1.5}
.landing-plan button{min-height:48px;font-size:14px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){:root[data-theme] .landing-plan:hover{transform:translateY(-5px);box-shadow:0 15px 35px #7c3aed20}:root[data-theme] .landing-plan.is-popular:hover{box-shadow:0 15px 40px #7c3aed30}}
@media(max-width:767px){:root[data-theme] .landing-plan{padding:58px 20px 24px}.landing-plan-heading{min-height:54px}.landing-plan-heading h4{font-size:24px}.landing-plan .landing-plan-price strong{font-size:40px}.landing-plan-difference strong{font-size:17px}:root[data-theme] .landing-plan>p:not(.landing-plan-audience){font-size:14px}.landing-plan-hot{font-size:14px}}
@media(prefers-reduced-motion:reduce){:root[data-theme] .landing-plan{transition:none}}
@media(min-width:768px) and (max-width:1199px){#section-plan #pricing-cards-grid{grid-template-columns:1fr;max-width:520px}}

/* Dark pricing uses neutral surfaces; violet marks selection and savings. */
:root[data-theme=dark] .landing-plan,:root[data-theme=dark] #section-plan .landing-plan.is-current{background:#1b1b1f;border-color:#424249;color:#fafafa}
:root[data-theme=dark] .landing-plan.is-popular,:root[data-theme=dark] #section-plan .landing-plan.is-current{border-color:#a78bfa}
:root[data-theme=dark] .landing-plan :is(h4,.landing-plan-price strong,.landing-plan-audience,.landing-plan-difference strong,.landing-plan-difference b){color:#fafafa}
:root[data-theme=dark] .landing-plan :is(.landing-plan-price>span,.landing-plan-period,.landing-plan-deal,.landing-plan-difference>span){color:#bdbdc8}
:root[data-theme=dark] .landing-plan>p:not(.landing-plan-audience),:root[data-theme=dark] .landing-plan ul{color:#d0d0d8}
:root[data-theme=dark] .landing-plan .landing-plan-saving{color:#c4b5fd}
:root[data-theme=dark] .landing-plan .landing-plan-difference{background:#242428;border-color:#4b4b53}
:root[data-theme=dark] .landing-plan .landing-plan-difference.is-free{background:#222226;border-color:#414148}
:root[data-theme=dark] .landing-plan .landing-plan-label,:root[data-theme=dark] .landing-plan-deal>span{background:#30283e;color:#e4d8ff}
:root[data-theme=dark] .landing-plan .landing-plan-ribbon{background:#5b21b6;color:#fff}
:root[data-theme=dark] #section-plan .workspace-payment-note{background:#202024;border-color:#424249;color:#c7c7d0}
:root[data-theme=dark] .landing-plan.has-annual-deal .landing-plan-price strong{color:#fafafa}
