@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#090912;--panel:#11111d;--panel2:#171727;--line:#29293d;--text:#f4f3ff;--muted:#aaa8bf;--purple:#9b7cff;--pink:#d17bff;--cyan:#75d9ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#262044 0,transparent 48%),var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 max(5vw,24px);border-bottom:1px solid #ffffff12;background:#090912d9;backdrop-filter:blur(18px);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,#8b5cf6,#d946ef);color:white;font-weight:800}.accent{color:#b69aff}.topbar nav{display:flex;gap:26px;color:var(--muted);font-size:13px}.topbar nav a:hover,.topbar nav a.active{color:white}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;padding:13px 19px;font-weight:700;font-size:14px;transition:.2s;border:1px solid transparent}.button:hover{transform:translateY(-2px)}.button-small{padding:9px 13px;font-size:12px}.button-primary{background:linear-gradient(110deg,#8056ed,#b35ce9);color:white;box-shadow:0 8px 30px #8b5cf633}.button-outline{border-color:#45435f;background:#ffffff06;color:#f4f3ff}.hero{max-width:1120px;margin:auto;padding:112px 24px 105px;text-align:center}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#b69aff}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#63e6b0;box-shadow:0 0 12px #63e6b0;margin-right:8px}.hero h1{font-size:clamp(48px,8vw,86px);line-height:1.08;letter-spacing:-4px;margin:22px 0}.gradient{background:linear-gradient(100deg,#9b82ff,#e18bff 60%,#75d9ff);background-clip:text;color:transparent}.hero-copy{max-width:620px;margin:0 auto;color:var(--muted);font-size:18px}.hero-actions{display:flex;justify-content:center;gap:12px;margin-top:32px;flex-wrap:wrap}.hero-note{margin-top:22px;color:#77758e;font-size:12px}.section{max-width:1120px;margin:0 auto;padding:20px 24px 90px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px;gap:20px}.section-heading h2,.callout h2{font-size:30px;line-height:1.2;margin:8px 0}.section-heading p,.callout p{color:var(--muted);max-width:350px;font-size:14px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card{background:linear-gradient(145deg,#171727,#10101a);border:1px solid var(--line);border-radius:18px;padding:23px;min-height:220px;transition:.2s}.card:hover{border-color:#8e70db;transform:translateY(-3px)}.card-feature{background:linear-gradient(145deg,#282044,#151322)}.card-icon{width:40px;height:40px;border-radius:12px;background:#a78bfa1c;color:#c3aaff;display:grid;place-items:center;font-size:21px}.card h3{margin:17px 0 5px;font-size:17px}.card p{margin:0;color:var(--muted);font-size:13px}.card-link{display:block;margin-top:18px;color:#c5aaff;font-size:12px;font-weight:700}.callout{max-width:1072px;margin:0 auto 90px;padding:34px 38px;border:1px solid #39304f;border-radius:22px;background:linear-gradient(100deg,#211a35,#151323);display:flex;justify-content:space-between;align-items:center;gap:25px}.callout p{margin-bottom:0}.callout h2{margin-bottom:0}footer{border-top:1px solid #ffffff14;padding:26px max(5vw,24px);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#77758e;font-size:11px}footer .brand{color:var(--text);font-size:16px}footer .brand-mark{width:28px;height:28px;border-radius:9px}footer div{display:flex;gap:18px}footer a:hover{color:white}.doc{max-width:850px;margin:0 auto;padding:72px 24px 100px}.doc h1{font-size:clamp(34px,5vw,52px);line-height:1.15;letter-spacing:-1.5px;margin:14px 0 18px}.doc h2{font-size:21px;margin:38px 0 8px}.doc p,.doc li{color:#c1bfd1}.doc li{margin:8px 0}.lead{font-size:18px}.muted{color:var(--muted)!important}.small{font-size:12px}.notice{border:1px solid #8064cf66;background:#8b5cf615;border-radius:14px;padding:16px 18px;color:#d6c9ff;margin:26px 0}.prompt-example{border:1px solid var(--line);background:#151522;border-radius:14px;padding:18px 20px;margin:18px 0}.prompt-example p{margin-bottom:0;color:#e5e0f6}.studio-main{padding:38px 4vw 70px}.studio-head{max-width:1500px;margin:0 auto 22px;display:flex;justify-content:space-between;align-items:end;gap:20px}.studio-head h1{font-size:34px;margin:5px 0}.studio-head p{color:var(--muted);font-size:13px;margin:0}.embed-wrap{max-width:1500px;margin:auto;height:calc(100dvh - 230px);min-height:620px;position:relative;border:1px solid #38364e;border-radius:16px;overflow:hidden;background:#fff}.embed-wrap iframe{width:100%;height:100%;border:0;background:white}.embed-warning{position:absolute;z-index:1;right:14px;bottom:14px;max-width:300px;padding:14px;border:1px solid #49415f;border-radius:13px;background:#151322ed;box-shadow:0 10px 35px #0008;display:grid;gap:8px;font-size:12px}.embed-warning span{color:#c1bfd1}.embed-warning .button{padding:9px;font-size:11px}.studio-page footer{margin-top:0}
@media(max-width:850px){.topbar{padding:0 18px}.topbar nav{gap:12px}.topbar nav a{font-size:11px}.cards{grid-template-columns:repeat(2,1fr)}.section-heading{display:block}.callout{margin-left:18px;margin-right:18px}.embed-wrap{height:calc(100dvh - 250px);min-height:540px}}
@media(max-width:600px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:12px 16px;gap:10px}.topbar nav{order:3;width:100%;overflow-x:auto;padding:5px 0}.topbar nav a{white-space:nowrap}.topbar>.button{margin-left:auto}.hero{padding:76px 20px 68px}.hero h1{letter-spacing:-2px}.hero-copy{font-size:15px}.cards{grid-template-columns:1fr}.card{min-height:175px}.section{padding-bottom:55px}.callout{display:block;padding:25px;margin-bottom:55px}.callout .button{margin-top:18px}.doc{padding:48px 20px 70px}.studio-main{padding:25px 12px 45px}.studio-head{display:block}.studio-head .button{margin-top:14px}.embed-wrap{height:calc(100dvh - 240px);min-height:480px;border-radius:10px}.embed-warning{left:8px;right:8px;bottom:8px;max-width:none}footer{align-items:flex-start;flex-direction:column;padding:22px 18px}footer div{flex-wrap:wrap;gap:12px}}

/* Управление полноэкранным режимом студии */
.studio-controls{max-width:1500px;margin:0 auto 14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.fullscreen-button{cursor:pointer;background:linear-gradient(110deg,#16a34a,#22c55e);color:#fff;border:1px solid #4ade80;box-shadow:0 8px 26px #22c55e35}
.fullscreen-button:hover{filter:brightness(1.08)}
.esc-hint{display:inline-flex;align-items:center;min-height:46px;padding:9px 16px;border:1px solid #eab30888;border-radius:12px;background:linear-gradient(110deg,#713f12aa,#a16207aa);color:#fff1b8;font-size:13px;font-weight:700}
.embed-wrap:fullscreen{width:100vw;height:100vh;max-width:none;min-height:0;border:0;border-radius:0;background:#fff}
.embed-wrap:fullscreen iframe{width:100%;height:100%}
@media(max-width:600px){.studio-controls{gap:8px}.fullscreen-button{width:100%}.esc-hint{width:100%;justify-content:center;text-align:center;font-size:11px}}
