/* stx role tokens — override any of these to re-theme by meaning. */
:root {
  --stx-fg: oklch(21% 0.034 264.665);
  --stx-fg-strong: oklch(37.3% 0.034 259.733);
  --stx-fg-muted: oklch(44.6% 0.03 256.802);
  --stx-fg-soft: oklch(55.1% 0.027 264.364);
  --stx-fg-subtle: oklch(70.7% 0.022 261.325);
  --stx-surface: oklch(98.5% 0.002 247.839);
  --stx-surface-raised: oklch(96.7% 0.003 264.542);
  --stx-surface-sunken: oklch(92.8% 0.006 264.531);
  --stx-line: oklch(92.8% 0.006 264.531);
  --stx-line-strong: oklch(87.2% 0.01 258.338);
  --stx-accent: oklch(51.1% 0.262 276.966);
  --stx-info: oklch(54.6% 0.245 262.881);
  --stx-danger: oklch(57.7% 0.245 27.325);
  --stx-success: oklch(62.7% 0.194 149.214);
  --stx-warning: oklch(79.5% 0.184 86.047);
  --stx-accent-solid: oklch(51.1% 0.262 276.966);
  --stx-info-solid: oklch(54.6% 0.245 262.881);
  --stx-danger-solid: oklch(57.7% 0.245 27.325);
  --stx-success-solid: oklch(62.7% 0.194 149.214);
}
.dark {
  --stx-fg: oklch(96.7% 0.003 264.542);
  --stx-fg-strong: oklch(87.2% 0.01 258.338);
  --stx-fg-muted: oklch(70.7% 0.022 261.325);
  --stx-fg-soft: oklch(70.7% 0.022 261.325);
  --stx-fg-subtle: oklch(55.1% 0.027 264.364);
  --stx-surface: oklch(27.8% 0.033 256.848);
  --stx-surface-raised: oklch(37.3% 0.034 259.733);
  --stx-surface-sunken: oklch(37.3% 0.034 259.733);
  --stx-line: oklch(37.3% 0.034 259.733);
  --stx-line-strong: oklch(44.6% 0.03 256.802);
  --stx-accent: oklch(67.3% 0.182 276.935);
  --stx-info: oklch(70.7% 0.165 254.624);
  --stx-danger: oklch(70.4% 0.191 22.216);
  --stx-success: oklch(79.2% 0.209 151.711);
  --stx-warning: oklch(85.2% 0.199 91.936);
  --stx-accent-solid: oklch(58.5% 0.233 277.117);
  --stx-info-solid: oklch(62.3% 0.214 259.815);
  --stx-danger-solid: oklch(63.7% 0.237 25.331);
  --stx-success-solid: oklch(72.3% 0.219 149.579);
}
@layer cw-base {
/*
! Tailwind CSS Preflight | MIT License | https://tailwindcss.com
*/

/*
  The fallback is a neutral grey, not currentColor.

  currentColor makes every border whose colour was never set take the TEXT
  colour, which is near-black on a light page and near-white on a dark one.
  That is never what an author means by a divider: the divide-* and
  border-width utilities set a width and no colour, so a plain divide-y
  rendered as a heavy black rule instead of a hairline.

  It also punished the obvious workaround. Setting border-color on a parent
  does not reach divide-* children, because divide targets
  "> :not([hidden]) ~ :not([hidden])" and the child declaration from this
  block wins.

  Tailwind preflight resolves this the same way (its default is gray-200).
  --border-color stays the escape hatch: set it once on :root, or per
  theme, and every uncoloured border follows.
*/
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border-color, #e5e7eb);
}

::before,
::after {
  --cw-content: '';
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: Space Grotesk, ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

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

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: var(--border-color, inherit);
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  text-transform: none;
}

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentColor 50%, transparent);
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}
}

