@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Schibsted+Grotesk:wght@500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html,
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
}

.hidden,
[hidden]:not([hidden="until-found"]) {
  display: none !important;
}

:root {
  --bg: #0b0b0b;
  --fg: #e4e4e4;
  --card: #161616;
  --muted: #2a2a2a;
  --muted-fg: #707070;
  --border: #2a2a2a;
  --brand: hsl(0 83% 58%);
  --brand-fg: #ffffff;
  --warning: hsl(38 92% 50%);
  --danger: hsl(0 84% 60%);
  --color-dark: var(--bg);
  --color-light: var(--fg);
  --color-accent: var(--brand);
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --display: "Schibsted Grotesk", var(--font);
  --radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-padding-top: 5.5rem;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
}

.site-bg {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

::selection {
  background: var(--brand);
  color: var(--brand-fg);
}

.home {
  background: var(--bg);
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overscroll-behavior: none;
  touch-action: none;
  animation: intro-hold 1.15s ease 0s both, intro-out 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

.intro-mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.8vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  animation: intro-mark 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.intro-mark img {
  height: 1.25em;
  width: auto;
}

.intro-line {
  width: 0;
  height: 4px;
  margin-top: 1.5rem;
  background: var(--brand);
  box-shadow: 0 0 26px var(--brand);
  animation: intro-line 0.55s ease 0.28s forwards;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  padding: 0 1.5rem;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

body.is-scrolled .site-nav {
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom-color: color-mix(in oklab, var(--border) 80%, transparent);
}

@media (min-width: 1024px) {
  .site-nav {
    padding: 0 2rem;
  }
}

.nav-left {
  display: flex;
  align-items: center;
  z-index: 2;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fg);
  text-decoration: none;
}

.nav-logo img {
  width: auto;
  height: 1.75rem;
}

.nav-word {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav-links {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  gap: 1.45rem;
  pointer-events: none;
}

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  pointer-events: auto;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
  background: none;
}

.nav-drawer a.is-active {
  color: var(--fg);
}

.nav-actions {
  display: none;
  align-items: center;
  z-index: 2;
  margin-left: auto;
  gap: 1rem;
}

@media (min-width: 1100px) {
  .nav-actions {
    display: flex;
  }
}

.nav-ghost {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.3s;
}

.nav-ghost:hover,
.nav-ghost.is-active {
  color: var(--fg);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--muted-fg);
  font-size: 1.05rem;
  border-radius: 0.45rem;
  transition: color 0.2s, background-color 0.2s;
}

.nav-icon:hover {
  color: var(--fg);
  background: color-mix(in oklab, var(--fg) 8%, transparent);
}

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-fg);
  background: var(--brand);
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-brand:hover {
  background: color-mix(in oklab, var(--brand) 90%, black);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--fg);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle:hover {
  color: var(--fg);
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  flex-direction: column;
  width: min(280px, 86vw);
  height: 100%;
  padding: 1.25rem;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  border-left: 1px solid var(--border);
}

.site-nav.is-open .nav-drawer {
  display: flex;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.75rem;
  color: var(--muted-fg);
  border-radius: 0.5rem;
}

.nav-drawer a:hover {
  color: var(--fg);
  background: color-mix(in oklab, var(--brand) 8%, transparent);
}

.nav-drawer .btn-brand {
  margin-top: 0.5rem;
  width: 100%;
}

.nav-drawer .nav-ghost {
  margin-top: auto;
  text-align: center;
  border: 1px solid var(--border);
}

body:not(.home) > nav:not(.site-nav) {
  visibility: hidden;
}

body:not(.home) > .h-20 {
  height: 5rem;
}

body > main,
body > footer,
.page-main,
.site-footer {
  position: relative;
}

/* —— Hero —— */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 8rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-fg);
  background: var(--brand);
  border-radius: 0.375rem;
  opacity: 0;
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--brand);
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero h1 .word:has(em) {
  display: block;
}

.hero h1 .word > span,
.hero h1 .word > em {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
}

body:not(.is-ready) .site-nav {
  opacity: 0;
  pointer-events: none;
}

body.is-ready .site-nav {
  animation: enter-nav 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.home.is-ready .hero-badge {
  animation: enter-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.home.is-ready .hero h1 .word:nth-child(1) > span {
  animation: word-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.home.is-ready .hero h1 .word:nth-child(2) > span {
  animation: word-up 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.home.is-ready .hero h1 .word:last-child > em {
  animation: word-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.home.is-ready .sale-note:not(.hidden) {
  animation: enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

body:not(.home):not(.is-ready):not(.gate-page):not(.redirect-page) > main,
body:not(.home):not(.is-ready):not(.gate-page):not(.redirect-page) > footer {
  opacity: 0;
}

.gate-page > main {
  opacity: 1;
}

body:not(.home).is-ready > main {
  animation: enter-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.dash-page.is-ready > main {
  animation: none;
  opacity: 1;
}

body:not(.home).is-ready > footer {
  animation: enter-nav 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.sale-note {
  display: none;
}

.hero-fade {
  display: none;
}

/* —— Features —— */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.kicker {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head .lede {
  max-width: 22rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.section-head .lede a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.section-head .lede-more {
  display: block;
  text-align: right;
}

.menu-stage {
  margin-top: 2.5rem;
}

.holds-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .holds-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.holds-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.holds-grid p {
  margin: 0;
  color: var(--muted-fg);
  line-height: 1.55;
}

.step-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-fg);
  background: var(--brand);
  border-radius: 999px;
}

.step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted-fg);
  line-height: 1.6;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 6rem;
}

@media (min-width: 1024px) {
  .flow-row {
    display: flex;
    align-items: center;
    gap: 4rem;
  }

  .flow-row:nth-child(even) {
    flex-direction: row-reverse;
  }

  .flow-row .flow-copy {
    flex: 1 1 0;
    min-width: 0;
  }

  .flow-row .mock {
    flex: 1.15 1 0;
    min-width: 0;
  }

  .flow-row-wide {
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
  }

  .flow-row-wide .flow-copy {
    max-width: 36rem;
  }

  .flow-row-wide .mock {
    flex: none;
    width: 100%;
  }
}

.flow-copy .label {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.flow-copy h3 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
}

.flow-copy h3.brand { color: var(--brand); }
.flow-copy h3.warn { color: var(--warning); }
.flow-copy h3.hot { color: var(--danger); }

.flow-copy p {
  max-width: 28rem;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.mock {
  width: 100%;
  min-height: 16rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.4rem;
  padding: 0 0.9rem;
  background: var(--muted);
  color: var(--muted-fg);
  font-size: 0.78rem;
}

.mock-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #5a3030;
}

.mock-bar i:first-child { background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }

.mock-body {
  display: grid;
  grid-template-columns: 10rem 1fr;
}

.mock-side {
  padding: 0.85rem 0.65rem;
  border-right: 1px solid var(--border);
}

.mock-side p {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.mock-side span,
.mock-side button {
  display: block;
  width: 100%;
  margin-bottom: 0.25rem;
  padding: 0.4rem 0.55rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
}

.mock-side .is-on {
  background: color-mix(in oklab, var(--brand) 18%, transparent);
}

.mock-panel {
  padding: 1rem 1.1rem;
}

.mock-panel h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.mock-panel p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.slider {
  margin-bottom: 0.75rem;
}

.slider label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted-fg);
}

.slider b { color: var(--fg); }

.slider span {
  display: block;
  height: 0.35rem;
  overflow: hidden;
  background: var(--muted);
  border-radius: 999px;
}

.slider span i {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.mock-client {
  display: grid;
  grid-template-columns: 6.75rem 1fr;
  min-height: 22rem;
  background: #0b0b0b;
  border-color: #1f1f1f;
}

.client-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 1.15rem 0.7rem 1rem;
  background: #101010;
  border-right: 1px solid #1c1c1c;
}

.client-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.client-brand img {
  width: 2.7rem;
  height: 2.7rem;
}

.client-brand span {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand);
}

.client-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a8a8a;
}

.client-steps li.is-active {
  color: var(--brand);
}

.client-steps li.is-done {
  color: #c9c9c9;
}

.client-steps li.is-active::before {
  content: "";
  position: absolute;
  left: -0.7rem;
  top: -0.15rem;
  bottom: -0.15rem;
  width: 3px;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}

.client-mark {
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  border: 1.5px solid #6d6d6d;
  border-radius: 50%;
}

.client-steps li.is-done .client-mark {
  border-color: var(--brand);
  background: var(--brand);
}

.client-steps li.is-active .client-mark {
  border: 0;
  background: repeating-conic-gradient(from 0deg, var(--brand) 0 18deg, transparent 18deg 40deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  animation: client-spin 0.9s linear infinite;
}

.client-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.85rem 0.95rem 0.75rem;
}

.client-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.client-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.client-title img {
  width: 1.7rem;
  height: 1.7rem;
}

.client-title strong {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--brand);
}

.client-title span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #f2f2f2;
}

.client-win {
  display: flex;
  gap: 0.35rem;
}

.client-win span {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #2a2a2a;
}

.client-win-min::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.42rem;
  height: 1.5px;
  background: #8d8d8d;
  transform: translate(-50%, -50%);
}

