/*------------------------------------------------------------------------






Luster.nu (c) Star, 2026.


All written, visual, and coded materials on this site are protected. 
Unauthorized copying, redistribution, or use of my work is prohibited. 

If you have questions, please ask. 

All resources and scripts used can be found in the credits section: 
https://luster.nu/credits/






------------------------------------------------------------------------*/










/* ------------------------------------------------------------------------ 
  GLOBAL OVERRIDES
------------------------------------------------------------------------ */
* {
  cursor: url('images/default.svg'), auto !important;
}

a, a *, [role="link"], [role="link"] * {
  cursor: url('images/link.svg'), pointer !important;
}

:root {
  --pink:       #ff7eb3;
  --teal:       #99E6E3;
  --skyblue:    #8fdcff;
  --blue:       #60a5fa;
  --purple:     #ad4cfb;
  --gold:       #ffd166;
  --radius:     15px;
  --gradient:   var(--pink), var(--teal), var(--gold);
  --font-sans:  'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono:  'DM Mono', monospace;
  --ch-pink:    255 126 179;
  --ch-teal:    120 232 216;
  --ch-gold:    255 209 102;
  --ch-purple:  173 76 251;
  --ch-indigo:  99 102 241;
  --bg:         #121020;
  --bg-card:    #1a1830;
  --bg-subtle:  #211e38;
  --border:     #2a2648;
  --bordersoft: #1e1c40;
  --text:       #e7d8ff;
  --text-dim:   #9587c4;
  --text-muted: #ada0da;
  --text-dimmer:#675e8b;
  --ch-success: 52 211 153;
  --success-bg: rgb(var(--ch-success)/0.1);
  --shadow:     0 4px 24px rgba(0,0,0,0.55);
  --glow:       0 0 0 3px rgb(var(--ch-pink)/0.15);
}

input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]), textarea {
  cursor: url('images/text.svg'), text !important;
}

select, button, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], label {
  cursor: url('images/link.svg'), pointer !important;
}

::selection      { color: var(--text); background-color: var(--text-dimmer); }
::-moz-selection { color: var(--text); background-color: var(--text-dimmer); }



/* ------------------------------------------------------------------------ 
  TOOLTIPS
------------------------------------------------------------------------ */
#s-m-t-tooltip{
  font: .75em var(--font-sans); 
  color: var(--text);
  max-width: 400px;
  letter-spacing: .5px;
  z-index: 10;
  margin: 10px 15px 0px 10px;
	padding: 10px 13px;
  background: var(--bg);
  border: 1px solid var(--text-dimmer);
	border-radius: 10px;
  box-shadow: var(--shadow);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}



/* ------------------------------------------------------------------------ 
  LAYOUT
------------------------------------------------------------------------ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgb(var(--ch-pink) / 0.1), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgb(var(--ch-teal) / 0.1), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 90%, rgb(var(--ch-indigo) / 0.1), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease; }

.sparkles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .72; }

.sparkles span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--spark-color, var(--pink));
  font-size: var(--spark-size, 12px);
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 0 8px currentColor);
  animation: lusterTwinkle var(--spark-speed, 7s) ease-in-out infinite;
  animation-delay: var(--spark-delay, 0s); }

.sparkles span::before { content: "✦"; }
.sparkles span:nth-child(1)  { left: 8%;  top: 16%; --spark-color: var(--pink); --spark-size: 11px; --spark-speed: 7.2s; --spark-delay: -1.1s; }
.sparkles span:nth-child(2)  { left: 18%; top: 72%; --spark-color: var(--teal); --spark-size: 8px;  --spark-speed: 8.5s; --spark-delay: -5.2s; }
.sparkles span:nth-child(3)  { left: 32%; top: 24%; --spark-color: var(--gold); --spark-size: 10px; --spark-speed: 6.8s; --spark-delay: -2.8s; }
.sparkles span:nth-child(4)  { left: 42%; top: 82%; --spark-color: var(--pink); --spark-size: 7px;  --spark-speed: 9.1s; --spark-delay: -3.6s; }
.sparkles span:nth-child(5)  { left: 54%; top: 14%; --spark-color: var(--teal); --spark-size: 9px;  --spark-speed: 7.8s; --spark-delay: -6.1s; }
.sparkles span:nth-child(6)  { left: 69%; top: 34%; --spark-color: var(--gold); --spark-size: 8px;  --spark-speed: 8.2s; --spark-delay: -4.4s; }
.sparkles span:nth-child(7)  { left: 82%; top: 18%; --spark-color: var(--blue); --spark-size: 11px; --spark-speed: 7.4s; --spark-delay: -2.2s; }
.sparkles span:nth-child(8)  { left: 91%; top: 66%; --spark-color: var(--pink); --spark-size: 8px;  --spark-speed: 8.8s; --spark-delay: -7s; }
.sparkles span:nth-child(9)  { left: 11%; top: 44%; --spark-color: var(--gold); --spark-size: 7px;  --spark-speed: 7.9s; --spark-delay: -3.1s; }
.sparkles span:nth-child(10) { left: 74%; top: 78%; --spark-color: var(--teal); --spark-size: 10px; --spark-speed: 9.4s; --spark-delay: -5.8s; }
.sparkles span:nth-child(11) { left: 25%; top: 38%; --spark-color: var(--purple); --spark-size: 9px; --spark-speed: 8.9s; --spark-delay: -4.9s; }
.sparkles span:nth-child(12) { left: 88%; top: 38%; --spark-color: var(--purple); --spark-size: 7px; --spark-speed: 7.6s; --spark-delay: -1.7s; }

@keyframes lusterTwinkle {
  0%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(.58) rotate(0deg); }
  20% { opacity: .2; }
  40% { opacity: .4; transform: translate3d(0, -8px, 0) scale(1) rotate(22deg); }
  60% { opacity: .6; }
}

main { flex: 1 0 auto; }

main:has(> .hero) {
  display: grid;
  place-items: center;
}

.container { 
  width: min(1180px, calc(100vw - 40px)); 
  margin: 0 auto; 
}

.narrow { 
  width: min(860px, calc(100vw - 40px)); 
  margin: 0 auto; 
}

.page-shell {
  --nav-height: 76px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.page-shell:has(main > .hero) {
  height: 100vh;
  height: 100dvh;
}


/* ------------------------------------------------------------------------ 
  NAVIGATION
------------------------------------------------------------------------ */
.top-nav { 
  --nav-link-width: 108px; 
  position: sticky; 
  top: 0; 
  z-index: 60; 
  background: rgba(26,24,48,.92); 
  border-bottom: 1px solid var(--border); 
  color: var(--text); 
  -webkit-backdrop-filter: blur(18px) saturate(150%); 
  backdrop-filter: blur(18px) saturate(150%); 
  box-shadow: 0 4px 24px rgba(0,0,0,.55), 0 1px 0 rgb(var(--ch-pink)/.08); }

.top-nav::after { 
  content: ''; 
  position: absolute; 
  left: 0; 
  right: 0; 
  bottom: -1px; 
  height: 1px; 
  background: linear-gradient(90deg, transparent 0%, rgb(var(--ch-pink)/0.4) 40%, rgb(var(--ch-teal)/0.25) 70%, transparent 100%); 
  pointer-events: none; }

