:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1c;
  --surface: #0d1424;
  --surface-2: #121c30;
  --surface-3: #18243b;
  --text: #f5f7ff;
  --text-2: #c7d0df;
  --text-3: #8290a7;
  --accent-soft: #9dbdff;
  --muted: #9aa7bd;
  --line: rgba(255,255,255,.09);
  --accent: #6aa7ff;
  --accent-2: #8f7dff;
  --success: #74d99f;
  --warning: #ffca72;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 28px 90px rgba(0,0,0,.35);
  --max: 1180px;
  --glow-1: rgba(82,122,255,.18);
  --glow-2: rgba(127,87,255,.12);
  --page-glow-1: rgba(82,122,255,.18);
  --page-glow-2: rgba(127,87,255,.12);
  --hero-gradient: linear-gradient(130deg,#fff 20%,#9ec2ff 58%,#a991ff);
  --icon-tint: rgba(106,167,255,.12);
  --icon-tint-line: rgba(106,167,255,.2);
  --focus-ring: rgba(106,167,255,.6);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070d;
  --bg-soft: #0a0f1c;
  --surface: #0d1424;
  --surface-2: #121c30;
  --surface-3: #18243b;
  --text: #f5f7ff;
  --text-2: #c7d0df;
  --text-3: #8290a7;
  --accent-soft: #9dbdff;
  --muted: #9aa7bd;
  --line: rgba(255,255,255,.09);
  --accent: #6aa7ff;
  --accent-2: #8f7dff;
  --success: #74d99f;
  --warning: #ffca72;
  --shadow: 0 28px 90px rgba(0,0,0,.35);
  --glow-1: rgba(82,122,255,.18);
  --glow-2: rgba(127,87,255,.12);
  --page-glow-1: rgba(82,122,255,.18);
  --page-glow-2: rgba(127,87,255,.12);
  --hero-gradient: linear-gradient(130deg,#fff 20%,#9ec2ff 58%,#a991ff);
  --icon-tint: rgba(106,167,255,.12);
  --icon-tint-line: rgba(106,167,255,.2);
  --focus-ring: rgba(106,167,255,.6);
}

[data-theme="blue"] {
  color-scheme: dark;
  --bg: #060c24;
  --bg-soft: #0a1436;
  --surface: #0d1940;
  --surface-2: #122152;
  --surface-3: #182b63;
  --text: #f2f5ff;
  --text-2: #c3cdf2;
  --text-3: #93a2d6;
  --accent-soft: #a9c4ff;
  --muted: #a9b7e0;
  --line: rgba(160,185,255,.16);
  --accent: #7aa8ff;
  --accent-2: #a08bff;
  --success: #74d99f;
  --warning: #ffca72;
  --shadow: 0 28px 90px rgba(0,10,45,.5);
  --glow-1: rgba(110,145,255,.22);
  --glow-2: rgba(150,110,255,.16);
  --page-glow-1: rgba(110,145,255,.22);
  --page-glow-2: rgba(150,110,255,.16);
  --hero-gradient: linear-gradient(130deg,#fff 20%,#a9c4ff 58%,#c9b8ff);
  --icon-tint: rgba(122,168,255,.16);
  --icon-tint-line: rgba(122,168,255,.28);
  --focus-ring: rgba(122,168,255,.7);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --surface-3: #e2e6f2;
  --text: #0b1220;
  --text-2: #3c4560;
  --text-3: #667089;
  --accent-soft: #3654c9;
  --muted: #56617a;
  --line: rgba(15,22,45,.11);
  --accent: #3f63e0;
  --accent-2: #7c5cff;
  --success: #178a56;
  --warning: #a35d00;
  --shadow: 0 20px 60px rgba(20,30,70,.10);
  --glow-1: rgba(80,110,255,.10);
  --glow-2: rgba(130,90,255,.08);
  --page-glow-1: rgba(80,110,255,.05);
  --page-glow-2: rgba(130,90,255,.04);
  --hero-gradient: linear-gradient(130deg,#0b1220 10%,#3654c9 58%,#7c5cff);
  --icon-tint: rgba(63,99,224,.09);
  --icon-tint-line: rgba(63,99,224,.22);
  --focus-ring: rgba(63,99,224,.55);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f6f7fb;
    --bg-soft: #ffffff;
    --surface: #ffffff;
    --surface-2: #eef1f8;
    --surface-3: #e2e6f2;
    --text: #0b1220;
    --text-2: #3c4560;
    --text-3: #667089;
    --accent-soft: #3654c9;
    --muted: #56617a;
    --line: rgba(15,22,45,.11);
    --accent: #3f63e0;
    --accent-2: #7c5cff;
    --shadow: 0 20px 60px rgba(20,30,70,.10);
    --glow-1: rgba(80,110,255,.10);
    --glow-2: rgba(130,90,255,.08);
    --page-glow-1: rgba(80,110,255,.05);
    --page-glow-2: rgba(130,90,255,.04);
    --hero-gradient: linear-gradient(130deg,#0b1220 10%,#3654c9 58%,#7c5cff);
    --icon-tint: rgba(63,99,224,.09);
    --icon-tint-line: rgba(63,99,224,.22);
    --focus-ring: rgba(63,99,224,.55);
  }
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 12% -10%,var(--page-glow-1),transparent 34%),radial-gradient(circle at 100% 0%,var(--page-glow-2),transparent 30%),var(--bg);color:var(--text);font:16px/1.6 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;transition:background-color .25s ease,color .25s ease}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
button{color:inherit}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.narrow{width:min(820px,calc(100% - 40px));margin-inline:auto}

.site-header{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(var(--max),calc(100% - 40px));margin:auto;position:relative;z-index:20;padding:14px 0}
.brand{display:inline-flex;align-items:center;flex-shrink:0}
.brand-logo{height:28px;width:auto;display:block}
.brand-logo-dark{display:none}
[data-theme="light"] .brand-logo-dark{display:block}
[data-theme="light"] .brand-logo-light{display:none}
.footer-brand .brand-logo{height:26px}
.desktop-nav{display:flex;gap:28px;color:var(--text-2);font-size:.94rem}.desktop-nav a{padding:8px 0}.desktop-nav a[aria-current="page"],.desktop-nav a:hover{color:var(--text)}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.theme-select{appearance:none;-webkit-appearance:none;min-height:44px;padding:0 34px 0 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="7"><path d="M1 1l4 4 4-4" stroke="%239aa7bd" stroke-width="1.6" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 12px center;color:var(--text);font-size:.86rem;font-weight:600;cursor:pointer}
.theme-select:hover{background-color:var(--surface-3)}
.menu-button{display:none;background:transparent;border:0;width:44px;height:44px;padding:11px;flex-shrink:0}.menu-button span{display:block;height:2px;background:var(--text);margin:5px 0;border-radius:9px}
.mobile-nav{display:none;width:calc(100% - 40px);margin:0 auto 16px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:18px;position:relative;z-index:25;box-shadow:var(--shadow)}.mobile-nav a{display:block;padding:12px;border-radius:10px;min-height:44px;display:flex;align-items:center}.mobile-nav a:hover{background:var(--surface-2)}

.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:14px;border:1px solid transparent;background:linear-gradient(145deg,var(--accent),var(--accent-2));color:#fff;font-weight:700;box-shadow:0 10px 28px rgba(75,117,242,.22);cursor:pointer}.button:hover{transform:translateY(-1px)}.button-ghost{background:var(--surface-2);border-color:var(--line);color:var(--text);box-shadow:none}.button-small{min-height:38px;padding:0 13px;border-radius:11px;font-size:.9rem}

.hero{padding:92px 0 80px}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:64px;align-items:center}.eyebrow{margin:0 0 12px;color:var(--accent-soft);text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800}.hero h1,.page-hero h1{font-size:clamp(3rem,7vw,5.7rem);line-height:.96;letter-spacing:-.065em;margin:0 0 24px;color:var(--text)}.hero h1 span{background:var(--hero-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}.lead{font-size:1.18rem;color:var(--text-2);max-width:650px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.microcopy{font-size:.82rem;color:var(--text-3);margin-top:12px}

.app-shell{background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line);border-radius:32px;box-shadow:var(--shadow);padding:16px;position:relative;overflow:hidden}.app-shell::before{content:"";position:absolute;inset:-20% auto auto -10%;width:70%;aspect-ratio:1;border-radius:50%;background:var(--glow-1);filter:blur(60px)}.app-topbar{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;position:relative;color:var(--text)}.app-topbar strong{font-size:.95rem}.avatar{width:30px;height:30px;border-radius:50%;background:linear-gradient(145deg,var(--accent),var(--accent-2));display:grid;place-items:center;font-size:.76rem;color:#fff}.app-search{height:46px;border-radius:14px;background:var(--surface-2);border:1px solid var(--line);color:var(--text-3);padding:0 14px;display:flex;align-items:center;margin:0 8px 16px}.category-mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 8px 12px}.category-mini{background:var(--surface-2);border:1px solid var(--line);border-radius:13px;padding:12px 8px;text-align:center;font-size:.69rem;color:var(--text-3)}.category-mini b{display:block;font-size:.9rem;color:var(--text);margin-bottom:2px}.memory-stack{padding:0 8px 8px;display:grid;gap:8px}.memory-mini{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center;background:var(--surface-2);border:1px solid var(--line);border-radius:15px;padding:10px}.memory-thumb{width:54px;height:54px;border-radius:12px;background:linear-gradient(145deg,var(--surface-3),var(--surface));display:grid;place-items:center;font-size:1.15rem;color:var(--text)}.memory-mini h3{font-size:.84rem;margin:0 0 2px;color:var(--text)}.memory-mini p{margin:0;color:var(--text-3);font-size:.7rem;line-height:1.4}.pill{border:1px solid var(--line);border-radius:999px;padding:4px 7px;color:var(--text-3);font-size:.62rem}

.section{padding:92px 0}.section-soft{background:linear-gradient(180deg,var(--surface),var(--bg-soft));border-block:1px solid var(--line)}.section-heading{max-width:720px;margin-bottom:36px}.section-heading h2,.page-section h2{font-size:clamp(2rem,4.5vw,3.5rem);letter-spacing:-.05em;line-height:1.04;margin:0 0 14px;color:var(--text)}.section-heading p,.page-section>p{color:var(--muted);font-size:1.05rem}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.feature-card{padding:22px;background:linear-gradient(180deg,var(--surface-2),var(--surface));border:1px solid var(--line);border-radius:20px;min-height:174px}.feature-icon{width:40px;height:40px;border-radius:12px;background:var(--icon-tint);border:1px solid var(--icon-tint-line);display:grid;place-items:center;color:var(--accent);font-weight:800;margin-bottom:26px}.feature-card h3{font-size:1rem;margin:0 0 6px;color:var(--text)}.feature-card p{margin:0;color:var(--muted);font-size:.9rem}

.demo-wrap{display:grid;grid-template-columns:220px 1fr;border:1px solid var(--line);background:var(--surface);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.demo-sidebar{padding:18px;border-right:1px solid var(--line);background:var(--surface-2)}.demo-title{font-size:.8rem;color:var(--text-3);margin:0 0 10px}.demo-category{width:100%;display:flex;justify-content:space-between;align-items:center;background:transparent;border:0;border-radius:11px;padding:10px 12px;color:var(--text-2);cursor:pointer;text-align:left;min-height:44px}.demo-category:hover,.demo-category.active{background:var(--surface-3);color:var(--text)}.demo-category span:last-child{font-size:.68rem;background:var(--surface-3);border-radius:999px;padding:2px 7px}.demo-main{padding:24px}.demo-main-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:18px}.demo-main-head h3{margin:0;font-size:1.1rem;color:var(--text)}.demo-badge{font-size:.72rem;color:var(--accent-soft);border:1px solid var(--icon-tint-line);background:var(--icon-tint);padding:5px 9px;border-radius:999px}.demo-list{display:grid;gap:12px}.demo-memory{display:grid;grid-template-columns:52px 1fr auto;gap:14px;align-items:center;padding:15px;border-radius:16px;background:var(--surface-2);border:1px solid var(--line)}.demo-memory-icon{width:52px;height:52px;border-radius:13px;background:linear-gradient(145deg,var(--surface-3),var(--surface));display:grid;place-items:center;font-weight:800;color:var(--text)}.demo-memory h4{margin:0 0 3px;color:var(--text)}.demo-memory p{margin:0;color:var(--muted);font-size:.86rem}.demo-memory .eyebrow{font-size:.62rem;margin-bottom:3px}.icon-button{width:44px;height:44px;border-radius:11px;border:1px solid var(--line);background:var(--surface-3);color:var(--text);cursor:pointer}

.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:28px;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface),var(--bg-soft))}.panel h3{margin:0 0 10px;color:var(--text)}.panel p{color:var(--muted);margin:0}.check-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:9px}.check-list li{display:flex;gap:10px;color:var(--text-2)}.check-list li::before{content:"✓";color:var(--success);font-weight:900}