.client-win-close::before,
.client-win-close::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.45rem;
  height: 1.5px;
  background: #8d8d8d;
}

.client-win-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.client-win-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.client-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 13.5rem;
  padding: 1.6rem 1rem 1.2rem;
  background: #141414;
  border: 1px solid #262626;
  border-radius: 0.65rem;
  text-align: center;
}

.client-kicker {
  position: absolute;
  top: 0.55rem;
  left: 0.85rem;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #8b8b8b;
}

.client-card::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brand);
}

.client-card h3 {
  margin: 0.35rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f4f4f4;
}

.client-card p {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  color: #8d8d8d;
}

.spin-dots {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--brand) 0 12deg, transparent 12deg 30deg);
  -webkit-mask: radial-gradient(farthest-side, transparent 58%, #000 60%);
  mask: radial-gradient(farthest-side, transparent 58%, #000 60%);
  animation: client-spin 1s linear infinite;
}

.client-check {
  display: none;
  width: 3.1rem;
  height: 3.1rem;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

.client-check::after {
  content: "";
  display: block;
  width: 0.85rem;
  height: 1.35rem;
  margin: 0.35rem auto 0;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
}

.mock-client[data-step="ready"] .spin-dots {
  display: none;
}

.mock-client[data-step="ready"] .client-check {
  display: block;
}

.mock-client[data-step="ready"] .client-steps li.is-active .client-mark {
  animation: none;
  border: 0;
  background: var(--brand);
  -webkit-mask: none;
  mask: none;
}

.client-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
}

.client-foot i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
}

@media (max-width: 640px) {
  .mock-client {
    grid-template-columns: 5.4rem 1fr;
    min-height: 18.5rem;
  }

  .client-brand img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .client-brand span,
  .client-steps li {
    font-size: 0.58rem;
  }
}

@keyframes client-spin {
  to { transform: rotate(360deg); }
}

.mock-gui {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 0.85rem;
  user-select: none;
}

.mock-play {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #070707;
  border: 1px solid #2a2a2a;
  border-radius: 0.9rem;
}

.play-world {
  position: relative;
  padding: 2.6rem 0.85rem 0.85rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.035), transparent 46%),
    #070707;
}

.play-target {
  position: absolute;
  top: 0.42rem;
  left: 50%;
  z-index: 2;
  min-width: 8.4rem;
  padding: 0.32rem 0.55rem 0.38rem;
  text-align: center;
  background: rgba(18, 18, 18, 0.86);
  border: 1px solid #2c2c2c;
  border-radius: 0.4rem;
  transform: translateX(-50%);
}

.play-target strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 650;
  color: #f2f2f2;
}

.play-target-bar {
  height: 3px;
  margin: 0.28rem 0 0.26rem;
  overflow: hidden;
  background: #2a2a2a;
  border-radius: 999px;
}

.play-target-bar i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--brand);
}

.play-target span {
  font-size: 0.58rem;
  color: #8a8a8a;
}

.play-array {
  position: absolute;
  top: 0.42rem;
  right: 0.7rem;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.play-array li {
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.35;
  color: #efefef;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.play-array em {
  font-style: normal;
  font-weight: 500;
  color: #b8b8b8;
}

.play-gui {
  position: relative;
  z-index: 1;
}

.play-gui .click-shell {
  min-height: 20rem;
}

.play-gui .click-cats button {
  padding: 0.32rem 0.45rem 0.32rem 0.5rem;
  font-size: 0.66rem;
}

@media (min-width: 1024px) {
  .play-gui .click-mod h3 {
    font-size: 0.9rem;
  }

  .play-gui .click-toggle,
  .play-gui .click-setting,
  .play-gui .click-slider > span {
    font-size: 0.78rem;
  }
}

@media (max-width: 640px) {
  .play-target,
  .play-array {
    display: none;
  }

  .play-world {
    padding: 0.55rem;
  }
}

.click-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #242424;
}

.click-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.click-brand img {
  width: 1.25rem;
  height: 1.25rem;
}

.click-brand span {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f3f3f3;
}

.click-top-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.click-hud-btn {
  padding: 0.34rem 0.75rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: #eee;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  cursor: pointer;
}

.click-icon-btn {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  color: #cfcfcf;
  background: transparent;
  border: 0;
  border-radius: 0.35rem;
  cursor: pointer;
}

.click-icon-btn i {
  font-size: 0.82rem;
}

.click-icon-btn:hover,
.click-hud-btn:hover {
  color: #fff;
  border-color: #777;
}

.click-shell {
  display: grid;
  grid-template-columns: 9.1rem 1fr;
  height: 36rem;
  min-height: 36rem;
}

.click-rail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.55rem 0.45rem 0.7rem;
  background: #101010;
  border-right: 1px solid #242424;
}

.click-cats {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding-left: 0.42rem;
}

.click-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 2rem;
  background: #fff;
  border-radius: 2px;
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.click-cats button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.4rem 0.5rem 0.4rem 0.55rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: #9a9a9a;
  background: #171717;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.click-cats i {
  width: 0.95rem;
  font-size: 0.74rem;
  text-align: center;
  flex-shrink: 0;
}

.click-cats button:hover {
  color: #eee;
}

.click-cats .is-on {
  color: #fff;
  background: #2a2a2a;
}

.click-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.6rem;
}

.click-avatar {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.72rem;
  color: #bbb;
  background: #2a2a2a;
  border-radius: 50%;
}

.click-user strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #f0f0f0;
}

.click-user span {
  font-size: 0.58rem;
  color: #888;
}

.click-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0.75rem 0.8rem 0.85rem;
  background: #141414;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #141414;
}

.click-stage::-webkit-scrollbar {
  width: 6px;
}

.click-stage::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
}

.click-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(46%, 17rem);
  transform: translate(-50%, -50%);
  opacity: 0.09;
  pointer-events: none;
}

.click-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0.7rem;
}

.click-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
}

.click-board:not(.is-on):not(.is-leave) {
  display: none;
}

.click-board.is-leave {
  pointer-events: none;
}