.top-nav-top { 
  box-shadow: 0 4px 24px rgba(0,0,0,.55), 
  0 1px 0 rgb(var(--ch-pink)/.08); 
}

.nav-inner { 
  min-height: 76px; 
  width: min(1240px, calc(100vw - 32px)); 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: auto minmax(0, 1fr) auto; 
  align-items: center; 
  gap: 18px; 
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.45rem;
  position: relative;
  overflow: hidden;
}

.nav-brand img { 
  width: 32px; 
  height: 32px; 
  position: relative; 
  z-index: 1;
  image-rendering: pixelated;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-brand::after {
  content: "";
  position: absolute;
  inset: -20% 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 40%, rgba(255,255,255,.1) 50%, transparent 62%);
  transform: translateX(-110%);
  pointer-events: none;
}

.nav-brand:hover::after {
  transform: translateX(110%);
  transition: transform .85s ease;
}

.gradient-text { 
  background: linear-gradient(90deg, var(--gradient)); 
  -webkit-background-clip: text; background-clip: text; 
  -webkit-text-fill-color: transparent; 
  color: transparent; 
}

.nav-wrapper { 
  justify-self: center; 
  align-self: stretch; 
  display: flex; 
  align-items: stretch; 
  justify-content: center; 
  flex-wrap: wrap; 
}

.nav-item { 
  width: var(--nav-link-width); 
  flex: 0 0 var(--nav-link-width); 
}

.nav-link { 
  position: relative; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: .42rem; 
  width: 100%; 
  height: 100%; 
  min-height: 38px; 
  padding: .55rem .62rem; 
  border: none; 
  border-right: 1px solid rgba(255,255,255,.06); 
  background: rgba(0,0,0,.15); 
  color: var(--text-dim); 
  font: inherit; 
  font-weight: 500; 
  font-size: .86rem; 
  line-height: 1; 
  text-align: center; 
  white-space: nowrap; 
  cursor: pointer; 
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s; 
}

.nav-item:last-child.nav-link,
.nav-item:last-child > .nav-link { border-right: none; }

.nav-icon { 
  width: 18px; 
  height: 18px; 
  flex: 0 0 18px; 
  opacity: .56; 
  color: currentColor; 
  transition: opacity .2s ease, filter .2s ease, color .2s ease; 
}

.nav-label { 
  min-width: 0; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

.nav-link:hover, .nav-dropdown.open > .nav-link { 
  color: var(--skyblue); background: rgb(var(--ch-pink) / .09); 
  border-color: rgba(255,255,255,.09); 
}

.nav-link:hover .nav-icon, .nav-dropdown.open > .nav-link .nav-icon { 
  opacity: 1; 
  color: var(--skyblue); 
  filter: drop-shadow(0 0 6px rgb(var(--ch-pink) / .45)); 
}

.nav-link.active { 
  color: #fff; 
  background: rgb(var(--ch-pink) / .14); 
  border-color: rgba(255,255,255,.11); 
}

.nav-link.active .nav-icon { 
  opacity: 1; 
  color: var(--pink); 
  filter: drop-shadow(0 0 8px rgb(var(--ch-pink) / .7)); 
}

.nav-link.active::before { 
  content: ''; 
  position: absolute; 
  left: .72rem; 
  right: .72rem; 
  bottom: .80rem; 
  height: 2px; 
  border-radius: 999px; 
  background: linear-gradient(90deg, var(--gradient)); 
  pointer-events: none; 
}

.nav-dropdown { 
  position: relative; 
  display: flex; 
  align-items: stretch; 
}

.nav-dropdown::after { 
  content: ''; 
  position: absolute; 
  left: 0; 
  right: 0; 
  top: 100%; 
  height: 10px; 
}

.nav-caret { 
  flex: 0 0 auto; 
  width: 14px; 
  height: 14px; 
  transition: transform .2s ease; 
}

.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu { 
  position: absolute; 
  top: calc(100% + 10px); 
  left: 50%; 
  z-index: 90; 
  display: grid; 
  gap: 6px; 
  min-width: 190px; 
  padding: 8px; 
  border: 1px solid rgba(255,255,255,.08); 
  border-radius: 14px; 
  background: rgba(26,24,48,.98); 
  box-shadow: 0 18px 48px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04); 
  -webkit-backdrop-filter: blur(18px) saturate(150%); 
  backdrop-filter: blur(18px) saturate(150%); 
  opacity: 0; 
  visibility: hidden; 
  pointer-events: none; 
  transform: translate(-50%, -6px); 
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease; 
}

.nav-dropdown.open .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { 
  opacity: 1; 
  visibility: visible; 
  pointer-events: auto; 
  transform: translate(-50%, 0); 
}

.nav-dropdown-link { 
  position: relative; 
  display: flex; 
  align-items: center; 
  gap: .5rem; 
  min-height: 38px; 
  padding: .62rem .74rem; 
  border-radius: 10px; 
  color: var(--text-dim); 
  font-size: .84rem; 
  font-weight: 600; 
  line-height: 1.15; 
  transition: color .2s, background .2s; 
}

.nav-dropdown-link:hover { 
  color: var(--skyblue); 
  background: rgb(var(--ch-pink) / .09); 
}

.nav-dropdown-link:hover .nav-icon { 
  opacity: 1; 
  color: var(--skyblue); 
  filter: drop-shadow(0 0 6px rgb(var(--ch-pink) / .45)); 
}

.nav-dropdown-link.active { 
  color: #fff; 
  background: rgb(var(--ch-pink) / .14); 
}

.nav-dropdown-link.active .nav-icon { 
  opacity: 1; 
  color: var(--pink); 
  filter: drop-shadow(0 0 8px rgb(var(--ch-pink) / .7)); 
}

.nav-dropdown-link.active::before { 
  content: ''; 
  width: 3px; 
  align-self: stretch; 
  margin: 2px .52rem 2px 0; 
  border-radius: 999px; 
  background: linear-gradient(180deg, var(--gradient)); 
}

.nav-actions { 
  justify-self: end; 
  align-self: center; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.menu-toggle { display: none !important; }

.menu-toggle svg { width: 22px; height: 22px; display: block; }


/* ------------------------------------------------------------------------ 
  CONTENT
------------------------------------------------------------------------ */
b, strong { color: var(--blue); }

i, em { color: var(--teal); }

img { display: block; max-width: 100%; }

code { 
  font-family: var(--font-mono); 
  font-size: .84em; 
  background: var(--bg-subtle); 
  color: var(--skyblue); 
  padding: 2px 6px; 
  border-radius: 5px; 
  border: 1px solid var(--bordersoft); 
}

a { 
  color: var(--text-dim); 
  text-decoration: none; 
}

a:focus-visible, button:focus-visible { 
  outline: none; 
  box-shadow: var(--glow); 
}

.content :where(p, li) a:not(:where(.nav-link, .nav-dropdown-link, .bottom-nav-link, .btn-nav-download)),
.copyright a:not(:where(.nav-link, .nav-dropdown-link, .bottom-nav-link, .btn-nav-download)) {
  padding-bottom: .14em;
  background-image:
    linear-gradient(90deg, rgb(var(--ch-pink)), rgb(var(--ch-teal)) 62%, rgb(var(--ch-gold))),
    linear-gradient(90deg, rgb(var(--ch-pink) / .48), rgb(var(--ch-teal) / .48) 62%, rgb(var(--ch-gold) / .48));
  background-repeat: no-repeat;
  background-size: 0% 1px, 100% 1px;
  background-position: 0 100%, 0 100%;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.09rem;
  color: var(--text);
  font-weight: 400;
  transition: color .18s ease, text-shadow .18s ease, background-size .3s ease;
}

.content :where(p, li) a:not(:where(.nav-link, .nav-dropdown-link, .bottom-nav-link, .btn-nav-download)):hover,
.copyright a:not(:where(.nav-link, .nav-dropdown-link, .bottom-nav-link, .btn-nav-download)):hover {
  color: var(--pink);
  text-shadow: 0 0 14px var(--bg);
  background-size: 100% 1px, 100% 1px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--text);
  line-height: 1.08;
  margin: 0;
}

