@layer reset, tokens, base, components, utilities;

/* demo/styles/layers/reset.css */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  * {
    margin: 0;
    padding: 0;
  }
  html {
    color-scheme: dark;
    hanging-punctuation: first last;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  body {
    min-block-size: 100vh;
    min-block-size: 100dvh;
  }
  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-inline-size: 100%;
  }
  input,
  button,
  textarea,
  select {
    font: inherit;
    color: inherit;
  }
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
    text-wrap: pretty;
  }
  h1,
  h2,
  h3,
  h4 {
    text-wrap: balance;
  }
  a {
    color: inherit;
    text-decoration-skip-ink: auto;
  }
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* demo/styles/layers/tokens.css */
@layer tokens {
  :root {
    --surface-bg: oklch(18% 0.015 280);
    --surface-1: oklch(24% 0.015 280);
    --surface-2: oklch(30% 0.015 280);
    --surface-3: oklch(36% 0.015 280);
    --text-1: oklch(95% 0 0);
    --text-2: oklch(70% 0.01 280);
    --text-3: oklch(55% 0.01 280);
    --brand-hue: 265;
    --brand: oklch(65% 0.2 var(--brand-hue));
    --brand-light: oklch(72% 0.18 var(--brand-hue));
    --brand-dark: oklch(55% 0.22 var(--brand-hue));
    --brand-subtle: oklch(25% 0.08 var(--brand-hue));
    --success: oklch(65% 0.2 145);
    --success-subtle: oklch(25% 0.08 145);
    --warning: oklch(75% 0.15 85);
    --warning-subtle: oklch(30% 0.08 85);
    --error: oklch(60% 0.2 25);
    --error-subtle: oklch(25% 0.08 25);
    --info: oklch(65% 0.15 230);
    --info-subtle: oklch(25% 0.08 230);
    --syntax-comment: oklch(55% 0.02 280);
    --syntax-keyword: oklch(70% 0.18 300);
    --syntax-string: oklch(75% 0.15 145);
    --syntax-number: oklch(75% 0.15 55);
    --syntax-function: oklch(75% 0.15 230);
    --space-3xs: var(--size-1);
    --space-2xs: var(--size-2);
    --space-xs: var(--size-3);
    --space-sm: var(--size-4);
    --space-md: var(--size-5);
    --space-lg: var(--size-6);
    --space-xl: var(--size-7);
    --space-2xl: var(--size-8);
    --space-3xl: var(--size-9);
    --font-body: var(--font-sans);
    --font-code: var(--font-mono);
    --font-heading: var(--font-sans);
    --text-xs: var(--font-size-00);
    --text-sm: var(--font-size-0);
    --text-base: var(--font-size-1);
    --text-md: var(--font-size-2);
    --text-lg: var(--font-size-3);
    --text-xl: var(--font-size-4);
    --text-2xl: var(--font-size-5);
    --text-3xl: var(--font-size-6);
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --border-subtle: 1px solid oklch(30% 0.02 280);
    --border-default: 1px solid oklch(35% 0.02 280);
    --border-strong: 1px solid oklch(45% 0.02 280);
    --radius-sm: var(--radius-2);
    --radius-md: var(--radius-3);
    --radius-lg: var(--radius-4);
    --radius-full: var(--radius-round);
    --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.3);
    --shadow-md: 0 4px 6px oklch(0% 0 0 / 0.3), 0 2px 4px oklch(0% 0 0 / 0.2);
    --shadow-lg: 0 10px 15px oklch(0% 0 0 / 0.3), 0 4px 6px oklch(0% 0 0 / 0.2);
    --shadow-glow: 0 0 20px oklch(65% 0.2 var(--brand-hue) / 0.3);
    --duration-fast: 0.1s;
    --duration-normal: 0.2s;
    --duration-slow: 0.3s;
    --ease-out: var(--ease-out-3);
    --ease-in-out: var(--ease-in-out-2);
    --ease-bounce: var(--ease-squish-2);
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 900px;
    --container-xl: 1200px;
    --sidebar-width: 320px;
  }
}

