@font-face {
  font-family:"DM Sans"; src:url("/assets/dm-sans-400.ttf") format("truetype");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face {
  font-family:"DM Sans"; src:url("/assets/dm-sans-700.ttf") format("truetype");
  font-weight:600 900; font-style:normal; font-display:swap;
}
:root {
  color-scheme:light;
  --canvas:#f5f6fb; --paper:#fff; --ink:#222438; --muted:#566073;
  --blue:#50499a; --line:#d9dce6; --subtle:#efeff7; --active:#e4e2f4;
  --cta:#343050; --on-cta:#fff; --highlight:#645aa7; --accent:#be5032;
  --focus:#7563bb; --soft-glow:#dddaf8; --switch-shadow:#38364f24;
  --page-width:1250px; --page-gutter:clamp(18px,4.3vw,64px);
  font:16px/1.5 "DM Sans",Arial,sans-serif;
  color:var(--ink); background:var(--canvas);
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --canvas:#101423; --paper:#191e31; --ink:#f2f1fa; --muted:#b5bcce;
  --blue:#b9acff; --line:#35394c; --subtle:#22283c; --active:#37334e;
  --cta:#d1c6ff; --on-cta:#211d34; --highlight:#b9abf7; --accent:#ff9a72;
  --focus:#d1c3ff; --soft-glow:#2b2853; --switch-shadow:#03051050;
}
* { box-sizing:border-box }
body { margin:0; min-height:100vh }
button,input,select,textarea { font:inherit; color:inherit }
button,a { touch-action:manipulation }
button { cursor:pointer }
button:disabled { cursor:wait; opacity:.65 }
a { color:var(--blue) }
i[data-icon] { display:inline-flex; flex:none; width:1.2rem; height:1.2rem; color:inherit; font-style:normal }
i[data-icon] svg { width:100%; height:100% }
:focus-visible { outline:3px solid var(--focus); outline-offset:3px }
[hidden] { display:none!important }
.skip { position:fixed; top:8px; left:8px; transform:translateY(-180%); z-index:8; padding:.6rem 1rem; background:var(--paper); border-radius:7px }
.skip:focus { transform:none }
.bar-inner,#view { max-width:var(--page-width); margin-inline:auto; padding-inline:var(--page-gutter) }
.topbar { --header-gutter:var(--page-gutter); background:var(--canvas) }
.bar-inner { display:grid; grid-template-columns:1fr auto 1fr; gap:15px; align-items:center; min-height:78px; position:relative; padding-inline:var(--header-gutter) }
.bar-inner::after { content:""; position:absolute; inset:auto var(--header-gutter) 0; height:1px; background:var(--line) }
.brand { display:inline-flex; width:max-content; align-items:center; gap:9px; color:var(--ink); text-decoration:none; font-size:1.45rem; font-weight:700; letter-spacing:-.065em }
.brand-mark { position:relative; display:block; width:25px; height:28px; transform:rotate(-7deg) }
.brand-mark i { position:absolute; inset:0; background:var(--highlight); clip-path:polygon(50% 0,100% 93%,55% 73%) }
.brand-mark i:nth-child(2) { background:#9a8ad8; clip-path:polygon(50% 0,55% 73%,0 93%) }
.brand-mark i:nth-child(3) { background:#8074c1; clip-path:polygon(55% 73%,100% 93%,0 93%) }
.bar-inner nav { display:flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--line); background:var(--subtle); border-radius:99px }
.module-link { display:flex; justify-content:center; align-items:center; min-height:32px; padding:4px 16px; border-radius:99px; text-decoration:none; color:var(--muted); font-size:.86rem; line-height:1.2; font-weight:700; white-space:nowrap }
.module-link:hover { color:var(--ink) }
.module-link[aria-current] { color:var(--ink); background:var(--paper); box-shadow:0 1px 3px var(--switch-shadow) }
.account-tools { justify-self:end; display:flex; align-items:center; gap:14px }
.demo-status { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; color:var(--muted); font-size:.8rem }
.demo-status i { width:7px; height:7px; border-radius:50%; background:var(--accent) }
.avatar { display:grid; place-items:center; width:34px; height:34px; border:1px solid var(--line); border-radius:50%; color:var(--blue); background:var(--active); font-size:.74rem; font-weight:700; text-decoration:none }
.avatar:hover,.avatar[aria-current] { border-color:var(--highlight) }
.theme-switch { position:relative; display:inline-flex; align-items:center; justify-content:center; padding:3px; border:1px solid var(--line); border-radius:99px; background:var(--subtle); color:var(--muted) }
.theme-switch::before { content:""; position:absolute; left:3px; width:25px; height:25px; border-radius:50%; background:var(--paper); box-shadow:0 1px 3px var(--switch-shadow); transition:transform .18s ease }
.theme-icon { display:grid; position:relative; place-items:center; width:25px; height:25px }
.theme-icon i { width:15px; height:15px }
:root[data-theme="light"] .theme-icon:first-child,:root[data-theme="dark"] .theme-icon:last-child { color:var(--blue) }
:root[data-theme="dark"] .theme-switch::before { transform:translateX(25px) }
#view { padding-block:clamp(26px,3.8vw,56px) 60px; outline:none }
.on-overview #view { padding-top:clamp(16px,2.4vw,38px) }
.overview { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.95fr); align-items:center; column-gap:clamp(15px,3vw,50px) }
.overview-copy { max-width:38rem; padding-block:24px; z-index:1 }
.overview h1 { font-size:clamp(3.6rem,7.5vw,7.4rem); line-height:.99; font-weight:700; letter-spacing:-.075em; margin:0 0 21px }
.overview h1 span { color:var(--highlight) }
.overview-copy p { max-width:37ch; margin:0 0 26px; font-size:clamp(1rem,1.28vw,1.15rem); line-height:1.58; color:var(--muted) }
.open-lookup,.solid-btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:0; border-radius:12px; padding:12px 18px; background:var(--cta); color:var(--on-cta); font-size:.93rem; font-weight:700; text-decoration:none }
.open-lookup:hover,.solid-btn:hover { box-shadow:0 3px 12px var(--switch-shadow); transform:translateY(-1px) }
.open-lookup i { width:17px; height:17px }
.overview-image { --lens-x:0; --lens-y:0; position:relative; isolation:isolate; display:grid; place-items:center; min-width:0; aspect-ratio:1.13 }
.overview-image::before { content:""; position:absolute; z-index:-1; width:103%; height:92%; border-radius:50%; background:radial-gradient(ellipse closest-side,var(--soft-glow),transparent 100%); pointer-events:none }
.overview-image img { width:100%; height:100%; object-fit:contain; min-height:0; pointer-events:none; filter:drop-shadow(0 16px 18px var(--switch-shadow)); animation:arrive .65s ease-out }
@keyframes arrive { from { opacity:0 } to { opacity:1 } }
@media (any-hover:hover) and (any-pointer:fine) and (prefers-reduced-motion:no-preference) {
  .overview-image img {
    transform:perspective(850px) translate3d(calc(var(--lens-x) * 4px),calc(var(--lens-y) * 3px),0)
      rotateX(calc(var(--lens-y) * -5deg)) rotateY(calc(var(--lens-x) * 8deg));
    transition:transform 340ms cubic-bezier(.2,.7,.25,1);
  }
  .overview-image::before {
    transform:translate(calc(var(--lens-x) * -6px),calc(var(--lens-y) * -4px));
    transition:transform 400ms ease-out;
  }
}
.sample-index { grid-column:1/-1; margin-top:14px; display:flex; align-items:center; gap:clamp(16px,3vw,42px); padding:18px 0; border-block:1px solid var(--line) }
.sample-title { display:flex; align-items:center; gap:11px; color:var(--muted) }
.sample-title i { width:33px; height:33px; padding:7px; border-radius:10px; background:var(--active); color:var(--blue) }
.sample-title h2 { font-size:.88rem; font-weight:400; margin:0 }
.sample-index a { display:inline-flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink) }
.sample-index a span { font-weight:700; font-size:.99rem; letter-spacing:-.02em }
.sample-index a small { color:var(--muted); font: .76rem/1.4 ui-monospace,Consolas,monospace }
.sample-index a:hover span { text-decoration:underline; text-underline-offset:3px }
.profile-head { margin-bottom:24px }
.profile-head h1 { margin:0; font-size:clamp(2.6rem,4.5vw,4rem); line-height:1.05; letter-spacing:-.065em }
.profile-head p,.profile-box p,.profile-box small { color:var(--muted) }
.profile-box { max-width:550px; padding:clamp(20px,3vw,35px); border:1px solid var(--line); border-radius:19px; background:var(--paper) }
.profile-box h2,.profile-box h3 { margin:0; letter-spacing:-.035em }
.profile-box form { border-top:1px solid var(--line); padding-top:20px }
.profile-box label { display:block; margin-top:15px; font-size:.9rem; font-weight:700 }
.profile-box input { display:block; width:100%; margin-top:5px; border:1px solid var(--line); border-radius:9px; padding:10px; background:var(--canvas); color:var(--ink) }
.profile-box small { display:block; margin-top:6px }
.solid-btn { margin-top:17px }
#session-note:empty { display:none }
@media(max-width:820px) {
  .bar-inner { min-height:67px }
  .account-tools { gap:8px }
  .overview-image { aspect-ratio:.98 }
}
@media(max-width:680px) {
  .bar-inner { grid-template-columns:auto 1fr auto; gap:10px; min-height:62px }
  .bar-inner nav { justify-self:start }
  .account-tools .demo-status { display:none }
  .module-link { min-height:30px; padding-inline:11px }
  .overview { grid-template-columns:1fr; gap:0 }
  .overview-copy { padding-block:22px 0 }
  .overview h1 { font-size:clamp(3.25rem,11vw,4.8rem) }
  .overview-copy p { margin-bottom:19px }
  .overview-image { width:min(100%,390px); height:clamp(175px,52vw,280px); justify-self:center; margin:8px 0 0 }
  .sample-index { margin-top:6px; gap:12px; flex-wrap:wrap }
  .sample-index a { flex-wrap:wrap; gap:3px 10px }
}
@media(max-width:430px) {
  .topbar { --header-gutter:12px }
  .bar-inner { gap:7px }
  .brand { font-size:1.2rem; gap:4px }
  .brand-mark { width:18px; height:21px }
  .bar-inner nav { gap:0; padding:2px }
  .module-link { font-size:.77rem; padding-inline:8px }
  .account-tools { gap:5px }
  .avatar { width:28px; height:28px }
  .sample-index { display:grid; grid-template-columns:1fr; gap:6px }
  .sample-title i { width:25px; height:25px; padding:5px; border-radius:6px }
  .sample-index a { margin-left:36px }
}
@media(max-width:360px) {
  .brand { min-width:26px; min-height:34px; justify-content:center }
  .brand-name { display:none }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important }
}
