:root{color-scheme:dark;--bg:#121018;--surface:#1d1925;--raised:#292231;--text:#f5f0f7;--muted:#c6bdcd;--accent:#d9b3ff;--warm:#f1b7a8;--line:#ffffff18}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:5px}button{cursor:pointer}header,main,footer{max-width:1240px;margin:auto}header{padding:30px 36px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:26px;letter-spacing:-1.4px}.brand-mark{display:grid;place-items:center;background:var(--accent);color:var(--bg);font-family:Georgia,serif;font-style:italic;width:34px;height:38px;border-radius:10px;transform:rotate(-8deg)}.beta{font:9px/1.2 system-ui;letter-spacing:1.5px;margin-left:8px;color:var(--muted);border:1px solid var(--line);border-radius:20px;padding:7px}nav{display:flex;gap:28px;align-items:center;font-size:13px}nav>a:first-child{color:var(--muted)}.button{display:inline-flex;justify-content:center;align-items:center;gap:24px;padding:15px 25px;min-height:48px;background:var(--accent);color:#21162e;border:0;border-radius:30px;font-size:14px;font-weight:650}.button:hover{background:#e6ceff}.button:disabled{opacity:.55;cursor:wait}.small{padding:10px 18px;font-size:12px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;padding:80px 36px 100px}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--muted);font-weight:650}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--warm);margin-right:8px}h1{font:normal clamp(48px,6.3vw,82px)/1.08 Georgia,serif;letter-spacing:-3px;margin:24px 0}h1 em{font-weight:normal;color:var(--warm)}.intro{max-width:440px;font-size:16px;color:var(--muted);line-height:1.8}.actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:30px 0 15px}.text-link{font-size:12px;color:var(--muted);border-bottom:1px solid #ffffff30;padding-bottom:5px}.fine{font-size:11px;color:var(--muted)}.story-art{position:relative;min-height:500px;padding:25px 35px}.orbit{position:absolute;border:1px solid #d9b3ff20;border-radius:50%;width:470px;height:470px;left:0;top:0;pointer-events:none}.o2{transform:rotate(-25deg);width:330px;height:550px;left:60px;top:-20px}.preview-card{position:relative;background:linear-gradient(145deg,#51405a,#28202c 70%);border:1px solid #ffffff20;border-radius:170px 170px 24px 24px;padding:32px;min-height:390px;box-shadow:0 30px 90px #0005;transform:rotate(3deg)}.monogram{font:italic 190px/.95 Georgia,serif;color:#dcbfc9;text-align:center;letter-spacing:-20px;padding-right:20px}.preview-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:#dacbdc;margin-top:20px}.preview-card h2{font:normal 29px/1.2 Georgia,serif;margin:15px 0}.tag-row{display:flex;gap:6px;flex-wrap:wrap}.tag-row span{font-size:9px;border:1px solid #ffffff2a;border-radius:20px;padding:4px 9px}.sample-message{position:relative;z-index:1;margin:-10px -20px 0;background:#332c3d;padding:20px 24px;border:1px solid #ffffff20;border-radius:18px;box-shadow:0 20px 40px #0004;transform:rotate(-3deg)}.sample-message p{font:italic 20px/1.4 Georgia,serif;margin:8px 0}.tiny-label{font-size:8px;letter-spacing:1.7px;color:var(--accent)}.principles{margin:0 36px;display:grid;grid-template-columns:repeat(3,1fr);gap:40px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:38px 0}.principles span{font-size:9px;letter-spacing:1.6px;color:var(--warm)}.principles h2{font:normal 26px/1.3 Georgia,serif}.principles p{color:var(--muted);font-size:13px;max-width:280px}.companions{padding:75px 36px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-head h2,.closing h2{font:normal 46px/1.2 Georgia,serif;letter-spacing:-1px;margin:14px 0 30px}.catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.character{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:22px;display:flex;flex-direction:column}.character-initial{height:120px;display:grid;place-items:center;font:italic 70px Georgia,serif;border-radius:80px 80px 12px 12px;background:linear-gradient(135deg,#51405a,#2b2531);color:var(--warm);margin-bottom:20px}.character:nth-child(2n) .character-initial{background:linear-gradient(135deg,#354942,#202e2b);color:#c9d6b6}.character:nth-child(3n) .character-initial{background:linear-gradient(135deg,#584735,#302621);color:#f1d2b1}.character h3{font-size:17px;margin:0}.character .occupation{font-size:11px;color:var(--warm);margin-top:3px}.character p{font-size:12px;color:var(--muted);flex:1}.character button{margin-top:18px}.closing{text-align:center;padding:55px 24px 85px;border-bottom:1px solid var(--line)}footer{padding:40px 36px 50px;display:flex;align-items:center;justify-content:space-between;gap:24px}footer p{font-size:11px;color:var(--muted)}footer>div{display:flex;gap:18px;font-size:11px;color:var(--muted)}.hidden{display:none!important}.legal,.application{padding:50px 36px 90px}.legal{max-width:800px;min-height:60vh}.legal h1,.app-title{font:normal 44px/1.2 Georgia,serif;letter-spacing:-1px}.legal p,.legal li{color:var(--muted)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px;margin:20px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{display:block;font-size:13px;color:var(--muted);margin:12px 0}input,select,textarea{display:block;width:100%;background:var(--bg);color:var(--text);border:1px solid #ffffff28;border-radius:10px;padding:12px;margin-top:6px;min-height:48px}.check{display:flex;align-items:flex-start;gap:12px}.check input{width:20px;min-height:20px;flex-shrink:0;margin-top:3px}.check a{text-decoration:underline}.secondary,.danger{background:transparent;border:1px solid #ffffff35;color:var(--text);border-radius:10px;padding:10px 16px;min-height:48px}.danger{color:#ffb4ab;border-color:#ffb4ab55}.workspace{display:grid;grid-template-columns:260px 1fr;gap:20px}.workspace aside button{display:block;width:100%;margin-top:16px}.messages{min-height:300px;max-height:520px;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:16px 0}.bubble{max-width:86%;padding:13px 17px;border-radius:16px;background:var(--raised);white-space:pre-wrap}.bubble.user{align-self:flex-end;background:#49375c}.bubble button{display:block;font-size:10px;margin-top:8px;background:transparent;border:0;color:var(--muted);padding:4px;min-height:28px}.chat form{display:flex;align-items:flex-end;gap:10px}.chat form textarea{resize:vertical}.chat form button{flex-shrink:0}.memory-row{border-bottom:1px solid var(--line);padding:14px 0;display:flex;gap:15px;align-items:center;justify-content:space-between}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{display:block;padding:16px;background:var(--accent);color:var(--bg)}#app-status{padding:12px 0;color:var(--warm)}@media(max-width:900px){.hero{gap:24px;padding-top:35px}.story-art{padding:20px;min-height:420px}.orbit{width:100%;height:400px}.o2{left:0}.catalog{grid-template-columns:repeat(2,1fr)}.principles{gap:20px}.workspace{grid-template-columns:1fr}footer{flex-wrap:wrap}}@media(max-width:620px){header{padding:20px}.brand{font-size:23px}.beta,nav>a:first-child,nav>a:nth-child(2){display:none}.hero{grid-template-columns:1fr;padding:30px 20px 45px;gap:35px}h1{font-size:58px;letter-spacing:-2px}.story-art{max-width:400px;margin:auto;width:100%}.principles{grid-template-columns:1fr;margin:0 20px;gap:10px}.principles h2{margin:10px 0}.principles p{max-width:100%}.companions,.application,.legal{padding:45px 20px}.section-head h2{font-size:35px}.section-head{align-items:flex-start}.catalog{gap:10px}.character{padding:15px}.character-initial{height:95px}.form-grid{grid-template-columns:1fr}.panel{padding:18px}.chat form{flex-direction:column;align-items:stretch}footer{padding:30px 20px}footer>div{flex-wrap:wrap}.sample-message{margin-left:0;margin-right:0}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