/* demo/styles/layers/base.css */
@layer base {
  body {
    background: var(--surface-bg);
    color: var(--text-1);
    font-family: var(--font-body);
    line-height: var(--leading-normal);
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-6);
    line-height: var(--leading-tight);
    color: var(--text-1);
  }
  h1 {
    font-size: var(--text-3xl);
  }
  h2 {
    font-size: var(--text-2xl);
  }
  h3 {
    font-size: var(--text-xl);
  }
  h4 {
    font-size: var(--text-lg);
  }
  p {
    color: var(--text-2);
  }
  p + p {
    margin-block-start: var(--space-sm);
  }
  a {
    color: var(--brand-light);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
  }
  a:hover {
    color: var(--brand);
    text-decoration: underline;
  }
  a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }
  code {
    font-family: var(--font-code);
    font-size: 0.9em;
    background: var(--surface-2);
    padding-inline: var(--space-2xs);
    padding-block: 2px;
    border-radius: var(--radius-sm);
  }
  pre {
    font-family: var(--font-code);
    font-size: var(--text-sm);
    background: var(--surface-bg);
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    overflow-x: auto;
  }
  pre code {
    background: none;
    padding: 0;
  }
  button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs);
    padding-inline: var(--space-xs);
    padding-block: var(--space-2xs);
    background: var(--brand);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-5);
    cursor: pointer;
    transition:
      background var(--duration-fast) var(--ease-out),
      transform var(--duration-fast) var(--ease-out),
      box-shadow var(--duration-fast) var(--ease-out);
  }
  button:hover {
    background: var(--brand-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  button:active {
    transform: translateY(0);
    box-shadow: none;
  }
  button:focus-visible {
    outline: 2px solid var(--brand-light);
    outline-offset: 2px;
  }
  button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  input,
  select,
  textarea {
    background: var(--surface-2);
    color: var(--text-1);
    border: var(--border-subtle);
    border-radius: var(--radius-md);
    padding-inline: var(--space-xs);
    padding-block: var(--space-2xs);
    font-size: var(--text-sm);
    transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
  }
  :is(input, select, textarea):hover {
    border-color: oklch(40% 0.02 280);
  }
  :is(input, select, textarea):focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-subtle);
  }
  :is(input, select, textarea)::placeholder {
    color: var(--text-3);
  }
  input[type=range] {
    inline-size: 120px;
    accent-color: var(--brand);
    background: transparent;
    border: none;
    padding: 0;
  }
  input[type=range]:focus {
    box-shadow: none;
  }
  input[type=color] {
    inline-size: 40px;
    block-size: 32px;
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
  }
  input[type=color]::-webkit-color-swatch-wrapper {
    padding: 0;
  }
  input[type=color]::-webkit-color-swatch {
    border: none;
    border-radius: var(--radius-sm);
  }
  input[type=checkbox] {
    inline-size: 18px;
    block-size: 18px;
    accent-color: var(--brand);
    cursor: pointer;
  }
  select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-2xs) center;
    padding-inline-end: var(--space-lg);
  }
  label {
    font-size: var(--text-sm);
    color: var(--text-2);
    cursor: pointer;
  }
}