h2, .release-notes-body h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  letter-spacing: -.035em;
  margin-bottom: 16px;
  color: var(--text);
  text-align: left;
  margin-bottom: 2rem;
}

h3, .release-notes-body h2 {
  display: flex;
  align-items: center;
  text-align: center;
  gap: .75rem;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  letter-spacing: -.025em;
  text-shadow: 0 4px 16px rgb(0 0 0 / .34);
  color: var(--gold);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h3::before, .release-notes-body h2::before {
  content: "\2726";
  flex: 0 0 auto;
  font-size: 1.85rem;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgb(var(--ch-teal) / .4));
  margin-left: .5rem;
}

h3::after, .release-notes-body h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0;
  filter: drop-shadow(2px 2px 3px #0c0b1c);
  margin-top: 5rem;
  margin-bottom: 1.5rem;
  color: var(--pink)
}

h4::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

h4:first-of-type { margin-top: 0; }

h5, .release-notes-body h3 {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(90deg, var(--gradient));
}

hr { border: none; border-top: 1px solid #2d284d; margin: 2.2rem 0; }

.release-notes-body h3::before,
.release-notes-body h3::after {
  display: none;
}

p { 
  color: var(--text-muted); 
  margin: 0 0 1rem; 
  line-height: 1.5; 
}

ul, ol { 
  list-style: none; 
  padding: 0; 
  display: grid; 
  gap: 1rem; 
  padding-left: 1.25rem; 
  margin: 1.25rem 0; 
}

ol {
  list-style: none;
  counter-reset: guide-number;
}

li { 
  position: relative; 
  padding-left: 1.8rem; 
  color: var(--text-muted); 
  line-height: 1.25; 
}

li::before { 
  content: "✦"; 
  position: absolute; 
  left: 0; 
  top: .18rem; 
  font-size: .95rem; 
  line-height: 1; 
  color: var(--pink); }

li:nth-child(3n+2)::before { color: var(--teal); }

li:nth-child(3n)::before { color: var(--gold); }

li strong { 
  color: var(--gold); 
  font-family: var(--font-serif); 
  font-weight: 700; 
  letter-spacing: -.015em; 
}

li b { 
  color: var(--blue); 
  font-family: var(--font-sans); 
  font-weight: 700; 
  letter-spacing: -.015em; 
}

ol > li {
  display: block;
  counter-increment: guide-number;
}

ol > li::before {
  content: counter(guide-number) ".";
  position: absolute;
  left: 0;
  top: .05rem;
  color: var(--pink);
  font-family: var(--font-mono);
  font-weight: 500;
}

ol > li:nth-child(3n+2)::before { color: var(--teal); }

ol > li:nth-child(3n)::before { color: var(--gold); }

.content { padding: 48px 0 86px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  color: var(--text-dim);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgb(255 255 255 / .04), rgb(255 255 255 / .018)), var(--bg-card);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  scroll-margin-top: 108px;
}

.card p:last-child { margin-bottom: 0; }

.heart::before { content: " \2764"; color: var(--pink); font-style: normal; }

.sparkle::before { content: "✦"; background: linear-gradient(90deg, var(--gradient)); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }


/* ------------------------------------------------------------------------ 
  BUTTONS
------------------------------------------------------------------------ */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: .55rem; 
  min-height: 20px; 
  padding: .72rem 1.15rem; border-radius: 12px; border: 1px solid transparent; font-family: var(--font-sans); font-weight: 700; font-size: .95rem; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }

.btn:hover { transform: translateY(-1px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }

.btn-download { 
  background: linear-gradient(135deg, var(--gradient) 100%); 
  color: #372c70; 
  border-color: transparent; }

.btn-download:hover {
box-shadow:
  0 10px 32px -8px rgb(255 126 179 / 0.6),
  0 0 0 1px rgb(255 255 255 / 0.08) inset,
  0 0 0 4px rgb(255 126 179 / 0.1); }

.btn-ghost { 
  background: color-mix(in srgb, var(--bg-card) 65%, transparent); 
  border-color: var(--border); 
  color: var(--text-muted); 
}

.btn-ghost:hover { 
  color: var(--text); 
  border-color: rgb(var(--text-muted) / .42); 
  background: rgb(var(--text-muted) / .07); 
}

.top-nav .btn-ghost { 
  background: rgba(33,30,56,.78); 
  border-color: var(--border); 
  color: var(--text-dim); 
}

.top-nav .btn-ghost:hover { 
  color: #e7deff; border-color: rgb(var(--ch-teal) / .42); 
  background: rgb(var(--ch-teal) / .07); 
}

.btn-nav-download {
  position: relative;
  overflow: hidden;
  min-width: 94px;
  width: auto;
  height: 50px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  justify-content: center;
  gap: 0;
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  line-height: 1;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(135deg, var(--pink), var(--teal) 68%, var(--gold));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 10px 30px -13px rgb(var(--ch-pink) / .75),
    0 0 22px -14px rgb(var(--ch-pink) / .7),
    inset 0 0 0 1px rgb(255 255 255 / .035);
}

.btn-nav-download::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.18) 40%, rgba(255,255,255,.06) 50%, transparent 62%);
  transform: translateX(-110%);
  pointer-events: none;
}
.btn-nav-download:hover::after {
  transform: translateX(110%);
  transition: transform .8s ease;
}

.btn-nav-download:hover,
.btn-nav-download.active,
.btn-nav-download:active,
.btn-nav-download:focus-visible {
  color: #fff;
  background-image:
    linear-gradient(var(--bg-card), var(--bg-card)),
    linear-gradient(135deg, var(--pink), var(--teal) 68%, var(--gold));
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow:
    0 10px 32px -8px rgb(255 126 179 / .6),
    0 0 0 1px rgb(255 255 255 / .08) inset,
    0 0 0 4px rgb(255 126 179 / .1);
}


/* ------------------------------------------------------------------------ 
  INDEX HERO
------------------------------------------------------------------------ */
.hero {
  text-align: center;
  padding: 34px 0 72px;
  position: relative;
  isolation: isolate;
}

.hero-inner { 
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  text-align: center;
}

.hero-logo-glow { 
  width: min(292px, 62vw); 
  aspect-ratio: 1 / 1; 
  margin: 0 auto 10px; 
  display: grid; 
  place-items: center; 
  position: relative; 
}