.click-board.is-on .click-mod {
  animation: click-mod-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.click-board.is-on .click-mod:nth-child(1) { animation-delay: 0.02s; }
.click-board.is-on .click-mod:nth-child(2) { animation-delay: 0.08s; }
.click-board.is-on .click-mod:nth-child(3) { animation-delay: 0.14s; }
.click-board.is-on .click-mod:nth-child(4) { animation-delay: 0.2s; }

.click-board.is-leave .click-mod {
  animation: click-mod-out 0.18s ease both;
}

@keyframes click-mod-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes click-mod-out {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }
}

.click-mod {
  padding: 0.75rem 0.8rem 0.8rem;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.75rem;
}

.click-mod h3 {
  margin: 0 0 0.65rem;
  padding-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f4f4f4;
  border-bottom: 1px solid #2f2f2f;
}

.click-toggle,
.click-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0;
  font-family: inherit;
  font-size: 0.72rem;
  color: #c8c8c8;
  background: transparent;
  border: 0;
  text-align: left;
}

.click-toggle {
  cursor: pointer;
}

.click-toggle i {
  position: relative;
  width: 1.85rem;
  height: 1.05rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: #3a3a3a;
  transition: background 0.2s ease;
}

.click-toggle i::after {
  content: "";
  position: absolute;
  top: 0.14rem;
  left: 0.14rem;
  width: 0.76rem;
  height: 0.76rem;
  border-radius: 50%;
  background: #8d8d8d;
  transition: transform 0.2s ease, background 0.2s ease;
}

.click-toggle.is-on i {
  background: #efefef;
}

.click-toggle.is-on i::after {
  background: #1a1a1a;
  transform: translateX(0.8rem);
}

.click-bind,
.click-drop {
  min-width: 3.4rem;
  padding: 0.18rem 0.45rem;
  font-family: inherit;
  font-size: 0.68rem;
  color: #eee;
  background: #161616;
  border: 1px solid #3a3a3a;
  border-radius: 0.35rem;
  cursor: pointer;
}

.click-drop {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  min-width: 5.2rem;
}

.click-drop b {
  font-weight: 500;
}

.click-drop::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid #9a9a9a;
}

.click-bind.is-listen {
  border-color: #fff;
}

.click-slider {
  margin: 0 0 0.55rem;
}

.click-slider > span {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.72rem;
  color: #c8c8c8;
}

.click-slider-ctrl {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  gap: 0.55rem;
}

.click-num {
  width: 100%;
  box-sizing: border-box;
  padding: 0.22rem 0.28rem;
  font-family: inherit;
  font-size: 0.68rem;
  text-align: center;
  color: #eee;
  background: #141414;
  border: 1px solid #3a3a3a;
  border-radius: 0.35rem;
  outline: 0;
}

.click-num:focus {
  border-color: #6a6a6a;
}

.click-track {
  position: relative;
  height: 2px;
  background: #3a3a3a;
  border-radius: 999px;
  cursor: pointer;
}

.click-track i {
  position: absolute;
  top: 50%;
  left: var(--w, 0%);
  width: 0.7rem;
  height: 0.7rem;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gui-configs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gui-configs button {
  width: 100%;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--fg);
  background: #141414;
  border: 1px solid #2d2d2d;
  border-radius: 0.4rem;
  cursor: pointer;
}

.gui-configs .is-on {
  border-color: #555;
  background: #2a2a2a;
}

@media (max-width: 820px) {
  .click-shell {
    grid-template-columns: 1fr;
  }

  .click-rail {
    border-right: 0;
    border-bottom: 1px solid #242424;
  }

  .click-cats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .click-cats button {
    width: auto;
  }

  .click-indicator {
    display: none;
  }

  .click-board {
    grid-template-columns: 1fr;
  }
}

/* —— FAQ —— */
.faq {
  max-width: 72rem;
  margin: 6rem auto 0;
  padding: 0 1.5rem 5rem;
}

.faq-wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .faq-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.faq h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.faq h2 em {
  font-style: normal;
  color: var(--brand);
}

.faq .lede {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--muted-fg);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.faq-q svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-fg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.faq-item.is-open .faq-q svg {
  transform: rotate(180deg);
  color: var(--fg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1rem;
  opacity: 0;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    padding 0.35s ease;
}

.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  color: var(--muted-fg);
  line-height: 1.7;
  transform: translateY(-6px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
  padding-bottom: 1.25rem;
  opacity: 1;
}

.faq-item.is-open .faq-a-inner {
  transform: none;
}

.faq-a-inner a,
.faq .lede a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

/* —— Footer —— */
.site-footer,
body > footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body > footer > hr {
  display: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer-about p {
  max-width: 18rem;
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-fg);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.footer-brand img {
  height: 1.75rem;
  width: auto;
}

.footer-grid h4 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
}

.footer-grid a {
  display: block;
  margin: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--fg);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.6rem;
  padding-top: 0.55rem;
  border-top: none;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.footer-bar p {
  margin: 0;
}

.footer-disclaimer {
  margin: 0;
  margin-left: auto;
  text-align: right;
}

body > footer .flex.flex-col.items-start p,
body > footer .footer-meta {
  display: none;
}

body > footer .flex.flex-col-reverse,
body > footer .flex.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}

body > footer a {
  color: var(--muted-fg);
}

body > footer a:hover {
  color: var(--fg);
}

body > footer a::after {
  display: none;
}

/* —— Inner surfaces —— */
body:not(.home) {
  padding-top: 0;
}

.changelog-card {
  margin: 0 0 1rem;
  padding: 1.2rem 1.4rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.changelog-card h2 {
  margin: 0.2rem 0 0 !important;
  padding: 0;
  border: 0;
  font-size: 1.35rem !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.chg-date {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-fg);
}

.chg-category {
  margin: 0.85rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted-fg);
}

.changelog-card ul {
  margin: 0 !important;
  padding-left: 0;
  list-style: none;
}

.changelog-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.4rem 0;
  color: color-mix(in oklab, var(--fg) 82%, var(--muted-fg));
}

.chg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.45rem;
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  color: var(--muted-fg);
}

.chg-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.chg-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.55rem;
  padding: 0.2rem 0.42rem;
  border-radius: 0.28rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
}

.chg-tag.is-add {
  color: #4ade80;
  background: #16361f;
}

.chg-tag.is-fix {
  color: #fb923c;
  background: #3a2412;
}

.chg-tag.is-chg {
  color: #a78bfa;
  background: #2a2150;
}

.chg-tag.is-rem {
  color: #f87171;
  background: #3f1518;
}

.admin-chg-legend {
  margin: 0;
}

.changelog-card > p {
  margin: 0;
  color: var(--muted-fg);
}

.prose .changelog-card a:hover {
  color: var(--brand);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.docs-page {
  width: min(72rem, calc(100% - 2rem));
}

.docs-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .docs-layout {
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.docs-rail {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
}

@media (min-width: 900px) {
  .docs-rail {
    position: sticky;
    top: 6.25rem;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }
}

.docs-rail a {
  flex: 0 0 auto;
  padding: 0.28rem 0;
  font-size: 0.88rem;
  color: var(--muted-fg);
}

.docs-rail a:hover,
.docs-rail a:focus-visible {
  color: var(--fg);
}

.docs-cat {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.docs-block + .docs-block {
  margin-top: 2rem;
}

.docs-block {
  scroll-margin-top: 6rem;
}

.page-shell.guide-page {
  width: min(84rem, calc(100% - 2rem));
  overflow-x: hidden;
}

.guide-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .guide-layout {
    grid-template-columns: minmax(0, 13.5rem) minmax(0, 40rem);
    gap: 3.5rem;
    align-items: start;
  }
}

@media (min-width: 1120px) {
  .guide-layout.guide-has-toc {
    grid-template-columns: minmax(0, 13.5rem) minmax(0, 38rem) minmax(0, 12rem);
    gap: 2.5rem 3rem;
  }
}

.guide-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  min-width: 0;
  overflow: hidden;
}

@media (min-width: 960px) {
  .guide-rail {
    position: sticky;
    top: 6.25rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.12rem;
    padding-bottom: 0;
  }

  .guide-rail a {
    display: block;
  }
}

.guide-group {
  width: 100%;
  margin: 0.65rem 0 0.12rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.guide-group:first-child {
  margin-top: 0;
}

.guide-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.38rem 0.6rem;
  color: var(--muted-fg);
  background: #121212;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  transition: border-color 0.3s, color 0.3s;
}

.guide-search i {
  flex-shrink: 0;
  font-size: 0.68rem;
}

.guide-search input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 0.84rem;
  outline: none;
}