/* demo/styles/layers/components.css */
@layer components {
  .container {
    max-inline-size: var(--container-lg);
    margin-inline: auto;
    padding-inline: var(--space-lg);
    padding-inline-end: calc(var(--space-lg) + var(--sidebar-width));
  }
  @media (width <= 900px) {
    .container {
      padding-inline: var(--space-sm);
    }
  }
  .header {
    text-align: center;
    margin-block-end: var(--space-2xl);
  }
  .header h1 {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-7);
    margin-block-end: var(--space-2xs);
    background:
      linear-gradient(
        135deg,
        var(--brand-light),
        oklch(70% 0.18 300));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  @media (width <= 900px) {
    .header h1 {
      font-size: var(--text-2xl);
    }
  }
  .header p {
    color: var(--text-2);
    font-size: var(--text-lg);
    margin-block-end: var(--space-sm);
  }
  .badges {
    display: flex;
    gap: var(--space-2xs);
    justify-content: center;
    flex-wrap: wrap;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    padding-inline: var(--space-xs);
    padding-block: var(--space-3xs);
    background: var(--surface-1);
    color: var(--text-1);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  }
  .badge:hover {
    background: var(--surface-2);
    transform: translateY(-1px);
    text-decoration: none;
  }
  .badge.brand {
    background: var(--brand);
  }
  .badge.brand:hover {
    background: var(--brand-light);
  }
  .install {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    margin-block-end: var(--space-2xl);
  }
  .install .install-label {
    font-size: var(--text-xs);
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: var(--font-letterspacing-3);
    margin-block-end: var(--space-2xs);
  }
  .install code {
    display: block;
    background: var(--surface-bg);
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    font-family: var(--font-code);
    font-size: var(--text-base);
    overflow-x: auto;
  }
  .demo {
    container-type: inline-size;
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    margin-block-end: var(--space-lg);
    overflow: hidden;
    border: var(--border-subtle);
    transition: border-color var(--duration-normal) var(--ease-out);
  }
  .demo:hover {
    border-color: oklch(35% 0.03 280);
  }
  .demo:has(:focus-visible) {
    border-color: var(--brand);
  }
  .demo-header {
    padding: var(--space-sm);
    border-block-end: var(--border-subtle);
    background:
      linear-gradient(
        180deg,
        var(--surface-2) 0%,
        var(--surface-1) 100%);
  }
  .demo-header h2 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-6);
    margin-block-end: var(--space-3xs);
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
  }
  .demo-header p {
    color: var(--text-2);
    font-size: var(--text-base);
    margin: 0;
  }
  .demo-canvas {
    padding: var(--space-sm);
    background: var(--surface-bg);
    min-block-size: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .demo-controls {
    padding: var(--space-sm);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
    background: var(--surface-1);
  }
  @container (width <= 500px) {
    .demo-controls {
      flex-direction: column;
      align-items: stretch;
    }
  }
  .control-group {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
  }
  .control-group label {
    font-size: var(--text-sm);
    color: var(--text-2);
    white-space: nowrap;
  }
  @container (width <= 500px) {
    .control-group {
      justify-content: space-between;
    }
  }
  .demo-code {
    padding: var(--space-sm);
    border-block-start: var(--border-subtle);
    background: var(--surface-1);
  }
  .demo-code pre {
    background: var(--surface-bg);
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    font-family: var(--font-code);
    font-size: var(--text-sm);
    overflow-x: auto;
    margin: 0;
  }
  .demo-code .comment {
    color: var(--syntax-comment);
  }
  .demo-code .attr {
    color: var(--syntax-keyword);
  }
  .demo-code .value {
    color: var(--syntax-string);
  }
  .btn-secondary {
    background: var(--surface-2);
  }
  .btn-secondary:hover {
    background: var(--surface-3);
  }
  .btn-ghost {
    background: transparent;
    border: var(--border-default);
  }
  .btn-ghost:hover {
    background: var(--surface-2);
    border-color: transparent;
  }
  .btn-sm {
    padding-inline: var(--space-2xs);
    padding-block: var(--space-3xs);
    font-size: var(--text-xs);
  }
  .btn-lg {
    padding-inline: var(--space-md);
    padding-block: var(--space-xs);
    font-size: var(--text-base);
  }
  .feature-tag {
    display: inline-block;
    padding-inline: var(--space-2xs);
    padding-block: var(--space-3xs);
    background: var(--success-subtle);
    color: var(--success);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-6);
  }
  .info-box {
    background: var(--brand-subtle);
    border-inline-start: 3px solid var(--brand);
    padding: var(--space-xs);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--text-base);
    margin-block: var(--space-xs);
  }
  .info-box strong {
    color: var(--brand-light);
  }
  .value-display {
    font-family: var(--font-code);
    background: var(--surface-bg);
    padding-inline: var(--space-2xs);
    padding-block: var(--space-3xs);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    min-inline-size: 40px;
    text-align: center;
  }
  .footer {
    text-align: center;
    padding-block: var(--space-lg);
    color: var(--text-2);
    font-size: var(--text-base);
  }
  .footer a {
    color: var(--brand-light);
  }
}