.hero-logo-glow::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  border-radius: 50%; 
  background: radial-gradient(circle, rgb(var(--ch-indigo) / .28) 0%, rgb(var(--ch-pink) / .22) 31%, rgb(var(--ch-teal) / .11) 50%, transparent 72%); 
  filter: blur(8px) saturate(145%); 
}

.hero-logo-glow::after { 
  content: ""; 
  position: absolute; 
  inset: 12%; 
  z-index: 4; 
  border-radius: 50%; 
  border: 1px solid rgb(255 255 255 / .08); 
  background: linear-gradient(115deg, transparent 18%, rgb(255 255 255 / .78) 44%, transparent 60%), radial-gradient(circle at 50% 25%, rgb(255 255 255 / .08), transparent 60%); 
  background-size: 220% 100%, 100% 100%; 
  background-position: -170% 50%, center; 
  mix-blend-mode: screen; 
  opacity: 0; 
  pointer-events: none; 
  animation: heroGemGlint 7.4s ease-in-out infinite; 
}

.hero-logo { 
  position: relative; 
  z-index: 2; 
  width: min(200px, 36vw); 
  height: auto; 
  filter: drop-shadow(0 26px 45px rgb(0 0 0 / .34)) drop-shadow(0 0 28px rgb(var(--ch-pink) / .44)); 
  animation: heroGemPulse 7.4s ease-in-out infinite; 
}

.hero-logo-sparkle { position: absolute; z-index: 3; font-size: 1.15rem; line-height: 1; filter: drop-shadow(0 0 10px currentColor); }
.hero-logo-sparkle.s1 { top: 10%; left: 15%; color: var(--teal); }
.hero-logo-sparkle.s2 { top: 20%; right: 15%; color: var(--text); }
.hero-logo-sparkle.s3 { bottom: 20%; left: 15%; color: var(--pink); }
.hero-logo-sparkle.s4 { bottom: 10%; right: 15%; color: var(--purple); }

.hero-wordmark { 
  font-family: var(--font-serif); 
  font-size: clamp(5rem, 17vw, 11rem); 
  line-height: 1.02; 
  letter-spacing: -.065em; 
  margin: 0; 
  padding: .02em .08em .08em; 
  display: inline-block; 
  overflow: visible; 
  background-image: linear-gradient(100deg, var(--pink) 0%, var(--teal) 24%, var(--gold) 42%, #ffffff 50%, var(--pink) 58%, var(--teal) 76%, var(--gold) 100%); 
  background-size: 220% 100%; 
  background-position: 0% 50%; 
  background-repeat: no-repeat; 
  -webkit-background-clip: text; 
  background-clip: text; 
  -webkit-text-fill-color: transparent; 
  color: transparent; 
  text-shadow: none; 
  filter: drop-shadow(0 18px 48px rgb(var(--ch-pink) / .12)); 
  animation: heroWordmarkShine 8.2s ease-in-out infinite; }

@keyframes heroGemGlint {
  0%, 42%, 100% { opacity: 0; background-position: -170% 50%, center; }
  48% { opacity: .82; }
  56% { opacity: 0; background-position: 170% 50%, center; }
}

@keyframes heroGemPulse {
  0%, 42%, 100% { filter: drop-shadow(0 26px 45px rgb(0 0 0 / .34)) drop-shadow(0 0 28px rgb(var(--ch-pink) / .44)); }
  49% { filter: drop-shadow(0 26px 45px rgb(0 0 0 / .34)) drop-shadow(0 0 38px rgb(var(--ch-teal) / .62)) brightness(1.12) saturate(1.16); }
  56% { filter: drop-shadow(0 26px 45px rgb(0 0 0 / .34)) drop-shadow(0 0 30px rgb(var(--ch-purple) / .52)); }
}

@keyframes navLogoGlow {
  0%, 42%, 100% { filter: drop-shadow(0 0 10px rgb(var(--ch-pink) / .55)) drop-shadow(0 0 20px rgb(var(--ch-teal) / .4)); }
  49% { filter: drop-shadow(0 0 14px rgb(var(--ch-teal) / .7)) drop-shadow(0 0 26px rgb(var(--ch-teal) / .45)) brightness(1.1) saturate(1.15); }
  56% { filter: drop-shadow(0 0 12px rgb(var(--ch-purple) / .6)) drop-shadow(0 0 22px rgb(var(--ch-indigo) / .45)); }
}

@keyframes heroWordmarkShine {
  0%, 45%, 100% { background-position: 0% 50%; filter: drop-shadow(0 18px 48px rgb(var(--ch-pink) / .12)); }
  54% { background-position: 100% 50%; filter: drop-shadow(0 18px 54px rgb(var(--ch-teal) / .2)); }
  64% { background-position: 100% 50%; filter: drop-shadow(0 18px 48px rgb(var(--ch-pink) / .12)); }
}

.hero-tagline {
  margin: clamp(4px, 1vw, 12px) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5.85vw, 4.75rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  text-shadow: 0 18px 46px rgb(0 0 0 / .22), 0 0 34px rgb(var(--ch-pink) / .08);
  white-space: nowrap;
}

.hero-tagline .tagline-gradient {
  display: inline-block;
  margin-inline: -.08em;
  padding-inline: .08em;
  font-style: italic;
  background-image: linear-gradient(90deg, var(--gradient));
  background-size: 100% 100%;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.hero-blurb {
  margin: 20px auto 34px;
  max-width: 890px;
  color: var(--text-dim);
  font-size: clamp(1.08rem, 1.42vw, 1.36rem);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.012em;
  text-align: center;
}


/* ------------------------------------------------------------------------ 
  PAGE HEROS
------------------------------------------------------------------------ */
.page-hero { 
  padding: 92px 0 46px; 
  display: grid;
  justify-items: center;
  text-align: center; 
}

.page-hero-logo-glow { 
  width: 112px; 
  height: 112px; 
  margin: 0 auto 18px; 
  display: grid; 
  place-items: center; 
  position: relative; 
}

.page-hero-logo-glow::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  border-radius: 50%; 
  background: radial-gradient(circle, rgb(var(--ch-teal) / .24), rgb(var(--ch-pink) / .14) 42%, transparent 72%); 
  filter: blur(8px); 
}

.page-hero-logo { 
  width: 50px; 
  position: relative; 
  z-index: 1; 
  filter: drop-shadow(0 0 24px rgb(var(--ch-teal) / .28)); 
}

.page-mini-title { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: .58rem; 
  width: max-content;
  color: var(--pink); 
  text-transform: uppercase; 
  letter-spacing: .16em; 
  font-weight: 700; 
  font-size: .72rem; 
  margin-inline: auto;
  margin-bottom: 13px; 
}

.page-mini-title::before, .page-mini-title::after { 
  content: "✦"; 
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text; 
  background-clip: text; 
  color: transparent; }

.page-title { 
  font-size: clamp(3rem, 7vw, 5.6rem); 
  line-height: .94; 
  letter-spacing: -.058em; 
  margin-inline: auto;
  margin-bottom: 3rem; 
  overflow: visible; 
  text-align: center;
}

.page-title .title-plain, .page-title .title-accent { 
  display: block; 
  padding-bottom: .12em; 
  margin-bottom: -.12em; 
}

.page-title .title-plain { color: var(--text); }

.page-title .title-accent { margin-top: .04em; font-style: italic; display: inline-block; padding-inline: .05em; background-image: linear-gradient(90deg, var(--pink) 0%, #f4f0ff 16%, #bdf8f1 36%, #78e8d8 56%, #a7efb1 77%, var(--gold) 100%); background-size: 100% 100%; background-position: center; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none; }

.page-blurb { 
  max-width: 760px; 
  margin: 0 auto; 
  color: var(--text-muted); 
  font-size: 1.12rem; 
  line-height: 1.72; 
  text-align: center;
}

.divider {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto auto auto minmax(42px, 1fr);
  align-items: center;
  gap: clamp(.65rem, 1.8vw, 1.05rem);
  width: min(520px, 78vw);
  margin: 50px auto 50px;
  color: var(--teal);
}

.divider span {
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--pink) 34%, var(--teal) 72%, transparent);
  box-shadow: 0 0 14px rgb(var(--ch-pink) / .22);
}

.divider span:last-child {
  background: linear-gradient(90deg, transparent, var(--teal) 28%, var(--gold) 66%, transparent);
  box-shadow: 0 0 14px rgb(var(--ch-teal) / .22);
}

.divider b,
.divider i {
  display: grid;
  place-items: center;
  line-height: 1;
}

.divider b {
  font-family: var(--font-sans);
  font-size: clamp(.72rem, 1.5vw, .9rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 8px rgb(var(--ch-teal) / .48));
}

.divider i {
  font-family: var(--font-sans);
  font-size: clamp(.92rem, 2vw, 1.15rem);
  font-style: normal;
  color: var(--text);
}


/* ------------------------------------------------------------------------ 
  FEATURES PAGE
------------------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  position: relative;
  z-index: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 170px;
  padding: 28px 22px 24px;
  text-align: center;
  overflow: visible;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.feature:hover,
.feature:focus-within {
  z-index: 10;
  transform: translateY(-5px);
  border-color: rgb(var(--ch-pink) / .24);
  background:
    radial-gradient(circle at 50% 0%, rgb(var(--ch-pink) / .11), transparent 44%),
    linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .025)),
    var(--bg-card);
  filter: drop-shadow(0 0 9px rgb(var(--ch-pink) / .34));
}

.feature-preview {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 300px;
  background: var(--bg-subtle, #1a1530);
  border: 1px solid rgb(var(--ch-pink) / .22);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgb(0 0 0 / .72), 0 0 0 1px rgb(255 255 255 / .04);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}

/* temporarily disabled
.feature:hover .feature-preview {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
} */

.feature-preview::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 11px;
  height: 11px;
  background: var(--bg-subtle, #1a1530);
  border-right: 1px solid rgb(var(--ch-pink) / .22);
  border-bottom: 1px solid rgb(var(--ch-pink) / .22);
}

.feature-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-preview-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background:
    radial-gradient(ellipse at 30% 40%, rgb(var(--ch-pink) / .08), transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgb(var(--ch-teal) / .07), transparent 50%),
    var(--bg-card);
}

