@font-face{font-family:Onest;src:url("assets/onest.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{
  color-scheme:dark;
  --base:#0c0b12;
  --surface:#17151f;
  --text:#f6f4fc;
  --muted:#b7b3c5;
  --line:#302c3d;
  --accent:#b5a5ff;
  --nav:#100e16;
  --panel:#191620;
  --input:#1c1925;
  --selected-bg:#e9e4f4;
  --on-selected:#201c29;
  --info:#231d33;
  --ink-soft:#d3cddd;
  --logo-filter:none;
  --focus:#c3b0ff;
  --edge:clamp(1.15rem,5.5vw,6rem);
}
:root[data-theme="light"] {
  color-scheme:light;
  --base:#f6f5fa;
  --surface:#eae6f1;
  --text:#221c30;
  --muted:#5e556c;
  --line:#c4bbd1;
  --accent:#6343a1;
  --nav:#fcfbfe;
  --panel:#fff;
  --input:#f1eef6;
  --selected-bg:#30243e;
  --on-selected:#fff;
  --info:#e9e3f4;
  --ink-soft:#42374f;
  --logo-filter:brightness(0) saturate(100%) invert(13%) sepia(15%) saturate(1455%) hue-rotate(219deg);
  --focus:#6833b4;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:1rem}
body{margin:0;background:var(--base);color:var(--text);font:1rem/1.55 Onest,"Segoe UI",sans-serif}
h1,h2,h3,p{margin:0}
button,input{font:inherit}
button,a{touch-action:manipulation}
button{color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:4px}
[hidden]{display:none!important}
.wrap{width:min(100%,calc(86rem + 2 * var(--edge)));margin-inline:auto;padding-inline:var(--edge)}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;top:1rem;left:1rem;z-index:10;padding:.6rem 1rem;background:var(--text);color:var(--base)}
.topbar{position:relative;z-index:2;background:var(--nav);border-bottom:1px solid var(--line)}
.bar,.brand,.topbar nav,.foot{display:flex;align-items:center}
.bar{min-height:4.6rem;gap:clamp(1.2rem,5vw,6rem)}
.brand{width:max-content;gap:.38rem;line-height:1}
.brand img{width:2.1rem;height:auto;filter:var(--logo-filter)}
.brand span{font-weight:830;font-size:1.65rem;letter-spacing:-.065em}
.topbar nav{gap:clamp(1.2rem,2.7vw,3rem)}
.topbar nav a,.foot a:not(.brand){color:var(--ink-soft);font-size:.93rem}
.topbar nav a:hover,.foot a:hover{color:var(--text);text-decoration:underline;text-underline-offset:.36em}
.bar-tools { display:flex; align-items:center; gap:.65rem; margin-inline-start:auto; }
.language-switch { display:flex; padding:2px; background:var(--input); border:1px solid var(--line); border-radius:2rem; }
.language-switch button {
  border:0; border-radius:2rem; color:var(--muted); background:transparent; padding:.4rem .58rem;
  min-height:36px; font-size:.85rem; font-weight:650; transition:color .16s,background-color .16s;
}
.language-switch button[aria-pressed="true"] { color:var(--on-selected); background:var(--selected-bg); }
.theme-switch {
  display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--line);
  background:var(--input); color:var(--text); border-radius:50%;
}
.theme-switch:hover { border-color:var(--accent); }
body,.topbar,.help,.foot,.theme-switch,.language-switch {
  transition:background-color .22s ease-out,color .22s ease-out,border-color .22s ease-out;
}
.theme-glyph { width:19px; height:19px; position:relative; display:block; transition:transform .35s cubic-bezier(.2,.78,.2,1); }
.theme-switch:active .theme-glyph { transform:rotate(28deg) scale(.85); }
.theme-glyph::before,.theme-glyph::after { position:absolute; content:""; border-radius:50%; }
.theme-glyph::before { inset:4px; border:1.6px solid currentColor; }
.theme-glyph::after { inset:0; background:repeating-conic-gradient(from -5deg,currentColor 0 10deg,transparent 10deg 45deg); mask:radial-gradient(circle,transparent 56%,#000 59%); }
[data-theme="light"] .theme-glyph::before { inset:1px; border:0; background:currentColor; mask:radial-gradient(circle at 68% 27%,transparent 45%,#000 49%); }
[data-theme="light"] .theme-glyph::after { display:none; }

.catalog-alias { position:absolute; top:0; inset-inline-start:0; }
h2 { font-weight:640; font-size:clamp(2.1rem,3.5vw,3.75rem); line-height:1.08; letter-spacing:-.06em; }
.store { position:relative; padding-top:clamp(1.85rem,3.75vw,4rem); padding-bottom:clamp(3rem,5.3vw,5.5rem); }
.store #catalog-title { font-size:clamp(2.75rem,5vw,5.3rem); font-weight:670; letter-spacing:-.075em; line-height:1.04; margin:0 0 .48em; }
.store-grid { display:grid; grid-template-columns:minmax(0,1.63fr) minmax(0,.92fr); gap:clamp(1.5rem,3.4vw,4rem); align-items:stretch; }
.available-edition { min-width:0; }
.edition-link { display:block; color:var(--text); border-radius:.45rem; }
.store-art { overflow:hidden; background:#342b3a; border-radius:.45rem; }
.store-art img { width:100%; height:auto; aspect-ratio:2.34; display:block; object-fit:cover; object-position:50% 59%; transition:transform .48s cubic-bezier(.2,.72,.25,1); }
.store-caption { display:flex; justify-content:space-between; align-items:flex-end; gap:1rem; padding:1rem 0 .15rem; }
.edition-status { font-size:.88rem; color:var(--muted); line-height:1.35; display:flex; align-items:center; gap:.52rem; }
.edition-status::before { content:""; display:block; width:.42rem; height:.42rem; background:#86cda9; border-radius:50%; }
[data-theme="light"] .edition-status::before { background:#267754; }
.store-product h3 { margin-top:.09em; font-size:clamp(2.35rem,3.75vw,4.2rem); line-height:1; letter-spacing:-.065em; }
.store-buy { display:flex; align-items:center; gap:clamp(.6rem,1.4vw,1.4rem); }
.store-price { white-space:nowrap; font-variant-numeric:tabular-nums; font-size:clamp(.97rem,1.25vw,1.2rem); font-weight:600; }
.store-cta { display:inline-flex; align-items:center; min-height:45px; padding:.62rem 1.08rem; border-radius:.4rem; background:var(--selected-bg); color:var(--on-selected); font-size:.94rem; font-weight:620; }
.edition-link:is(:hover,:focus-visible) .store-cta { background:var(--accent); color:var(--on-selected); }
.edition-link:focus-visible { outline-offset:5px; }
@media(hover:hover) { .edition-link:hover .store-art img { transform:scale(1.025); } }
.locked-editions { min-width:0; padding-inline-start:clamp(1.3rem,2.9vw,3.4rem); border-inline-start:1px solid var(--line); align-self:stretch; display:flex; flex-direction:column; }
.locked-editions h3 { font-size:clamp(1.08rem,1.45vw,1.4rem); font-weight:560; letter-spacing:-.025em; padding:0 0 .68rem; }
.edition-index { display:grid; grid-template-rows:repeat(3,1fr); flex:1; list-style:none; margin:0; padding:0; }
.edition-index li { display:grid; grid-template-columns:clamp(4rem,7.5vw,8.1rem) minmax(0,1fr) 1.25rem; align-items:center; gap:clamp(.75rem,1.2vw,1.25rem); border-top:1px solid var(--line); padding:.65rem 0; }
.edition-index li:last-child { border-bottom:1px solid var(--line); }
.edition-index img { display:block; width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; border-radius:.25rem; filter:saturate(.68); }
.edition-index li>div { display:grid; gap:.12rem; }
.edition-index strong { font-size:clamp(1.05rem,1.65vw,1.7rem); font-weight:600; letter-spacing:-.035em; line-height:1.16; }
.edition-index li span { color:var(--muted); font-size:.86rem; }
.index-lock { position:relative; display:block; width:1.05rem; height:1.15rem; color:var(--muted); }
.index-lock::before { content:""; position:absolute; left:22%; top:3%; width:56%; height:51%; border:1.5px solid; border-bottom:0; border-radius:.4rem .4rem 0 0; }
.index-lock::after { content:""; position:absolute; left:8%; bottom:3%; width:84%; height:55%; border:1.5px solid; border-radius:2px; }
@keyframes shelf-appear { from {opacity:.6; transform:translateY(9px)} to {opacity:1;transform:none} }
@media(prefers-reduced-motion:no-preference) { .available-edition { animation:shelf-appear .45s ease-out both; } }
@media(max-width:800px) {
  .store-grid { grid-template-columns:minmax(0,1fr); gap:1.6rem; }
  .locked-editions { padding-inline:0; border:0; }
  .edition-index { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto; gap:.8rem; }
  .edition-index li { grid-template-columns:minmax(0,1fr) auto; gap:.45rem; align-content:start; }
  .edition-index img { grid-column:1/-1; aspect-ratio:2.7; object-position:50% 36%; }
  .edition-index li:last-child { border-bottom:0; }
}
@media(max-width:540px) {
  .store-art img { aspect-ratio:1.96; }
  .store-caption { align-items:center; gap:.5rem; }
  .store-buy { align-items:flex-end; flex-direction:column; gap:.24rem; }
  .store-cta { min-height:42px; padding:.48rem .8rem; }
  .edition-index { grid-template-columns:1fr; gap:0; }
  .edition-index li { grid-template-columns:4.2rem minmax(0,1fr) 1.2rem; gap:.8rem; align-items:center; padding:.5rem 0; }
  .edition-index img { grid-column:auto; aspect-ratio:1.52; }
  .edition-index li:last-child { border-bottom:1px solid var(--line); }
  .locked-editions h3 { padding-bottom:.55rem; }
}
.plans { position:relative; background:var(--base); }
.edition-wrap { padding-block:.25rem clamp(3.5rem,6.8vw,7.5rem); }
.edition-spread {
  display:grid; grid-template-columns:minmax(0,1.03fr) minmax(0,1fr); overflow:hidden;
  border:1px solid var(--line); border-radius:.9rem; background:var(--panel);
}
.edition-cover { position:relative; isolation:isolate; overflow:hidden; background:#241d27; display:flex; align-items:flex-end; min-height:29rem; }
.edition-portrait { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:55% 12%; }
.edition-cover::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,#140c14f5 0%,#160c1388 16%,transparent 50%); }
.cover-type { color:#fff8ee; padding:clamp(1.45rem,3vw,3.25rem); }
.cover-brand { display:flex; align-items:center; gap:.55rem; font-size:clamp(.98rem,1.3vw,1.18rem); font-weight:590; }
.cover-brand img { width:1.45rem; height:auto; }
.cover-type h2 { margin-top:.24em; font-size:clamp(3.6rem,6.8vw,7.5rem); font-weight:740; line-height:.88; letter-spacing:-.08em; white-space:nowrap; }
.offer-sheet { min-width:0; padding:clamp(1.45rem,3.5vw,4.4rem); align-self:center; }
#plan-choices { margin:0; padding:0; border:0; min-width:0; }
#plan-choices legend { padding:0; margin:0 0 1.15rem; font-size:clamp(1.5rem,2.4vw,2.35rem); line-height:1.12; font-weight:610; letter-spacing:-.05em; }
#plan-choices label {
  display:grid; grid-template-columns:1.05rem minmax(0,1fr) auto; align-items:center; column-gap:.85rem;
  padding:.65rem .75rem; min-height:3.65rem; border:1px solid transparent; border-bottom-color:var(--line);
  cursor:pointer; transition:background-color .18s,border-color .18s;
}
#plan-choices label:has(:checked) { background:var(--surface); border-color:var(--accent); border-radius:.4rem; }
#plan-choices label:hover { background:var(--surface); }
#plan-choices label:has(:focus-visible) { outline:2px solid var(--focus); outline-offset:2px; }
#plan-choices input { width:1rem; height:1rem; margin:0; accent-color:var(--accent); cursor:pointer; }
.plan-copy { display:grid; gap:.08rem; }
.plan-copy strong,.plan-price { font-size:1.02rem; font-weight:610; }
.plan-price { font-variant-numeric:tabular-nums; white-space:nowrap; }
.plan-rate { font-size:.84rem; color:var(--muted); }
.order-total { margin:1.35rem 0 .9rem; display:flex; align-items:flex-end; justify-content:space-between; gap:1rem; }
.order-total div { display:grid; }
.order-total span { font-weight:580; }
.order-total small { font-size:.85rem; color:var(--muted); }
.order-total output { white-space:nowrap; font-weight:650; font-size:clamp(1.8rem,3.1vw,3.2rem); line-height:1; letter-spacing:-.06em; font-variant-numeric:tabular-nums; }
.plan-saving { margin:-.15rem 0 .85rem; line-height:1.4; color:var(--accent); font-size:.9rem; }
.order-action { display:flex; align-items:center; justify-content:center; gap:.65rem; min-height:48px; width:100%; border:0; border-radius:.45rem; padding:.65rem 1rem; color:var(--on-selected); background:var(--selected-bg); font-weight:650; transition:filter .16s; }
.order-action:hover { filter:brightness(.9); }
#copy-order::before { content:""; flex:none; width:.55rem; height:.7rem; border:1px solid currentColor; border-radius:2px; box-shadow:2px 2px 0 var(--selected-bg),3px 3px 0 currentColor; }
.order-note,.order-feedback { margin-top:.65rem; font-size:.89rem; color:var(--muted); }
.order-feedback:empty { display:none; }
#manual-order { width:100%; min-height:3.7rem; padding:.55rem; margin-top:.55rem; color:var(--text); background:var(--input); font:inherit; border:1px solid var(--line); }

.interface { padding-bottom:clamp(3.5rem,6vw,6rem); }
.interface-heading { margin-bottom:clamp(1.35rem,2.4vw,2.45rem); }
.interface-heading p { max-width:60ch; margin-top:.8rem; color:var(--muted); font-size:clamp(1rem,1.2vw,1.14rem); }
.interface-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.2rem,4vw,4.5rem); margin:clamp(1.4rem,2.8vw,3rem) 0 0; }
.interface-notes > div { border-top:1px solid var(--line); padding-top:.85rem; }
.interface-notes dt { font-size:1.1rem; font-weight:620; letter-spacing:-.025em; }
.interface-notes dd { max-width:44ch; margin:.32rem 0 0; color:var(--muted); }
@media(max-width:530px) { .interface-notes { grid-template-columns:minmax(0,1fr); } }
.interface-studio { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(16.8rem,.72fr); border:1px solid var(--line); border-radius:.7rem; overflow:hidden; background:var(--panel); }
.hud-stage { --hud-color:#b6a2ff; --hud-scale:1; --pad:clamp(.85rem,2vw,1.8rem); position:relative; isolation:isolate; min-width:0; min-height:20rem; background:#171522; }
.hud-stage[data-accent="amber"] { --hud-color:#ffbd72; }
.hud-stage[data-accent="ice"] { --hud-color:#94e3e4; }
.hud-scene { position:absolute; z-index:-1; width:100%; height:100%; object-fit:cover; object-position:center; }
.hud-anchor { position:absolute; left:var(--pad); top:var(--pad); transition:left .35s cubic-bezier(.2,.8,.2,1),transform .35s cubic-bezier(.2,.8,.2,1); }
.hud-stage[data-side="right"] .hud-anchor { left:calc(100% - var(--pad)); transform:translateX(-100%); }
.hud-widget { min-width:9.4rem; border:1px solid #ffffff40; border-inline-start:3px solid var(--hud-color); border-radius:.35rem; background:#131019eb; color:#fff; padding:.6rem .8rem; transform:scale(var(--hud-scale)); transform-origin:top left; box-shadow:0 .25rem 1rem #09061040; }
.hud-stage[data-side="right"] .hud-widget { transform-origin:top right; }
.hud-wordmark,.hud-readout { display:flex; align-items:center; }
.hud-wordmark { gap:.28rem; line-height:1.1; }
.hud-wordmark img { width:1rem; height:auto; }
.hud-wordmark strong { letter-spacing:-.05em; }
.hud-wordmark span { margin-left:auto; padding-left:.7rem; font-size:.75rem; color:var(--hud-color); }
.hud-readout { justify-content:space-between; gap:.75rem; margin-top:.45rem; padding-top:.4rem; border-top:1px solid #ffffff2b; font-size:.77rem; color:#e6dfed; }
.hud-readout b { color:var(--hud-color); }
.hud-widget,.hud-wordmark span,.hud-readout b { transition:border-color .2s,color .2s; }
.hud-panel { display:grid; align-content:center; gap:1.1rem; padding:clamp(1.15rem,2.25vw,2.4rem); }
.hud-panel h3 { font-size:1.18rem; line-height:1.2; letter-spacing:-.035em; }
.hud-panel fieldset { border:0; margin:0; padding:0; min-width:0; }
.hud-panel legend,.scale-control label { padding:0; font-size:.9rem; color:var(--muted); }
.swatches,.sides { display:flex; gap:.4rem; flex-wrap:wrap; margin-top:.35rem; }
.swatches label,.sides label { position:relative; display:inline-flex; align-items:center; min-height:44px; cursor:pointer; }
.hud-panel input[type="radio"] { position:absolute; width:1px; height:1px; opacity:0; }
.swatches label { gap:.34rem; padding:.25rem .31rem; font-size:.85rem; }
.swatch { width:1.1rem; height:1.1rem; border-radius:50%; box-shadow:0 0 0 1px #0003; }
.swatch.iris { background:#a991f3; }.swatch.amber { background:#edaa61; }.swatch.ice { background:#7bcece; }
.swatches input:checked + i { outline:2px solid var(--text); outline-offset:2px; }
.swatches label:has(:focus-visible),.sides label:has(:focus-visible) { outline:2px solid var(--focus); outline-offset:2px; }
.scale-control { display:grid; grid-template-columns:1fr auto; align-items:center; gap:.3rem; }
.scale-control output { font-size:.87rem; font-variant-numeric:tabular-nums; }
.scale-control input { grid-column:1/-1; width:100%; margin:0; min-height:28px; accent-color:var(--accent); cursor:pointer; }
.sides label span { padding:.28rem .65rem; border:1px solid var(--line); border-radius:.3rem; font-size:.9rem; }
.sides input:checked + span { color:var(--on-selected); background:var(--selected-bg); border-color:transparent; }
@media(max-width:760px) {
  .edition-spread,.interface-studio { grid-template-columns:minmax(0,1fr); }
  .edition-cover { min-height:clamp(13rem,52vw,21rem); }
  .edition-portrait { object-position:55% 3%; }
  .cover-type { padding:1.12rem 1.3rem; }
  .cover-type h2 { font-size:clamp(2.85rem,10.3vw,4rem); }
  .hud-stage { min-height:clamp(13rem,51vw,20rem); }
  .hud-panel { gap:.7rem; }
}
.help-inner { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(2rem,7vw,8rem); align-items:start; }
.help { border-top:1px solid var(--line); background:var(--base); }
.help-inner { padding-block:clamp(2.8rem,5.6vw,6rem); }
.help h2 { max-width:12ch; }
.answers { border-top:1px solid var(--line); }
.answers details { border-bottom:1px solid var(--line); }
.answers summary {
  display:flex; justify-content:space-between; align-items:center; gap:1rem; list-style:none; cursor:pointer;
  min-height:56px; padding:.85rem .15rem; font-weight:570; font-size:clamp(1rem,1.25vw,1.18rem);
}
.answers summary::-webkit-details-marker { display:none; }
.answers summary::after {
  content:""; width:14px; height:14px; flex:none; margin-inline:.4rem;
  background:linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor,currentColor) center / 1.5px 100% no-repeat;
  transition:transform .2s ease-out;
}
.answers details[open] summary::after { transform:rotate(45deg); }
.answers summary:focus-visible { outline:2px solid var(--focus); outline-offset:-2px; }
.answers summary:hover { color:var(--accent); }
.answers p { margin:0; padding:0 2.5rem 1.15rem .15rem; line-height:1.6; color:var(--muted); max-width:60ch; }
@media(max-width:720px) {
  .help-inner { grid-template-columns:minmax(0,1fr); }
  .help-inner { gap:1.65rem; }
  .help h2 { max-width:100%; }
  .answers summary { padding-block:1rem; }
}
.foot{padding-block:1.3rem 2rem;gap:1.5rem;border-top:1px solid var(--line)}
.foot .brand{transform-origin:left;transform:scale(.8);margin-right:-.6rem}
.foot>span{color:var(--muted);font-size:.91rem}
.foot>a:last-child{margin-left:auto}
@media(max-width:620px){
  .bar{min-height:4rem;gap:1.1rem}
  .bar-tools{gap:.3rem}
  .bar .brand img{width:1.8rem}
  .brand span{font-size:1.45rem}
  .topbar nav{gap:1rem}
  .topbar nav a{font-size:.87rem}
  .foot{flex-wrap:wrap;gap:.7rem}
}
@media(max-width:540px) {
  .bar { display:grid; grid-template-columns:1fr auto; gap:0 .6rem; padding-top:.48rem; }
  .bar-tools { grid-column:2; grid-row:1; }
  .bar nav { grid-row:2; grid-column:1/-1; gap:1.3rem; }
  .bar nav a { display:inline-flex; align-items:center; min-height:40px; }
}
@media(max-width:350px){
  .bar{gap:.5rem}
  .topbar nav{gap:.65rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