.guide-search input::placeholder {
  color: var(--muted-fg);
}

.guide-search:focus-within {
  color: var(--fg);
  border-color: #3a3a3a;
}

.guide-search-hits {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  margin-bottom: 0.35rem;
}

.guide-search-hits a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.55rem;
}

.guide-search-hits em {
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.guide-search-empty {
  margin: 0.35rem 0.55rem;
  font-size: 0.84rem;
  color: var(--muted-fg);
}

.guide-rail-nav {
  display: contents;
}

@media (min-width: 960px) {
  .guide-rail-nav {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    width: 100%;
  }
}

.guide-rail a {
  display: inline-block;
  padding: 0.34rem 0.55rem;
  font-size: 0.88rem;
  color: var(--muted-fg);
  border-radius: 0.4rem;
  transition: color 0.3s, background-color 0.3s;
}

.guide-rail a:hover,
.guide-rail a:focus-visible {
  color: var(--fg);
}

.guide-rail a.is-on {
  color: #fff;
  background: #1a1a1a;
}

.guide-drop {
  width: 100%;
  min-width: 0;
}

.guide-drop-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
  padding: 0.34rem 0.55rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--muted-fg);
  background: transparent;
  border: 0;
  border-radius: 0.4rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}

.guide-drop-btn i {
  width: 0.7rem;
  flex-shrink: 0;
  font-size: 0.62rem;
  text-align: center;
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-drop.is-open .guide-drop-btn,
.guide-drop-btn:hover {
  color: var(--fg);
}

.guide-drop.is-open .guide-drop-btn i {
  transform: rotate(90deg);
}

.guide-drop-list {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
}

.guide-drop.is-open .guide-drop-list {
  grid-template-rows: 1fr;
  opacity: 1;
}

.guide-drop-inner {
  overflow: hidden;
  min-height: 0;
}

.guide-drop-list a {
  display: block;
  padding: 0.2rem 0.55rem 0.2rem 1.05rem;
  font-size: 0.84rem;
  transform: translateY(-4px);
  transition:
    color 0.3s,
    background-color 0.3s,
    transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-drop.is-open .guide-drop-list a {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .guide-drop-list,
  .guide-drop-list a,
  .guide-drop-btn i {
    transition: none;
  }
}

.guide-crumb {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.guide-crumb a {
  color: inherit;
  transition: color 0.3s;
}

.guide-crumb a:hover {
  color: var(--fg);
}

.guide-article h1 {
  margin-bottom: 0.55rem;
}

.guide-prose h2,
.guide-block h2,
.guide-article h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  scroll-margin-top: 6rem;
}

.guide-block {
  scroll-margin-top: 6rem;
}

.guide-prose p {
  margin: 0 0 0.9rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.guide-prose a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  transition: color 0.3s;
}

.guide-prose code {
  padding: 0.08rem 0.35rem;
  font-size: 0.86em;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 0.3rem;
}

.guide-steps {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.15rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.guide-steps li + li {
  margin-top: 0.85rem;
}

.guide-steps strong {
  color: var(--fg);
}

.guide-steps a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.guide-entry {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 6rem;
}

.guide-entry:last-child {
  border-bottom: 0;
}

.guide-entry h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
}

.guide-entry p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--muted-fg);
  line-height: 1.6;
}

.guide-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

.guide-pager a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.3s;
}

.guide-pager a:hover {
  color: #fff;
}

.guide-toc {
  display: none;
}

@media (min-width: 1120px) {
  .guide-toc {
    display: block;
    position: sticky;
    top: 6.25rem;
  }
}

.guide-toc-title {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
}

.guide-toc a {
  display: block;
  padding: 0.22rem 0;
  font-size: 0.82rem;
  color: var(--muted-fg);
  transition: color 0.3s;
}

.guide-toc a:hover {
  color: var(--fg);
}

.guide-toc a.is-on {
  color: #fff;
}

.guide-note {
  margin: 1.15rem 0 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid color-mix(in oklab, var(--brand) 42%, #2a2a2a);
  background: color-mix(in oklab, var(--brand) 8%, transparent);
  border-radius: 0.55rem;
}

.guide-note strong {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.3rem;
  color: var(--brand);
  font-size: 0.92rem;
}

.guide-note p {
  margin: 0;
}

.guide-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

.guide-prose li + li {
  margin-top: 0.35rem;
}

.module-card {
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: border-color 0.2s, background-color 0.2s;
}

.module-card:hover {
  background: color-mix(in oklab, var(--brand) 6%, var(--card));
  border-color: color-mix(in oklab, var(--brand) 35%, var(--border));
  transform: none;
  box-shadow: none;
}

.module-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.module-card p {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted-fg);
}

.category-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 0.375rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-fg);
  background: var(--brand);
  border: 0;
}

details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin-top: 0;
}