.feature-preview-placeholder > img {
  width: 36px;
  height: 36px;
  opacity: .25;
  display: block;
}

.feature-preview-placeholder > span {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono, monospace);
}

.feature > h3 {
  display: block;
  width: auto;
  margin: 1rem 0 .62rem;
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-style: italic;
  text-align: center;
  color: var(--text);
  text-shadow: 0 4px 16px rgb(0 0 0 / .34), 0 0 14px rgb(var(--ch-pink) / .16);
  transition: color .2s ease, text-shadow .2s ease;
}
.feature > h3::before,
.feature > h3::after {
  display: none;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.68;
  text-align: center;
  text-indent: 0;
}


/* ------------------------------------------------------------------------ 
  FAQ PAGE
------------------------------------------------------------------------ */
.faq-list {
  display: grid;
  gap: 14px;
  width: 90%;
  margin-inline: auto;
}

details { 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  background: var(--bordersoft); 
  overflow: hidden; }

details > summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details > summary::marker {
  content: "";
  font-size: 0;
}

details p { padding: 0 24px 22px 48px; }

.faq-search-card {
  display: grid;
  gap: 10px;
  margin: 0 1rem 1rem 1rem;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgb(255 255 255 / .035), rgb(255 255 255 / .016)), var(--bg-card);
  box-shadow: var(--shadow);
}

.faq-search-label {
  color: #b6a3e6;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.faq-search-input {
  width: 100%;
  border: 1px solid #2d284d;
  border-radius: 12px;
  background: #17142a;
  color: var(--text);
  font: inherit;
  padding: .86rem 1rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.faq-search-input:focus {
  outline: none;
  border-color: rgb(var(--ch-teal) / .64);
  background: #1d1932;
  box-shadow: 0 0 0 4px rgb(var(--ch-teal) / .08), inset 0 1px 0 rgb(255 255 255 / .05);
}
.faq-search-input::placeholder { color: var(--text-dimmer); }

.faq-search-meta { margin: 0; color: var(--text-dimmer); font-size: .9rem; }

.faq-results { display: grid; gap: 32px; }

.faq-category { display: grid; gap: 12px; }

.faq-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--pink);
  font-family: var(--font-serif);
  font-size: 2.45rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.faq-title::before {
  content: "✦";
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.15rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgb(var(--ch-teal) / .28));
}

.faq-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gradient), transparent);
}

.faq-item[hidden],
.faq-category[hidden],
.faq-empty[hidden] { display: none; }
.faq-item {
  border-color: #302a55;
  border-radius: 16px;
  background: #17142a;
  box-shadow: 0 14px 34px rgb(0 0 0 / .2), inset 0 1px 0 rgb(255 255 255 / .035);
}

.faq-item[open] {
  background: #17142a;
}

.faq-item > summary {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  column-gap: .82rem;
  padding: 24px 28px;
  color: #f1eaff;
  font-weight: 800;
  line-height: 1.35;
}

.faq-item[open] > summary {
  padding-bottom: 0;
}

.faq-item > summary::before {
  content: "✦";
  display: block;
  width: 1rem;
  height: 1rem;
  color: var(--teal);
  font-size: .9rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgb(var(--ch-teal) / .32));
}

.faq-item[open] > summary::before {
  color: var(--teal);
}

.faq-item p {
  margin: 0 0 1rem;
  padding: 0 32px 0 56px;
  text-indent: 0;
}
.faq-item > summary + :where(p, ul) {
  padding-top: 26px;
}

.faq-item p:last-child {
  margin-bottom: 0;
  padding-bottom: 30px;
}

.faq-item ul {
  margin: 0 0 1rem;
  padding: 0 32px 0 72px;
}

.faq-item ul:last-child {
  margin-bottom: 0;
  padding-bottom: 30px;
}

.faq-empty {
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--text-muted);
  text-align: center;
}

.faq-filter-label {
  margin: 0;
  color: #b6a3e6;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.faq-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.faq-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: .35rem .95rem;
  border: 1px solid #2d284d;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s, box-shadow .18s;
  white-space: nowrap;
}

.faq-filter-pill:hover {
  border-color: rgb(var(--ch-teal) / .45);
  color: var(--text);
}