/* demo/styles/layers/utilities.css */
@layer utilities {
  .hidden {
    display: none;
  }
  .block {
    display: block;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .flex {
    display: flex;
  }
  .inline-flex {
    display: inline-flex;
  }
  .grid {
    display: grid;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .flex-nowrap {
    flex-wrap: nowrap;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-auto {
    flex: auto;
  }
  .flex-none {
    flex: none;
  }
  .items-start {
    align-items: flex-start;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-stretch {
    align-items: stretch;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-around {
    justify-content: space-around;
  }
  .gap-0 {
    gap: 0;
  }
  .gap-1 {
    gap: var(--space-3xs);
  }
  .gap-2 {
    gap: var(--space-2xs);
  }
  .gap-3 {
    gap: var(--space-xs);
  }
  .gap-4 {
    gap: var(--space-sm);
  }
  .gap-5 {
    gap: var(--space-md);
  }
  .gap-6 {
    gap: var(--space-lg);
  }
  .mb-0 {
    margin-block-end: 0;
  }
  .mb-1 {
    margin-block-end: var(--space-3xs);
  }
  .mb-2 {
    margin-block-end: var(--space-2xs);
  }
  .mb-3 {
    margin-block-end: var(--space-xs);
  }
  .mb-4 {
    margin-block-end: var(--space-sm);
  }
  .mb-5 {
    margin-block-end: var(--space-md);
  }
  .mb-6 {
    margin-block-end: var(--space-lg);
  }
  .mt-0 {
    margin-block-start: 0;
  }
  .mt-1 {
    margin-block-start: var(--space-3xs);
  }
  .mt-2 {
    margin-block-start: var(--space-2xs);
  }
  .mt-3 {
    margin-block-start: var(--space-xs);
  }
  .mt-4 {
    margin-block-start: var(--space-sm);
  }
  .mt-5 {
    margin-block-start: var(--space-md);
  }
  .mt-6 {
    margin-block-start: var(--space-lg);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .ml-auto {
    margin-inline-start: auto;
  }
  .mr-auto {
    margin-inline-end: auto;
  }
  .p-0 {
    padding: 0;
  }
  .p-1 {
    padding: var(--space-3xs);
  }
  .p-2 {
    padding: var(--space-2xs);
  }
  .p-3 {
    padding: var(--space-xs);
  }
  .p-4 {
    padding: var(--space-sm);
  }
  .p-5 {
    padding: var(--space-md);
  }
  .p-6 {
    padding: var(--space-lg);
  }
  .text-xs {
    font-size: var(--text-xs);
  }
  .text-sm {
    font-size: var(--text-sm);
  }
  .text-base {
    font-size: var(--text-base);
  }
  .text-lg {
    font-size: var(--text-lg);
  }
  .text-xl {
    font-size: var(--text-xl);
  }
  .text-2xl {
    font-size: var(--text-2xl);
  }
  .text-3xl {
    font-size: var(--text-3xl);
  }
  .font-normal {
    font-weight: var(--font-weight-4);
  }
  .font-medium {
    font-weight: var(--font-weight-5);
  }
  .font-semibold {
    font-weight: var(--font-weight-6);
  }
  .font-bold {
    font-weight: var(--font-weight-7);
  }
  .text-left {
    text-align: start;
  }
  .text-center {
    text-align: center;
  }
  .text-right {
    text-align: end;
  }
  .text-primary {
    color: var(--text-1);
  }
  .text-secondary {
    color: var(--text-2);
  }
  .text-muted {
    color: var(--text-3);
  }
  .text-brand {
    color: var(--brand);
  }
  .text-success {
    color: var(--success);
  }
  .text-warning {
    color: var(--warning);
  }
  .text-error {
    color: var(--error);
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .capitalize {
    text-transform: capitalize;
  }
  .font-mono {
    font-family: var(--font-code);
  }
  .bg-surface {
    background: var(--surface-bg);
  }
  .bg-surface-1 {
    background: var(--surface-1);
  }
  .bg-surface-2 {
    background: var(--surface-2);
  }
  .bg-brand {
    background: var(--brand);
  }
  .bg-brand-subtle {
    background: var(--brand-subtle);
  }
  .border {
    border: var(--border-default);
  }
  .border-none {
    border: none;
  }
  .rounded {
    border-radius: var(--radius-md);
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-full {
    border-radius: var(--radius-full);
  }
  .w-full {
    inline-size: 100%;
  }
  .w-auto {
    inline-size: auto;
  }
  .h-full {
    block-size: 100%;
  }
  .h-auto {
    block-size: auto;
  }
  .min-h-screen {
    min-block-size: 100vh;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .relative {
    position: relative;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .sticky {
    position: sticky;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .opacity-0 {
    opacity: 0;
  }
  .opacity-50 {
    opacity: 0.5;
  }
  .opacity-100 {
    opacity: 1;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .cursor-default {
    cursor: default;
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .transition {
    transition-property: all;
    transition-duration: var(--duration-normal);
    transition-timing-function: var(--ease-out);
  }
  .transition-fast {
    transition-duration: var(--duration-fast);
  }
  .transition-slow {
    transition-duration: var(--duration-slow);
  }
  .sr-only {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .not-sr-only {
    position: static;
    inline-size: auto;
    block-size: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

/* demo/styles/main.css */
/*# sourceMappingURL=styles.css.map */
