@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

.ws-theme {
  --ws-base: #101120;
  --ws-surface: #171929;
  --ws-text: #f5f4ff;
  --ws-muted: #b2b2c9;
  --ws-accent: #c6b9ff;
  --ws-action-ink: #211a37;
  --ws-teal: #289ea6;
  --ws-violet: #9861d7;
  --ws-plum: #a653a1;
  --ws-indigo: #4855a5;
  --ws-display: "Bricolage Grotesque", system-ui, sans-serif;
  --ws-body: "DM Sans", system-ui, sans-serif;
  color-scheme: dark;
  isolation: isolate;
  color: var(--ws-text);
  background: var(--ws-base);
  font: 100%/1.5 var(--ws-body);
}
.ws-theme, .ws-theme *, .ws-theme *::before, .ws-theme *::after { box-sizing: border-box; }
.ws-theme :focus-visible { outline: 2px solid #e1d9ff; outline-offset: 4px; }
.ws-shell { display: flex; flex-direction: column; margin: 0; min-height: 100svh; }

.ws-sky {
  position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(135deg, #0c2337, #222343 49%, #281a43 76%, #171a32);
}
.ws-sky > div { position: absolute; inset: 0; }
.ws-sky > .ws-glow, .ws-sky > .ws-ribbon { inset: -20%; }
.ws-glow {
  background:
    radial-gradient(ellipse 47% 54% at 18% 37%, var(--ws-teal) 0%, #227699 31%, transparent 78%),
    radial-gradient(ellipse 48% 49% at 79% 25%, var(--ws-violet) 0%, #6842a6 35%, transparent 79%),
    radial-gradient(ellipse 43% 42% at 69% 87%, var(--ws-plum) 0%, #793f99 32%, transparent 82%),
    radial-gradient(ellipse 52% 43% at 26% 84%, var(--ws-indigo) 0%, transparent 85%);
  animation: ws-light-shift 12s ease-in-out -3s infinite alternate;
}
.ws-ribbon {
  background:
    radial-gradient(ellipse 103% 78% at 9% -13%, transparent 60%, rgb(67 160 211 / .15) 69%, rgb(116 218 221 / .66) 77%, rgb(116 163 237 / .37) 83%, transparent 97%),
    radial-gradient(ellipse 89% 80% at 106% 110%, transparent 61%, rgb(138 92 224 / .23) 71%, rgb(221 148 239 / .64) 81%, rgb(161 105 229 / .3) 89%, transparent 102%);
  animation: ws-silk-shift 9s ease-in-out -2.5s infinite alternate;
}
.ws-haze {
  background:
    radial-gradient(ellipse 55% 75% at 50% 45%, rgb(12 14 33 / .59) 0%, rgb(13 15 35 / .34) 49%, transparent 96%),
    linear-gradient(to bottom, rgb(9 13 29 / .35), transparent 23%, transparent 70%, rgb(12 13 30 / .37));
}
@keyframes ws-light-shift {
  from { transform: translate3d(-8%, 5%, 0) rotate(-7deg); }
  50% { transform: translate3d(9%, -7%, 0) rotate(4deg) scale(1.06); }
  to { transform: translate3d(-3%, -2%, 0) rotate(11deg); }
}
@keyframes ws-silk-shift {
  from { transform: translate3d(6%, -8%, 0) rotate(-15deg) scale(1.09); }
  to { transform: translate3d(-8%, 11%, 0) rotate(9deg) scale(1.07); }
}

.ws-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex: none; width: 100%; max-width: 1600px; margin: 0 auto;
  padding: 1.75rem clamp(1.25rem, 4.1vw, 4.6rem);
}
.ws-brand {
  display: inline-flex; align-items: center; gap: .63rem; color: var(--ws-text); text-decoration: none;
  font: 650 1.23rem/1.2 var(--ws-display); letter-spacing: -.027em; white-space: nowrap;
}
.ws-brand img { width: 2rem; height: 2rem; border-radius: 10px; }
.ws-slash { margin: 0 .38rem; color: #aaa6c3; font: 350 1.27rem var(--ws-body); }
.ws-product { color: #dedbed; font-weight: 450; }
.ws-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 38px; padding: .5rem .95rem; border: 1px solid rgb(206 204 238 / .21); border-radius: 22px;
  background: rgb(26 27 46 / .6); color: var(--ws-text); font: 520 .875rem/1.5 var(--ws-body);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.ws-pill:hover { background: #333248; border-color: #9994b6; }
.ws-stage {
  flex: 1; display: grid; align-items: center; justify-items: center;
  padding: 2.5rem 1rem clamp(4rem, 13vh, 9rem);
}
.ws-view { width: min(100%, 33.5rem); }
.ws-heading { margin: 0 auto 1.8rem; text-align: center; }
.ws-title {
  margin: 0; font: 550 clamp(2.8rem, 5.2vw, 4.25rem)/1.02 var(--ws-display);
  letter-spacing: -.031em; text-wrap: balance;
}
.ws-subtitle { margin: .75rem 0 0; color: #cfcee2; font-size: 1.025rem; }
.ws-card {
  padding: clamp(1.15rem, 3vw, 1.65rem); border: 1px solid rgb(218 212 255 / .22); border-radius: 23px;
  background: linear-gradient(140deg, rgb(32 34 54 / .95), rgb(21 22 37 / .97));
  box-shadow: 0 27px 80px -32px #070816cc, 0 1px 0 rgb(255 255 255 / .045) inset;
}
.ws-summary { display: flex; align-items: center; gap: .95rem; }
.ws-summary > div:last-child { min-width: 0; }
.ws-icon {
  width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.ws-pill .ws-icon, .ws-detail .ws-icon { width: 1rem; height: 1rem; }
.ws-emblem {
  display: grid; place-items: center; flex: none; width: 3.1rem; height: 3.45rem;
  border: 1px solid #a59bb63d; border-radius: 12px; color: #d5cbff;
  background: linear-gradient(145deg, #4a4260, #302d46);
}
.ws-emblem .ws-icon { width: 1.45rem; height: 1.45rem; }
.ws-card-title { margin: 0; font: 590 1.34rem/1.22 var(--ws-display); letter-spacing: -.018em; overflow-wrap: anywhere; }
.ws-meta { margin: .25rem 0 0; color: var(--ws-muted); font-size: .9rem; }
.ws-detail {
  display: flex; align-items: center; gap: .47rem;
  margin: 1.15rem 0 1.3rem; color: #c5c3d8; font-size: .9rem;
}
.ws-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; min-height: 47px; padding: .72rem 1rem; border: 0; border-radius: 10px;
  font: 630 1rem/1.5 var(--ws-body); text-decoration: none; cursor: pointer; color: var(--ws-action-ink);
  background: linear-gradient(105deg, #c5baff, #cbbdff 55%, #b9adf7);
  box-shadow: 0 1px 0 #f6f1ff88 inset, 0 4px 12px #0f0e1a3d;
  transition: filter .15s, transform .15s;
}
.ws-primary .ws-icon { stroke-width: 1.85; }
.ws-primary:hover { filter: brightness(1.075); }
.ws-primary:active { transform: translateY(1px); }

@media (max-width: 580px) {
  .ws-header { padding: 1.15rem 1.2rem; }
  .ws-stage { padding: clamp(.75rem, 3svh, 2rem) 1rem max(1.25rem, 5svh, env(safe-area-inset-bottom)); }
  .ws-heading { margin-bottom: 1.4rem; }
  .ws-card { border-radius: 20px; }
  .ws-pill { min-height: 40px; }
  .ws-sky > .ws-glow, .ws-sky > .ws-ribbon { inset: -18% -28%; }
}
@media (max-width: 580px), (pointer: coarse) and (orientation: landscape) and (max-height: 580px) {
  html.ws-single-screen, .ws-single-screen > .ws-shell { overflow: hidden; overscroll-behavior: none; }
  .ws-single-screen > .ws-shell { min-height: 0; height: 100svh; height: 100dvh; }
  .ws-single-screen .ws-stage {
    display: flex; flex-direction: column; align-items: center; min-height: 0;
    overflow-y: auto; overscroll-behavior-y: contain;
  }
  .ws-single-screen .ws-stage > * { flex: none; margin-block: auto; }
}
@media (max-width: 580px) and (max-height: 650px) {
  .ws-header { padding-block: .6rem; }
  .ws-stage { padding-block: .5rem max(.8rem, env(safe-area-inset-bottom)); }
  .ws-heading { margin-bottom: .9rem; }
  .ws-title { font-size: 2.45rem; }
  .ws-subtitle { margin-top: .4rem; }
}
@media (max-width: 400px) {
  .ws-header { padding-inline: 1rem; gap: .4rem; }
  .ws-brand { gap: .4rem; font-size: 1.1rem; }
  .ws-brand img { width: 1.8rem; height: 1.8rem; }
  .ws-slash { margin-inline: .24rem; }
  .ws-pill { gap: .36rem; padding-inline: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-glow, .ws-ribbon { animation: none; }
  .ws-primary { transition: none; }
}
@media (forced-colors: active) {
  .ws-primary { border: 1px solid ButtonText; }
}