.cta-band{padding:46px;border:1px solid var(--icon-tint-line);background:linear-gradient(145deg,var(--glow-1),var(--glow-2));border-radius:26px;display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-band h2{margin:0 0 8px;font-size:clamp(2rem,4vw,3rem);letter-spacing:-.05em;color:var(--text)}.cta-band p{color:var(--muted);margin:0}

.page-hero{padding:78px 0 42px}.page-hero h1{font-size:clamp(2.8rem,6vw,4.8rem)}.page-hero .lead{max-width:760px}.breadcrumbs{font-size:.82rem;color:var(--text-3);margin-bottom:18px}.breadcrumbs a:hover{color:var(--text)}.page-section{padding:34px 0}.page-section h2{font-size:2rem;color:var(--text)}.page-section h3{margin-top:28px;color:var(--text)}.page-section p,.page-section li{color:var(--text-2)}.page-section a{color:var(--accent-soft);text-decoration:underline;text-underline-offset:3px}.page-section ul{padding-left:22px}.legal-card{padding:24px;border-radius:18px;background:var(--surface);border:1px solid var(--line);margin:20px 0}.legal-card p{margin:5px 0}.notice{border-left:3px solid var(--warning);background:var(--icon-tint);padding:16px 18px;border-radius:0 14px 14px 0}.notice strong{color:var(--warning)}.faq{display:grid;gap:12px}.faq details{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:0 18px}.faq summary{cursor:pointer;padding:18px 0;font-weight:700;color:var(--text);min-height:44px;display:flex;align-items:center}.faq details p{padding:0 0 18px;margin:0;color:var(--muted)}

.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.contact-card{padding:22px;border-radius:18px;border:1px solid var(--line);background:var(--surface)}.contact-card h3{color:var(--text)}.contact-card p{color:var(--muted)}

.not-found{position:relative;overflow:hidden}.not-found-mark{position:absolute;top:50%;left:50%;width:520px;max-width:none;transform:translate(-50%,-50%);opacity:.06;pointer-events:none}.not-found .narrow{position:relative;z-index:1}

.site-footer{border-top:1px solid var(--line);background:var(--bg-soft);margin-top:70px;padding:56px 0 24px}.footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,1fr);gap:34px}.footer-grid h2{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--text-3);margin:0 0 12px}.footer-grid a{display:block;color:var(--text-2);padding:4px 0}.footer-grid a:hover{color:var(--text)}.footer-brand{margin-bottom:10px}.muted{color:var(--muted)}.footer-legal{border-top:1px solid var(--line);margin-top:34px;padding-top:20px;color:var(--text-3);font-size:.78rem}.footer-legal p{margin:3px 0}

