/* web/assets/src/fonts/fonts.css */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./figtree-latin-ext-3H7PLPZP.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./figtree-latin-3ZBM7OND.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("./figtree-italic-latin-ext-DTKI2TJN.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("./figtree-italic-latin-ZEAFOU7Z.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./inter-latin-ext-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc-HA22NDSG.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./inter-latin-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7-NRMW37G5.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./inter-latin-ext-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc-HA22NDSG.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./inter-latin-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7-NRMW37G5.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./inter-latin-ext-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc-HA22NDSG.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./inter-latin-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7-NRMW37G5.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./syne-latin-ext-8vIH7w4qzmVxm25L9Hz_-ZM6DHO3J.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./syne-latin-8vIH7w4qzmVxm2BL9A-XYPXHJ4T.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./syne-latin-ext-8vIH7w4qzmVxm25L9Hz_-ZM6DHO3J.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./syne-latin-8vIH7w4qzmVxm2BL9A-XYPXHJ4T.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./jbm-latin-ext-tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk-RYXAAANA.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./jbm-latin-tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg-2TKUHYWA.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./jbm-latin-ext-tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPx7cwhsk-RYXAAANA.woff2") format("woff2");
  unicode-range:
    U+0100-02BA,
    U+02BD-02C5,
    U+02C7-02CC,
    U+02CE-02D7,
    U+02DD-02FF,
    U+0304,
    U+0308,
    U+0329,
    U+1D00-1DBF,
    U+1E00-1E9F,
    U+1EF2-1EFF,
    U+2020,
    U+20A0-20AB,
    U+20AD-20C0,
    U+2113,
    U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./jbm-latin-tDbv2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKwBNntkaToggR7BYRbKPxDcwg-2TKUHYWA.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

/* web/assets/src/main.css */
@property --value { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@property --percent { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --bars { syntax: "<integer>"; inherits: false; initial-value: 7; }
@layer reset, tokens, base, components, utilities;
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  * {
    margin: 0;
    padding: 0;
  }
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  img,
  picture,
  video,
  canvas,
  svg {
    display: block;
    max-width: 100%;
  }
  input,
  button,
  textarea,
  select {
    font: inherit;
  }
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    overflow-wrap: break-word;
  }
  @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;
    }
  }
}
@layer tokens {
  :root {
    --teal: #0f766e;
    --teal-rgb:
      15,118,110;
    --brand: var(--teal);
    --brand-rgb: var(--teal-rgb);
    --brand-contrast: #ffffff;
    --brand-hover: #0a5c55;
    --brand-subtle: rgba(15,118,110,0.08);
    --bg: #f7f6f2;
    --surface: #ffffff;
    --surface-2: #f0efe9;
    --text: #1a1916;
    --muted: #6b6965;
    --border: #e4e2db;
    --fg-rgb:
      26,25,22;
    --bg-rgb:
      247,246,242;
    --text-primary: var(--text);
    --text-secondary: var(--muted);
    --bg-surface: var(--surface);
    --bg-canvas: var(--bg);
    --border-subtle: var(--border);
    --border-focus: var(--teal);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --chart-1: var(--brand);
    --chart-2: oklch(65% 0.2 300);
    --chart-3: oklch(65% 0.2 150);
    --color-success: #15803d;
    --color-error: #dc2626;
    --color-warning: #b45309;
    --text-xs: 0.75rem;
    --text-base: 0.875rem;
    --text-lg: 1.1rem;
    --text-xl: 1.4rem;
    --text-2xl: 2rem;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 3rem;
    --z-navbar: 100;
    --z-dropdown: 1000;
    --z-flash: 2000;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --ease: 0.15s ease;
    --ease-fast: 0.1s ease;
  }
  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #0a0a0a;
      --surface: #141414;
      --surface-2: #1f1f1f;
      --text: #ededed;
      --muted: #a1a1a1;
      --border: #262626;
      --fg-rgb:
        237,237,237;
      --bg-rgb:
        10,10,10;
      --brand: #2dd4bf;
      --brand-rgb:
        45,212,191;
      --brand-contrast: #000000;
      --brand-hover: #5eead4;
      --brand-subtle: rgba(45,212,191,0.15);
      --color-success: #4ade80;
      --color-error: #f87171;
      --color-warning: #fbbf24;
      --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
      --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
      --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
      --border-subtle: var(--border);
    }
  }
}
@layer base {
  body {
    font-family:
      "Figtree",
      system-ui,
      sans-serif;
    font-size: var(--text-base);
    color: var(--text-primary);
    background-color: var(--bg-canvas);
    min-height: 100dvh;
  }
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 2px;
  }
  ::selection {
    background: var(--brand);
    color: var(--brand-contrast);
  }
  h1,
  h2,
  h3 {
    font-family: "Figtree", sans-serif;
    line-height: 1.1;
    margin-bottom: var(--space-2);
    text-wrap: balance;
  }
  h1 {
    font-size: var(--text-2xl);
    font-weight: 800;
  }
  h2 {
    font-size: var(--text-xl);
    font-weight: 800;
  }
  h3 {
    font-size: var(--text-lg);
    font-weight: 700;
  }
  a {
    color: var(--text);
    text-decoration: none;
    transition: color var(--ease);
  }
  a:hover {
    color: var(--muted);
  }
  form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  input:not([type=hidden]),
  textarea,
  select {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: "Figtree", sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color var(--ease);
  }
  input:not([type=hidden]):focus,
  textarea:focus,
  select:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.25);
  }
  label {
    font-family: "Figtree", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.07em;
  }
  hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
  }
  code {
    font-family: "Figtree", sans-serif;
    font-size: 0.85em;
    background: var(--brand-subtle);
    padding: 0.1em 0.4em;
    word-break: break-all;
  }
}
@layer components {
  .auth-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: var(--space-4);
  }
  .card-container {
    width: 100%;
    max-width: 420px;
    container-type: inline-size;
  }
  .layout-dashboard {
    display: grid;
    grid-template-areas: "header" "main";
    grid-template-rows: auto 1fr;
    min-height: 100dvh;
  }
  .navbar {
    grid-area: header;
    background: rgba(var(--bg-rgb), 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
  }
  .nav-links {
    display: flex;
    gap: var(--space-3);
    list-style: none;
  }
  .user-menu-trigger {
    anchor-name: --user-menu;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border-subtle);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
    transition: background-color var(--ease), border-color var(--ease);
  }
  .user-menu-trigger:hover {
    background-color: var(--brand-subtle);
    border-color: var(--brand);
  }
  .dropdown-menu {
    position: fixed;
    position-anchor: --user-menu;
    top: anchor(bottom);
    right: anchor(right);
    margin-block-start: var(--space-1);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity var(--ease),
      transform var(--ease),
      overlay var(--ease) allow-discrete,
      display var(--ease) allow-discrete;
  }
  .dropdown-menu:popover-open {
    opacity: 1;
    transform: translateY(0);
    @starting-style {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
  .dropdown-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
  .dropdown-menu a,
  .dropdown-menu .btn-text {
    display: block;
    width: 100%;
    text-align: left;
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-weight: 400;
    font-size: var(--text-base);
  }
  .dropdown-menu a:hover,
  .dropdown-menu .btn-text:hover {
    background-color: var(--brand-subtle);
    color: var(--text-primary);
  }
  .main-content {
    grid-area: main;
    padding: var(--space-4);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  .card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
  }
  .stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    container-type: inline-size;
  }
  .stat-value {
    font-size: var(--text-xl);
    font-weight: 800;
    font-family: "Figtree", sans-serif;
    color: var(--brand);
  }
  .stat-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .bar-chart {
    display: grid;
    grid-template-columns: repeat(var(--bars), 1fr);
    grid-template-rows: 1fr auto;
    column-gap: var(--space-2);
    height: 200px;
    padding-top: var(--space-3);
  }
  .bar {
    grid-row: 1;
    align-self: end;
    height: var(--value);
    background:
      linear-gradient(
        to top,
        var(--brand),
        oklch(from var(--brand) l c h / 0.5));
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    position: relative;
    transition: --value 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background var(--ease);
  }
  .bar:hover {
    background: oklch(from var(--brand) calc(l + 0.05) c h);
  }
  .bar::after {
    content: attr(data-value);
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-xs);
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--ease);
    pointer-events: none;
  }
  .bar:hover::after {
    opacity: 1;
  }
  .bar-label {
    grid-row: 2;
    text-align: center;
    font-size: var(--text-xs);
    color: var(--text-secondary);
    padding-block-start: var(--space-1);
  }
  .progress-ring {
    --size: 120px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background:
      radial-gradient(
        closest-side,
        var(--bg-surface) 80%,
        transparent 0),
      conic-gradient(var(--brand) calc(var(--percent) * 1%), var(--border-subtle) 0);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: var(--text-lg);
    color: var(--text-primary);
    transition: --percent 1s ease-out;
  }
  button,
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--brand);
    color: var(--brand-contrast);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background var(--ease), opacity var(--ease);
  }
  button:hover,
  .btn:hover {
    background: var(--brand-hover);
    opacity: 1;
  }
  button:active,
  .btn:active {
    opacity: 0.85;
  }
  .google-btn {
    justify-content: center;
    width: 100%;
  }
  .btn-text {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: "Figtree", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    width: auto;
    justify-content: flex-start;
  }
  .btn-text:hover {
    border-color: var(--border);
    color: var(--text);
    background: var(--surface-2);
    box-shadow: none;
    opacity: 1;
  }
  .flash-container {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    z-index: var(--z-flash);
    max-width: 360px;
    width: calc(100% - 2 * var(--space-4));
    pointer-events: none;
  }
  .flash {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    border: 1px solid transparent;
    box-shadow: var(--shadow-md);
    animation: flash-dismiss 5s ease forwards;
    pointer-events: auto;
  }
  .flash-success {
    background: oklch(from var(--color-success) l c h / 0.12);
    color: var(--color-success);
    border-color: oklch(from var(--color-success) l c h / 0.3);
  }
  .flash-error {
    background: oklch(from var(--color-error) l c h / 0.12);
    color: var(--color-error);
    border-color: oklch(from var(--color-error) l c h / 0.3);
  }
  .flash-warning {
    background: oklch(from var(--color-warning) l c h / 0.12);
    color: var(--color-warning);
    border-color: oklch(from var(--color-warning) l c h / 0.3);
  }
  @keyframes flash-dismiss {
    0% {
      opacity: 0;
      transform: translateY(-8px);
      visibility: visible;
    }
    10%, 80% {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }
    99.9% {
      opacity: 0;
      transform: translateY(-8px);
      visibility: visible;
    }
    100% {
      visibility: hidden;
    }
  }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }
}
@layer utilities {
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .flex-direction-column {
    flex-direction: column;
  }
  .flex-1 {
    flex: 1;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .gap-1 {
    gap: var(--space-1);
  }
  .gap-2 {
    gap: var(--space-2);
  }
  .gap-3 {
    gap: var(--space-3);
  }
  .gap-4 {
    gap: var(--space-4);
  }
  .gap-5 {
    gap: var(--space-5);
  }
  .mt-2 {
    margin-top: var(--space-2);
  }
  .mt-4 {
    margin-top: var(--space-4);
  }
  .text-xs {
    font-size: var(--text-xs);
  }
  .text-lg {
    font-size: var(--text-lg);
  }
  .text-xl {
    font-size: var(--text-xl);
  }
  .text-center {
    text-align: center;
  }
  .font-bold {
    font-weight: 700;
  }
  .text-secondary {
    color: var(--text-secondary);
  }
  .input-xs {
    padding: 4px 8px;
    font-size: 10px;
    height: auto;
  }
  .btn-xs {
    padding: 4px 8px;
    font-size: 10px;
    height: auto;
  }
  .btn-danger.btn-xs {
    background: rgba(255, 85, 85, 0.2);
    border-color: rgba(255, 85, 85, 0.4);
  }
  .self-end {
    align-self: flex-end;
  }
  .flex-col {
    flex-direction: column;
  }
  .items-center {
    align-items: center;
  }
  .w-24 {
    width: 6rem;
  }
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .p-1 {
    padding: 0.25rem;
  }
  .border {
    border: 1px solid var(--border);
  }
  .rounded {
    border-radius: 4px;
  }
  .w-full {
    width: 100%;
  }
  .h-full {
    height: 100%;
  }
  .h-1\.5 {
    height: 0.375rem;
  }
  .mb-1 {
    margin-bottom: 0.25rem;
  }
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  .mb-3 {
    margin-bottom: 0.75rem;
  }
  .mb-4 {
    margin-bottom: 1rem;
  }
  .mb-6 {
    margin-bottom: 1.5rem;
  }
  .mr-2 {
    margin-right: 0.5rem;
  }
  .p-6 {
    padding: 1.5rem;
  }
  .p-3 {
    padding: 0.75rem;
  }
  .flex-none {
    flex: none;
  }
  .justify-between {
    justify-content: space-between;
  }
  .items-start {
    align-items: flex-start;
  }
  .space-y-2 > * + * {
    margin-top: 0.5rem;
  }
  .border-accent {
    border-color: var(--page-accent);
  }
  .border-muted\/10 {
    border-color: oklch(from var(--page-fg,#0a0a0a) l c h / 0.1);
  }
  .bg-accent {
    background-color: var(--page-accent);
  }
  .bg-accent\/5 {
    background-color: oklch(from var(--page-accent,#6366f1) l c h / 0.05);
  }
  .bg-muted\/5 {
    background-color: oklch(from var(--page-fg,#0a0a0a) l c h / 0.05);
  }
  .bg-muted\/10 {
    background-color: oklch(from var(--page-fg,#0a0a0a) l c h / 0.1);
  }
  .ring-1 {
    box-shadow: 0 0 0 1px var(--ring-color, transparent);
  }
  .ring-accent\/20 {
    --ring-color: oklch(from var(--page-accent,#6366f1) l c h / 0.2);
  }
  .rounded-full {
    border-radius: 9999px;
  }
  .rounded-lg {
    border-radius: 0.5rem;
  }
  .duration-500 {
    transition-duration: 500ms;
  }
  :focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
  }
  input:not([type=hidden]):focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    outline: none;
  }
}
@layer components {
  .layout-sidebar {
    display: grid;
    grid-template-areas: "sidebar content";
    grid-template-columns: 240px 1fr;
    min-height: 100dvh;
  }
  .sidebar {
    grid-area: sidebar;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    padding: var(--space-4) var(--space-3);
    position: sticky;
    top: 0;
    height: 100dvh;
    overflow-y: auto;
  }
  .sidebar-logo {
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0 var(--space-2);
    margin-bottom: var(--space-4);
    display: block;
  }
  .sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
  }
  .sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--text-base);
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--ease), color var(--ease);
  }
  .sidebar-link:hover {
    background-color: var(--brand-subtle);
    color: var(--text-primary);
  }
  .sidebar-link.active {
    background-color: var(--brand-subtle);
    color: var(--brand);
    font-weight: 600;
  }
  .sidebar-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-3);
    margin-top: var(--space-3);
  }
  .sidebar-user-trigger {
    anchor-name: --sidebar-user;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border-subtle);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
    width: 100%;
    justify-content: space-between;
    transition: background-color var(--ease), border-color var(--ease);
  }
  .sidebar-user-trigger:hover {
    background-color: var(--brand-subtle);
    border-color: var(--brand);
  }
  #sidebar-user-dropdown {
    anchor-name: unset;
    position-anchor: --sidebar-user;
    top: auto;
    bottom: anchor(top);
    right: anchor(right);
    left: anchor(left);
    margin-block-end: var(--space-1);
  }
  .layout-sidebar-content {
    grid-area: content;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .sidebar-topbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-3) var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
  }
  .sidebar-page-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-primary);
  }
  .sidebar-main {
    padding: var(--space-5);
    flex: 1;
  }
  .btn-secondary {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
  }
  .btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
    opacity: 1;
    box-shadow: none;
  }
  .btn-danger {
    background: oklch(from var(--color-error) l c h / 0.1);
    color: var(--color-error);
    border: 1px solid oklch(from var(--color-error) l c h / 0.2);
  }
  .btn-danger:hover {
    background: oklch(from var(--color-error) l c h / 0.2);
    opacity: 1;
  }
  .btn-sm {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    font-family: "Figtree", sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
  }
  .badge-success,
  .badge-green {
    background: rgba(var(--brand-rgb), 0.08);
    color: var(--brand);
    border: 1px solid rgba(var(--brand-rgb), 0.15);
  }
  .badge-error {
    background: oklch(from var(--color-error) l c h / 0.1);
    color: var(--color-error);
    border: 1px solid oklch(from var(--color-error) l c h / 0.2);
  }
  .badge-warning {
    background: oklch(from var(--color-warning) l c h / 0.1);
    color: var(--color-warning);
    border: 1px solid oklch(from var(--color-warning) l c h / 0.2);
  }
  .badge-neutral,
  .badge-gray {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    border: 1px solid var(--border);
  }
  .table-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-base);
  }
  .data-table th {
    text-align: left;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-canvas);
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
  }
  .data-table td {
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
  }
  .data-table tr:last-child td {
    border-bottom: none;
  }
  .data-table tbody tr {
    transition: background-color var(--ease-fast);
  }
  .data-table tbody tr:hover {
    background: var(--bg-canvas);
  }
  .data-table .col-actions {
    text-align: right;
    width: 1%;
    white-space: nowrap;
  }
  .pagination {
    display: flex;
    align-items: center;
    gap: var(--space-1);
  }
  .pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 var(--space-2);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: 500;
    text-decoration: none;
    transition:
      background-color var(--ease),
      border-color var(--ease),
      color var(--ease);
  }
  .pagination-btn:hover {
    background: var(--brand-subtle);
    border-color: var(--brand);
    color: var(--brand);
  }
  .pagination-btn.active {
    background: var(--brand);
    border-color: var(--brand);
    color: oklch(99% 0 0);
  }
  .pagination-btn[aria-disabled=true] {
    opacity: 0.35;
    pointer-events: none;
  }
  .search-bar {
    display: flex;
    gap: var(--space-2);
    align-items: center;
  }
  .search-input-wrapper {
    position: relative;
    flex: 1;
  }
  .search-input-wrapper svg {
    position: absolute;
    left: var(--space-2);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
  }
  .search-input-wrapper input {
    padding-left: calc(var(--space-2) + 16px + var(--space-2));
  }
  .page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    gap: var(--space-3);
  }
  .page-header h1 {
    margin-bottom: 0;
  }
  .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-6) var(--space-4);
    text-align: center;
    color: var(--text-secondary);
  }
  .empty-state-icon {
    width: 48px;
    height: 48px;
    opacity: 0.35;
    color: var(--text-secondary);
  }
  .empty-state-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
  }
}
@layer components {
  .navbar-brand {
    font-family: "Figtree", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
  }
  .navbar-brand::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
  }
  .page-title {
    font-family: "Figtree", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
  }
  .page-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
  }
  .page-list-item {
    background: var(--bg);
    padding: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: none;
    transition: background var(--ease);
  }
  .page-list-item:hover {
    background: var(--surface);
  }
  .page-list-info {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .page-list-slug {
    font-family: "Figtree", sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 4px;
  }
  .page-list-slug:hover {
    color: var(--teal);
  }
  .page-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-family: "Figtree", sans-serif;
    font-size: 0.68rem;
    color: var(--muted);
  }
  .page-list-actions {
    display: flex;
    gap: 1px;
    background: var(--border);
    flex-shrink: 0;
  }
  .page-list-actions .btn,
  .page-list-actions .btn-secondary {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    font-family: "Figtree", sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--bg);
    border: none;
    border-radius: 0;
  }
  .page-list-actions .btn {
    color: var(--teal);
  }
  .page-list-actions .btn:hover {
    background: rgba(var(--teal-rgb), 0.08);
    opacity: 1;
  }
  .page-list-actions .btn-secondary {
    color: var(--muted);
  }
  .page-list-actions .btn-secondary:hover {
    background: var(--surface);
    color: var(--text);
  }
  .input-prefix-wrap {
    display: flex;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .input-prefix-wrap input {
    border: none;
    border-radius: 0;
    flex: 1;
  }
  .input-prefix-wrap input:focus {
    box-shadow: none;
  }
  .input-prefix {
    padding: var(--space-2) var(--space-3);
    background: var(--bg-canvas);
    color: var(--text-secondary);
    font-size: var(--text-base);
    white-space: nowrap;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
  }
  .font-mono {
    font-family: ui-monospace, monospace;
  }
  .text-muted {
    color: var(--text-secondary);
    font-size: var(--text-xs);
  }
  .text-danger {
    color: var(--color-error);
  }
  .card-title {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0;
  }
  .card-danger {
    border-color: oklch(from var(--color-error) l c h / 0.3);
  }
  .data-table-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: auto;
  }
  .submission-data {
    font-family: ui-monospace, monospace;
    font-size: var(--text-xs);
    white-space: pre-wrap;
    word-break: break-all;
    max-width: 400px;
  }
  .form-hint {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    margin-top: calc(var(--space-1) * -0.5);
  }
  .btn-icon {
    background: none;
    border: none;
    padding: var(--space-1);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    line-height: 1;
    font-size: 0.875rem;
    min-width: unset;
  }
  .btn-icon:hover {
    background: var(--brand-subtle);
    color: var(--text-primary);
    box-shadow: none;
  }
}
@layer components {
  .editor-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    --bg: #111;
    --surface: #1a1a1a;
    --text: #eee;
    --muted: #888;
    --border: #222;
    --bg-canvas: #111;
    --text-primary: #eee;
    --text-secondary: #888;
    --border-subtle: #222;
  }
  .editor-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 52px;
    flex-shrink: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
  }
  .editor-back {
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border: 1px solid transparent;
    transition: border-color var(--ease), color var(--ease);
  }
  .editor-back:hover {
    color: var(--text);
    border-color: var(--border);
  }
  .editor-topbar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
  }
  .editor-slug {
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
  }
  .editor-topbar-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0;
  }
  .editor-topbar-spacer {
    flex: 1;
  }
  .editor-topbar-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
  }
  .editor-topbar-actions .btn,
  .editor-topbar-actions .btn-secondary {
    padding: 5px 12px;
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 0;
  }
  .editor-topbar-actions .btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
  }
  .editor-topbar-actions .btn-secondary:hover {
    border-color: var(--muted);
    color: var(--text);
    opacity: 1;
  }
  .editor-topbar-actions .btn {
    background: var(--teal);
    color: #ffffff;
    border: 1px solid var(--teal);
  }
  .editor-topbar-actions .btn:hover {
    opacity: 0.85;
  }
  .editor-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .editor-layout {
    display: flex;
    height: calc(100dvh - 52px);
    overflow: hidden;
    background: #050505;
  }
  .editor-sidebar {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 10;
  }
  .sidebar-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }
  .sidebar-tab {
    flex: 1;
    padding: 12px 4px;
    text-align: center;
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    cursor: pointer;
    border: none;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    margin-bottom: -1px;
  }
  .sidebar-tab.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
    background: rgba(var(--teal-rgb), 0.03);
  }
  .sidebar-tab:hover:not(.active) {
    color: var(--text);
  }
  .sidebar-content {
    flex: 1;
    overflow: hidden;
    position: relative;
  }
  .tab-panel {
    display: none;
    height: 100%;
    flex-direction: column;
  }
  .tab-panel.active {
    display: flex;
  }
  .panel-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .panel-scroll::-webkit-scrollbar {
    width: 3px;
  }
  .panel-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
  }
  .editor-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
  }
  .preview-toolbar {
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: rgba(10, 10, 10, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    z-index: 5;
  }
  .preview-modes {
    display: flex;
    gap: 4px;
  }
  .preview-mode-btn {
    padding: 4px 10px;
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .preview-mode-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
  }
  .preview-status {
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 0.02em;
  }
  .preview-window {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: auto;
    background:
      radial-gradient(
        circle at 50% 50%,
        rgba(var(--teal-rgb), 0.05) 0%,
        transparent 70%),
      #050505;
  }
  .phone-shell {
    width: 340px;
    height: 680px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 0 0 4px #000,
      0 30px 60px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .editor-preview[data-mode=desktop] .phone-shell {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    padding: 0;
  }
  .phone-bar {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
  }
  .phone-pill {
    width: 50px;
    height: 4px;
    background: #222;
    border-radius: 2px;
  }
  .preview-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: white;
    border-radius: 30px;
  }
  .editor-preview[data-mode=desktop] .preview-iframe {
    border-radius: 0;
  }
  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .editor-stats {
    display: flex;
    justify-content: space-between;
    font-family: "Figtree", sans-serif;
    font-size: 0.65rem;
    color: var(--muted);
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    margin-bottom: 4px;
  }
  .editor-add-block {
    width: 100%;
    margin-top: 12px;
    background: rgba(var(--teal-rgb), 0.05);
    border: 1px dashed rgba(var(--teal-rgb), 0.3);
    color: var(--teal);
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
  }
  .editor-add-block:hover {
    background: rgba(var(--teal-rgb), 0.1);
    border-style: solid;
    border-color: var(--teal);
  }
  .input-color {
    width: 100%;
    height: 32px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    cursor: pointer;
    border-radius: 4px;
  }
  .editor-css-input {
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    resize: vertical;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    line-height: 1.5;
    padding: 8px;
  }
  .upload-row {
    display: flex;
    gap: 3px;
  }
  .upload-btn {
    flex-shrink: 0;
    padding: 0 8px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 0;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
  }
  .upload-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
  }
  .upload-btn:disabled {
    opacity: 0.35;
    cursor: default;
  }
  .upload-btn-xs {
    height: 26px;
    padding: 0 6px;
    font-size: 0.7rem;
  }
  .upload-zone {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .upload-input {
    display: none;
  }
  .upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    cursor: pointer;
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    text-align: center;
    transition: border-color var(--ease), color var(--ease);
  }
  .upload-label:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: transparent;
  }
  .block-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 80px;
  }
  .block-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: border-color var(--ease);
  }
  .block-card:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }
  .block-card--ghost {
    opacity: 0.4;
    background: rgba(var(--teal-rgb), 0.05);
  }
  .block-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    user-select: none;
  }
  .drag-handle {
    cursor: grab;
    color: rgba(255, 255, 255, 0.15);
    font-size: 11px;
    line-height: 1;
    flex-shrink: 0;
  }
  .drag-handle:active {
    cursor: grabbing;
  }
  .block-card-label {
    flex: 1;
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  .block-card-header-actions {
    display: flex;
    gap: 1px;
  }
  .block-card-header-actions button,
  .block-card-header-actions .btn {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    font-size: 11px;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
    transition: color var(--ease);
  }
  .block-card-header-actions button:hover {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
    box-shadow: none;
  }
  .block-card-body {
    padding: 11px;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .block-card-body[hidden] {
    display: none;
  }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0;
  }
  .form-field label {
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    background: rgba(255, 255, 255, 0.04);
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 9px;
    font-size: 11px;
    font-family: "Figtree", sans-serif;
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    border-color: var(--teal);
  }
  .form-field-inline .form-field {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2);
  }
  .form-field-inline label {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
  }
  .input-json {
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    min-height: 60px;
    resize: vertical;
  }
  .block-picker {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
  }
  .block-picker[hidden] {
    display: none;
  }
  .block-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
  }
  .block-picker-header h2 {
    font-family: "Figtree", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0;
  }
  .block-picker > * {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  }
  .block-picker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .block-picker-btn {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.09);
    padding: 7px 5px;
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.02em;
    transition:
      border-color var(--ease),
      color var(--ease),
      background var(--ease);
  }
  .block-picker-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: rgba(var(--teal-rgb), 0.04);
    box-shadow: none;
    opacity: 1;
  }
  .card-title {
    font-family: "Figtree", sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .card-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
  }
  .editor-sidebar .card {
    background: transparent;
    border: none;
    padding: 0;
    gap: var(--space-2);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-3);
  }
  @media (max-width: 900px) {
    .editor-layout {
      grid-template-columns: 1fr;
      height: auto;
      overflow: visible;
    }
    .editor-main {
      overflow: visible;
    }
    .editor-sidebar {
      position: static;
      max-height: none;
      border-left: none;
      border-top: 1px solid var(--border);
    }
  }
}
@layer components {
  .page-body {
    background-color: var(--page-bg, #fff);
    color: var(--page-fg, #0a0a0a);
    font-family: var(--page-font, system-ui), system-ui;
    min-height: 100dvh;
  }
  .page-container {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .width-narrow {
    max-width: 480px;
    margin-inline: auto;
  }
  .width-wide {
    max-width: 960px;
    margin-inline: auto;
  }
  .width-full {
    max-width: 100%;
  }
  .page-container.width-narrow {
    max-width: 480px;
  }
  .page-container.width-normal {
    max-width: 680px;
  }
  .page-container.width-wide {
    max-width: 960px;
  }
  .page-container.width-full {
    max-width: 100%;
  }
  .align-center .page-container,
  .page-container.align-center {
    align-items: center;
    text-align: center;
  }
  .align-left .page-container,
  .page-container.align-left {
    align-items: flex-start;
    text-align: left;
  }
  .spacing-compact .page-container {
    gap: var(--space-2);
  }
  .spacing-normal .page-container {
    gap: var(--space-3);
  }
  .spacing-spacious .page-container {
    gap: var(--space-5);
  }
  .bg-pattern-dots {
    background-image: radial-gradient(oklch(from var(--page-fg, #0a0a0a) l c h / 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
  }
  .bg-pattern-grid {
    background-image:
      linear-gradient(oklch(from var(--page-fg,#0a0a0a) l c h/0.06) 1px, transparent 1px),
      linear-gradient(
        90deg,
        oklch(from var(--page-fg,#0a0a0a) l c h/0.06) 1px,
        transparent 1px);
    background-size: 30px 30px;
  }
  .bg-pattern-lines {
    background-image:
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 29px,
        oklch(from var(--page-fg,#0a0a0a) l c h/0.06) 30px);
  }
  .bg-pattern-cross {
    background-image:
      linear-gradient(oklch(from var(--page-fg,#0a0a0a) l c h/0.06) 1px, transparent 1px),
      linear-gradient(
        90deg,
        oklch(from var(--page-fg,#0a0a0a) l c h/0.06) 1px,
        transparent 1px);
    background-size: 20px 20px;
    background-position: -1px -1px;
  }
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes slideLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .anim-fadeUp .block {
    animation: fadeUp 0.65s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
  }
  .anim-fadeIn .block {
    animation: fadeIn 0.55s ease forwards;
    opacity: 0;
  }
  .anim-slideLeft .block {
    animation: slideLeft 0.55s cubic-bezier(.22, 1, .36, 1) forwards;
    opacity: 0;
  }
  .block {
    width: 100%;
  }
  .avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  .avatar-img {
    border: 2px solid rgba(var(--page-accent-rgb), 0.45);
    box-shadow: 0 0 0 7px rgba(var(--page-accent-rgb), 0.07), 0 20px 60px rgba(0, 0, 0, 0.28);
    display: block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s;
    object-fit: cover;
  }
  .avatar-img:hover {
    transform: scale(1.06);
    box-shadow: 0 0 0 10px rgba(var(--page-accent-rgb), 0.12), 0 24px 72px rgba(0, 0, 0, 0.35);
  }
  .avatar-sm {
    width: 80px;
    height: 80px;
  }
  .avatar-md {
    width: 104px;
    height: 104px;
  }
  .avatar-lg {
    width: 128px;
    height: 128px;
  }
  .shape-circle .avatar-img {
    border-radius: 50%;
  }
  .shape-rounded .avatar-img {
    border-radius: var(--page-radius);
  }
  .shape-square .avatar-img {
    border-radius: 0;
  }
  .heading-wrap {
    margin-bottom: 12px;
  }
  .heading-name {
    font-family: var(--page-heading-font, var(--page-font));
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    background:
      linear-gradient(
        135deg,
        var(--page-fg) 0%,
        rgba(var(--page-fg-rgb), 0.65) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .heading-sub {
    font-size: 1.1rem;
    opacity: 0.6;
    margin-top: 8px;
    font-weight: 400;
  }
  .bio-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--page-fg);
    opacity: 0.8;
  }
  .bio-text p {
    margin-bottom: 0.8em;
  }
  .bio-text p:last-child {
    margin-bottom: 0;
  }
  .badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }
  .page-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    border: 1.5px solid var(--badge-color);
    color: var(--badge-color);
    background: color-mix(in srgb, var(--badge-color) 14%, transparent);
  }
  .link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(var(--page-fg-rgb), 0.04);
    border: 1px solid rgba(var(--page-fg-rgb), 0.09);
    border-radius: var(--page-radius);
    text-decoration: none;
    color: var(--page-fg);
    font-weight: 600;
    font-size: 0.95rem;
    transition:
      transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
      border-color 0.2s,
      box-shadow 0.2s,
      background 0.2s;
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  .link-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        120deg,
        rgba(var(--page-accent-rgb), 0.07),
        transparent 60%);
    opacity: 0;
    transition: opacity 0.2s;
  }
  .link-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(var(--page-accent-rgb), 0.5);
    box-shadow: 0 16px 48px rgba(var(--page-accent-rgb), 0.18), 0 4px 16px rgba(0, 0, 0, 0.14);
    background: rgba(var(--page-fg-rgb), 0.06);
  }
  .link-card:hover::before {
    opacity: 1;
  }
  .link-icon {
    width: 38px;
    height: 38px;
    border-radius: calc(var(--page-radius) * 0.55);
    background: rgba(var(--page-accent-rgb), 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--page-accent);
    flex-shrink: 0;
  }
  .link-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .link-desc {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 400;
  }
  .link-arrow {
    opacity: 0.2;
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
  }
  .link-card:hover .link-arrow {
    transform: translateX(3px) translateY(-3px);
    opacity: 1;
    color: var(--page-accent);
  }
  .link-pill {
    border-radius: 999px;
  }
  .link-square {
    border-radius: 0;
  }
  .link-outline {
    background: transparent;
    border-color: rgba(var(--page-accent-rgb), 0.35);
  }
  .link-outline:hover {
    background: rgba(var(--page-accent-rgb), 0.06);
    border-color: rgba(var(--page-accent-rgb), 0.6);
  }
  .link-ghost {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .link-ghost:hover {
    background: rgba(var(--page-fg-rgb), 0.05);
    border-color: rgba(var(--page-fg-rgb), 0.1);
  }
  .divider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
  }
  .divider-line {
    flex: 1;
    height: 1px;
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.15);
  }
  .divider-label {
    font-size: .68rem;
    color: var(--page-muted);
    white-space: nowrap;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .socials-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--page-radius, 0.5rem);
    color: var(--page-fg);
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.06);
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.1);
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
  }
  .social-btn:hover {
    background: oklch(from var(--page-accent,#6366f1) l c h/0.15);
    transform: scale(1.1);
  }
  .image-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
  .block-image {
    display: block;
  }
  .image-sm .block-image {
    max-width: 200px;
  }
  .image-md .block-image {
    max-width: 400px;
  }
  .image-lg .block-image {
    max-width: 600px;
  }
  .image-full .block-image {
    max-width: 100%;
  }
  .image-rounded .block-image {
    border-radius: var(--page-radius, 0.5rem);
  }
  .image-caption {
    font-size: 0.8rem;
    color: var(--page-muted);
    text-align: center;
  }
  .video-wrap {
    width: 100%;
  }
  .video-embed {
    aspect-ratio: 16/9;
    width: 100%;
    border: none;
    border-radius: var(--page-radius, 0.5rem);
  }
  .video-title {
    font-size: 0.85rem;
    color: var(--page-muted);
    margin-top: 0.4rem;
  }
  .spotify-wrap iframe {
    border: none;
    border-radius: var(--page-radius, 0.5rem);
    width: 100%;
  }
  .text-block {
    color: var(--page-fg);
    line-height: 1.7;
  }
  .text-block p {
    margin-bottom: 0.75rem;
  }
  .text-block p:last-child {
    margin-bottom: 0;
  }
  .countdown-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    padding: 20px;
    background: rgba(var(--page-fg-rgb), 0.03);
    border: 1px solid rgba(var(--page-fg-rgb), 0.08);
    border-radius: var(--page-radius, 0.5rem);
    gap: 0.75rem;
  }
  .countdown-label {
    font-size: 0.875rem;
    color: var(--page-muted);
  }
  .countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
  }
  .cd-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--page-fg);
    font-variant-numeric: tabular-nums;
    font-family: var(--page-heading-font, var(--page-font, system-ui));
    line-height: 1;
  }
  .cd-lbl {
    font-size: 0.65rem;
    color: var(--page-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .cd-sep {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--page-muted);
    align-self: flex-start;
    padding-top: 0.25rem;
  }
  .product-wrap {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.12);
    border-radius: var(--page-radius,0.5rem);
  }
  .product-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .product-name {
    font-weight: 700;
  }
  .product-price {
    font-weight: 700;
    color: var(--page-accent);
  }
  .product-desc {
    font-size: 0.85rem;
    color: var(--page-muted);
  }
  .newsletter-wrap {
    padding: 1.5rem;
    background: oklch(from var(--page-accent,#6366f1) l c h/0.08);
    border: 1px solid oklch(from var(--page-accent,#6366f1) l c h/0.2);
    border-radius: var(--page-radius, 0.5rem);
  }
  .newsletter-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }
  .newsletter-input {
    flex: 1;
    padding: 0.6rem 0.875rem;
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.2);
    border-radius: var(--page-radius, 0.5rem);
    background: var(--page-bg);
    color: var(--page-fg);
    font: inherit;
  }
  .newsletter-btn {
    padding: 0.6rem 1.2rem;
    background: var(--page-accent);
    color: var(--page-accent-fg,#fff);
    border: none;
    border-radius: var(--page-radius, 0.5rem);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
  }
  .newsletter-btn:hover {
    opacity: 0.9;
  }
  .gallery-wrap {
    display: grid;
    gap: 4px;
  }
  .gallery-wrap.gallery-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-wrap.gallery-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item {
  }
  .gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--page-radius, 0.5rem);
  }
  .testimonial-wrap {
    padding: 20px;
    background: rgba(var(--page-fg-rgb), 0.03);
    border: 1px solid rgba(var(--page-fg-rgb), 0.08);
    border-radius: var(--page-radius, 0.5rem);
    margin-bottom: 10px;
    position: relative;
  }
  .testimonial-stars {
    color: #f59e0b;
    margin-bottom: 0.75rem;
    font-size: 1rem;
  }
  .testimonial-quote {
    font-style: italic;
    color: var(--page-fg);
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
  .testimonial-meta {
    display: flex;
    flex-direction: column;
  }
  .testimonial-name {
    font-weight: 600;
    font-size: 0.9rem;
  }
  .testimonial-role {
    font-size: 0.8rem;
    color: var(--page-muted);
  }
  .stats-wrap {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px 12px;
    background: rgba(var(--page-fg-rgb), 0.03);
    border: 1px solid rgba(var(--page-fg-rgb), 0.08);
    border-radius: var(--page-radius, 0.5rem);
    margin-bottom: 10px;
  }
  .stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--page-accent);
    font-family: var(--page-heading-font, var(--page-font, system-ui));
  }
  .stat-label {
    font-size: 0.8rem;
    color: var(--page-muted);
  }
  .faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .faq-item {
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.12);
    border-radius: var(--page-radius, 0.5rem);
    overflow: hidden;
  }
  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--page-fg);
  }
  .faq-question::-webkit-details-marker {
    display: none;
  }
  .faq-question::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--page-muted);
    transition: transform 0.2s;
  }
  .faq-item[open] .faq-question::after {
    transform: rotate(45deg);
  }
  .faq-answer {
    padding: 0 1rem 0.875rem;
    color: var(--page-fg);
    line-height: 1.6;
    font-size: 0.9rem;
  }
  .timeline-wrap {
    padding-left: 1.25rem;
  }
  .timeline-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
  }
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  .timeline-dot {
    position: absolute;
    left: -1.25rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--page-accent);
  }
  .timeline-item::after {
    content: "";
    position: absolute;
    left: calc(-0.875rem);
    top: 0.85rem;
    width: 1px;
    height: calc(100% + 1.25rem);
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.15);
  }
  .timeline-item:last-child::after {
    display: none;
  }
  .timeline-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }
  .timeline-date {
    font-size: 0.75rem;
    color: var(--page-accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .timeline-title {
    font-weight: 700;
  }
  .timeline-desc {
    font-size: 0.875rem;
    color: var(--page-muted);
  }
  .tweet-wrap {
    display: flex;
    justify-content: center;
  }
  .tiktok-wrap {
    display: flex;
    justify-content: center;
  }
  .tiktok-wrap iframe {
    border: none;
    border-radius: var(--page-radius, 0.5rem);
  }
  .soundcloud-wrap iframe {
    border: none;
    width: 100%;
  }
  .github-wrap {
  }
  .github-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.12);
    border-radius: var(--page-radius, 0.5rem);
    text-decoration: none;
    color: var(--page-fg);
    transition: box-shadow 0.15s;
  }
  .github-card:hover {
    box-shadow: 0 4px 12px oklch(0% 0 0/0.1);
  }
  .github-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .github-repo {
    font-weight: 700;
    font-size: 1rem;
  }
  .github-desc {
    font-size: 0.875rem;
    color: var(--page-muted);
  }
  .github-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--page-muted);
  }
  .github-lang {
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  .lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lang-color, var(--page-accent));
    display: inline-block;
  }
  .github-stars {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
  .booking-wrap iframe {
    border: none;
    border-radius: var(--page-radius, 0.5rem);
    width: 100%;
    display: block;
  }
  .donation-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .donation-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: var(--page-fg);
    background: oklch(from var(--page-accent,#6366f1) l c h/0.08);
    border: 1px solid oklch(from var(--page-accent,#6366f1) l c h/0.25);
    border-radius: var(--page-radius, 0.5rem);
    transition: background 0.15s;
  }
  .donation-card:hover {
    background: oklch(from var(--page-accent,#6366f1) l c h/0.12);
  }
  .donation-progress {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  .progress-bar {
    height: 8px;
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.1);
    border-radius: 999px;
    overflow: hidden;
  }
  .progress-bar::after {
    content: "";
    display: block;
    height: 100%;
    background: var(--page-accent);
    border-radius: 999px;
    width: var(--progress-value, 0%);
  }
  .progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--page-muted);
  }
  .pricing-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .pricing-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.12);
    border-radius: var(--page-radius, 0.5rem);
  }
  .pricing-highlighted {
    border-color: var(--page-accent);
    background: oklch(from var(--page-accent,#6366f1) l c h/0.06);
  }
  .pricing-name {
    font-weight: 700;
    font-size: 1rem;
  }
  .pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--page-accent);
    font-family: var(--page-heading-font, var(--page-font, system-ui));
  }
  .pricing-period {
    font-size: 0.8rem;
    color: var(--page-muted);
    font-weight: 400;
  }
  .pricing-desc {
    font-size: 0.85rem;
    color: var(--page-muted);
  }
  .pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.875rem;
  }
  .pricing-feature::before {
    content: "\2713  ";
    color: var(--page-accent);
    font-weight: 700;
  }
  .pricing-btn,
  .btn.pricing-btn {
    display: inline-flex;
    justify-content: center;
    padding: 0.6rem 1rem;
    margin-top: auto;
    background: var(--page-accent);
    color: var(--page-accent-fg,#fff);
    border: none;
    border-radius: var(--page-radius, 0.5rem);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.15s;
  }
  .pricing-btn:hover {
    opacity: 0.9;
    box-shadow: none;
  }
  .form-block-wrap {
    padding: 1.25rem;
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.03);
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.1);
    border-radius: var(--page-radius, 0.5rem);
  }
  .form-title {
    font-weight: 700;
    margin-bottom: 1rem;
  }
  .page-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--page-fg);
    text-transform: none;
    letter-spacing: 0;
  }
  .required-mark {
    color: var(--page-accent);
  }
  .form-input {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.2);
    border-radius: calc(var(--page-radius,0.5rem) * 0.75);
    background: var(--page-bg);
    color: var(--page-fg);
    font: inherit;
  }
  .form-input:focus {
    outline: 2px solid var(--page-accent);
    outline-offset: 1px;
    box-shadow: none;
    border-color: transparent;
  }
  textarea.form-input {
    resize: vertical;
    min-height: 80px;
  }
  .form-submit,
  .btn.form-submit {
    padding: 0.65rem 1.5rem;
    background: var(--page-accent);
    color: var(--page-accent-fg,#fff);
    border: none;
    border-radius: var(--page-radius, 0.5rem);
    font-weight: 700;
    font: inherit;
    cursor: pointer;
    align-self: flex-start;
  }
  .form-submit:hover {
    opacity: 0.9;
    box-shadow: none;
  }
  .tabs-wrap {
    display: flex;
    flex-direction: column;
  }
  .tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid oklch(from var(--page-fg,#0a0a0a) l c h/0.12);
    overflow-x: auto;
  }
  .tab-btn {
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--page-muted);
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
  }
  .tab-btn.active,
  .tab-btn:hover {
    color: var(--page-accent);
    border-bottom-color: var(--page-accent);
    box-shadow: none;
  }
  .tab-panel {
    padding: 1rem 0;
    color: var(--page-fg);
    line-height: 1.6;
  }
  .map-wrap {
    width: 100%;
    border-radius: var(--page-radius, 0.5rem);
    overflow: hidden;
  }
  .map-wrap iframe {
    width: 100%;
    border: none;
    display: block;
  }
  .map-sm .map-wrap iframe,
  .map-wrap.map-sm iframe {
    height: 200px;
  }
  .map-md .map-wrap iframe,
  .map-wrap.map-md iframe {
    height: 320px;
  }
  .map-lg .map-wrap iframe,
  .map-wrap.map-lg iframe {
    height: 480px;
  }
  @property --progress-value { syntax: "<number>"; inherits: false; initial-value: 0; }
  .progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .progress-title {
    font-weight: 700;
  }
  .progress-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .progress-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
  }
  .progress-item-label {
    color: var(--page-fg);
    font-weight: 500;
  }
  .progress-item-val {
    color: var(--page-muted);
  }
  .progress-track {
    height: 8px;
    background: oklch(from var(--page-fg,#0a0a0a) l c h/0.1);
    border-radius: 999px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--progress-color, var(--page-accent));
    width: var(--progress-value, 0%);
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
}
@layer components {
  .landing-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .landing-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-navbar);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    height: 56px;
    background: rgba(var(--bg-rgb), 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
  }
  .landing-nav .navbar-brand {
    margin-right: auto;
  }
  .landing-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 100px 40px 80px;
    text-align: center;
    min-height: 70vh;
  }
  .landing-hero-label {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: "Figtree", sans-serif;
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .08em;
  }
  .landing-hero-year {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: "Figtree", sans-serif;
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .08em;
  }
  .landing-h1 {
    font-family: "Figtree", sans-serif;
    font-size: clamp(3rem, 10vw, 9rem);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin: 0;
  }
  .lh-w1 {
    display: block;
    color: var(--text);
  }
  .lh-w2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
    letter-spacing: -.03em;
  }
  .lh-w3 {
    display: inline-block;
    color: #ffffff;
    background: var(--teal);
    padding: 0 16px;
    margin: 0 -16px;
  }
  .lh-w4 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--text);
  }
  .landing-sub {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.65;
    max-width: 440px;
  }
  .landing-sub strong {
    color: var(--text);
    font-weight: 600;
  }
  .landing-cta {
    min-width: 220px;
    justify-content: center;
    padding: 14px 32px;
    font-size: .85rem;
  }
  .landing-marquee {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    background: var(--surface);
  }
  .landing-marquee-inner {
    display: inline-flex;
    gap: 0;
    animation: lm-scroll 32s linear infinite;
  }
  @keyframes lm-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  .landing-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    font-family: "Figtree", sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .landing-marquee-item span {
    color: var(--teal);
    font-size: 1rem;
  }
  .landing-section {
    padding: 72px 40px;
    border-top: 1px solid var(--border);
  }
  .landing-section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    font-family: "Figtree", sans-serif;
  }
  .ls-num {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .06em;
  }
  .ls-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }
  .ls-txt {
    font-size: .7rem;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .landing-feature {
    padding: 32px 32px 32px 0;
    border-right: 1px solid var(--border);
  }
  .landing-feature:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 32px;
  }
  .landing-feature:nth-child(2) {
    padding: 32px;
    border-right: 1px solid var(--border);
  }
  .lf-num {
    font-family: "Figtree", sans-serif;
    font-size: .65rem;
    color: var(--teal);
    letter-spacing: .1em;
    margin-bottom: 16px;
  }
  .lf-title {
    font-family: "Figtree", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--text);
  }
  .lf-desc {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
  }
  .hero-mockup {
    margin: 40px 0;
    display: flex;
    justify-content: center;
  }
  .device-wrap {
    transform: none;
  }
  .phone-screen {
    flex: 1;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
  }
  .phone-screen iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
  }
  .phone-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: #0a0a0a;
  }
  .placeholder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--border);
  }
  .placeholder-url {
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    color: var(--muted);
  }
  .placeholder-lines {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .placeholder-lines div {
    height: 8px;
    border-radius: 4px;
    background: var(--border);
  }
  .usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
  }
  .usecase-card {
    background: var(--bg);
    padding: 32px;
    transition: background 0.2s var(--ease);
  }
  .usecase-card:hover {
    background: var(--surface);
  }
  .usecase-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 16px;
    color: var(--teal);
  }
  .usecase-role {
    font-family: "Figtree", sans-serif;
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .usecase-title {
    font-family: "Figtree", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .usecase-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
  }
  .discover-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .discover-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-family: "Figtree", sans-serif;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s var(--ease);
  }
  .discover-chip:hover {
    border-color: var(--teal);
    color: var(--text);
    transform: translateY(-2px);
  }
  .chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
  }
  .landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    margin-top: auto;
    font-family: "Figtree", sans-serif;
    font-size: .72rem;
    color: var(--muted);
    letter-spacing: .04em;
    border-top: 1px solid var(--border);
  }
  .landing-footer a {
    color: var(--muted);
    transition: color var(--ease);
  }
  .landing-footer a:hover {
    color: var(--teal);
  }
  @media (max-width: 768px) {
    .landing-nav {
      padding: 0 16px;
      gap: 6px;
    }
    .landing-hero {
      padding: 80px 16px 48px;
      gap: 20px;
      min-height: auto;
    }
    .landing-hero-label {
      left: 16px;
      top: 32px;
    }
    .landing-hero-year {
      right: 16px;
      top: 32px;
    }
    .landing-sub {
      max-width: 100%;
    }
    .landing-section {
      padding: 40px 16px;
    }
    .landing-features {
      grid-template-columns: 1fr;
    }
    .landing-feature,
    .landing-feature:nth-child(2),
    .landing-feature:last-child {
      padding: 24px 0;
      border-right: none;
      border-bottom: 1px solid var(--border);
    }
    .landing-feature:last-child {
      border-bottom: none;
    }
    .landing-footer {
      flex-direction: column;
      gap: 8px;
      padding: 24px 16px;
      text-align: center;
    }
  }
}