details summary {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1rem !important;
  font-size: 1.05rem !important;
  font-weight: 500;
  background: transparent !important;
  border-radius: 0 !important;
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker,
details summary::marker {
  display: none;
  content: none;
}

details summary::after {
  content: "";
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--muted-fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
}

details[open] summary::after {
  transform: rotate(180deg);
  background: var(--fg);
}

details summary:hover,
details[open] summary {
  background: transparent !important;
  transform: none;
}

details .flex.flex-col {
  padding: 0 1rem 1.25rem;
  color: var(--muted-fg);
}

@supports (interpolate-size: allow-keywords) {
  html {
    interpolate-size: allow-keywords;
  }
}

details::details-content {
  display: block;
  overflow: hidden;
  block-size: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    block-size 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    content-visibility 0.4s allow-discrete;
}

details[open]::details-content {
  block-size: auto;
  opacity: 1;
  transform: none;
}

details[open] .flex.flex-col {
  animation: enter-up 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.details-body {
  overflow: hidden;
  height: 0;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* —— Login page —— */
.login-main {
  display: grid;
  flex: 1;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .login-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.login-aside {
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 3.5rem 3.25rem 4rem;
  border-right: 1px solid var(--border);
}

@media (min-width: 900px) {
  .login-aside {
    display: flex;
  }
}

.login-aside-mark {
  margin: 0;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.login-aside h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.login-aside p:last-child {
  margin: 0;
  max-width: 22rem;
  color: var(--muted-fg);
  line-height: 1.55;
}

.login-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 3rem;
}

.login-panel {
  width: min(24rem, 100%);
}

body.is-ready .login-panel {
  animation: enter-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.login-panel h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.login-lede {
  margin: 0.4rem 0 1.35rem;
  color: var(--muted-fg);
  font-size: 0.95rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.login-form input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem !important;
  outline: none;
}

.login-form input:focus {
  border-color: var(--brand) !important;
}

.login-error {
  margin: 0;
  font-size: 0.88rem;
  color: var(--danger);
}

.login-submit {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
}

.login-foot {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-fg);
}

.login-foot a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.login-foot a:hover {
  color: var(--brand);
}

.redirect-page {
  background: var(--bg);
}

.redirect-page > main {
  opacity: 1;
}

.redirect-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.25rem 4rem;
  text-align: center;
}

.redirect-ico {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  color: var(--fg);
  line-height: 1;
}

.redirect-main h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.redirect-fallback {
  margin: 0.7rem 0 0;
  color: var(--muted-fg);
  line-height: 1.5;
}

.redirect-fallback a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.redirect-fallback a:hover {
  color: var(--brand);
}

.gate-page .login-aside {
  display: flex;
  padding: 2.25rem 1.5rem 0;
  border-right: 0;
}

@media (min-width: 900px) {
  .gate-page .login-aside {
    padding: 3.5rem 3.25rem 4rem;
    border-right: 1px solid var(--border);
  }

  .gate-page .login-stage {
    padding: 2.5rem 1.5rem;
  }
}

/* —— Dashboard —— */
.dash-page {
  background: var(--bg);
}

.dash {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
  flex: 1;
}

.dash-page:not(.is-ready) .dash-head,
.dash-page:not(.is-ready) .dash-board,
.dash-page:not(.is-ready) .dash-next,
.dash-page:not(.is-ready) .dash-links,
.dash-page:not(.is-ready) .dash-license,
.dash-page:not(.is-ready) .dash-hero,
.dash-page:not(.is-ready) .dash-card {
  opacity: 0;
}

.dash-page.is-ready .dash-head,
.dash-page.is-ready .dash-board,
.dash-page.is-ready .dash-next,
.dash-page.is-ready .dash-links,
.dash-page.is-ready .dash-license,
.dash-page.is-ready .dash-hero,
.dash-page.is-ready .dash-card {
  animation: dash-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.dash-page.is-ready .dash-head { animation-delay: 0.06s; }
.dash-page.is-ready .dash-board { animation-delay: 0.14s; }
.dash-page.is-ready .dash-next { animation-delay: 0.26s; }
.dash-page.is-ready .dash-links { animation-delay: 0.34s; }

@keyframes dash-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.dash-head h1 {
  margin: 0.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}

.dash-email {
  margin: 0.4rem 0 0;
  color: var(--muted-fg);
  font-size: 0.95rem;
}

.dash-signout {
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  cursor: pointer;
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-signout:hover {
  color: #fff;
  border-color: color-mix(in oklab, var(--fg) 28%, var(--border));
  background: color-mix(in oklab, var(--fg) 4%, transparent);
}

.dash-page .dash {
  width: min(72rem, calc(100% - 2rem));
}

.dash-board {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .dash-board {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.85fr);
    align-items: stretch;
  }
}

.dash-license {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.45rem 1.35rem;
  background: color-mix(in oklab, var(--card) 88%, var(--brand) 5%);
  border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--border));
  border-radius: 0.75rem;
}

.dash-side {
  display: grid;
  gap: 1rem;
}

.dash-panel {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.3rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.dash-panel .dash-list {
  margin-top: 0.35rem;
  flex: 1;
}

.dash-next {
  margin-top: 2.25rem;
}

.dash-next h2 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dash-next-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .dash-next-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dash-next-grid a {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.8rem;
  row-gap: 0.25rem;
  padding: 1.15rem 1.15rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.dash-next-grid a:hover {
  border-color: color-mix(in oklab, var(--fg) 18%, var(--border));
}

.dash-next-grid a span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 16%, transparent);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
}

.dash-next-grid a strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dash-next-grid a em {
  grid-column: 2;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted-fg);
}

.dash-license-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dash-plan {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.dash-page .dash-badge {
  color: var(--brand-fg);
  background: var(--brand);
  border-color: var(--brand);
}

.dash-page .dash-badge-dot {
  background: var(--brand-fg);
  box-shadow: none;
  animation: none;
}

.dash-keyrow {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

.dash-keyrow .dash-label {
  margin-bottom: 0.35rem;
}

.dash-keyrow .dash-copy {
  width: auto;
  min-width: 7.5rem;
  margin-top: 0;
}

.dash-page .dash-copy,
.dash-page .dash-cta {
  background: var(--brand);
  color: var(--brand-fg);
}

.dash-page .dash-copy:hover,
.dash-page .dash-cta:hover {
  background: color-mix(in oklab, var(--brand) 90%, black);
}

.dash-bind {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-fg);
}

.dash-bind a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.dash-bind a:hover {
  color: var(--brand);
}

.dash-license .dash-actions {
  margin-top: 1.4rem;
}

.dash-update {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

.dash-update a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.dash-update a:hover {
  color: var(--brand);
}

.dash-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  margin-top: 1.6rem;
}

.dash-links a {
  font-size: 0.92rem;
  color: var(--muted-fg);
}

.dash-links a:hover {
  color: var(--fg);
}

.dash-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 1rem;
  padding: 1.45rem 1.5rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  transition:
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-hero:hover {
  border-color: color-mix(in oklab, var(--fg) 16%, var(--border));
  transform: translateY(-2px);
}

.dash-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dash-hero-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8c8c8;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.28rem;
  padding: 0.2rem 0.5rem 0.2rem 0.42rem;
}

.dash-badge-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
  animation: dash-badge-blink 1.6s ease-in-out infinite;
}

@keyframes dash-badge-blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  50% {
    opacity: 0.35;
    box-shadow: 0 0 0 0.35rem rgba(74, 222, 128, 0);
  }
}

