/* Light composition retained; color and motion are progressive enhancements. */
.logo-dark{display:none}.brand img{width:138px;height:40px;object-fit:contain}.site-footer .brand img{width:125px;height:37px}.header-controls{order:3;display:flex;align-items:center;gap:10px}.site-header nav{order:2;margin-left:auto;gap:25px}.theme-toggle{border:1px solid #c8d3e5;background:#e8edfa;color:var(--navy);width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center}.theme-toggle:hover{background:var(--yellow)}.nav-row{gap:24px}.phone-top>img{width:90px;height:28px;object-fit:contain}.phone-top{margin-bottom:20px}.hero{position:relative}.hero-grid,.hero-ticker{position:relative;z-index:1}.hero-spark{position:absolute;color:#ffda32;pointer-events:none;opacity:.55}.spark-one{top:17%;left:52%;font-size:28px}.spark-two{top:70%;left:3%;font-size:15px}.spark-three{top:15%;right:6%;font-size:15px}.experience-shell{background:linear-gradient(135deg,#ede5ff,#e5ecff 60%,#d5f0eb)}.experience-tabs button[data-tab=diario]:not([aria-selected=true]){background:#e2c9fa;border-color:#ceb0ee}.experience-tabs button[data-tab=pausa]:not([aria-selected=true]){background:#bde9d8;border-color:#a5d5c2}.experience-tabs button[data-tab=habitos]:not([aria-selected=true]){background:#ffe6a0;border-color:#e8cd83}.experience-tabs button[data-tab=diario][aria-selected=true]{background:#6c37b3;border-color:#6c37b3}.experience-tabs button[data-tab=pausa][aria-selected=true]{background:#12584e;border-color:#12584e}.experience-tabs button[data-tab=habitos][aria-selected=true]{background:#835500;border-color:#835500}.experience-panel{background:#dce5ff;box-shadow:0 16px 40px #173d7b0b}.chat-stage{background:radial-gradient(ellipse at bottom left,#174b91,var(--navy) 70%)}#panel-diario{background:#dbc3f3}#panel-diario .eyebrow{color:#63359b}#panel-diario .button{background:#703db4}.journal-stage{background:linear-gradient(135deg,#a581d5,#7853af);box-shadow:inset 0 0 0 1px #ffffff55;overflow:hidden}.journal-date{color:#fff2cf}.journal-stage h4{color:white}.journal-paper{background:repeating-linear-gradient(#fff6dc,#fff6dc 30px,#ddcda9 31px,#fff6dc 32px);padding:18px 22px 70px;border-radius:4px 14px 14px 4px;max-width:100%;border-left:5px solid #f4c971;transform:rotate(-1deg);box-shadow:3px 10px 20px #34205e22}.journal-paper>span{color:#805d63}.journal-paper>p{color:#40365a;line-height:2}.journal-paper .journal-signature{color:#805d63}.journal-mascot{z-index:2;right:-2px;bottom:-2px;width:130px}.journal-stage:after{content:'';width:75px;height:23px;position:absolute;background:#ffdc64b5;top:32%;right:35%;transform:rotate(9deg);z-index:3}#panel-pausa{background:#c9e9df}#panel-habitos{background:#f6e2ad}.habit-stage{background:linear-gradient(145deg,#f9ca66,#efb191)}.reminder-preview{background:#fff8e5}.journey{background:linear-gradient(120deg,#d8d0f5,#c7d9fa)}.journey-steps button:nth-child(1){background:#ffe0d0}.journey-steps button:nth-child(2){background:#c1e5d5}.journey-steps button:nth-child(3){background:#dec4ed}.journey-steps button[aria-pressed=true]{box-shadow:0 0 0 2px var(--blue)}.week{background:#fff7e3}.space-shell{background:linear-gradient(130deg,#e3efdb,#c6e8de)}.space-shell .space-section{padding-block:0}.shortcut-options label:has(input[value="journal"]){background:#ead6fa}.shortcut-options label:has(input[value="pause"]){background:#ffe9b7}.shortcut-options label:has(input[value="conversation"]){background:#d5e6ff}.shortcut-options label:has(input[value="reminder"]){background:#c5e8da}.trust{background:radial-gradient(ellipse at 100% 20%,#133c71,var(--navy) 65%)}.waitlist{background:linear-gradient(125deg,#0755f5,#3d35d0);position:relative;overflow:hidden}.waitlist:before{content:'';width:310px;height:310px;border:70px solid #ffffff08;position:absolute;right:-130px;top:-150px;border-radius:50%;pointer-events:none}.waitlist-grid{position:relative}.keep-going{background:linear-gradient(140deg,#f4dff0,#f8e2b8)}.story-invitation{background:#d3b5ed}.institute-invitation{background:#f8d77e}.mini-letter{background:#fff4cf}.motion-control{position:fixed;right:16px;bottom:14px;z-index:35;background:#fff9eef0;border:1px solid #bccbe1;box-shadow:0 3px 14px #061b4215;color:#233d66;display:flex;align-items:center;gap:6px;padding:8px 12px;border-radius:99px;font-size:10px}.motion-control .icon{width:13px;height:13px;flex-basis:13px}.site-footer{padding-bottom:62px}.theme-toggle,.motion-control{transition:background .2s,color .2s}.experience-panel .panel-copy{animation:panel-enter .32s ease-out}.mood[aria-pressed=true] img{animation:mood-nod .4s ease-out}.shortcut-options input:checked{animation:mood-nod .4s ease-out}.mini-letter{transition:transform .25s}.story-invitation:hover .mini-letter{transform:rotate(3deg) translateY(-4px)}.experience-tabs button:hover img{transform:translateY(-3px) rotate(-5deg)}.experience-tabs img{transition:transform .25s}.hero-mascot{animation:lumi-float 6s ease-in-out infinite}.hero-spark{animation:star-glow 5s ease-in-out infinite}.spark-two{animation-delay:-2s}.spark-three{animation-delay:-3s}.phone{animation:phone-drift 8s ease-in-out infinite}.trust-art>img{animation:lumi-float 7s ease-in-out infinite;animation-delay:-2s}.habit-plant{animation:sprout-sway 6s ease-in-out infinite;transform-origin:center bottom}.journal-mascot{animation:lumi-float 7s ease-in-out infinite}.section .button:hover .icon{transform:translateX(3px)}.button .icon{transition:transform .18s}
@keyframes lumi-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes star-glow{0%,100%{opacity:.3;transform:scale(.85) rotate(0deg)}50%{opacity:.8;transform:scale(1.12) rotate(15deg)}}@keyframes phone-drift{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(-3.5deg) translateY(-6px)}}@keyframes sprout-sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes panel-enter{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes mood-nod{0%,100%{transform:scale(1)}50%{transform:scale(1.09)}}
/* Default Lumi blue night theme. Accent colors retain their meaning. */
html[data-theme=dark]{--muted:#b1c1df;--line:#314c76;color-scheme:dark}html[data-theme=dark] body{background:#081c3d;color:#eef3ff}html[data-theme=dark] .logo-light{display:none}html[data-theme=dark] .logo-dark{display:block}html[data-theme=dark] .site-header{background:#081c3df5;border-bottom-color:#254573}html[data-theme=dark] .theme-toggle{background:#15345f;color:#ffe268;border-color:#365781}html[data-theme=dark] .theme-toggle:hover{background:#254a7e}html[data-theme=dark] .site-header nav>a:hover{color:#ffda32}html[data-theme=dark] .site-header nav>a.button:hover{color:white}html[data-theme=dark] .blue-text{color:#88b5ff}html[data-theme=dark] .hero{background-color:#061632}html[data-theme=dark] .hero-grid{background:radial-gradient(ellipse at 85% 50%,#0a397066,transparent 65%)}html[data-theme=dark] .experience-shell{background:linear-gradient(130deg,#102650,#173565 55%,#123d54)}html[data-theme=dark] .experience-tabs button{background:#1b3c70;color:#e3eeff;border-color:#335b90}html[data-theme=dark] .experience-tabs button[aria-selected=true]{background:#1260fa;border-color:#6390ff;box-shadow:0 0 28px #0755f522}html[data-theme=dark] .experience-tabs button[data-tab=diario]:not([aria-selected=true]){background:#443365;border-color:#6a4d95}html[data-theme=dark] .experience-tabs button[data-tab=pausa]:not([aria-selected=true]){background:#164e51;border-color:#327778}html[data-theme=dark] .experience-tabs button[data-tab=habitos]:not([aria-selected=true]){background:#644a2e;border-color:#987449}html[data-theme=dark] .experience-tabs button[data-tab=diario][aria-selected=true]{background:#784ac3;border-color:#c29aea}html[data-theme=dark] .experience-tabs button[data-tab=pausa][aria-selected=true]{background:#207a6b;border-color:#71d7b7}html[data-theme=dark] .experience-tabs button[data-tab=habitos][aria-selected=true]{background:#a56a10;border-color:#f0c16d}html[data-theme=dark] .experience-panel{background:#1a3764;border:1px solid #365b8e;box-shadow:0 20px 48px #020b2426}html[data-theme=dark] .panel-copy .eyebrow{color:#97bdfa}html[data-theme=dark] .conversation-steps li{color:#b4c8e7}html[data-theme=dark] .conversation-steps li>.icon{background:#304d7b;color:#cbdcfa}html[data-theme=dark] .conversation-steps li[aria-current=step]>.icon{background:#1260fa;color:white}html[data-theme=dark] .conversation-steps li[aria-current=step]{color:#a8ccff}html[data-theme=dark] #panel-diario{background:linear-gradient(135deg,#32264e,#4b3470);border-color:#785494}html[data-theme=dark] #panel-diario .eyebrow{color:#dfb9ff}html[data-theme=dark] #panel-diario .panel-copy>p{color:#d4c6e8}html[data-theme=dark] #panel-diario .button{background:#9762d9}html[data-theme=dark] .journal-stage{background:linear-gradient(135deg,#7953a9,#503576)}html[data-theme=dark] #panel-pausa{background:linear-gradient(135deg,#113d43,#205a57);border-color:#3a7774}html[data-theme=dark] #panel-pausa .panel-copy>p{color:#b9ded6}html[data-theme=dark] .pause-caption{background:#072e39ed;color:#e9fff6}html[data-theme=dark] #panel-habitos{background:linear-gradient(135deg,#423627,#614332);border-color:#8c6944}html[data-theme=dark] #panel-habitos .panel-copy>p{color:#e4cfb7}html[data-theme=dark] #panel-habitos .panel-copy .eyebrow{color:#f8d58c}html[data-theme=dark] .habit-stage{background:linear-gradient(145deg,#956237,#573e34)}html[data-theme=dark] .reminder-preview{background:#f8dfb0;color:#302639}html[data-theme=dark] .reminder-preview p{color:#55465c}html[data-theme=dark] .habit-stage>.demo-badge{color:#eed8bd}html[data-theme=dark] .text-link{color:#93c2ff}html[data-theme=dark] .text-link.light{color:#f8eab8}html[data-theme=dark] .journey{background:linear-gradient(125deg,#2a2750,#1b365c)}html[data-theme=dark] .journey-steps button:nth-child(1){background:#634054}html[data-theme=dark] .journey-steps button:nth-child(2){background:#21565a}html[data-theme=dark] .journey-steps button:nth-child(3){background:#4c3c72}html[data-theme=dark] .journey-steps b{color:#f2f4ff}html[data-theme=dark] .journey-steps span{color:#c1cce3}html[data-theme=dark] .journey-steps button[aria-pressed=true]{border-color:#8ea8f7;box-shadow:0 0 0 1px #8ea8f7}html[data-theme=dark] .interactive-moods button[aria-pressed=true]{border-color:#94baff;background:#234572}html[data-theme=dark] .week{background:#102b52;border:1px solid #3c5278}html[data-theme=dark] .week-days button[aria-pressed=true]{background:#2b4874;border-color:#7299cf}html[data-theme=dark] .week-days span{color:#c0d0eb}html[data-theme=dark] .journey-other-card{background:#19385f}html[data-theme=dark] .space-shell{background:linear-gradient(130deg,#103a4b,#10364e 60%,#182a50)}html[data-theme=dark] .shortcut-options label{color:#f0f5ff}html[data-theme=dark] .shortcut-options label:has(input[value="journal"]){background:#4a386e;border-color:#73569c}html[data-theme=dark] .shortcut-options label:has(input[value="pause"]){background:#5c4b32;border-color:#8f744b}html[data-theme=dark] .shortcut-options label:has(input[value="conversation"]){background:#244878;border-color:#4675b3}html[data-theme=dark] .shortcut-options label:has(input[value="reminder"]){background:#245550;border-color:#3f8077}html[data-theme=dark] .shortcut-options label:has(input:checked){box-shadow:inset 0 0 0 1px #8da8d5}html[data-theme=dark] .space-preview{border:1px solid #375b8f;box-shadow:0 20px 50px #0003}html[data-theme=dark] .keep-going{background:linear-gradient(130deg,#1c2a4e,#3a3154)}html[data-theme=dark] .story-invitation{background:linear-gradient(135deg,#513a7b,#403363);border:1px solid #775c9b}html[data-theme=dark] .institute-invitation{background:linear-gradient(135deg,#624b31,#4e3b35);border:1px solid #8a724b}html[data-theme=dark] .keep-grid .eyebrow{color:#f2d6a0}html[data-theme=dark] .keep-grid p{color:#d2cee3}html[data-theme=dark] .site-footer{background:#061832;border-top-color:#334966}html[data-theme=dark] .footer-bottom{border-top-color:#2d4362;color:#9fb4d6}html[data-theme=dark] .motion-control{background:#102b50ee;color:#d3e2ff;border-color:#41628c}html[data-theme=dark] .icon-button{background:#26446e;color:#edf4ff;border-color:#4b6994}html[data-theme=dark] dialog{background:#12294b;color:#f3f7ff;border:1px solid #567195}html[data-theme=dark] .segmented button{background:#284670;color:#e2ecff;border-color:#57739a}html[data-theme=dark] .segmented button[aria-pressed=true]{background:#0755f5;border-color:#91adff}html[data-theme=dark] .story-preview-wrap{background:#071b37}html[data-theme=dark] .outline{color:#e0ecff;border-color:#6a88b1}html[data-theme=dark] .sub-hero{background:linear-gradient(135deg,#122c50,#30264f)}html[data-theme=dark] .tint{background:linear-gradient(130deg,#15394a,#1b3f4b)}html[data-theme=dark] .info-cards article{background:#1b355a;border-color:#365477}html[data-theme=dark] .info-cards article:nth-child(2){background:#3b315b;border-color:#5b4a81}html[data-theme=dark] .info-cards article:nth-child(3){background:#214846;border-color:#3a7266}html[data-theme=dark] .step-number{color:#94baff}html[data-theme=dark] .role-selector button{background:#1d395f;color:#e5efff;border-color:#45648c}html[data-theme=dark] .role-selector button[aria-pressed=true]{background:#335b91;border-color:#88b2f0}html[data-theme=dark] .contact-panel,html[data-theme=dark] .sub-cta{background:#332c53}html[data-theme=dark] .reading-column a{color:#9fc8ff}html[data-theme=dark] .email-row,html[data-theme=dark] .name-input{color-scheme:light}html[data-theme=dark] .menu-toggle{background:#15345f;border-color:#365781;color:white}html[data-theme=dark] .hero .text-link{color:#fff3c4}
@media(max-width:1100px){.site-header nav{gap:16px}.nav-row{gap:18px}.brand img{width:118px}.site-header .small{padding:10px 15px}}
@media(max-width:800px) and (min-width:641px){.nav-row{gap:12px}.brand img{width:100px}.site-header nav{gap:12px;font-size:11px}.site-header .small{padding:10px 12px;font-size:11px}.theme-toggle{width:36px;height:36px}.site-header .small .icon{display:none}}
@media(max-width:640px){.brand img{width:120px;height:36px}.header-controls{gap:10px}.site-header nav{margin:0}.theme-toggle{width:40px;height:40px}.experience-shell{background:linear-gradient(145deg,#e7dbff,#d7ece8)}.journal-paper{padding:18px 17px 76px}.journal-mascot{width:120px}.space-shell .space-section{gap:30px}.motion-control{right:10px;bottom:10px;font-size:9px;padding:7px 10px}.hero-mascot{animation-duration:7s}.hero-spark{font-size:12px}.spark-one{left:85%;top:7%}.spark-two{left:5%;top:70%}.spark-three{right:3%;top:35%}.phone-top>img{width:86px}.journal-stage:after{top:36%}html[data-theme=dark] .site-header nav{background:#0a2347;border-bottom:1px solid #38577c}}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important}html[data-motion=off]{scroll-behavior:auto}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
/* Compact mobile header, with 44px touch targets. */
@media(max-width:640px){.site-header .nav-row{min-height:60px;gap:12px}.site-header .brand img{width:100px;height:30px}.site-header .header-controls{gap:4px}.site-header .theme-toggle,.site-header .menu-toggle{width:44px;height:44px}.site-header .theme-toggle{border-color:transparent;background:transparent}.site-header .theme-toggle .icon{width:20px;height:20px}.site-header .menu-toggle{border-radius:12px}.site-header nav{top:60px}html{scroll-padding-top:76px}section{scroll-margin-top:76px}}
/* The actual exported card is visible before editing actions, including on phones. */
.story-preview-area{grid-column:2;grid-row:1;align-self:start;position:sticky;top:0}.story-controls{grid-column:1;grid-row:1;min-width:0}.story-preview-area figcaption{font-size:12px;font-weight:800;margin-bottom:12px;display:flex;flex-direction:column;gap:3px}.story-preview-area figcaption span{font-size:10px;font-weight:500;color:var(--muted)}.story-preview-wrap{position:relative;border:1px solid #758caa66;box-shadow:0 10px 30px #0002;width:100%;margin:0}.story-preview-wrap img{position:relative;width:100%;height:100%;object-fit:contain;z-index:1}.story-preview-wrap img:not([src]){visibility:hidden}.story-loading{position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-size:12px;padding:15px;color:var(--muted)}.story-preview-wrap[aria-busy=false] .story-loading{display:none}
@media(max-width:640px){.story-preview-area{grid-column:1;grid-row:1;position:static;display:flex;flex-direction:column;align-items:center;padding:16px;border-radius:18px;background:#8fa5cf12}.story-preview-area figcaption{width:100%;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px}.story-preview-area .story-preview-wrap{width:min(180px,100%);margin:auto}.story-controls{grid-column:1;grid-row:2}.story-editor{gap:22px}.dialog-header{margin-bottom:18px}.story-controls blockquote{font-size:19px}.story-controls>#next-light{margin-bottom:20px}}
/* Unified night palette: ink blue foundations and luminous, consistent accents. */
html[data-theme=dark]{--muted:#b9c9e8;--line:#355782;--night-base:#081b3c;--night-surface:#112e59;--night-blue:#2269ff;--night-purple:#b28aff;--night-mint:#7be6ce;--night-gold:#ffdf70}
html[data-theme=dark] body{background:var(--night-base);color:#f2f5ff}
html[data-theme=dark] .site-header{background:#081b3cf5;border-bottom-color:#24456d}
html[data-theme=dark] .hero{background-color:#071a3c}
html[data-theme=dark] .experience-shell{background:radial-gradient(ellipse at 10% 15%,#22478a66,transparent 55%),linear-gradient(145deg,#102951,#143865 65%,#164359)}
html[data-theme=dark] .experience-tabs button[data-tab=escuta][aria-selected=false]{background:linear-gradient(145deg,#214b91,#153b75);border-color:#527ad2}
html[data-theme=dark] .experience-tabs button[data-tab=escuta][aria-selected=true]{background:linear-gradient(145deg,#3478ff,#1350e5);border-color:#9bbcff}
html[data-theme=dark] .experience-tabs button[data-tab=diario][aria-selected=false]{background:linear-gradient(145deg,#62459a,#3e3474);border-color:#9673c5}
html[data-theme=dark] .experience-tabs button[data-tab=diario][aria-selected=true]{background:linear-gradient(145deg,#9166e4,#6542b5);border-color:#d0b3ff}
html[data-theme=dark] .experience-tabs button[data-tab=pausa][aria-selected=false]{background:linear-gradient(145deg,#177368,#164e62);border-color:#52b9a7}
html[data-theme=dark] .experience-tabs button[data-tab=pausa][aria-selected=true]{background:linear-gradient(145deg,#228878,#12605e);border-color:#9cf3d9}
html[data-theme=dark] .experience-tabs button[data-tab=habitos][aria-selected=false]{background:linear-gradient(145deg,#715d35,#46425c);border-color:#baa46c}
html[data-theme=dark] .experience-tabs button[data-tab=habitos][aria-selected=true]{background:linear-gradient(145deg,#8c681f,#665032);border-color:#ffe18b}
html[data-theme=dark] .experience-tabs button{color:#fff8f1}
html[data-theme=dark] .experience-panel{background:linear-gradient(135deg,#1c3e70,#17345e);border-color:#416b9f}
html[data-theme=dark] .chat-stage{background:radial-gradient(ellipse at 15% 100%,#2456a0,#0a2047 75%);border-color:#557fc44d}
html[data-theme=dark] #panel-diario{background:linear-gradient(135deg,#322b60,#453577);border-color:#8265b0}
html[data-theme=dark] #panel-diario .panel-copy>p{color:#ded3f5}
html[data-theme=dark] #panel-diario .button{background:#7546c1;color:#fff}
html[data-theme=dark] #panel-diario .button:hover{background:#8654d1}
html[data-theme=dark] .journal-stage{background:radial-gradient(ellipse at 20% 0%,#a17bce,#644494 75%);border:1px solid #c5a0f255}
html[data-theme=dark] #panel-pausa{background:linear-gradient(135deg,#123f51,#1d5c61);border-color:#438e90}
html[data-theme=dark] #panel-pausa .eyebrow{color:#9bf2dc}
html[data-theme=dark] #panel-pausa .button{background:#126958;color:#f4fff9}
html[data-theme=dark] #panel-pausa .button:hover{background:#197c68}
html[data-theme=dark] .pause-caption{background:#092d42ee;border:1px solid #65b9aa55;color:#e1fff3}
html[data-theme=dark] #panel-habitos{background:linear-gradient(135deg,#293657,#454060);border-color:#8d7d9b}
html[data-theme=dark] #panel-habitos .panel-copy>p{color:#e4dbed}
html[data-theme=dark] .habit-stage{background:radial-gradient(ellipse at 50% 15%,#a88949,#66576b 60%,#414c71);border-color:#ddbc7d66}
html[data-theme=dark] .habit-options label{background:#ffffff09;border-color:#ab9bb35c;color:#e9e4f5}
html[data-theme=dark] .habit-options label:has(input:checked){background:#ffe5a1;color:#49381b;border-color:#fff0c8}
html[data-theme=dark] .reminder-preview{background:#fff0cd;color:#35283e}
html[data-theme=dark] .reminder-preview p{color:#5f4c60}
html[data-theme=dark] .habit-stage[data-habit=registro] .reminder-preview{background:#e8d9ff;color:#3c2858}
html[data-theme=dark] .habit-stage[data-habit=companhia] .reminder-preview{background:#d1f5e9;color:#173e3a}
html[data-theme=dark] .journey{background:radial-gradient(ellipse at 90% 0%,#54448166,transparent 70%),linear-gradient(135deg,#222c55,#193d62)}
html[data-theme=dark] .journey-steps button:nth-child(1){background:linear-gradient(135deg,#67466b,#493d64);border-color:#a478a44d}
html[data-theme=dark] .journey-steps button:nth-child(2){background:linear-gradient(135deg,#21696b,#20485e);border-color:#73c4b94d}
html[data-theme=dark] .journey-steps button:nth-child(3){background:linear-gradient(135deg,#604b96,#3f3d75);border-color:#bb99f04d}
html[data-theme=dark] .journey-steps button[aria-pressed=true]{border-color:#aecbff;box-shadow:0 0 0 1px #aecbff,0 8px 26px #03112730}
html[data-theme=dark] .journey-steps span{color:#d0def2}
html[data-theme=dark] .week{background:#102b51cc;border-color:#496893}
html[data-theme=dark] .week-days button[aria-pressed=true]{background:#375d94;border-color:#8cb6f4}
html[data-theme=dark] .space-shell{background:radial-gradient(ellipse at 5% 40%,#216e7044,transparent 60%),linear-gradient(135deg,#103650,#133051)}
html[data-theme=dark] .shortcut-options label:has(input[value="journal"]){background:#514080;border-color:#8f72b8}
html[data-theme=dark] .shortcut-options label:has(input[value="pause"]){background:#635637;border-color:#ac9864}
html[data-theme=dark] .shortcut-options label:has(input[value="conversation"]){background:#244e85;border-color:#5589c8}
html[data-theme=dark] .shortcut-options label:has(input[value="reminder"]){background:#23635d;border-color:#59a598}
html[data-theme=dark] .shortcut-options label:has(input:checked){box-shadow:inset 0 0 0 1px #d0e1ff}
html[data-theme=dark] .trust{background:radial-gradient(ellipse at 90% 35%,#204e884d,transparent 65%),#081e43}
html[data-theme=dark] .waitlist{background:radial-gradient(ellipse at 90% 10%,#8c66eb55,transparent 65%),linear-gradient(120deg,#1455da,#443ac0)}
html[data-theme=dark] .keep-going{background:linear-gradient(135deg,#1b3057,#303358)}
html[data-theme=dark] .story-invitation{background:linear-gradient(135deg,#5b418c,#3b356c);border-color:#9674c5}
html[data-theme=dark] .institute-invitation{background:linear-gradient(135deg,#62553f,#494359);border-color:#a9956a}
html[data-theme=dark] .keep-grid p{color:#e0d9ee}
html[data-theme=dark] .sub-hero{background:radial-gradient(ellipse at 90% 0%,#62519c55,transparent 65%),linear-gradient(135deg,#133463,#26335e)}
html[data-theme=dark] .tint{background:linear-gradient(135deg,#173e57,#1b4a59)}
html[data-theme=dark] .info-cards article{background:linear-gradient(135deg,#234577,#1a355c);border-color:#5275a4}
html[data-theme=dark] .info-cards article:nth-child(2){background:linear-gradient(135deg,#51407b,#36315e);border-color:#866bae}
html[data-theme=dark] .info-cards article:nth-child(3){background:linear-gradient(135deg,#245e5d,#203f50);border-color:#599d93}
html[data-theme=dark] .contact-panel,html[data-theme=dark] .sub-cta{background:linear-gradient(135deg,#3e356a,#283c63);border:1px solid #74659a}
html[data-theme=dark] .role-selector button[aria-pressed=true]{background:#345f9c;border-color:#9ac5ff}
html[data-theme=dark] dialog{background:linear-gradient(145deg,#18365f,#102849);border-color:#5475a0}
html[data-theme=dark] .segmented button{background:#284b77;border-color:#6585ad;color:#f3f5ff}
html[data-theme=dark] .segmented button[aria-pressed=true]{background:#1c60ec;border-color:#a6c8ff;box-shadow:0 3px 12px #041c4933}
html[data-theme=dark] .story-preview-area{background:#8fa9d315}
html[data-theme=dark] .text-link{color:#a5cdff}
html[data-theme=dark] .blue-text{color:#9ac2ff}
html[data-theme=dark] .button.blue{background-color:#1758e4;color:#fff}
html[data-theme=dark] .button.blue:hover{filter:brightness(1.1)}
html[data-theme=dark] .site-footer{background:#071831;border-top-color:#37577e}
html[data-theme=dark] .motion-control{background:#102a50ed;border-color:#52749d;color:#dbe9ff}
html[data-theme=dark] :is(button,a,summary,input):focus-visible{outline-color:#ffdf70}
/* Security: readable commitments, practical data explanations and clear boundaries. */
.institute-more{margin-top:26px}.security-nav{display:flex;flex-wrap:wrap;gap:10px;padding-block:24px;border-bottom:1px solid var(--line)}.security-nav a{padding:9px 16px;border:1px solid var(--line);border-radius:99px;font-size:13px;font-weight:700;text-decoration:none}.security-nav a:hover{background:#cbdcff;color:#143c77}.security-note{display:flex;gap:16px;align-items:flex-start;padding:22px 25px;background:#e5edfc;border-radius:18px;margin-top:25px}.security-note p{font-size:13px;line-height:1.8}.security-note>.icon{margin-top:4px}.security-boundaries{display:grid;grid-template-columns:1fr 1fr;gap:24px}.security-boundaries article{padding:32px;border:1px solid #c1d9d1;background:#f3fff6;border-radius:24px}.security-boundaries article:nth-child(2){background:#f0e8fc;border-color:#d9c5ed}.security-boundaries img{width:64px;margin-bottom:20px}.security-boundaries h3{font-size:27px}.security-boundaries p{margin-top:16px;font-size:16px}.security-tag{display:inline-block;margin-top:24px;padding:6px 12px;border-radius:99px;background:#ffffff88;font-size:11px;font-weight:800;color:#234659}.security-ai{display:grid;grid-template-columns:1fr 1.4fr;gap:40px;border-top:1px solid #699c9c66;margin-top:40px;padding-top:36px}.security-ai h3{font-size:30px}.security-ai p{font-size:15px}.security-data-list{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:28px}.security-data-list article{display:flex;gap:22px;padding:26px;border:1px solid var(--line);border-radius:20px;background:#fffdf7}.security-data-list .step-number{font-size:24px;flex-shrink:0}.security-data-list h3{font-size:23px}.security-data-list p{font-size:14px;margin-top:12px}.security-questions{background:#e4e8fa}.security-faq-grid{display:grid;grid-template-columns:.85fr 1.3fr;gap:65px}.security-faq-grid>div>p{margin-top:22px;font-size:15px}.security-questions .faq{margin:0}.security-questions .faq summary{color:#152c53}.security-questions .faq details{border-color:#aabbd7}.security-questions .faq details>p{color:#465b79}.security-questions .faq details a{color:#154bb7}.security-questions .faq summary .icon{color:#4265a0;flex-shrink:0}.security-urgent{padding:36px 40px;margin-top:64px;border:1px solid #e4be6a;border-radius:24px;background:#fff0c8}.security-urgent .eyebrow{margin-top:15px;color:#6a4915}.security-urgent h2{font-size:30px;color:#402f21}.security-urgent p{margin-top:18px;color:#62513a;max-width:760px}.security-contact{display:flex;gap:40px;align-items:center;justify-content:space-between}.security-contact>div:first-child{max-width:650px}.security-contact h2{font-size:32px}.security-contact p{margin-top:20px;font-size:15px}.security-contact .actions{flex-shrink:0;align-items:flex-start;flex-direction:column}
html[data-theme=dark] .security-nav a{background:#15345e;color:#d5e6ff;border-color:#44648e}html[data-theme=dark] .security-nav a:hover{background:#27548c}html[data-theme=dark] .security-note{background:#18365b;border:1px solid #41648e}html[data-theme=dark] .security-note>.icon{color:#9cc8ff}html[data-theme=dark] .security-boundaries article{background:linear-gradient(135deg,#205b61,#1b3e55);border-color:#548e8e}html[data-theme=dark] .security-boundaries article:nth-child(2){background:linear-gradient(135deg,#4f3b76,#323259);border-color:#8265a4}html[data-theme=dark] .security-boundaries p{color:#d1e1ef}html[data-theme=dark] .security-tag{background:#ffffff15;color:#e2f5ee}html[data-theme=dark] .security-data-list article{background:#143158;border-color:#41638e}html[data-theme=dark] .security-questions{background:linear-gradient(130deg,#232f59,#233b60)}html[data-theme=dark] .security-questions .faq summary{color:#f1f5ff}html[data-theme=dark] .security-questions .faq details{border-color:#526b95}html[data-theme=dark] .security-questions .faq details>p{color:#c2d1e8}html[data-theme=dark] .security-questions .faq details a{color:#a6d1ff}html[data-theme=dark] .security-questions .faq summary .icon{color:#bca5ff}html[data-theme=dark] .security-urgent{background:linear-gradient(120deg,#4b4147,#393c52);border-color:#b49a63}html[data-theme=dark] .security-urgent .eyebrow,html[data-theme=dark] .security-urgent>.icon{color:#ffdf8b}html[data-theme=dark] .security-urgent h2{color:#fff0cb}html[data-theme=dark] .security-urgent p{color:#e2d6bf}
@media(max-width:800px){.security-faq-grid{gap:30px}.security-contact{flex-direction:column;align-items:flex-start}.security-data-list article{padding:22px;gap:14px}.security-boundaries article{padding:25px}}
@media(max-width:640px){.security-nav{gap:8px;padding-block:20px}.security-nav a{font-size:11px;padding:8px 12px}.security-boundaries,.security-data-list,.security-ai,.security-faq-grid{grid-template-columns:1fr;gap:20px}.security-note{padding:20px;gap:12px}.security-note p{font-size:12px}.security-ai{gap:22px}.security-urgent{margin-top:40px;padding:26px}.security-urgent h2{font-size:26px}.security-urgent p{font-size:14px}.institute-more{font-size:13px;gap:8px}.security-contact{gap:26px}}
.shortcut-options label{transition:background .2s,border-color .2s,box-shadow .2s}.shortcut-options input{accent-color:#1758e4;flex-shrink:0}html[data-theme=dark] .shortcut-options input{accent-color:#ffdf70}html[data-theme=dark] .shortcut-options label:hover{border-color:#d0e1ff}.story-controls .story-position{font-size:11px;margin:0 0 12px;color:var(--muted);font-variant-numeric:tabular-nums}.segmented button[data-light-theme=humor][aria-pressed=true]{background:#ffe08a;color:#3d3150;border-color:#d7ad47}html[data-theme=dark] .segmented button[data-light-theme=humor][aria-pressed=true]{background:#ffe08a;color:#3d3150;border-color:#fff0c2}
/* Mobile hero follows the phone's natural height, including room for its tilt. */
@media(max-width:640px){
 .hero .hero-grid{gap:42px;padding-top:38px;padding-bottom:34px}
 .hero-copy{min-width:0}
 .hero h1{font-size:clamp(36px,10.5vw,46px);line-height:1.08}
 .hero .actions{gap:16px 20px;margin-top:28px;align-items:center}
 .hero .hero-visual{height:auto;min-height:0;margin:0 auto;padding:20px 12px 62px;align-items:flex-start;isolation:isolate}
 .hero-visual .phone{width:min(280px,calc(100% - 24px));flex:0 0 auto;margin:0}
 .hero .hero-mascot{width:160px;bottom:0;right:0}
}
@media(max-width:360px){.hero .hero-grid{gap:34px}.hero .actions{display:grid;grid-template-columns:1fr;justify-items:stretch;gap:18px}.hero .actions .text-link{justify-content:center;font-size:12px}.hero .hero-visual{padding-inline:8px;padding-bottom:52px}.hero .hero-mascot{width:140px}}
/* Mobile spacing refinement, preserving established content order and colors. */
@media(max-width:640px){
 .section{padding-block:52px}.section-heading{margin-bottom:28px}.section-heading p{line-height:1.65}
 .space-copy>.fine-print{margin:14px 0 0}.space-shell .space-section{gap:28px}
 .shortcut-options{gap:12px}.shortcut-options label{min-height:66px;gap:10px}.shortcut-options label input{flex:0 0 18px}
 .journey-steps{margin-top:30px}.journey-steps button{height:100%;gap:10px;justify-content:flex-start}.journey-steps b{margin-bottom:5px}.journey-steps span{line-height:1.5}
 .interactive-moods{width:100%;align-items:flex-start}.interactive-moods button{min-height:88px}.interactive-moods span{line-height:1.4}
 .week-heading{gap:7px}.week-days{gap:3px}.week-days button{min-height:64px}.week>p{line-height:1.65}
 .waitlist-grid{gap:28px}.waitlist .check-row{gap:10px;line-height:1.7}.waitlist .check-row input{margin-top:3px;flex-shrink:0}.waitlist .fine-print{line-height:1.7}
 .keep-grid{gap:20px}.keep-grid>article{padding:26px 24px}.keep-grid .quiet-link{margin-top:16px;min-height:36px;display:flex;align-items:center}
 .site-footer{padding-top:32px;padding-bottom:24px}.footer-top{gap:24px}.footer-links{gap:4px 12px}.footer-links a{min-height:40px;display:flex;align-items:center}.footer-bottom{margin-top:24px;padding-top:20px;line-height:1.65}
 .story-editor{gap:20px}.story-controls .segmented{gap:8px}.story-controls .segmented button{min-height:44px}.story-actions{gap:10px}.story-actions .button{flex:1;min-width:120px}.dialog-header .icon-button{width:44px;height:44px;flex-shrink:0}
 .security-nav a{min-height:40px;display:flex;align-items:center}.security-contact .actions{gap:16px}.security-data-list article{align-items:flex-start}.security-data-list .step-number{line-height:1.2;margin:0}.legal-index{gap:6px 18px}.legal-index a{min-height:38px;display:flex;align-items:center}
}
@media(max-width:360px){.keep-grid>article{padding:24px 18px;gap:12px}.shortcut-options label{padding:12px 10px;gap:8px}.shortcut-options img{width:27px;height:27px}.footer-links{column-gap:8px}.story-controls .segmented{gap:6px}}