.faq-filter-pill.is-active {
  border-color: rgb(var(--ch-teal) / .65);
  background: rgb(var(--ch-teal) / .1);
  color: var(--teal);
  box-shadow: 0 0 0 1px rgb(var(--ch-teal) / .18);
}


/* ------------------------------------------------------------------------
  DOWNLOAD PAGE
------------------------------------------------------------------------ */
.download-panel { text-align: center; padding: 54px 28px; text-align: center; }
.download-panel .btn-download { font-size: 1.05rem; padding: .9rem 1.5rem; }

.download-panel-split {
  display: grid;
  grid-template-columns: 7fr auto 3fr;
  gap: 0;
  text-align: left;
  padding: 0;
}
.download-panel-split h2 { text-align: center; }
.download-panel-split::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--pink) 30%, var(--teal) 70%, transparent);
}
.download-panel-main {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.download-panel-main .btn-row { margin-top: 22px; }
.download-panel-side {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.release-notes-body a.anchor { display: none; }


/* ------------------------------------------------------------------------ 
  GUIDES PAGES
------------------------------------------------------------------------ */
.guide {
  width: min(1100px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
}

.guide-nav {
  position: sticky;
  top: calc(var(--nav-height, 76px) + 20px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgb(26 24 48 / .72);
}

.guide-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 38px;
  padding: .5rem .76rem .5rem .9rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.1;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.guide-nav a::before {
  content: "\2726";
  flex: 0 0 auto;
  width: .9rem;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: .82rem;
  line-height: 1;
  filter: drop-shadow(0 0 7px rgb(var(--ch-pink) / .42));
}

.guide-nav a:hover {
  color: var(--skyblue);
  background: rgb(var(--ch-teal) / .09);
}

.guide-nav a.active,
.guide-nav a[aria-current="true"] {
  color: #fff;
  background: rgb(var(--ch-pink) / .16);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035);
}

.guide-nav a.active::after,
.guide-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--pink), var(--teal) 55%, var(--gold));
}

.guide-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-content: start;
}

.guidenote {
  margin: 20px auto 0;
  padding: 1.4rem;
  border-radius: 14px;
  border: 1px solid rgb(96 165 250 / .24);
  background: rgb(96 165 250 / .065);
  color: var(--text-muted);
  width: 80%;
  font-size: .85em;
}

.guidenote strong {
  display: block;
  margin-bottom: 5px;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--blue); 
}

.guidesteps {
  display: grid;
  gap: .75rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guidestep;
}

.guidesteps > li {
  position: relative;
  padding: 1.5rem 2rem 1.5rem 5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgb(18 16 32 / .52);
  counter-increment: guidestep;
}

.guidesteps > li::before {
  content: counter(guidestep);
  position: absolute;
  left: 22px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gradient));
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: #1a1530;
  -webkit-text-fill-color: #1a1530;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.guidesteps h3 {
  margin: 0 0 8px;
  text-align: left;
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(45deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}

.guidesteps h3::before,
.guidesteps h3::after {
  display: none;
}

.prefix-empty {
  color: var(--text-dim);
  font-style: italic;
}

.contact-card { max-width: 780px; margin: 0 auto; }

.contact-form { display: grid; gap: 20px; margin-top: 24px; }

.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 18px 0 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgb(18 16 32 / .72);
  color: var(--text-muted);
  text-align: left;
}

.form-status strong { color: var(--text); }

.form-status ul { margin: .55rem 0 0; padding-left: 1.2rem; }

.form-status li + li { margin-top: .28rem; }

.form-status-success {
  border-color: rgb(var(--ch-success) / .34);
  background: var(--success-bg);
}

.form-status-error {
  border-color: rgb(var(--ch-pink) / .34);
  background: rgb(var(--ch-pink) / .1);
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.form-field { display: grid; gap: 8px; text-align: left; }

label {
  width: max-content;
  max-width: 100%;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.req {
  color: #ff0000;
  font-weight: 900;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #2d284d;
  border-radius: 12px;
  background: #17142a;
  color: var(--text);
  font: inherit;
  padding: .82rem .95rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a491d4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}

select option {
  background: #17142a;
  color: #e7deff;
}

select option:checked,

select option:hover {
  background: #2a2546;
  color: var(--teal);
}

textarea { min-height: 180px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgb(var(--ch-gold) / .64);
  background: #1d1932;
  box-shadow: 0 0 0 4px rgb(var(--ch-gold) / .08), inset 0 1px 0 rgb(255 255 255 / .05);
}

select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffd166' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

input::placeholder,
textarea::placeholder { color: var(--text-dimmer); }

.dropdown { position: relative; }

.dropdown[data-open] { z-index: 10; }

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  border: 1px solid #2d284d;
  border-radius: 12px;
  background: #17142a;
  color: var(--text);
  font: inherit;
  padding: .82rem .95rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: left;
}

.dropdown-trigger.is-placeholder { color: var(--text-dimmer); }

.dropdown-trigger:focus,
.dropdown-trigger[aria-expanded="true"] {
  outline: none;
  border-color: rgb(var(--ch-gold) / .64);
  background: #1d1932;
  box-shadow: 0 0 0 4px rgb(var(--ch-gold) / .08), inset 0 1px 0 rgb(255 255 255 / .05);
}

.dropdown-chevron {
  flex: 0 0 12px;
  width: 12px;
  height: 8px;
  color: #a491d4;
  transition: transform .2s ease, color .18s ease;
}

.dropdown-trigger[aria-expanded="true"] .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}

.dropdown-listbox {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: 5px;
  list-style: none;
  border: 1px solid #2d284d;
  border-radius: 12px;
  background: rgba(23, 20, 42, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 56px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .04);
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.dropdown[data-open] .dropdown-listbox {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .22rem .86rem;
  border-radius: 8px;
  color: var(--text-muted);
  transition: background .15s ease, color .15s ease;
  cursor: url('images/link.svg'), pointer !important;
}

.dropdown-option::before { display: none; }

.dropdown-option:first-child {
  color: var(--text-dimmer);
  font-style: italic;
  pointer-events: none;
  cursor: default !important;
}

.dropdown-option[data-highlighted],
.dropdown-option:hover { background: rgb(var(--ch-gold) / .1); color: var(--text); }

.dropdown-option[aria-selected="true"] { color: var(--gold); }

.actions { justify-content: center; margin-top: 4px; }



/* ------------------------------------------------------------------------
  REFERENCE TABLES
------------------------------------------------------------------------ */
.ref-table {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0f0d1e;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .035),
    0 8px 28px rgb(0 0 0 / .3);
  margin-top: 1rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.ref-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient));
  z-index: 1;
}

.ref-table table {
  width: 100%;
  border-collapse: collapse;
}

.ref-table th {
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #121024;
  white-space: nowrap;
  border-bottom: 1px solid rgb(var(--ch-pink) / .25);
}

.ref-table th:nth-child(2) {
  border-bottom-color: rgb(var(--ch-teal) / .22);
}

.ref-table th:nth-child(3) {
  border-bottom-color: rgb(var(--ch-gold) / .22);
}

.ref-table th:nth-child(4) {
  border-bottom-color: rgb(var(--ch-purple) / .25);
}

.ref-table th + th,
.ref-table td + td {
  border-left: 1px solid var(--bordersoft);
}