.dash-hero-stats {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .dash-hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.dash-grid,
.dash-row {
  display: grid;
  gap: 1rem;
}

.dash-grid {
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

.dash-row {
  grid-template-columns: 1fr;
  margin-bottom: 1rem;
}

@media (min-width: 700px) {
  .dash-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dash-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .dash-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dash-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.35rem 1.4rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  text-align: left;
  transition:
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-card:hover {
  border-color: color-mix(in oklab, var(--fg) 16%, var(--border));
  transform: translateY(-2px);
}

.dash-label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.dash-value {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
}

.dash-meta {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.5;
}

.dash-key {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.dash-copy,
.dash-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 2.65rem;
  margin-top: auto;
  padding: 0 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 0.45rem;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-copy:hover,
.dash-cta:hover {
  background: #f3f3f3;
}

.dash-copy:active,
.dash-cta:active,
.dash-ghost:active,
.dash-signout:active {
  transform: scale(0.98);
}

.dash-copy-label,
.dash-copy-done,
.dash-copy-fail {
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-copy-done,
.dash-copy-fail {
  position: absolute;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.dash-copy.is-copied .dash-copy-label,
.dash-copy.is-failed .dash-copy-label {
  opacity: 0;
  transform: translateY(-8px);
}

.dash-copy.is-copied .dash-copy-done,
.dash-copy.is-failed .dash-copy-fail {
  opacity: 1;
  transform: none;
}

.dash-wide h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.dash-actions .dash-cta,
.dash-actions .dash-ghost {
  width: auto;
  min-width: 8.5rem;
}

.dash-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  text-decoration: none;
  transition:
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-ghost:hover {
  color: #fff;
  border-color: color-mix(in oklab, var(--fg) 28%, var(--border));
  background: color-mix(in oklab, var(--fg) 4%, transparent);
}

.dash-list {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.dash-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted-fg);
}

.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #5a5a5a;
}

.dash-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-size: 0.9rem;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-card .dash-link {
  margin-top: 0.75rem;
}

.dash-link-card {
  text-decoration: none;
  color: inherit;
}

.dash-link-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-link-card:hover h2 {
  transform: translateX(2px);
}

input[type="email"],
input[type="password"],
input[type="text"],
textarea {
  background: var(--card) !important;
  border-color: var(--border) !important;
  color: var(--fg);
  border-radius: 0.5rem !important;
}

input:focus,
textarea:focus {
  border-color: var(--brand) !important;
}

label.rounded-3xl,
button.rounded-2xl,
button.min-h-32 {
  background: var(--card);
  border-color: var(--border) !important;
  border-radius: 0.75rem !important;
}

label.rounded-3xl:hover,
button.min-h-32:hover {
  transform: none;
  border-color: var(--brand) !important;
  box-shadow: none;
}

.peer:checked + label {
  border-color: var(--brand) !important;
  background: color-mix(in oklab, var(--brand) 8%, var(--card));
}

a.text-dark.bg-light,
button.bg-light,
#submit {
  background: var(--brand) !important;
  color: var(--brand-fg) !important;
  border-radius: 0.5rem !important;
}

a.text-dark.bg-light:hover,
button.bg-light:hover,
#submit:hover {
  opacity: 0.9;
  box-shadow: none;
}

.text-accent,
.fill-accent {
  color: var(--brand);
  fill: var(--brand);
}

a.underline:hover,
a.text-white.underline:hover {
  color: var(--brand) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .intro,
  .hero h1 .word > span,
  .hero h1 .word > em,
  .hero-facts,
  .hero-actions,
  .hero-pay,
  .site-nav,
  body > main,
  body > footer,
  .login-panel,
  .dash-head,
  .dash-hero,
  .dash-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .dash-badge-dot {
    animation: none !important;
    opacity: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes intro-hold {
  from, to { opacity: 1; }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
  }
}

@keyframes intro-mark {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes intro-line {
  from { width: 0; }
  to { width: min(18rem, 55vw); }
}

@keyframes enter-nav {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes word-up {
  from {
    opacity: 0;
    transform: translateY(110%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Purchase stages —— */
.purchase-stage {
  width: 100%;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.purchase-stage[hidden] {
  display: none;
}

.purchase-stage.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.purchase-stage.is-entering {
  animation: purchase-stage-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes purchase-stage-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.purchase-chosen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.purchase-chosen-copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted-fg);
}

.purchase-chosen-copy strong {
  color: var(--fg);
  font-weight: 600;
}

.purchase-change {
  appearance: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  color: var(--fg);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
}

.purchase-change:hover {
  border-color: color-mix(in oklab, var(--fg) 22%, var(--border));
}

.checkout-stack {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
}

.checkout-head .checkout-kicker,
.checkout-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.checkout-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.checkout-head p {
  margin: 0.4rem 0 0;
  color: var(--muted-fg);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pay-grid {
  display: grid;
  gap: 0.7rem;
}

.pay-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.pay-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  cursor: pointer;
  text-align: left;
  user-select: none;
  transition: border-color 0.18s ease;
}

.pay-card:hover {
  border-color: color-mix(in oklab, var(--fg) 18%, var(--border));
}

.pay-input:checked + .pay-card {
  border-color: color-mix(in oklab, var(--fg) 32%, var(--border));
}

.pay-input:focus-visible + .pay-card {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.pay-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.pay-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.pay-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
}

.pay-note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted-fg);
}

.pay-name .pay-unavailable {
  font-size: 0.65rem;
  padding: 0.1rem 0.38rem;
}

.pay-off {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 0.3rem;
  padding: 0.12rem 0.4rem;
}

.checkout-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.checkout-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  outline: none;
}

.checkout-field input:focus {
  border-color: var(--fg) !important;
}

.checkout-hint {
  margin: -0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted-fg);
}

.checkout-terms {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted-fg);
}

.checkout-terms a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.checkout-terms a:hover {
  color: var(--brand);
}

.checkout-go {
  justify-self: start;
  min-width: 10rem;
  margin: 0.15rem 0 0;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-fg);
  background: var(--brand);
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.checkout-go:hover {
  opacity: 0.92;
}

.checkout-error {
  margin: 0;
  font-size: 0.92rem;
  color: var(--danger);
}

.checkout-error.hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .purchase-stage,
  .purchase-stage.is-leaving,
  .purchase-stage.is-entering {
    animation: none;
    transition: none;
    transform: none;
  }

  .plan-wrap,
  .plan-wrap:hover {
    transform: none;
    transition: none;
  }

  .plan-card,
  .plan-card:hover {
    box-shadow: none;
  }
}

/* —— Purchase license cards —— */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  padding-top: 0.85rem;
}

@media (min-width: 720px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 1.15rem 1rem;
  }
}

@media (min-width: 1100px) {
  .plan-grid {
    grid-template-columns: 0.92fr 0.92fr 1.18fr 1.18fr;
    align-items: stretch;
  }
}

.plan-wrap {
  position: relative;
  display: flex;
  min-width: 0;
  z-index: 0;
  transform-origin: center center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s 0.28s;
}

.plan-wrap:hover {
  z-index: 3;
  transform: translateY(-10px) scale(1.045);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), z-index 0s;
}

.plan-wrap-featured {
  z-index: 1;
}

@media (min-width: 720px) {
  .plan-wrap-featured {
    transform: translateY(-10px) scale(1.05);
  }

  .plan-wrap-featured:hover {
    z-index: 4;
    transform: translateY(-18px) scale(1.09);
  }
}

.plan-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 1.7rem 1.4rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  cursor: pointer;
  text-align: left;
  user-select: none;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.28s ease;
}

.plan-card:hover {
  border-color: color-mix(in oklab, var(--fg) 22%, var(--border));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.plan-input:checked + .plan-card {
  border-color: color-mix(in oklab, var(--fg) 28%, var(--border));
}

.plan-input:focus-visible + .plan-card {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
}

.plan-badge {
  position: absolute;
  top: -0.55rem;
  left: 1rem;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8c8c8;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.28rem;
  padding: 0.18rem 0.48rem;
  pointer-events: none;
}

.plan-wrap-featured .plan-card {
  padding: 2.05rem 1.55rem 1.7rem;
  border-color: color-mix(in oklab, var(--brand) 32%, var(--border));
  background: color-mix(in oklab, var(--card) 86%, var(--brand) 6%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.plan-wrap-featured:hover .plan-card {
  border-color: color-mix(in oklab, var(--brand) 55%, var(--border));
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.48);
}

.plan-wrap-featured .plan-badge {
  top: -0.72rem;
  left: 1.1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-fg);
  background: var(--brand);
  border-color: var(--brand);
  padding: 0.3rem 0.68rem;
  border-radius: 0.32rem;
}

.plan-wrap-featured .plan-title {
  font-size: 1.38rem;
}

.plan-wrap-featured .plan-price-now {
  font-size: 2.2rem;
}

.plan-wrap-featured .plan-cta {
  min-height: 3rem;
  font-size: 1rem;
  background: var(--brand);
  color: var(--brand-fg);
}

.plan-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.3;
}

.plan-discount {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 0.35rem;
  padding: 0.12rem 0.42rem;
  vertical-align: middle;
}

.plan-discount.hidden {
  display: none;
}

.plan-desc {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted-fg);
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.45rem;
  margin: 1.45rem 0 1.35rem;
}

.plan-price-now {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.plan-price-now .plan-period {
  font-weight: 500;
  letter-spacing: 0;
}

.plan-price-was {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  text-decoration: line-through;
}

.plan-price-was.hidden {
  display: none;
}

.plan-period {
  font-size: 0.95rem;
  color: var(--muted-fg);
}

.plan-features {
  margin: 0 0 1.55rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted-fg);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 999px;
  background: #5a5a5a;
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.65rem;
  margin-top: auto;
  border-radius: 0.45rem;
  background: #fff;
  color: #111;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  pointer-events: none;
}

.plan-cta-on {
  display: none;
}

.plan-input:checked + .plan-card .plan-cta-idle {
  display: none;
}