.consent-banner{position:fixed;z-index:100;left:20px;right:20px;bottom:20px;max-width:920px;margin:auto;padding:18px;background:var(--surface);border:1px solid var(--line);box-shadow:0 22px 70px rgba(0,0,0,.35);border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:22px}.consent-banner strong{display:block;margin-bottom:3px;color:var(--text)}.consent-banner p{margin:0;color:var(--muted);font-size:.85rem}.consent-actions{display:flex;gap:8px;flex:0 0 auto}

@media(max-width:900px){.desktop-nav,.desktop-cta{display:none}.menu-button{display:block}.mobile-nav:not([hidden]){display:block}.hero{padding-top:54px}.hero-grid{grid-template-columns:1fr;gap:42px}.hero-copy{max-width:720px}.feature-grid{grid-template-columns:repeat(2,1fr)}.split,.contact-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1.3fr 1fr 1fr}.footer-grid>div:last-child{grid-column:2/4}.demo-wrap{grid-template-columns:170px 1fr}}
@media(max-width:620px){.container,.narrow,.site-header,.mobile-nav{width:min(100% - 28px,var(--max))}.site-header{min-height:64px;padding:12px 0}.brand-logo{height:24px}.theme-select{min-height:40px;padding:0 30px 0 12px;font-size:.82rem}.hero{padding:36px 0 56px}.hero h1{font-size:3.25rem}.section{padding:66px 0}.feature-grid{grid-template-columns:1fr 1fr}.feature-card{padding:18px;min-height:158px}.demo-wrap{display:block}.demo-sidebar{border-right:0;border-bottom:1px solid var(--line);display:flex;gap:7px;overflow:auto}.demo-title{display:none}.demo-category{width:auto;flex:0 0 auto}.demo-category span:last-child{display:none}.demo-main{padding:16px}.demo-memory{grid-template-columns:44px 1fr}.demo-memory-icon{width:44px;height:44px}.demo-memory .icon-button{display:none}.cta-band{padding:28px;display:block}.cta-band .button{margin-top:20px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/3}.footer-grid>div:last-child{grid-column:auto}.consent-banner{display:block;left:12px;right:12px;bottom:12px}.consent-actions{margin-top:12px;flex-wrap:wrap}.not-found-mark{width:340px}}
@media(max-width:420px){.feature-grid{grid-template-columns:1fr}.hero h1{font-size:2.8rem}.category-mini-grid{grid-template-columns:repeat(2,1fr)}.header-actions{gap:6px}.theme-select{padding:0 26px 0 10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}.button:hover{transform:none}}
:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