.ref-table td {
  padding: 12px 16px;
  vertical-align: middle;
  color: var(--text-muted);
  border-bottom: 1px solid rgb(255 255 255 / .03);
  line-height: 1.55;
  font-size: .92rem;
}

.ref-table tbody tr:nth-child(odd) td {
  background: #13112a;
}

.ref-table tbody tr:nth-child(even) td {
  background: #16142e;
}

.ref-table tbody tr:last-child td {
  border-bottom: 0;
}

.ref-table tbody tr:hover td {
  background: var(--bg-subtle);
}

.ref-table tbody tr:hover td:first-child {
  box-shadow: inset 2px 0 0 var(--gold);
}

.ref-table .note-text {
  color: var(--text-dimmer);
  font-style: italic;
  font-size: .88em;
}

.ref-table + .ref-table {
  margin-top: 1rem;
}

.ref-section-label {
  margin: 2.5rem 0 6px;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, var(--gradient));
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px var(--bg));
}

.ref-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--teal) 52%, var(--gold), transparent);
}

.ref-section-label:first-child {
  margin-top: 0;
}

.ref-section-label + .ref-table {
  margin-top: 0;
}

.ref-section-label + .ref-table::before {
  display: none;
}


/* ------------------------------------------------------------------------
  REFERENCE CODE BLOCKS
------------------------------------------------------------------------ */
.ref-code {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #1a1738;
  border-radius: 14px;
  background: var(--bg);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .025),
    0 10px 32px rgb(0 0 0 / .45);
}

.ref-code-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgb(255 255 255 / .025);
  border-bottom: 1px solid #1a1738;
}

.ref-code-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ref-code-dot:nth-child(1) { background: var(--pink); box-shadow: 0 0 6px rgb(var(--ch-pink) / .5); }
.ref-code-dot:nth-child(2) { background: var(--teal); box-shadow: 0 0 6px rgb(var(--ch-teal) / .5); }
.ref-code-dot:nth-child(3) { background: var(--gold); box-shadow: 0 0 6px rgb(var(--ch-gold) / .5); }

.ref-code-label {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.ref-code pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ref-code code {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--skyblue);
  font-family: var(--font-mono);
  font-size: .86rem;
  line-height: 1.7;
}

.ref-code code b,
.ref-code code strong {
  color: var(--pink);
  font-weight: 700;
  font-family: inherit;
}

.ref-code code em,
.ref-code code i {
  color: var(--teal);
  font-style: normal;
  font-family: inherit;
}

.ref-code code .cv {
  color: var(--gold);
}

.ref-code + .ref-code {
  margin-top: 14px;
}


/* ------------------------------------------------------------------------
  BOTTOM NAVIGATION
------------------------------------------------------------------------ */
.bottom-nav { padding: 36px 0 56px; position: relative; }

.bottom-nav::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(60%, 700px); height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--ch-pink)/.40) 30%, rgb(var(--ch-teal)/.40) 70%, transparent);
}

.bottom-nav-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; margin-top: 28px; }

.bottom-nav-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px;
  border: 1px solid rgb(255 255 255 / .08);
  background: linear-gradient(180deg, rgb(255 255 255 / .03), rgb(255 255 255 / .015));
  color: #c9bedf; text-decoration: none; max-width: 320px;
  transition: transform 220ms, border-color 220ms, color 220ms, box-shadow 220ms;
}

.bottom-nav-link:hover { transform: translateY(-2px); border-color: rgb(var(--ch-pink)/.30); color: #fff; box-shadow: 0 14px 30px -16px rgb(var(--ch-pink)/.30); }

.bottom-nav-link.prev { justify-self: start; }

.bottom-nav-link.next { justify-self: end; }

.bottom-nav-meta { display: flex; flex-direction: column; line-height: 1.2; gap: 2px; }

.bottom-nav-kicker { font-family: var(--font-sans); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8878b8; }

.bottom-nav-title { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: #f4f0ff; }

.bottom-nav-arrow { font-size: 1.5rem; background: linear-gradient(90deg, var(--gradient));-webkit-background-clip: text; background-clip: text; color: transparent; flex-shrink: 0; }

.bottom-nav-link.prev .bottom-nav-meta { text-align: left; }

.bottom-nav-link.next .bottom-nav-meta { text-align: right; }


/* ------------------------------------------------------------------------
  GALLERY / LIGHTBOX
------------------------------------------------------------------------ */
.preview-div { padding-top: 12px; }

.preview-wrap { display: grid; gap: 26px; padding: 0 28px; max-width: 980px; margin: 0 auto; }

.preview-browser { position: relative; border-radius: 28px; padding: 3px; background: linear-gradient(90deg, rgba(255,126,179,.85), rgba(204,194,255,.72), rgba(120,232,216,.84), rgba(255,209,40,.84)); box-shadow: 0 24px 70px rgba(0,0,0,.36), 0 0 0 1px rgba(255,255,255,.04); }

.preview-browser::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: radial-gradient(circle at 10% 20%, rgba(255,126,179,.18), transparent 35%), radial-gradient(circle at 90% 12%, rgba(96,165,250,.18), transparent 30%), radial-gradient(circle at 50% 100%, rgba(255,209,40,.1), transparent 26%); pointer-events: none; }

.preview-inner { position: relative; border-radius: 25px; overflow: hidden; background: linear-gradient(180deg, rgba(33,29,59,.98), rgba(12,10,29,.99)); }

.preview-bar { display: flex; align-items: center; gap: 14px; padding: 18px 26px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); }

.preview-dots { display: inline-flex; gap: 10px; }

.preview-dot { width: 14px; height: 14px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 14px currentColor; }

.preview-url { margin-left: 10px; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); font-family: var(--font-mono); font-size: .96rem; color: #bdb1dc; }

.preview-canvas { position: relative; padding: 18px; background: linear-gradient(180deg, rgba(6,5,19,.58), rgba(9,8,23,.78)); }

.preview-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,7,20,.9);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .18s ease, background .18s ease, border-color .18s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}

.preview-nav span {
  display: block;
  transform: translate(1px, -1px);
}

.preview-nav:hover,
.preview-nav:focus-visible {
  color: var(--teal);
  background: rgba(20,18,40,.96);
  border-color: rgba(255,255,255,.24);
}

.preview-nav:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.preview-prev { left: -24px; }

.preview-next { right: -24px; }

.preview-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 4px;
}

.preview-thumb {
  width: 88px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  margin: 0;
  background: var(--bg-card);
  opacity: .45;
  transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.preview-thumb.active {
  border-color: var(--gold);
  opacity: 1;
  box-shadow: 0 0 12px rgb(var(--ch-pink) / .25);
}

.preview-thumb:hover { opacity: .8; }

.preview-thumb.active:hover { opacity: 1; }

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-zoom {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  border-radius: 18px;
}

.preview-zoom img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.preview-zoom:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.preview-zoom-hint {
  position: absolute;
  inset: auto 14px 14px auto;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17,16,34,.82);
  color: var(--text);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.preview-zoom:hover .preview-zoom-hint,
.preview-zoom:focus-visible .preview-zoom-hint {
  opacity: 1;
  transform: none;
}

.preview-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2em;
  padding: 14px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(6, 5, 19, .55), rgba(6, 5, 19, .35));
  font-size: .75rem;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
  letter-spacing: .08em;
}