.plan-input:checked + .plan-card .plan-cta-on {
  display: inline;
}

.pay-option-unavailable {
  opacity: 0.55;
}

.pay-option-unavailable label {
  cursor: not-allowed;
  pointer-events: none;
}

.pay-unavailable {
  display: inline-block;
  margin-left: 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border-radius: 0.5rem;
  padding: 0.2rem 0.5rem;
  vertical-align: middle;
}

.hero-facts {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted-fg);
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  opacity: 0;
}

.hero-actions .btn-brand {
  min-width: 8.5rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
}

.hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 8.5rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: transparent;
}

.hero-ghost:hover {
  border-color: color-mix(in oklab, var(--fg) 24%, var(--border));
}

.hero-pay {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--muted-fg);
  opacity: 0;
}

.hero-pay a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.home.is-ready .hero-facts {
  animation: enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.home.is-ready .hero-actions {
  animation: enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.64s both;
}

.home.is-ready .hero-pay {
  animation: enter-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}

.home-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .home-plans {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-plan {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.home-plan:hover {
  border-color: color-mix(in oklab, var(--fg) 18%, var(--border));
}

.home-plan-featured {
  border-color: color-mix(in oklab, var(--brand) 40%, var(--border));
  background: color-mix(in oklab, var(--card) 88%, var(--brand) 8%);
}

.home-plan h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.home-plan-price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-plan-price span {
  margin-left: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.home-plan p:last-child {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted-fg);
}

.look-grid {
  display: grid;
  gap: 1rem;
  width: 100%;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .look-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.look-card {
  margin: 0;
}

.look-shot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-height: 13.5rem;
  padding: 1.2rem;
  background: #101010;
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  overflow: hidden;
}

.look-shot-loader {
  align-items: center;
  text-align: center;
}

.look-shot-loader img {
  width: 42px;
  height: 42px;
}

.look-shot-loader span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.look-bar {
  width: 70%;
  height: 3px;
  overflow: hidden;
  background: #222;
  border-radius: 99px;
}

.look-bar i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--brand);
}

.look-shot-gui {
  gap: 0.45rem;
}

.look-mod {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  background: #171717;
  border: 1px solid #262626;
  border-radius: 0.4rem;
  font-size: 0.82rem;
}

.look-mod b {
  font-weight: 600;
}

.look-mod span {
  width: 1.7rem;
  height: 0.9rem;
  border-radius: 99px;
  background: color-mix(in oklab, var(--brand) 70%, black);
}

.look-shot-hud {
  justify-content: flex-start;
}

.look-shot-hud strong {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
}

.look-shot-hud ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: #d4d4d4;
}

.look-shot-hud li + li {
  margin-top: 0.2rem;
  color: #8a8a8a;
}

.look-card figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.notice-banner {
  margin: 0 0 1.5rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid color-mix(in oklab, #eab308 45%, var(--border));
  background: rgba(234, 179, 8, 0.08);
  border-radius: 0.75rem;
}

.notice-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fg);
}

.notice-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.page-shell.purchase-page {
  width: min(72rem, calc(100% - 2rem));
}

.buy-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}

.buy-fact {
  margin: 0;
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
  color: var(--muted-fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-fact:has(a) {
  padding: 0;
}

.buy-fact a {
  display: block;
  padding: 0.42rem 0.7rem;
  color: var(--fg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  transition: color 0.3s;
}

.buy-fact a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    color-mix(in oklab, #fff 14%, transparent) 50%,
    transparent 75%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.buy-fact a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.18rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.buy-fact:has(a):hover {
  border-color: color-mix(in oklab, var(--brand) 50%, var(--border));
  background: color-mix(in oklab, var(--brand) 9%, var(--card));
  transform: translateY(-1px);
}

.buy-fact:has(a):hover a,
.buy-fact a:focus-visible {
  color: var(--brand);
}

.buy-fact:has(a):hover a::after,
.buy-fact a:focus-visible::after {
  transform: scaleX(1);
}

.buy-fact:has(a):hover a::before {
  animation: buy-fact-shine 0.55s ease;
}

@keyframes buy-fact-shine {
  to {
    transform: translateX(130%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .buy-fact,
  .buy-fact a,
  .buy-fact a::after {
    transition: none;
  }

  .buy-fact:has(a):hover {
    transform: none;
  }

  .buy-fact:has(a):hover a::before {
    animation: none;
  }
}

.page-shell {
  width: min(52rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7.5rem 0 4rem;
  flex: 1;
}

.page-shell h1 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-lede {
  margin: 0 0 1.5rem;
  color: var(--muted-fg);
  line-height: 1.65;
}

.page-lede a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.legal-copy {
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-copy h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-copy p,
.legal-copy ul {
  margin: 0 0 0.9rem;
  color: color-mix(in oklab, var(--fg) 82%, var(--muted-fg));
}

.legal-copy ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-copy li + li {
  margin-top: 0.35rem;
}

.step-dots {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
}

.legal-copy .step-dots {
  list-style: none;
  padding: 0;
}

.step-dots li {
  position: relative;
  padding-left: 1.15rem;
}

.step-dots li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
  line-height: inherit;
}

.legal-copy a i {
  margin-right: 0.35rem;
}

.legal-copy a:hover {
  color: var(--brand);
}

.legal-copy pre,
.legal-copy code {
  font-size: 0.85em;
}

.legal-copy pre {
  margin: 0 0 0.9rem;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  color: var(--muted-fg);
  background: #111;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  white-space: pre-wrap;
}

.lookup-form {
  display: grid;
  gap: 1rem;
  width: min(28rem, 100%);
}

.lookup-form .checkout-go {
  width: 100%;
}

.lookup-ok {
  margin: 0;
  font-size: 0.92rem;
  color: #4ade80;
}

.lookup-ok.hidden {
  display: none;
}

.page-shell.docs-page {
  width: min(64rem, calc(100% - 2rem));
}

.docs-page .module-grid {
  margin: 0 0 1.75rem;
}

.req-grid {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 2rem;
}

@media (min-width: 720px) {
  .req-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.req-card {
  padding: 1.15rem 1.2rem 1.05rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.req-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}

.req-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted-fg);
  line-height: 1.55;
}

.req-card li + li {
  margin-top: 0.3rem;
}

.dl-form {
  display: grid;
  gap: 1.25rem;
  width: min(28rem, 100%);
}

.dl-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-fg);
}

.dl-field input[type="password"],
.dl-field input[type="text"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  outline: none;
}

.dl-field input:focus {
  border-color: var(--fg) !important;
}

.dl-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted-fg);
}

.dl-check input {
  margin-top: 0.2rem;
  flex: none;
  accent-color: var(--brand);
}

.dl-check a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.dl-os {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.dl-os button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  cursor: pointer;
}

.dl-os button:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--fg) 22%, var(--border));
}

.dl-os button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.dl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.85rem;
}

.dl-links a {
  color: var(--muted-fg);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.dl-links a:hover {
  color: var(--fg);
}

.license-fold {
  margin: 0 0 0.65rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: var(--card);
}

.license-fold summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 600;
  list-style: none;
}

.license-fold summary::-webkit-details-marker {
  display: none;
}

.license-fold summary::after {
  content: "+";
  float: right;
  color: var(--muted-fg);
  font-weight: 500;
}

.license-fold[open] summary::after {
  content: "–";
}

.license-fold summary:hover {
  color: var(--fg);
}

.license-fold pre {
  margin: 0;
  padding: 0 1rem 1rem;
  overflow-x: auto;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted-fg);
  white-space: pre-wrap;
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
}

.setup-step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.setup-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 16%, transparent);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 700;
}

.setup-step h2,
.setup-step h3 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.05rem;
}