@layer cw-base {
:root { --bg: #fbfbfd; --panel: #ffffff; --border: rgba(15,23,42,0.09); --text: #0b0f19; --text-2: #4b5565; --text-3: #97a1b2; --accent: #e11d48; --rail: rgba(225,29,72,0.14); --ok: #16a34a; --warn: #b91c1c; --discord: #5865f2; --slack: #611f69; --sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (prefers-color-scheme: dark) { :root { --bg: #090b11; --panel: #10131c; --border: rgba(148,163,184,0.12); --text: #f3f5f9; --text-2: #b3bccb; --text-3: #667085; --accent: #fb7185; --rail: rgba(251,113,133,0.16); --ok: #4ade80; --warn: #f87171; --discord: #818cf8; } }
:root[data-theme="dark"] { --bg: #090b11; --panel: #10131c; --border: rgba(148,163,184,0.12); --text: #f3f5f9; --text-2: #b3bccb; --text-3: #667085; --accent: #fb7185; --rail: rgba(251,113,133,0.16); --ok: #4ade80; --warn: #f87171; --discord: #818cf8; }
:root[data-theme="light"] { --bg: #fbfbfd; --panel: #ffffff; --border: rgba(15,23,42,0.09); --text: #0b0f19; --text-2: #4b5565; --text-3: #97a1b2; --accent: #e11d48; --rail: rgba(225,29,72,0.14); --ok: #16a34a; --warn: #b91c1c; --discord: #5865f2; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
}

.min-h-\[100dvh\] {
  min-height: 100dvh;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.w-full {
  width: 100%;
}

.max-w-sm {
  max-width: 24rem;
}

.text-center {
  text-align: center;
}

.wordmark {
  font-family: Space Grotesk, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-subtle {
  color: var(--text-3);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.font-medium {
  font-weight: 500;
}

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

.text-muted {
  color: var(--text-2);
}

.block {
  display: block;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.field {
  background-color: var(--bg);
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
  border-radius: 10px;
  color: var(--text);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-radius: 10px;
  transition: transform 0.12s ease,opacity 0.15s ease;
}

.btn-accent:hover {
  background-color: color-mix(in srgb,var(--accent) 88%,#000);
}

.btn-accent:active {
  transform: translateY(1px);
}

.btn-accent:disabled {
  opacity: 0.6;
  cursor: default;
}

.font-semibold {
  font-weight: 600;
}

.font-sans {
  font-family: Space Grotesk, ui-sans-serif, system-ui, sans-serif;
}

.font-bold {
  font-weight: 700;
}

.tracking-\[-0\.03em\] {
  letter-spacing: -0.03em;
}

.bg-canvas {
  background-color: var(--bg);
}

.border {
  border-width: 1px;
}

.border-solid {
  border-style: solid;
}

.border-line {
  border-color: var(--border);
}

.rounded-\[10px\] {
  border-radius: 10px;
}

.text-ink {
  color: var(--text);
}

.bg-accent {
  background-color: var(--accent);
}

.text-white {
  color: #fff;
}

.\[transition\:transform_0\.12s_ease\,opacity_0\.15s_ease\] {
  transition: transform 0.12s ease,opacity 0.15s ease;
}

.hover\:bg-\[color-mix\(in_srgb\,var\(--accent\)_88\%\,\#000\)\]:hover {
  background-color: color-mix(in srgb,var(--accent) 88%,#000);
}

.active\:translate-y-px:active {
  transform: translateY(1px);
}

.disabled\:opacity-60:disabled {
  opacity: 0.6;
}

.disabled\:cursor-default:disabled {
  cursor: default;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --cw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--cw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--cw-space-y-reverse));
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.wordmark { font-family: Space Grotesk, ui-sans-serif, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.03em; }
.field { background-color: var(--bg); border-width: 1px; border-style: solid; border-color: var(--border); border-radius: 10px; color: var(--text); }
.btn-accent { background-color: var(--accent); color: #fff; border-radius: 10px; }