.preview-caption b {
  color: var(--blue);
  text-transform: uppercase;
  font-size: .85rem;
}


/* ------------------------------------------------------------------------ 
  FOOTER
------------------------------------------------------------------------ */
footer {
  position: relative;
  margin-top: auto;
  flex-shrink: 0;
  overflow: hidden;
  padding: 20px 0 0;
  color: var(--text-dim);
  background: linear-gradient(180deg, rgba(18,16,32,.96), rgba(12,11,28,.98));
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

footer::before { 
  content: ""; 
  position: absolute; 
  inset: 0 0 auto 0; 
  height: 1px; 
  background: linear-gradient(90deg, transparent 0%, rgb(var(--ch-pink)/.45) 18%, rgb(var(--ch-teal)/.38) 52%, rgb(var(--ch-gold)/.38) 82%, transparent 100%); 
  pointer-events: none; }

footer::after { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  pointer-events: none; 
  background: radial-gradient(circle at 50% 0%, rgb(var(--ch-pink)/.09), transparent 34%), radial-gradient(circle at 74% 30%, rgb(var(--ch-teal)/.06), transparent 28%); }

.love { margin: 0; color: #b8b0d8; font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 1rem; line-height: 1.55; }

.copyright { margin: 10px 0 0; color: var(--text-dimm); font-size: .75rem; }
.copyright b { font-size: .9rem; }

.legal a { font-size: .65rem; text-transform: uppercase; margin-top: 10px; margin-bottom: 0; letter-spacing: 1px; font-family: var(--font-mono); color: var(--text-dimmer); }

.legal a:hover { color: var(--blue); }


/* ------------------------------------------------------------------------ 
  TOASTS
------------------------------------------------------------------------ */
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 90; background: var(--bg-card); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 14px; padding: 12px 16px; transform: translateY(16px); opacity: 0; pointer-events: none; transition: .22s ease; }

.toast.show { transform: none; opacity: 1; }


/* ------------------------------------------------------------------------ 
  COMING SOON
------------------------------------------------------------------------ */
.coming-soon-page {
  overflow: hidden; }

.coming-soon-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid; }

.coming-soon-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(36px, 6vw, 84px) 0;
  text-align: center;
  isolation: isolate; }

.coming-soon-inner {
  width: min(1180px, calc(100vw - 36px));
  margin: 0 auto;
  text-align: center; }

.coming-soon-page .hero-logo-glow { margin-bottom: 12px; }

.coming-soon-page .hero-blurb { margin-bottom: 0; }


/* ------------------------------------------------------------------------
  RESPONSIVE
------------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .sparkles span { animation: none; opacity: .22; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .feature,
  .feature > h3 { transition: none; }
  .feature:hover,
  .feature:focus-within { transform: none; }
}

@media (hover: hover) and (min-width: 961px) {
  .nav-dropdown:hover > .nav-link { color: var(--skyblue); background: rgb(var(--ch-pink) / .09); }
  .nav-dropdown:hover > .nav-link .nav-icon { opacity: 1; color: var(--skyblue); filter: drop-shadow(0 0 6px rgb(var(--ch-pink) / .45)); }
  .nav-dropdown:hover .nav-caret { transform: rotate(180deg); }
  .nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
}

@media (min-width: 961px) {
  .menu-toggle { display: none !important; }
  .nav-inner { grid-template-areas: none; }
  .nav-wrapper { display: flex !important; flex-wrap: nowrap; }
  .nav-actions .btn-nav-download { display: inline-flex; }
}

@media (max-width: 1120px) and (min-width: 961px) {
  .top-nav { --nav-link-width: 98px; }
  .nav-inner { width: min(100%, calc(100vw - 24px)); gap: 10px; }
  .nav-wrapper { gap: 2px; }
  .nav-link { gap: .34rem; padding: .5rem .48rem; font-size: .76rem; }
  .nav-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .btn-nav-download { gap: .34rem; padding: .62rem .55rem; font-size: .8rem; }
}

@media (max-width: 960px) {
  .top-nav { position: sticky; overflow: visible; }
  .nav-inner {
    width: min(100%, calc(100vw - 40px));
    min-height: 68px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "menu brand actions";
    align-items: center;
    gap: 12px;
    padding: 0;
    position: relative;
  }
  .menu-toggle {
    display: inline-flex !important;
    grid-area: menu;
    align-items: center;
    justify-content: center;
    justify-self: start;
    align-self: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 14px;
    color: #cfc5ef;
  }
  .menu-toggle svg { width: 22px; height: 22px; display: block; }
  .nav-brand {
    grid-area: brand;
    justify-self: start;
    align-self: center;
    min-width: 0;
    max-width: 100%;
    gap: .45rem;
  }
  .nav-brand img { width: 32px; height: 32px; }
  .nav-brand .wordmark {
    font-size: 1.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-actions {
    grid-area: actions;
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .nav-actions .btn-nav-download {
    display: inline-flex;
    min-width: 92px;
    height: 44px;
    padding: 0 12px;
    font-size: .8rem;
  }
  .nav-wrapper {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 80;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: rgba(26,24,48,.98);
    box-shadow: 0 18px 48px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }
  .nav-wrapper.open { display: grid; }
  .nav-item { width: 100%; flex: none; }
  .nav-link {
    flex: unset;
    width: 100%;
    text-align: center;
    padding: .72rem .86rem;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(33,30,56,.64);
    border-radius: 12px;
  }
  .nav-link.active { box-shadow: none; }
  .nav-dropdown::after { display: none; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; transform: none; }
  .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
  .nav-dropdown-link {
    justify-content: flex-start;
    min-height: 42px;
    text-align: left;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(17,14,32,.4);
  }
  .nav-dropdown-link.active::before { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .grid,
  .form-grid { grid-template-columns: 1fr; }
  .content { padding-bottom: 66px; }
  .download-panel-split { grid-template-columns: 1fr; }
  .download-panel-split::before {
    grid-column: 1;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink) 30%, var(--teal) 70%, transparent);
  }
  .guide { grid-template-columns: 1fr; }
  .guide-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .guide-nav a { border: 1px solid rgb(255 255 255 / .06); border-radius: 999px; }
  .preview-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .preview-prev { left: -18px; }
  .preview-next { right: -18px; }
}

@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 24px; }
  .container,
  .narrow,
  .hero-inner,
  .guide { width: min(100%, calc(100vw - 64px)); }
  .card { padding: 22px; }
  .guidesteps > li { padding: 72px 18px 20px; }
  .guidesteps > li::before { left: 18px; top: 18px; }
  .bottom-nav-row { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .bottom-nav-link.prev,
  .bottom-nav-link.next { justify-self: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-logo-glow { width: min(242px, 72vw); }
  .hero-logo { width: min(138px, 42vw); }
  .hero-wordmark { font-size: clamp(4.2rem, 24vw, 6.4rem); }
  .hero-tagline { white-space: normal; font-size: clamp(2.35rem, 13vw, 4.1rem); letter-spacing: -.06em; }
  .hero-blurb { font-size: 1.04rem; }
  .btn-row { align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .bottom-nav-link { max-width: min(100%, 320px); }
  .btn-nav-download { padding: .62rem .92rem; font-size: .86rem; }
  .preview-meta { grid-template-columns: 1fr; }
}