.setup-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted-fg);
}

.setup-step a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.setup-step code {
  font-size: 0.88em;
  color: var(--fg);
  background: #111;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  padding: 0.08em 0.35em;
}

.help-routes {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

@media (min-width: 560px) {
  .help-routes {
    grid-template-columns: 1fr 1fr;
  }
}

.help-route {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.help-route > i {
  margin-top: 0.12rem;
  width: 1.35rem;
  font-size: 1.2rem;
  color: var(--muted-fg);
  text-align: center;
}

.help-route:hover > i {
  color: var(--fg);
}

.help-route:hover {
  border-color: color-mix(in oklab, var(--fg) 22%, var(--border));
}

.help-route strong {
  display: block;
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
}

.help-route-copy > span {
  color: var(--muted-fg);
  font-size: 0.9rem;
  line-height: 1.45;
}

.help-group {
  margin: 0 0 1.85rem;
}

.help-group h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.help-item {
  margin: 0 0 0.65rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.help-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.15rem;
  font-size: 1rem;
  font-weight: 650;
}

.help-item summary::-webkit-details-marker {
  display: none;
}

.help-item summary::after {
  content: "+";
  float: right;
  color: var(--muted-fg);
  font-weight: 500;
}

.help-item[open] summary::after {
  content: "–";
}

.help-item .help-body {
  padding: 0 1.15rem 1.05rem;
}

.help-item p {
  margin: 0;
  color: var(--muted-fg);
  font-size: 0.92rem;
  line-height: 1.55;
}

.help-item p + p {
  margin-top: 0.5rem;
}

.help-item a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.help-item a:hover {
  color: var(--brand);
}

.status-banner {
  margin: 0 0 0.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-banner.is-up {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.22);
}

.status-banner.is-down {
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.22);
}

.status-updated {
  margin: 0 0 1.6rem;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.status-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.status-item {
  display: grid;
  grid-template-columns: 0.7rem 1.2rem 1fr auto;
  align-items: center;
  gap: 0.9rem 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
}

.status-ico {
  width: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted-fg);
  text-align: center;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 99px;
  background: #3f3f3f;
}

.status-dot.is-up {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.12);
}

.status-dot.is-down {
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.12);
}

.status-item h2 {
  margin: 0;
  font-size: 1rem;
}

.status-item p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-fg);
}

.status-state {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.status-item.is-up .status-state {
  color: #4ade80;
}

.status-item.is-down .status-state {
  color: #facc15;
}

.changelog-search {
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  font-size: 1rem;
  outline: none;
}

.changelog-search:focus {
  border-color: var(--fg);
}

.changelog-empty {
  display: none;
  margin: 0 0 1rem;
  color: var(--muted-fg);
}

.changelog-empty.is-on {
  display: block;
}

.changelog-card.is-filtered {
  display: none;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.95rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--muted-fg);
  font-size: 1.15rem;
  border-radius: 0.45rem;
  transition: color 0.2s, background-color 0.2s;
}

body > footer .footer-social a {
  color: var(--muted-fg);
}

.footer-social a:hover,
body > footer .footer-social a:hover {
  color: var(--fg);
  background: color-mix(in oklab, var(--fg) 8%, transparent);
}

.miss {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}

.miss h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.miss p {
  margin: 0 0 1.4rem;
  color: var(--muted-fg);
}

.miss-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-app {
  width: min(72rem, calc(100% - 2rem));
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1.15rem 1.25rem;
  background: color-mix(in oklab, var(--card) 88%, var(--brand) 5%);
  border: 1px solid color-mix(in oklab, var(--brand) 28%, var(--border));
  border-radius: 0.75rem;
}

.dash-stats .dash-label {
  margin-bottom: 0.3rem;
}

.dash-stats .dash-value {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.admin-page .dash-board {
  margin-bottom: 1rem;
}

.admin-page .dash-panel h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-workspace {
  margin-top: 1rem;
  padding: 1.35rem 1.35rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.admin-page .dash-cta {
  background: var(--brand);
  color: var(--brand-fg);
}

.admin-page .dash-cta:hover {
  background: color-mix(in oklab, var(--brand) 90%, black);
}

.admin-page .dash-cta {
  width: auto;
  min-width: 8.5rem;
}

.admin-workspace h2,
.admin-panel h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.admin-search {
  width: min(22rem, 100%);
  padding: 0.65rem 0.85rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.92rem;
  outline: none;
}

.admin-search:focus {
  border-color: var(--fg);
}

.admin-create {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 800px) {
  .admin-create {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: stretch;
  }
}

.admin-create input,
.admin-create select {
  padding: 0.7rem 0.85rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.92rem;
}

.admin-create .dash-cta {
  justify-content: center;
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  cursor: pointer;
}

.admin-switch input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  padding: 0.45rem 0.6rem 0.7rem 0;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.admin-table td {
  padding: 0.7rem 0.6rem 0.7rem 0;
  border-top: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table code {
  font-size: 0.78rem;
  color: var(--fg);
}

.admin-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-status.is-active {
  color: #4ade80;
}

.admin-status.is-expired {
  color: #facc15;
}

.admin-status.is-revoked {
  color: #f87171;
}

.admin-actions {
  white-space: nowrap;
}

.admin-actions button {
  margin-right: 0.35rem;
  padding: 0.28rem 0.5rem;
  font: inherit;
  font-size: 0.75rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  cursor: pointer;
}

.admin-actions button:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--fg) 28%, var(--border));
}

.admin-actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.admin-actions .admin-icon-btn {
  width: 1.85rem;
  height: 1.85rem;
  margin-right: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.admin-actions .admin-icon-btn i {
  font-size: 0.82rem;
}

.admin-empty {
  margin-top: 0.85rem;
}

.admin-changelog {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.admin-changelog-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 800px) {
  .admin-changelog-row {
    grid-template-columns: 1fr 11rem;
  }
}

.admin-changelog label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.admin-changelog label span {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.admin-changelog input,
.admin-changelog textarea {
  padding: 0.7rem 0.85rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.admin-changelog textarea {
  min-height: 8rem;
  resize: vertical;
}

.admin-changelog .dash-cta {
  justify-self: start;
}

.admin-changelog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.admin-changelog-actions [data-changelog-cancel] {
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  cursor: pointer;
}

.admin-changelog .login-error {
  margin: 0;
}

.changelog-page .page-lede {
  margin-bottom: 1.4rem;
}

.admin-workspace .dash-meta.is-error,
.admin-panel .dash-meta.is-error {
  color: #f87171;
}

.admin-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.admin-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.admin-drawer-panel {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: min(40rem, calc(100vh - 2.5rem));
  padding: 1.35rem 1.35rem 1.6rem;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
}

.admin-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-drawer-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #fff;
}

.admin-drawer-head .admin-icon-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.35rem;
  cursor: pointer;
}

.admin-drawer-key {
  margin: 0 0 0.35rem;
}

.admin-drawer-key code {
  font-size: 0.82rem;
  color: #fff;
  word-break: break-all;
}

.admin-drawer-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.admin-drawer-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-fg);
}

.admin-drawer-form input,
.admin-drawer-form select {
  padding: 0.7rem 0.85rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.admin-extend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-extend button,
.admin-drawer-actions button {
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  cursor: pointer;
}

.admin-extend button:hover,
.admin-drawer-actions button:hover {
  border-color: color-mix(in oklab, var(--fg) 28%, var(--border));
}

.admin-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.35rem;
}

.admin-drawer-actions [data-revoke] {
  color: #f87171;
  border-color: color-mix(in oklab, #f87171 45%, var(--border));
}

.admin-drawer-actions .dash-cta {
  margin-left: auto;
  min-width: 7rem;
}

