/* ── Striqr marketing home (Stytch-inspired, light-only) ── */

.marketing-site {
    --st-bg: #ffffff;
    --st-bg-elevated: #ffffff;
    --st-ink: #121212;
    --st-ink-muted: #5c5c5c;
    --st-ink-faint: #8a8a8a;
    --st-line: rgba(18, 18, 18, 0.08);
    --st-line-strong: rgba(18, 18, 18, 0.14);
    --st-accent: #7c3aed;
    --st-accent-deep: #5b21b6;
    --st-yellow: #ffe234;
    --st-yellow-ink: #1a1600;
    --st-grid: 72px;
    --st-font-display: "Outfit", "DM Sans", system-ui, sans-serif;
    --st-font-ui: "DM Sans", system-ui, sans-serif;
    --st-font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --st-nav-h: 64px;
    --st-outline-w: min(1120px, calc(100% - 40px));

    background: #ffffff;
    color: var(--st-ink);
    color-scheme: light;
    overflow-x: clip;
}

.marketing-site .ambient-bg {
    display: none;
}

/* ── Stytch-style marketing header ── */

.marketing-site .st-nav.topnav {
    position: sticky;
    top: 0;
    z-index: 500;
    display: block;
    height: auto;
    padding: 0;
    background: #ffffff;
    border: 0;
    backdrop-filter: none;
}

.marketing-site .st-nav.topnav::after {
    display: none;
}

.st-nav-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    width: var(--st-outline-w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
    min-height: var(--st-nav-h);
    padding: 0 4px;
    overflow: visible;
}

.st-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--st-ink);
}

.st-nav-bolt {
    flex: 0 0 auto;
    color: var(--st-accent);
    filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.35));
}

.st-nav-logo {
    font-family: var(--st-font-ui);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.st-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 4px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
}

.st-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--st-ink);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.st-nav-link:hover,
.st-nav-link.is-active {
    color: var(--st-ink);
    background: rgba(18, 18, 18, 0.04);
}

.st-nav-chevron {
    opacity: 0.55;
    margin-top: 1px;
    transition: transform 0.15s;
}

.st-nav-item.is-open .st-nav-chevron,
.st-nav-item:hover .st-nav-chevron {
    transform: rotate(180deg);
}

/* Nav dropdown panels */
.st-nav-item {
    position: relative;
}

@media (min-width: 901px) {
    .st-nav-item::after {
        content: "";
        position: absolute;
        left: -24px;
        right: -24px;
        top: 100%;
        height: 18px;
        display: none;
    }

    .st-nav-item:hover::after,
    .st-nav-item.is-open::after,
    .st-nav-item:focus-within::after {
        display: block;
    }
}

.st-nav-trigger {
    border: 0;
    background: none;
    cursor: pointer;
    font: inherit;
}

.st-nav-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(18, 18, 18, 0.14);
    overflow: hidden;
    z-index: 510;
}

.st-nav-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

@media (min-width: 901px) {
    .st-nav-panel {
        display: none;
    }

    .st-nav-item:hover .st-nav-panel,
    .st-nav-item:focus-within .st-nav-panel,
    .st-nav-item.is-open .st-nav-panel {
        display: block;
    }
}

.st-nav-panel-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 6px;
}

.st-nav-panel-body--list {
    grid-template-columns: 1fr;
    max-height: 320px;
    overflow-y: auto;
}

.st-nav-panel-link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--st-ink);
    transition: background 0.12s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.st-nav-panel-link:hover {
    background: rgba(18, 18, 18, 0.04);
}

.st-nav-panel-link--blog {
    border-bottom: 1px solid var(--st-line);
    border-radius: 0;
}

.st-nav-panel-link--blog:last-of-type {
    border-bottom: 0;
}

.st-nav-panel-title {
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--st-ink);
}

.st-nav-panel-desc {
    font-family: var(--st-font-ui);
    font-size: 12px;
    line-height: 1.4;
    color: var(--st-ink-muted);
}

.st-nav-panel-empty {
    margin: 0;
    padding: 16px 14px;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-nav-panel-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--st-yellow);
    border-top: 1px solid rgba(26, 22, 0, 0.1);
    color: var(--st-yellow-ink);
    text-decoration: none;
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
    transition: filter 0.15s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.st-nav-panel-foot:hover {
    filter: brightness(0.98);
}

.st-nav-panel-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--st-accent);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.st-nav-panel-foot:hover .st-nav-panel-foot-cta {
    background: var(--st-accent-deep);
}

.st-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.st-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.st-nav-btn--outline {
    border: 1px solid rgba(18, 18, 18, 0.18);
    background: #fff;
    color: var(--st-ink);
}

.st-nav-btn--outline:hover {
    border-color: rgba(18, 18, 18, 0.28);
    background: #fff;
}

.st-nav-btn--solid {
    border: 1px solid var(--st-ink);
    background: var(--st-ink);
    color: #fff;
}

.st-nav-btn--solid:hover {
    background: #000;
    border-color: #000;
}

.st-nav-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(18, 18, 18, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--st-ink);
    cursor: pointer;
}

/* Blueprint outline lines */

.st-layout {
    position: relative;
    z-index: 1;
}

.st-outline-h {
    height: 1px;
    background: rgba(18, 18, 18, 0.12);
    pointer-events: none;
}

.st-outline-h--full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.st-outline-v {
    position: fixed;
    top: calc(var(--st-nav-h) + 1px);
    bottom: 0;
    width: 1px;
    background: rgba(18, 18, 18, 0.12);
    pointer-events: none;
    z-index: 50;
}

.st-outline-v--left {
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
}

.st-outline-v--right {
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
}

.st-frame-bolt {
    position: fixed;
    z-index: 250;
    width: 34px;
    height: 34px;
    color: var(--st-accent);
    filter: drop-shadow(0 2px 6px rgba(124, 58, 237, 0.4));
    pointer-events: none;
}

.st-frame-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-frame-bolt--tl {
    top: calc(var(--st-nav-h) + 1px);
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(-50%, -50%);
}

.st-frame-bolt--tr {
    top: calc(var(--st-nav-h) + 1px);
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(50%, -50%);
}

.st-shell {
    width: var(--st-outline-w);
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.marketing-site .site-footer {
    position: relative;
    z-index: 1;
    margin-top: 0;
    overflow: visible;
    background: #fff;
    border-top: 1px solid var(--st-line-strong);
    color: var(--st-ink-muted);
}

.marketing-site .site-footer::before {
    display: none;
}

.marketing-site .site-footer a {
    color: var(--st-ink-muted);
    text-decoration: none;
}

.marketing-site .site-footer a:hover {
    color: var(--st-ink);
}

/* Stytch-style footer */
.st-footer-grid {
    display: grid;
    grid-template-columns: minmax(140px, 1.1fr) repeat(3, minmax(0, 1fr));
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 0;
}

.st-footer-brand-col {
    display: flex;
    align-items: flex-start;
    padding: 40px 32px 36px 0;
    border-right: 1px solid var(--st-line);
}

.st-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--st-ink);
    text-decoration: none;
}

.st-footer-logo-bolt {
    color: var(--st-accent);
    flex-shrink: 0;
}

.st-footer-logo-text {
    font-family: var(--st-font-display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.st-footer-col {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px 28px 36px;
    border-right: 1px solid var(--st-line);
}

.st-footer-col:last-child {
    border-right: none;
}

.st-footer-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.st-footer-heading {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--st-ink);
    letter-spacing: -0.01em;
}

.st-footer-group a {
    display: block;
    padding: 5px 0;
    font-family: var(--st-font-ui);
    font-size: 14px;
    line-height: 1.45;
    color: var(--st-ink-muted);
    transition: color 0.14s;
}

.st-footer-group a:hover {
    color: var(--st-ink);
}

.st-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 24px 32px 36px;
    border-top: none;
    box-sizing: border-box;
    font-family: var(--st-font-ui);
    font-size: 13px;
    color: var(--st-ink-faint);
}

.st-footer-copy {
    color: var(--st-ink-faint);
}

.st-footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.st-footer-legal a,
.st-footer-legal .st-cookie-settings-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-footer-legal a:hover,
.st-footer-legal .st-cookie-settings-btn:hover {
    color: var(--st-ink);
}

/* Legal pages */
.st-legal-shell {
    max-width: 720px;
}

.st-legal-head {
    margin-bottom: 32px;
}

.st-legal-updated {
    margin: 8px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-legal-body {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.st-legal-section-title {
    margin: 0 0 8px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-legal-section p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-legal-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--st-line);
}

.st-legal-nav a {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
}

.st-legal-nav a.is-active,
.st-legal-nav a:hover {
    color: var(--st-accent-deep);
}

@media (max-width: 900px) {
    .st-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-footer-brand-col {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--st-line);
        padding: 32px 0 24px;
    }

    .st-footer-col {
        border-right: none;
        padding: 28px 0;
    }

    .st-footer-col:nth-child(odd) {
        padding-right: 16px;
        border-right: 1px solid var(--st-line);
    }
}

@media (max-width: 600px) {
    .st-footer-grid {
        grid-template-columns: 1fr;
    }

    .st-footer-col,
    .st-footer-col:nth-child(odd) {
        border-right: none;
        padding: 20px 0;
        border-bottom: 1px solid var(--st-line);
    }

    .st-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Grid + lightning corner accents */

.st-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.st-grid-lines {
    position: absolute;
    inset: -1px;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.06) 1px, transparent 1px);
    background-size: var(--st-grid) var(--st-grid);
    mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 15%, transparent 75%);
}

.st-bolt-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    color: rgba(124, 58, 237, 0.5);
}

.st-bolt-corner svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-bolt-corner--ne,
.st-bolt-corner--nw,
.st-bolt-corner--se,
.st-bolt-corner--sw { transform: translate(-50%, -50%); }

/* Hero keeps grid overlay on top of outline frame */

.st-section {
    position: relative;
    padding: 88px 0;
}

.st-section--tight {
    padding: 56px 0;
}

/* Hero */

.st-hero {
    position: relative;
    padding: 56px 0 72px;
    overflow: hidden;
    background: transparent;
}

.st-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* ── Lightning storm intro ─────────────────────────────── */
.st-storm {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Big jagged lightning bolts that "strike" across the hero on load */
.st-bolts {
    position: absolute;
    inset: -40px 0;
    width: 100%;
    height: calc(100% + 80px);
    overflow: visible;
}

.st-strike {
    fill: none;
    stroke: #a855f7;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    opacity: 0;
    filter: drop-shadow(0 0 6px #c084fc) drop-shadow(0 0 16px #7c3aed) drop-shadow(0 0 34px #7c3aed);
    animation: st-strike-draw 4.2s ease-out var(--sd, 0s) forwards;
}

.st-strike--gold {
    stroke: #ffcf33;
    filter: drop-shadow(0 0 6px #ffe234) drop-shadow(0 0 16px #f5a623) drop-shadow(0 0 34px #f5a623);
}

.st-strike--1 { --sd: 0.10s; }
.st-strike--2 { --sd: 0.34s; }
.st-strike--3 { --sd: 0.02s; stroke-width: 9; }
.st-strike--4 { --sd: 0.55s; }
.st-strike--5 { --sd: 0.42s; }

/* Small icon bolts that keep drifting around after the strike */
.st-lb {
    position: absolute;
    width: 130px;
    height: 130px;
    color: var(--st-accent);
    opacity: 0;
    will-change: transform;
    animation: st-float var(--fdur, 13s) ease-in-out var(--fdelay, 0s) infinite;
}

.st-lb svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    opacity: 0;
    filter: drop-shadow(0 0 14px currentColor);
    transform-origin: 50% 50%;
    animation: st-pop 3.4s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
}

.st-lb--gold { color: #f5a623; }

.st-lb--1 { left: 5%;  top: 6%;    width: 170px; height: 170px; --rot: -14deg; --d: 0.7s;  --fdur: 14s; --fdelay: 3.6s; }
.st-lb--2 { right: 6%; top: 10%;   width: 130px; height: 130px; --rot: 12deg;  --d: 0.9s;  --fdur: 11s; --fdelay: 3.9s; }
.st-lb--3 { left: 17%; bottom: 4%; width: 110px; height: 110px; --rot: 7deg;   --d: 1.05s; --fdur: 12.5s; --fdelay: 4.1s; }
.st-lb--4 { right: 20%; bottom: -2%; width: 96px; height: 96px; --rot: -9deg;  --d: 0.8s;  --fdur: 10s; --fdelay: 3.7s; }
.st-lb--5 { left: 45%; top: -8%;   width: 230px; height: 230px; --rot: 5deg;   --d: 1.15s; --fdur: 16s; --fdelay: 4.4s; }
.st-lb--6 { right: 3%; bottom: 24%; width: 122px; height: 122px; --rot: 16deg; --d: 0.95s; --fdur: 12s; --fdelay: 4s; }

/* Full-hero flash that lights the whole top up while lightning strikes */
.st-storm-flash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse 90% 80% at 50% 18%, rgba(168, 85, 247, 0.65), rgba(124, 58, 237, 0.25) 45%, transparent 72%);
    opacity: 0;
    animation: st-flash 4.2s ease-out forwards;
}

/* Draw the bolt fast (strike), flicker bright, then fade out */
@keyframes st-strike-draw {
    0%   { stroke-dashoffset: 1600; opacity: 0; }
    2%   { opacity: 1; }
    6%   { stroke-dashoffset: 0; opacity: 1; }
    8%   { opacity: 0.1; }
    10%  { opacity: 1; }
    13%  { opacity: 0.25; }
    16%  { opacity: 1; }
    22%  { opacity: 0.5; }
    28%  { opacity: 0.9; }
    45%  { opacity: 0.35; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Bright bursts synced to the strikes — tints the white hero purple */
@keyframes st-flash {
    0%, 1% { opacity: 0; }
    4%     { opacity: 0.9; }
    8%     { opacity: 0.1; }
    11%    { opacity: 0.7; }
    15%    { opacity: 0.05; }
    20%    { opacity: 0.6; }
    26%    { opacity: 0; }
    34%    { opacity: 0.3; }
    40%    { opacity: 0; }
    100%   { opacity: 0; }
}

/* Icon bolts pop in after the strike, then settle into an ambient float */
@keyframes st-pop {
    0%   { opacity: 0; transform: scale(0.4); }
    30%  { opacity: 1; transform: scale(1.12); }
    45%  { opacity: 0.85; transform: scale(1); }
    100% { opacity: var(--amb, 0.2); transform: scale(1); }
}

.st-lb--gold svg { --amb: 0.32; }

@keyframes st-float {
    0%, 100% { transform: rotate(var(--rot, 0deg)) translate(0, 0); }
    50%      { transform: rotate(calc(var(--rot, 0deg) + 4deg)) translate(14px, -18px); }
}

@media (prefers-reduced-motion: reduce) {
    .st-storm { display: none; }
}

/* ── Hero text entrance ─────────────────────────────────── */
.st-rise {
    opacity: 0;
    animation: st-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0s) both;
}

@keyframes st-rise {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Pixel-glitch headline (canvas rendered) */
.st-glitch-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.st-glitch-line {
    display: block;
    line-height: 1.02;
    min-height: 1.02em;
}

.st-glitch-canvas {
    display: block;
    max-width: 100%;
}

.st-glitch-line.is-fallback {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

@media (prefers-reduced-motion: reduce) {
    .st-rise {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.st-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 6px;
    background: var(--st-yellow);
    border: 1px solid rgba(26, 22, 0, 0.14);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--st-yellow-ink);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.st-banner:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 226, 52, 0.4);
}

.st-banner-bolt {
    color: var(--st-accent-deep);
}

.st-banner-here {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--st-accent);
    color: #fff;
    font-weight: 700;
    transition: transform 0.15s, background 0.15s;
}

.st-banner:hover .st-banner-here {
    transform: translateX(3px);
    background: var(--st-accent-deep);
}

.st-hero-title {
    margin: 26px 0 0;
    font-family: var(--st-font-display);
    font-size: clamp(2.6rem, 6.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--st-ink);
}

.st-hero-sub {
    margin: 20px auto 0;
    max-width: 580px;
    font-family: var(--st-font-ui);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, transform 0.18s, box-shadow 0.18s;
    border: 1px solid transparent;
    text-decoration: none;
}

.st-btn:hover {
    transform: translateY(-1px);
}

.st-btn--primary {
    background: var(--st-accent);
    color: #fff;
    border: 1px solid var(--st-accent);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.st-btn--primary:hover {
    background: var(--st-accent-deep);
    border-color: var(--st-accent-deep);
}

.st-btn--ghost {
    background: var(--st-bg-elevated);
    border-color: var(--st-line-strong);
    color: var(--st-ink);
}

.st-btn--ghost:hover {
    border-color: rgba(18, 18, 18, 0.22);
}

.st-btn--accent {
    background: var(--st-accent);
    color: #fff;
}

.st-hero-launch-line {
    margin: 22px 0 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink-faint);
}

.st-launch-btn {
    display: inline;
    padding: 0 2px;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 600;
    color: var(--st-accent-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.st-launch-btn:hover {
    color: var(--st-accent);
}

.st-launch-btn.is-loading {
    opacity: 0.6;
    cursor: wait;
}

/* Frame dividers with lightning-bolt intersections */

.st-divider {
    position: relative;
    height: 1px;
    width: 100%;
    background: rgba(18, 18, 18, 0.12);
}

.st-divider-bolt {
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    color: rgba(124, 58, 237, 0.6);
}

.st-divider-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-divider-bolt--l {
    left: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(-50%, -50%);
}

.st-divider-bolt--r {
    right: max(20px, calc(50% - var(--st-outline-w) / 2));
    transform: translate(50%, -50%);
}

/* Stack / logo strip */

.st-logos {
    padding: 34px 0;
    background: transparent;
}

.st-logos-label {
    margin: 0 0 20px;
    text-align: center;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--st-ink-faint);
}

.st-logos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 40px;
}

.st-logo-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--st-font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--st-ink-muted);
    opacity: 0.75;
    transition: opacity 0.15s, color 0.15s;
}

.st-logo-item svg {
    color: var(--st-accent);
}

.st-logo-item:hover {
    opacity: 1;
    color: var(--st-ink);
}

/* Launch chips (stack strip buttons) */

.st-launch-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-family: var(--st-font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--st-ink);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.st-launch-chip svg {
    color: var(--st-accent);
    transition: color 0.15s;
}

.st-launch-chip:hover {
    border-color: var(--st-accent);
    background: var(--st-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
}

.st-launch-chip:hover svg {
    color: #fff;
}

.st-launch-chip:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.st-launch-chip.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

/* Framed preview */

.st-preview-wrap {
    position: relative;
    margin-top: 0;
}

.st-preview-frame {
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(18, 18, 18, 0.08);
}

.st-preview-frame .st-bolt-corner {
    width: 26px;
    height: 26px;
    color: rgba(124, 58, 237, 0.6);
    z-index: 2;
}

.st-preview-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--st-line);
    background: #fafafa;
}

.st-preview-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    background: #ddd;
}

.st-preview-dots span:nth-child(1) { background: #ff6b6b; }
.st-preview-dots span:nth-child(2) { background: #ffd93d; }
.st-preview-dots span:nth-child(3) { background: #6bcb77; }

.st-preview-tabs {
    display: flex;
    gap: 16px;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-faint);
}

.st-preview-tabs .is-active {
    color: var(--st-ink);
}

.st-preview-body {
    display: grid;
    grid-template-columns: 140px 1fr 1fr;
    min-height: 280px;
}

.st-preview-sidebar {
    padding: 16px 12px;
    border-right: 1px solid var(--st-line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-preview-sidebar span {
    height: 8px;
    border-radius: 4px;
    background: #ececec;
}

.st-preview-sidebar span.is-active {
    width: 70%;
    background: rgba(124, 58, 237, 0.25);
}

.st-preview-editor,
.st-preview-live {
    padding: 20px;
}

.st-preview-editor {
    border-right: 1px solid var(--st-line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-preview-line {
    height: 8px;
    border-radius: 4px;
    background: #ececec;
}

.st-preview-line--a { width: 82%; }
.st-preview-line--b { width: 58%; }
.st-preview-line--c { width: 74%; }

.st-preview-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
}

.st-preview-live-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.st-preview-card {
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.06));
    border: 1px solid var(--st-line);
}

.st-preview-card--sm {
    height: 48px;
    margin-top: 10px;
    width: 65%;
}

/* Section typography */

.st-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-family: var(--st-font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-h2 {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.st-lead {
    margin: 14px 0 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

.st-section-head {
    margin-bottom: 40px;
}

.st-section-head--center {
    text-align: center;
}

.st-section-head--center .st-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Feature grid */

.st-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--st-line);
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    overflow: hidden;
}

.st-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--st-bg-elevated);
    min-height: 260px;
}

.st-feature-card[id] {
    scroll-margin-top: calc(var(--st-nav-h) + 24px);
}

.st-feature-card .st-bolt-corner {
    width: 22px;
    height: 22px;
}

.st-feature-card h3 {
    margin: 0 0 8px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 700;
}

.st-feature-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--st-ink-muted);
}

/* ── Schematic feature illustrations (Stytch-style) ── */

.st-fx {
    position: relative;
    height: 150px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--st-line-strong);
    background:
        radial-gradient(circle at 1px 1px, rgba(18, 18, 18, 0.05) 1px, transparent 0) 0 0 / 14px 14px,
        #f2f2f4;
    overflow: hidden;
    font-family: var(--st-font-mono);
}

.st-fx .c-kw { color: #7c3aed; font-style: normal; }
.st-fx .c-fn { color: #2563eb; font-style: normal; }
.st-fx .c-str { color: #059669; font-style: normal; }
.st-fx .c-num { color: #d97706; font-style: normal; }

/* Windowed mockups (editor + preview) */

.st-fx-win {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(18, 18, 18, 0.06);
}

.st-fx-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--st-line);
    background: #fafafa;
}

.st-fx-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #dcdce3;
}

.st-fx-bar span:nth-child(1) { background: #ff6b6b; }
.st-fx-bar span:nth-child(2) { background: #ffd93d; }
.st-fx-bar span:nth-child(3) { background: #6bcb77; }

.st-fx-bar em {
    margin-left: auto;
    font-size: 10px;
    font-style: normal;
    color: var(--st-ink-faint);
}

.st-fx-code {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    font-size: 11px;
    line-height: 1.3;
    color: #6b7280;
}

.st-fx-urlbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--st-line);
    background: #fafafa;
    font-size: 10px;
    color: var(--st-ink-faint);
}

.st-fx-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-fx-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}

.st-fx-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}

.st-fx-block {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.16), rgba(236, 72, 153, 0.12));
}

.st-fx-block--lg { width: 85%; height: 20px; }
.st-fx-block--md { width: 65%; }
.st-fx-block--sm { width: 45%; }

/* Inspector / visual mode */

.st-fx-inspect {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.st-fx-tag {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--st-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}

.st-fx-selected {
    position: relative;
    height: 46px;
    border: 1.5px dashed var(--st-accent);
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.06);
}

.st-fx-handle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border: 1.5px solid var(--st-accent);
    border-radius: 2px;
}

.st-fx-handle--tl { top: -4px; left: -4px; }
.st-fx-handle--tr { top: -4px; right: -4px; }
.st-fx-handle--bl { bottom: -4px; left: -4px; }
.st-fx-handle--br { bottom: -4px; right: -4px; }

.st-fx-prop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--st-line);
    background: #fff;
    font-size: 10px;
    color: var(--st-ink-muted);
}

.st-fx-swatch {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--st-accent);
    border: 1px solid rgba(18, 18, 18, 0.1);
}

/* AI chat */

.st-fx-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: center;
}

.st-fx-bubble {
    max-width: 82%;
    padding: 7px 11px;
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.35;
}

.st-fx-bubble--user {
    align-self: flex-end;
    background: var(--st-accent);
    color: #fff;
    border-bottom-right-radius: 3px;
}

.st-fx-bubble--ai {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    color: var(--st-ink);
    border-bottom-left-radius: 3px;
}

.st-fx-model {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-size: 10px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

/* Team invites */

.st-fx-team {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    justify-content: center;
}

.st-fx-member {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid var(--st-line);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink);
}

.st-fx-member em {
    margin-left: auto;
    font-style: normal;
    font-size: 9px;
    font-weight: 600;
    color: var(--st-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.st-fx-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--a, var(--st-accent));
    color: #fff;
    font-size: 9px;
    font-weight: 700;
}

.st-fx-member--add {
    border-style: dashed;
    color: var(--st-ink-faint);
}

.st-fx-avatar--add {
    background: transparent;
    border: 1px dashed var(--st-line-strong);
    color: var(--st-ink-faint);
    font-size: 13px;
}

/* Always-on hosting */

.st-fx-host {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
}

.st-fx-domain {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink);
}

.st-fx-toggle {
    position: relative;
    margin-left: auto;
    width: 30px;
    height: 17px;
    border-radius: 999px;
    background: var(--st-accent);
}

.st-fx-toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
}

.st-fx-uptime {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #059669;
}

.st-fx-uptime span {
    width: 8px;
    height: 20px;
    border-radius: 2px;
    background: rgba(16, 185, 129, 0.55);
}

/* Diff columns */

.st-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.st-diff-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
}

.st-diff-card h3 {
    margin: 0 0 12px;
    font-family: var(--st-font-ui);
    font-size: 18px;
    font-weight: 700;
}

.st-diff-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

/* Stack cards */

.st-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.st-stack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.st-stack-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 16px 40px rgba(18, 18, 18, 0.08);
    transform: translateY(-2px);
}

.st-stack-card.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.st-stack-card:focus-visible {
    outline: 2px solid var(--st-accent);
    outline-offset: 2px;
}

.st-stack-card-top {
    padding: 22px 22px 16px;
    border-bottom: 1px solid var(--st-line);
    background: linear-gradient(180deg, #fafafa, var(--st-bg-elevated));
}

.st-stack-card-top h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
}

.st-stack-card-top p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px 22px;
}

.st-stack-tag {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--st-line);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-stack-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 14px 22px;
    border-top: 1px solid var(--st-line);
    font-size: 13px;
    font-weight: 700;
    color: var(--st-accent-deep);
}

.st-stack-signup {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

/* FAQ */

.st-faq {
    max-width: 720px;
    margin: 0 auto;
}

.st-faq-item {
    border-bottom: 1px solid var(--st-line-strong);
}

.st-faq-item summary {
    padding: 18px 0;
    font-family: var(--st-font-ui);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

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

.st-faq-item p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--st-ink-muted);
}

/* Final CTA */

.st-final-cta {
    position: relative;
    padding: 56px 32px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    text-align: center;
    overflow: hidden;
}

.st-final-cta .st-h2 {
    margin-top: 8px;
}

.st-final-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.st-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--st-line);
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    overflow: hidden;
}

.st-stat {
    padding: 24px 16px;
    text-align: center;
    background: var(--st-bg-elevated);
}

.st-stat-num {
    display: block;
    font-family: var(--st-font-display);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.st-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

/* ══ Dark full-bleed sections (Stytch-style) ══ */

.st-dark {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 96px 0;
    background: #0d0d10;
    color: #f4f4f6;
    overflow: hidden;
}

.st-dark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -10%;
    width: 620px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.32), transparent 62%);
    pointer-events: none;
}

.st-dark-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.st-dark-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #fff;
}

.st-dark-sub {
    margin: 16px auto 0;
    max-width: 560px;
    font-family: var(--st-font-ui);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(244, 244, 246, 0.66);
}

.st-eyebrow--light {
    color: #c4b5fd;
}

.st-dark-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 44px auto 0;
    max-width: 760px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.st-dark-stat {
    padding: 24px 12px;
    background: rgba(255, 255, 255, 0.02);
}

.st-dark-num {
    display: block;
    font-family: var(--st-font-display);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

.st-dark-slabel {
    display: block;
    margin-top: 7px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: rgba(244, 244, 246, 0.55);
}

.st-dark-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 36px;
    margin-top: 40px;
}

.st-dark-logos .st-logo-item {
    color: rgba(244, 244, 246, 0.7);
}

.st-dark-logos .st-logo-item svg {
    color: #c4b5fd;
}

.st-dark-logos .st-logo-item:hover {
    color: #fff;
}

/* Dark code CTA */

.st-codecta-title {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 640px;
}

.st-codecta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: center;
    margin-top: 44px;
}

.st-acc {
    display: flex;
    flex-direction: column;
}

.st-acc-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.st-acc-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.st-acc-item summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 2px;
    font-family: var(--st-font-mono);
    font-size: 14px;
    font-weight: 500;
    color: rgba(244, 244, 246, 0.82);
    cursor: pointer;
    list-style: none;
    transition: color 0.15s;
}

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

.st-acc-item summary:hover {
    color: #fff;
}

.st-acc-dot {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.15s;
}

.st-acc-item[open] > summary {
    color: #fff;
    font-weight: 600;
}

.st-acc-item[open] .st-acc-dot {
    background: #c4b5fd;
}

.st-acc-chev {
    margin-left: auto;
    opacity: 0.6;
    transition: transform 0.2s;
}

.st-acc-item[open] .st-acc-chev {
    transform: rotate(180deg);
}

.st-acc-body {
    padding: 0 2px 20px 17px;
}

.st-acc-body p {
    margin: 0 0 12px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(244, 244, 246, 0.6);
}

.st-acc-link {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #c4b5fd;
    text-decoration: none;
}

.st-acc-link:hover {
    color: #fff;
}

.st-codecta-term {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #17171c;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    font-family: var(--st-font-mono);
}

.st-term-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #202027;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-term-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4b4b55;
}

.st-term-bar span:nth-child(1) { background: #ff6b6b; }
.st-term-bar span:nth-child(2) { background: #ffd93d; }
.st-term-bar span:nth-child(3) { background: #6bcb77; }

.st-term-bar em {
    margin-left: auto;
    font-size: 11px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.4);
}

.st-term-body {
    padding: 18px 18px 22px;
    font-size: 12.5px;
    line-height: 1.85;
}

.st-term-body p {
    margin: 0;
    color: #d7d7de;
    white-space: nowrap;
}

.st-term-body .t-dim { color: #6b7280; font-style: normal; }
.st-term-body .t-fn { color: #a78bfa; font-style: normal; }
.st-term-body .t-flag { color: #fbbf24; font-style: normal; }
.st-term-body .t-link { color: #7dd3fc; font-style: normal; text-decoration: underline; }
.st-term-body .t-out { color: #9ca3af; }
.st-term-body .t-ok { color: #34d399; }

.st-term-caret {
    display: inline-block;
    width: 7px;
    height: 14px;
    margin-left: 2px;
    background: #34d399;
    vertical-align: middle;
    animation: st-blink 1s steps(2, start) infinite;
}

@keyframes st-blink {
    to { visibility: hidden; }
}

/* Testimonials */

.st-quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.st-quote {
    position: relative;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: var(--st-bg-elevated);
    box-shadow: 0 10px 30px rgba(18, 18, 18, 0.04);
}

.st-quote blockquote {
    margin: 0;
    font-family: var(--st-font-ui);
    font-size: 15px;
    line-height: 1.6;
    color: var(--st-ink);
}

.st-quote figcaption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--st-line);
}

.st-quote-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--a, var(--st-accent));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.st-quote-who {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-quote-who b {
    font-size: 14px;
    color: var(--st-ink);
}

/* Big finale */

.st-finale {
    position: relative;
    padding: 120px 0 130px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 50% 120%, rgba(124, 58, 237, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% -10%, rgba(255, 226, 52, 0.14), transparent 60%);
}

.st-finale-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(18, 18, 18, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(18, 18, 18, 0.05) 1px, transparent 1px);
    background-size: var(--st-grid) var(--st-grid);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
    pointer-events: none;
}

.st-finale-inner {
    position: relative;
    z-index: 1;
}

.st-finale-title {
    margin: 14px 0 0;
    font-family: var(--st-font-display);
    font-size: clamp(3rem, 9vw, 6rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--st-ink);
}

.st-finale .st-lead {
    margin: 22px auto 0;
}

@media (max-width: 900px) {
    .st-nav-bar {
        grid-template-columns: 1fr auto auto;
        grid-template-rows: auto auto;
        gap: 10px 12px;
    }

    .st-nav-brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .st-nav-menu-btn {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
    }

    .st-nav-actions {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
        padding-bottom: 0;
        min-width: 0;
    }

    .st-nav-links {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(18, 18, 18, 0.08);
    }

    .marketing-site .st-nav.topnav.is-nav-open .st-nav-links {
        display: flex;
    }

    .st-nav-link {
        justify-content: space-between;
        padding: 10px 4px;
    }

    .st-nav-item {
        width: 100%;
    }

    .st-nav-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .st-nav-panel {
        position: static;
        transform: none;
        width: 100%;
        margin: 4px 0 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        box-shadow: none;
        border-radius: 12px;
    }

    .st-nav-item.is-open .st-nav-panel {
        display: block;
    }

    .st-nav-panel-body {
        grid-template-columns: 1fr;
    }

    .st-nav-item:hover .st-nav-chevron {
        transform: none;
    }

    .st-nav-item.is-open .st-nav-chevron {
        transform: rotate(180deg);
    }

    .st-outline-v,
    .st-frame-bolt {
        display: none;
    }

    .st-hero {
        padding: 36px 0 52px;
    }

    .st-strike {
        stroke-width: 5;
    }

    .st-strike--3 {
        stroke-width: 6;
    }

    .st-lb--1 { width: 110px; height: 110px; }
    .st-lb--2 { width: 84px; height: 84px; }
    .st-lb--3 { width: 72px; height: 72px; }
    .st-lb--4 { width: 64px; height: 64px; }
    .st-lb--5 { width: 140px; height: 140px; }
    .st-lb--6 { width: 78px; height: 78px; }

    .st-feature-grid,
    .st-diff-grid {
        grid-template-columns: 1fr;
    }

    .st-preview-body {
        grid-template-columns: 1fr;
    }

    .st-preview-sidebar {
        display: none;
    }

    .st-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-codecta-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .st-dark-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-quote-grid {
        grid-template-columns: 1fr;
    }

    .st-pr-grid {
        grid-template-columns: 1fr;
    }

    .st-auth-two {
        grid-template-columns: 1fr;
    }

    .st-le-panel {
        display: none;
    }
}

@media (max-width: 640px) {
    .st-shell,
    .st-nav-bar {
        max-width: calc(100% - 24px);
    }

    .st-nav-logo {
        font-size: 1.2rem;
    }

    .st-nav-bolt {
        width: 20px;
        height: 20px;
    }

    .st-nav-btn {
        min-height: 36px;
        padding: 0 12px;
        font-size: 11px;
    }

    .st-nav-btn--outline {
        display: none;
    }

    .st-nav-settings {
        width: 36px;
        height: 36px;
    }

    .st-stack-grid {
        grid-template-columns: 1fr;
    }

    .st-section {
        padding: 64px 0;
    }

    .st-hero {
        padding: 28px 0 44px;
    }

    .st-banner {
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
        max-width: 100%;
        text-align: center;
        line-height: 1.35;
    }

    .st-hero-title {
        font-size: clamp(1.85rem, 8.5vw, 2.5rem);
        margin-top: 18px;
    }

    .st-hero-sub {
        margin-top: 14px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .st-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 24px;
    }

    .st-hero-actions .st-btn {
        width: 100%;
    }

    .st-hero-launch-line {
        font-size: 13px;
        line-height: 1.5;
        padding: 0 4px;
    }

    .st-glitch-line {
        width: 100%;
        overflow: hidden;
    }

    .st-glitch-canvas {
        margin: 0 auto;
    }

    .st-logos {
        padding: 24px 0;
    }

    .st-logos-row {
        gap: 10px 12px;
    }

    .st-launch-chip {
        font-size: 11px;
        padding: 7px 12px;
    }

    .st-stats,
    .st-dark-stats {
        grid-template-columns: 1fr;
    }

    .st-finale-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .st-final-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .st-final-actions .st-btn {
        width: 100%;
    }
}

/* ══ Pricing page ══ */

.st-pr-hero {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.st-pr-banner {
    cursor: default;
}

.st-pr-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: start;
}

.st-pr-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    box-shadow: 0 12px 40px rgba(18, 18, 18, 0.05);
}

.st-pr-tier {
    position: relative;
}

.st-pr-tier-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.st-pr-tier-name {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.st-pr-price {
    margin: 6px 0 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-pr-price span {
    font-family: var(--st-font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--st-ink);
    letter-spacing: -0.03em;
}

.st-pr-price--rate span {
    font-size: 20px;
}

.st-pr-price--rate {
    font-size: 15px;
    color: var(--st-accent-deep);
    font-weight: 600;
}

.st-pr-art {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--st-line);
    background: #f5f2ff;
    color: var(--st-accent);
    flex-shrink: 0;
}

.st-pr-art--double {
    width: auto;
    padding: 0 10px;
}

.st-pr-features {
    list-style: none;
    margin: 20px 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.st-pr-features li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--st-ink-muted);
}

.st-pr-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.st-pr-btn {
    width: 100%;
}

.st-pr-tier-divider {
    height: 1px;
    margin: 26px 0;
    background: var(--st-line);
}

.st-pr-tier--featured {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    background: linear-gradient(180deg, #faf8ff, #fff);
}

.st-pr-badge {
    position: absolute;
    top: -10px;
    right: 18px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--st-accent);
    color: #fff;
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.st-pr-card--credits {
    background: linear-gradient(180deg, #fffdf5, var(--st-bg-elevated));
}

.st-pr-card--credits .st-pr-art {
    background: #fff8e0;
    color: #d97706;
}

.st-pr-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.st-pr-preset {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 8px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.st-pr-preset:hover {
    transform: translateY(-1px);
    border-color: rgba(124, 58, 237, 0.4);
}

.st-pr-preset.is-active {
    border-color: var(--st-accent);
    background: #f5f2ff;
    box-shadow: 0 0 0 1px var(--st-accent) inset;
}

.st-pr-preset-amt {
    font-family: var(--st-font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--st-ink);
}

.st-pr-preset-cr {
    font-family: var(--st-font-mono);
    font-size: 10px;
    color: var(--st-ink-faint);
}

.st-pr-custom-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-pr-custom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.st-pr-custom-wrap {
    position: relative;
    flex: 1;
}

.st-pr-custom-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--st-font-mono);
    color: var(--st-ink-faint);
}

.st-pr-custom-input {
    width: 100%;
    padding: 12px 14px 12px 28px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 15px;
    color: var(--st-ink);
}

.st-pr-custom-input:focus {
    outline: none;
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.st-pr-custom-preview {
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-accent-deep);
    white-space: nowrap;
}

@media (max-width: 900px) {
    .st-pr-grid {
        grid-template-columns: 1fr;
    }
}

/* ══ Auth pages (login / signup) ══ */

.st-auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.st-auth-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.st-auth-bg .st-grid-lines {
    inset: -1px;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 5%, transparent 70%);
    mask-image: radial-gradient(ellipse 80% 80% at 50% 45%, #000 5%, transparent 70%);
}

.st-auth-back {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 3;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.st-auth-back:hover {
    background: rgba(18, 18, 18, 0.04);
    color: var(--st-ink);
}

.st-auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.st-auth-card {
    position: relative;
    padding: 40px 36px;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    background: var(--st-bg-elevated);
    box-shadow: 0 30px 70px rgba(18, 18, 18, 0.1);
}

.st-auth-card .st-bolt-corner {
    color: rgba(124, 58, 237, 0.4);
    width: 22px;
    height: 22px;
}

.st-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--st-font-display);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
    text-decoration: none;
}

.st-auth-brand svg {
    color: var(--st-accent);
}

.st-auth-title {
    margin: 22px 0 0;
    font-family: var(--st-font-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--st-ink);
}

.st-auth-sub {
    margin: 8px 0 24px;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--st-ink);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
}

.st-auth-google svg {
    width: 18px;
    height: 18px;
}

.st-auth-google:hover {
    border-color: rgba(18, 18, 18, 0.28);
    background: #fafafa;
}

.st-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--st-ink-faint);
    font-family: var(--st-font-mono);
    font-size: 12px;
}

.st-auth-divider::before,
.st-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--st-line-strong);
}

.st-auth-field {
    margin-bottom: 16px;
}

.st-auth-field label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
}

.st-auth-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    background: #fff;
    font-family: var(--st-font-ui);
    font-size: 15px;
    color: var(--st-ink);
}

.st-auth-field input::placeholder {
    color: var(--st-ink-faint);
}

.st-auth-field input:focus {
    outline: none;
    border-color: var(--st-accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.st-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-auth-row label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.st-auth-row a {
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-auth-row a:hover {
    text-decoration: underline;
}

.st-auth-submit {
    width: 100%;
}

.st-auth-fineprint {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-ink-faint);
}

.st-auth-fineprint a,
.st-auth-foot a {
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-auth-fineprint a:hover,
.st-auth-foot a:hover {
    text-decoration: underline;
}

.st-auth-foot {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-switch {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--st-line-strong);
    text-align: center;
}

.st-auth-switch-label {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--st-ink-muted);
}

.st-auth-switch-btn {
    width: 100%;
    min-height: 48px;
    font-size: 13px;
    font-weight: 600;
}

/* Two-column auth (login with editor preview) */

.st-auth-two {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 520px);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1040px;
}

.st-auth-two .st-auth-shell {
    max-width: none;
}

.st-le-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.st-le-editor {
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #17171c;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(18, 18, 18, 0.18);
}

.st-le-editor .st-bolt-corner {
    color: rgba(196, 181, 253, 0.7);
    width: 20px;
    height: 20px;
    z-index: 3;
}

.st-le-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #202027;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-le-dots {
    display: inline-flex;
    gap: 5px;
}

.st-le-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4b4b55;
}

.st-le-dots i:nth-child(1) { background: #ff6b6b; }
.st-le-dots i:nth-child(2) { background: #ffd93d; }
.st-le-dots i:nth-child(3) { background: #6bcb77; }

.st-le-bar em {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

.st-le-body {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 300px;
}

.st-le-tree {
    padding: 12px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    background: #1b1b21;
    font-family: var(--st-font-mono);
    font-size: 11.5px;
}

.st-le-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 6px;
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.16);
    font-weight: 600;
}

.st-le-file {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.55);
    animation: st-drop 0.32s var(--ease-out, ease) both;
}

.st-le-file svg {
    opacity: 0.7;
}

.st-le-file.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

@keyframes st-drop {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.st-le-code {
    padding: 16px 16px 18px;
    background: #17171c;
    font-family: var(--st-font-mono);
    font-size: 12px;
    line-height: 1.7;
    overflow: hidden;
}

.st-le-line {
    display: flex;
    gap: 12px;
    white-space: pre;
    animation: st-fadein 0.3s ease both;
}

.st-le-num {
    width: 16px;
    text-align: right;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.st-le-txt {
    color: #d7d7de;
}

.st-le-code .c-kw { color: #c084fc; }
.st-le-code .c-fn { color: #7dd3fc; }
.st-le-code .c-str { color: #86efac; }
.st-le-code .c-cm { color: #6b7280; }
.st-le-code .c-key { color: #fbbf24; }
.st-le-code .c-tag { color: #f472b6; }
.st-le-code .c-op { color: #d7d7de; }
.st-le-code .c-df { color: #fca5a5; }

@keyframes st-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

.st-le-caption {
    margin: 0;
    text-align: center;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

@media (max-width: 940px) {
    .st-auth-two {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .st-le-panel {
        display: none;
    }
}

/* ─────────────────────────────────────────────
   Dashboard nav — settings + black account pill
   ───────────────────────────────────────────── */

.st-nav-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s, transform 0.15s;
}

.st-nav-settings:hover {
    color: var(--st-ink);
    border-color: rgba(18, 18, 18, 0.28);
    transform: translateY(-1px);
}

.st-nav-settings svg {
    transition: transform 0.5s ease;
}

.st-nav-settings:hover svg {
    transform: rotate(60deg);
}

.st-nav-account {
    position: relative;
}

.st-nav-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: color 0.15s;
}

.st-nav-account-btn:hover {
    color: var(--st-ink);
}

.st-nav-account-btn .account-name {
    font-family: var(--st-font-ui);
    font-weight: 600;
    font-size: 14px;
    color: inherit;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-nav-account-btn .account-chevron {
    color: currentColor;
    opacity: 0.7;
    transition: transform 0.2s;
}

.st-nav-account.open .account-chevron {
    transform: rotate(180deg);
}

/* Marketing account dropdown */
.st-nav-account .account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 226px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(18, 18, 18, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
    z-index: 300;
}

.st-nav-account.open .account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.st-nav-account .dropdown-head {
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--st-line);
    margin-bottom: 6px;
}

.st-nav-account .dh-name {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--st-ink);
}

.st-nav-account .dh-mail {
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
    margin-top: 2px;
}

.st-nav-account .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--st-ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.13s;
}

.st-nav-account .dropdown-item:hover {
    background: rgba(18, 18, 18, 0.05);
}

.st-nav-account .dropdown-item.is-danger {
    color: #dc2626;
}

.st-nav-account .dropdown-item.is-danger:hover {
    background: rgba(220, 38, 38, 0.08);
}

.st-nav-account .dropdown-divider {
    height: 1px;
    margin: 6px 4px;
    background: var(--st-line);
}

@media (max-width: 720px) {
    .st-nav-account-btn {
        padding: 0 4px;
    }
}

/* ─────────────────────────────────────────────
   Dashboard content (marketing theme)
   ───────────────────────────────────────────── */

.st-dash-hero {
    position: relative;
    padding: 52px 0 48px;
    overflow: hidden;
}

.st-dash-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.st-dash-hero-inner .st-hero-sub {
    margin-left: auto;
    margin-right: auto;
}

.st-dash-hero-inner .st-hero-actions {
    justify-content: center;
}

.st-dash-title {
    margin: 12px 0 0;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    line-height: 1.05;
}

.st-dash-hero-inner .st-hero-sub {
    font-size: 1rem;
}

.st-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
    margin: 44px 0 0;
}

.st-dash-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    text-align: left;
}

.st-dash-stat-num {
    font-family: var(--st-font-display);
    font-weight: 900;
    font-size: 30px;
    line-height: 1;
    color: var(--st-ink);
}

.st-dash-stat-unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink-faint);
    margin-left: 2px;
}

.st-dash-stat-label {
    font-family: var(--st-font-mono);
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--st-ink-muted);
}

/* Create-project cards */
.st-dash-create {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.st-dash-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
    font-family: inherit;
}

.st-dash-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--cc-accent, var(--st-accent));
    opacity: 0;
    transition: opacity 0.16s;
}

.st-dash-card:not(.is-soon):hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 18px 44px rgba(18, 18, 18, 0.1);
}

.st-dash-card:not(.is-soon):hover::before {
    opacity: 1;
}

.st-dash-card.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.st-dash-card.is-soon {
    cursor: not-allowed;
}

.st-dash-card-top {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding: 24px 24px 20px;
}

.st-dash-card-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--cc-tint, #f4f4f6);
    font-size: 25px;
    box-shadow: inset 0 0 0 1px var(--cc-ring, transparent);
    transition: transform 0.16s;
}

.st-dash-card:not(.is-soon):hover .st-dash-card-ico {
    transform: scale(1.06) rotate(-3deg);
}

.st-dash-card-title {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--st-ink);
}

.st-dash-card-desc {
    font-family: var(--st-font-ui);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-dash-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    border-top: 1px solid var(--st-line);
    background: #fcfcfd;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

.st-dash-card-arrow {
    font-size: 15px;
    transition: transform 0.16s;
}

.st-dash-card:not(.is-soon):hover .st-dash-card-arrow {
    transform: translateX(4px);
}

.st-dash-card.is-soon .st-dash-card-top {
    opacity: 0.72;
}

.st-dash-card.is-soon .st-dash-card-foot {
    color: var(--st-ink-faint);
}

.st-dash-soon {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: #eeeef0;
    color: var(--st-ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 10px;
}

/* per-stack icon tints */
.st-dash-card--node { --cc-accent: #10b981; --cc-tint: rgba(16, 185, 129, 0.12); --cc-ring: rgba(16, 185, 129, 0.22); }
.st-dash-card--flask { --cc-accent: #6366f1; --cc-tint: rgba(99, 102, 241, 0.12); --cc-ring: rgba(99, 102, 241, 0.22); }
.st-dash-card--static { --cc-accent: #ec4899; --cc-tint: rgba(236, 72, 153, 0.12); --cc-ring: rgba(236, 72, 153, 0.22); }
.st-dash-card--import { --cc-accent: #64748b; --cc-tint: rgba(100, 116, 139, 0.12); --cc-ring: rgba(100, 116, 139, 0.2); }

/* Search toolbar */
.st-dash-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin: 0 0 22px;
}

.st-dash-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 380px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    color: var(--st-ink-faint);
    box-shadow: 0 2px 6px rgba(18, 18, 18, 0.04);
    transition: border-color 0.16s, box-shadow 0.16s;
}

.st-dash-search:hover {
    border-color: rgba(18, 18, 18, 0.22);
}

.st-dash-search:focus-within {
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.st-dash-search-ico {
    flex-shrink: 0;
    transition: color 0.16s;
}

.st-dash-search:focus-within .st-dash-search-ico {
    color: var(--st-accent);
}

.st-dash-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
}

.st-dash-search input::placeholder {
    color: var(--st-ink-faint);
}

.st-dash-search-kbd {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--st-line-strong);
    background: #f7f7f9;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-faint);
    transition: opacity 0.16s;
}

.st-dash-search:focus-within .st-dash-search-kbd {
    opacity: 0;
}

.st-dash-count {
    flex-shrink: 0;
    font-family: var(--st-font-mono);
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-dash-count b {
    color: var(--st-ink);
    font-weight: 700;
}

/* Project list */
.st-dash-projects {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-proj {
    --pc-accent: var(--st-accent);
    --pc-tint: #f4f4f6;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}

.st-proj::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--pc-accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.16s;
}

.st-proj:hover {
    transform: translateY(-2px);
    border-color: var(--st-line-strong);
    box-shadow: 0 14px 32px rgba(18, 18, 18, 0.1);
}

.st-proj:hover::before {
    transform: scaleY(1);
}

.st-proj--node { --pc-accent: #10b981; --pc-tint: rgba(16, 185, 129, 0.12); }
.st-proj--flask { --pc-accent: #6366f1; --pc-tint: rgba(99, 102, 241, 0.12); }
.st-proj--static { --pc-accent: #ec4899; --pc-tint: rgba(236, 72, 153, 0.12); }

.st-proj-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--pc-tint, #f4f4f6);
    box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.04);
    font-size: 21px;
    flex-shrink: 0;
    transition: transform 0.16s;
}

.st-proj:hover .st-proj-ico {
    transform: scale(1.05) rotate(-3deg);
}

.st-proj-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--pc-accent);
    vertical-align: middle;
}

.st-proj-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.st-proj-name {
    font-family: var(--st-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--st-ink);
}

.st-proj-meta {
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    color: var(--st-ink-faint);
}

.st-proj-badge {
    padding: 5px 11px;
    border-radius: 999px;
    background: #f0f0f2;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-proj-badge.is-boosted {
    background: rgba(255, 226, 52, 0.35);
    color: var(--st-yellow-ink);
}

.st-proj-open {
    color: var(--st-ink-faint);
    font-size: 18px;
    transition: transform 0.14s, color 0.14s;
}

.st-proj:hover .st-proj-open {
    color: var(--st-accent);
    transform: translateX(3px);
}

.st-dash-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--st-ink-muted);
    font-family: var(--st-font-ui);
}

.st-dash-empty-ico {
    font-size: 28px;
    margin-bottom: 8px;
}

/* ─────────────────────────────────────────────
   Dashboard redesign — stats / dark picker /
   GitHub import / project list boost buttons
   ───────────────────────────────────────────── */

.st-dash-stats--three {
    grid-template-columns: repeat(3, 1fr);
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
}

.st-dash-stats--three .st-dash-stat {
    text-align: center;
    align-items: center;
}

.st-dash-buy-link-wrap {
    margin: 22px 0 0;
    text-align: center;
}

.st-dash-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid var(--st-accent);
    background: var(--st-accent);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.28);
    color: #fff;
    text-decoration: none;
    font-family: var(--st-font-ui);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.st-dash-buy-btn:hover {
    transform: translateY(-2px);
    background: var(--st-accent-deep);
    border-color: var(--st-accent-deep);
    box-shadow: 0 14px 34px rgba(91, 33, 182, 0.32);
    color: #fff;
}

.st-dash-buy-btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    line-height: 1;
}

.st-dash-buy-btn-text {
    line-height: 1;
}

.st-dash-buy-link {
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--st-ink-muted);
    text-decoration: none;
    transition: color 0.14s;
}

.st-dash-buy-link:hover {
    color: var(--st-accent-deep);
    text-decoration: underline;
}

/* Dark "Pick a starter" section */
.st-section--dark {
    background: #0c0c0f;
}

.st-section--dark .st-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.st-section--dark .st-h2 {
    color: #fff;
}

.st-section--dark .st-lead {
    color: rgba(255, 255, 255, 0.62);
}

.st-dash-create--three {
    grid-template-columns: repeat(3, 1fr);
}

.st-section-head--compact {
    margin-bottom: 8px;
}

.st-h2--compact {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    margin-top: 6px;
}

.st-lead--compact {
    font-size: 0.92rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.st-dash-boost-row {
    margin-top: 16px;
}

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

.st-dash-card--boost-inv { --cc-accent: #eab308; --cc-tint: rgba(234, 179, 8, 0.14); --cc-ring: rgba(234, 179, 8, 0.28); }
.st-dash-card--super-inv { --cc-accent: #f59e0b; --cc-tint: rgba(245, 158, 11, 0.16); --cc-ring: rgba(245, 158, 11, 0.3); }
.st-dash-card--buy-boost { --cc-accent: #a855f7; --cc-tint: rgba(168, 85, 247, 0.14); --cc-ring: rgba(168, 85, 247, 0.28); }

.st-dash-card--boost-inv,
.st-dash-card--super-inv {
    cursor: default;
}

.st-dash-card--boost-inv:hover,
.st-dash-card--super-inv:hover {
    transform: none;
}

.st-section--muted {
    background: #fafafa;
    border-top: 1px solid var(--st-line);
    border-bottom: 1px solid var(--st-line);
}

.st-dash-toolbar--centered {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.st-dash-toolbar--centered .st-dash-search {
    flex: 0 1 auto;
    width: min(100%, 520px);
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(18, 18, 18, 0.06);
}

.st-dash-toolbar--centered .st-dash-search input {
    font-size: 15px;
}

.st-dash-toolbar--centered .st-dash-count {
    font-size: 13px;
}

.st-proj-dot.is-live {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.st-section--dark .st-dash-card--boost-inv,
.st-section--dark .st-dash-card--super-inv,
.st-section--dark .st-dash-card--buy-boost {
    background: #16161b;
    border-color: rgba(255, 255, 255, 0.09);
}

.st-section--dark .st-dash-card--buy-boost:not(.is-soon):hover {
    transform: translateY(-3px);
    border-color: var(--cc-accent, var(--st-accent));
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-title,
.st-section--dark .st-dash-card--super-inv .st-dash-card-title,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-title {
    color: #fff;
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-desc,
.st-section--dark .st-dash-card--super-inv .st-dash-card-desc,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-desc {
    color: rgba(255, 255, 255, 0.58);
}

.st-section--dark .st-dash-card--boost-inv .st-dash-card-foot,
.st-section--dark .st-dash-card--super-inv .st-dash-card-foot,
.st-section--dark .st-dash-card--buy-boost .st-dash-card-foot {
    color: rgba(255, 255, 255, 0.45);
    border-top-color: rgba(255, 255, 255, 0.08);
}

.st-section--dark .st-dash-card {
    background: #16161b;
    border-color: rgba(255, 255, 255, 0.09);
}

.st-section--dark .st-dash-card:not(.is-soon):hover {
    border-color: var(--cc-accent, var(--st-accent));
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.55);
}

.st-section--dark .st-dash-card-title {
    color: #fff;
}

.st-section--dark .st-dash-card-desc {
    color: rgba(255, 255, 255, 0.6);
}

.st-section--dark .st-dash-card-foot {
    background: rgba(255, 255, 255, 0.035);
    border-top-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* GitHub import banner (white) */
.st-github-import {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 34px 36px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(18, 18, 18, 0.06);
}

.st-github-import-ico {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--st-ink);
    color: #fff;
}

.st-github-import-ico svg {
    width: 38px;
    height: 38px;
}

.st-github-import-body {
    flex: 1;
    min-width: 0;
}

.st-github-import-body .st-h2 {
    margin: 6px 0 0;
}

.st-github-import-body .st-lead {
    margin: 8px 0 0;
    max-width: 580px;
}

.st-github-import-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.st-github-import-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 240px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--st-line-strong);
    border-radius: 10px;
    color: var(--st-ink-faint);
}

.st-github-import-input:focus-within {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.st-github-import-input input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    background: none;
    outline: none;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
}

/* Project list — split link + actions + boost button */
.st-proj-link {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

.st-proj-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.st-proj-boost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 15px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.14s, border-color 0.14s, color 0.14s, background 0.14s;
}

.st-proj-boost:hover {
    transform: translateY(-1px);
    border-color: var(--st-accent);
    color: var(--st-accent-deep);
}

.st-proj-boost.is-active {
    background: rgba(255, 226, 52, 0.35);
    border-color: rgba(255, 226, 52, 0.6);
    color: var(--st-yellow-ink);
}

.st-proj-open {
    text-decoration: none;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    white-space: nowrap;
}

.st-proj-open:hover {
    color: var(--st-accent-deep);
}

/* Choose a project tiles */
.st-dash-choose-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.st-dash-choose-head {
    margin: 0 0 28px;
}

.st-dash-choose-title {
    margin: 8px 0 10px;
    font-family: var(--st-font-display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    color: var(--st-ink);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.st-dash-choose-lead {
    margin: 0;
    font-family: var(--st-font-ui);
    font-size: 15px;
    color: var(--st-ink-muted);
    line-height: 1.45;
}

.st-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.st-choose-tile {
    --ct-accent: #121216;
    --ct-tint: rgba(18, 18, 22, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px;
    background:
        linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    position: relative;
    overflow: hidden;
}

.st-choose-tile::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--ct-accent);
    opacity: 0;
    transition: opacity 0.16s ease;
}

.st-choose-tile:hover {
    transform: translateY(-3px);
    border-color: var(--ct-accent);
    box-shadow: 0 16px 34px rgba(18, 18, 18, 0.1);
}

.st-choose-tile:hover::before {
    opacity: 1;
}

.st-choose-tile:focus-visible {
    outline: 2px solid var(--ct-accent);
    outline-offset: 2px;
}

.st-choose-tile.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.st-choose-tile-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ct-tint);
    color: var(--ct-accent);
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.st-choose-tile-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.st-choose-tile-name {
    font-family: var(--st-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
    letter-spacing: -0.02em;
}

.st-choose-tile-desc {
    font-family: var(--st-font-ui);
    font-size: 12.5px;
    color: var(--st-ink-faint);
    line-height: 1.3;
}

.st-choose-tile-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--ct-tint, #f4f4f6);
    font-size: 18px;
    flex-shrink: 0;
}

.st-choose-tile--node { --ct-accent: #059669; --ct-tint: rgba(16, 185, 129, 0.14); }
.st-choose-tile--flask { --ct-accent: #4f46e5; --ct-tint: rgba(99, 102, 241, 0.14); }
.st-choose-tile--static { --ct-accent: #db2777; --ct-tint: rgba(236, 72, 153, 0.14); }
.st-choose-tile--jupyter { --ct-accent: #2563eb; --ct-tint: rgba(59, 130, 246, 0.14); }
.st-choose-tile--express { --ct-accent: #ca8a04; --ct-tint: rgba(234, 179, 8, 0.16); }
.st-choose-tile--preview { --ct-accent: #0f766e; --ct-tint: rgba(20, 184, 166, 0.14); }

/* Project grid layout */
.st-dash-projects--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
}

.st-proj-card {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 22px;
}

.st-proj-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.st-proj-card .st-proj-link {
    width: auto;
    flex: 1;
    min-width: 0;
}

.st-proj-card .st-proj-name {
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.st-proj-fw {
    flex-shrink: 0;
    margin-top: 2px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--pc-tint, #f4f4f6);
    color: var(--pc-accent, var(--st-ink-muted));
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}

.st-proj-card.is-boosted {
    border-color: rgba(234, 179, 8, 0.4);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 248, 220, 0.55) 100%);
}

.st-proj-card.is-live {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.st-proj-domain {
    display: block;
    margin-top: 2px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-accent-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-proj-card .st-proj-actions {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--st-line);
    flex-wrap: wrap;
    gap: 8px;
}

.st-proj-unboost {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    color: #b91c1c;
    cursor: pointer;
    transition: background 0.14s, border-color 0.14s;
}

.st-proj-unboost:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.5);
}

.st-proj-unboost:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Boost inventory list */
.st-boost-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto;
}

.st-boost-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--st-line);
    border-radius: 14px;
    transition: border-color 0.14s, box-shadow 0.14s;
}

.st-boost-row.is-super {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, #fff 0%, rgba(255, 248, 220, 0.4) 100%);
}

.st-boost-row-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.st-boost-row-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.st-boost-row-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.st-boost-row-title {
    font-family: var(--st-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-boost-row-meta {
    font-family: var(--st-font-mono);
    font-size: 11.5px;
    color: var(--st-ink-faint);
    line-height: 1.45;
}

.st-boost-row-meta strong {
    color: var(--st-ink-muted);
    font-weight: 600;
}

.st-boost-cancel-btn {
    flex-shrink: 0;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--st-line-strong);
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: default;
}

.st-boost-cancel-btn:hover {
    border-color: var(--st-line-strong);
    background: #fff;
}

/* Blog page */
.st-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.st-blog-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-blog-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
    transform: translateY(-2px);
}

.st-blog-card-tag {
    font-family: var(--st-font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-blog-card-title {
    font-family: var(--st-font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--st-ink);
}

.st-blog-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-blog-card-meta {
    margin-top: auto;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--st-ink-muted);
}

.st-blog-post {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.st-blog-back {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-accent-deep);
    text-decoration: none;
}

.st-blog-meta {
    margin: 10px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-blog-lead {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .st-blog-grid {
        grid-template-columns: 1fr;
    }
}

.st-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.st-support-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-support-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 32px rgba(18, 18, 18, 0.06);
    transform: translateY(-2px);
}

.st-support-card-title {
    font-family: var(--st-font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--st-ink);
}

.st-support-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

/* Support tickets */
.st-ticket-gate {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
}

.st-ticket-gate p {
    margin: 0 0 18px;
    color: var(--st-ink-muted);
}

.st-ticket-gate-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.st-ticket-layout {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
    min-height: 520px;
}

.st-ticket-side {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.st-ticket-main {
    display: flex;
    flex-direction: column;
    min-height: 520px;
    padding: 0;
    position: relative;
    border: 1px solid var(--st-line-strong);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.st-ticket-main > [hidden] {
    display: none !important;
}

.st-ticket-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid var(--st-line);
}

.st-ticket-side-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: 16px;
    font-weight: 700;
}

.st-ticket-new-btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
}

.st-ticket-filters {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--st-line);
}

.st-ticket-filter {
    flex: 1;
    min-height: 32px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
}

.st-ticket-filter.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-ticket-list {
    flex: 1;
    overflow: auto;
    padding: 8px;
}

.st-ticket-list-empty {
    margin: 20px 12px;
    font-size: 13px;
    color: var(--st-ink-faint);
    text-align: center;
}

.st-ticket-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 100%;
    padding: 12px 12px;
    margin-bottom: 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f7f7f9;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.14s, background 0.14s;
}

.st-ticket-item:hover {
    border-color: rgba(124, 58, 237, 0.25);
}

.st-ticket-item.is-active {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.35);
}

.st-ticket-item.is-resolved {
    opacity: 0.72;
}

.st-ticket-item-id {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--st-accent-deep);
}

.st-ticket-item-subject {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--st-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.st-ticket-item-meta {
    font-size: 11.5px;
    color: var(--st-ink-faint);
}

.st-ticket-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 40px 24px;
    color: var(--st-ink-faint);
    text-align: center;
}

.st-ticket-compose,
.st-ticket-thread {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.st-ticket-compose-title,
.st-ticket-thread-id {
    margin: 0 0 6px;
    font-family: var(--st-font-display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.st-ticket-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
}

.st-ticket-field input,
.st-ticket-field textarea,
.st-ticket-reply textarea {
    width: 100%;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--st-font-ui);
    font-size: 14px;
    color: var(--st-ink);
    background: #fff;
    resize: vertical;
}

.st-ticket-field input:focus,
.st-ticket-field textarea:focus,
.st-ticket-reply textarea:focus {
    outline: 2px solid rgba(124, 58, 237, 0.25);
    border-color: var(--st-accent);
}

.st-ticket-compose-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.st-ticket-compose-actions .st-btn {
    flex-shrink: 0;
}

.st-ticket-thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--st-line);
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.st-ticket-thread-head > div:first-child {
    flex: 1;
    min-width: 0;
}

.st-ticket-thread-meta {
    margin: 0;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-ticket-thread-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
    max-width: 100%;
}

.st-ticket-thread-actions .st-btn,
.st-ticket-thread-actions .st-ticket-badge {
    flex-shrink: 0;
}

.st-ticket-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 700;
}

.st-ticket-badge.is-resolved {
    background: #f0f0f2;
    color: var(--st-ink-muted);
}

.st-ticket-resolve-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

.st-ticket-messages {
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px 12px;
    min-height: 220px;
}

.st-ticket-msg {
    max-width: min(520px, 92%);
    padding: 12px 14px;
    border-radius: 14px;
    background: #f4f4f6;
}

.st-ticket-msg--user {
    align-self: flex-end;
    background: rgba(124, 58, 237, 0.1);
}

.st-ticket-msg--admin {
    align-self: flex-start;
    background: #eef2ff;
}

.st-ticket-msg--meta {
    align-self: center;
    max-width: 100%;
    background: transparent;
    border: 1px dashed var(--st-line-strong);
    color: var(--st-ink-muted);
    font-size: 13px;
}

.st-ticket-msg-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-ticket-msg p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--st-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

.st-ticket-reply {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
    padding-top: 12px;
    border-top: 1px solid var(--st-line);
}

.st-ticket-reply .st-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.st-ticket-reply[hidden] {
    display: none !important;
}

.st-ticket-closed {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f4f6;
    color: var(--st-ink-muted);
    font-size: 13px;
}

.st-ticket-status {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--st-ink-muted);
}

.st-ticket-status.is-error {
    color: #b91c1c;
}

.st-admin-toolbar {
    max-width: 920px;
    margin: 0 auto 16px;
}

.st-admin-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 920px;
    margin: 0 auto 20px;
}

.st-admin-tab {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--st-line-strong);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-ui);
    font-size: 13px;
    font-weight: 600;
    color: var(--st-ink-muted);
    cursor: pointer;
    transition: border-color 0.14s, color 0.14s, background 0.14s;
}

.st-admin-tab.is-active {
    background: var(--st-accent);
    border-color: var(--st-accent);
    color: #fff;
}

.st-admin-tab.is-soon,
.st-admin-tab:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.st-admin-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.st-admin-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--st-line);
    border-radius: 999px;
    background: #fff;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-muted);
}

.st-admin-stat b {
    color: var(--st-ink);
    font-weight: 700;
}

@media (max-width: 720px) {
    .st-support-grid {
        grid-template-columns: 1fr;
    }

    .st-ticket-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .st-ticket-side {
        min-height: 0;
        max-height: 280px;
    }

    .st-ticket-reply {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .st-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-dash-stats--three {
        grid-template-columns: repeat(3, 1fr);
    }

    .st-dash-create--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .st-github-import {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 720px) {
    .st-dash-create,
    .st-dash-create--three {
        grid-template-columns: 1fr;
    }

    .st-dash-stats--three {
        grid-template-columns: 1fr;
    }

    .st-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .st-dash-projects--grid {
        grid-template-columns: 1fr;
    }

    .st-proj {
        flex-wrap: wrap;
    }

    .st-proj-card .st-proj-actions {
        justify-content: flex-start;
    }

    .st-boost-row {
        flex-direction: column;
        align-items: stretch;
    }

    .st-boost-cancel-btn {
        align-self: flex-end;
    }

    .st-proj-actions {
        width: 100%;
        justify-content: space-between;
    }

    .st-github-import-form {
        flex-direction: column;
        align-items: stretch;
    }

    .st-github-import-form .st-btn {
        width: 100%;
    }
}

/* ── Footer lightning band ── */

.st-footer-bolt-band {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: var(--st-outline-w);
    margin: 0 auto;
    padding: 24px 32px 16px;
    box-sizing: border-box;
}

.st-footer-bolt-line {
    flex: 1;
    height: 1px;
    background: var(--st-line);
    min-width: 40px;
}

.st-footer-bolt {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--st-accent);
    filter: drop-shadow(0 1px 4px rgba(124, 58, 237, 0.35));
}

.st-footer-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-footer-bolt--c {
    width: 34px;
    height: 34px;
    margin: 0 4px;
}

/* ── About page (dark-only marketing page) ── */

.st-about-page {
    --st-bg: #0a0a0a;
    --st-ink: #ffffff;
    --st-ink-muted: rgba(255, 255, 255, 0.62);
    --st-ink-faint: rgba(255, 255, 255, 0.38);
    --st-line: rgba(255, 255, 255, 0.08);
    --st-line-strong: rgba(255, 255, 255, 0.14);

    background: #0a0a0a;
    color: #fff;
    color-scheme: dark;
}

.st-about-page .st-nav.topnav {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.st-about-page .st-nav-brand,
.st-about-page .st-nav-link,
.st-about-page .st-nav-logo {
    color: #fff;
}

.st-about-page .st-nav-link:hover,
.st-about-page .st-nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.st-about-page .st-nav-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.st-about-page .st-nav-btn--outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.st-about-page .st-nav-btn--solid {
    background: #fff;
    color: #0a0a0a;
}

.st-about-page .st-outline-v {
    background: rgba(255, 255, 255, 0.1);
}

.st-about-page .st-frame-bolt {
    color: rgba(168, 85, 247, 0.55);
}

.st-about-page .st-grid-lines {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.st-about-page .st-bolt-corner {
    color: rgba(168, 85, 247, 0.45);
}

.st-about-main {
    background: #0a0a0a;
}

.st-about-hero {
    position: relative;
    min-height: min(78vh, 820px);
    padding: 72px 0 88px;
    overflow: hidden;
    background: #0a0a0a;
}

.st-about-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(62vh, 640px);
}

.st-about-frame {
    position: relative;
    width: min(760px, 100%);
    padding: clamp(48px, 8vw, 72px) clamp(28px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.st-about-frame-mark {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: rgba(255, 255, 255, 0.35);
    border-style: solid;
    border-width: 0;
}

.st-about-frame-mark--tl {
    top: -1px;
    left: -1px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.st-about-frame-mark--tr {
    top: -1px;
    right: -1px;
    border-top-width: 1px;
    border-right-width: 1px;
}

.st-about-frame-mark--bl {
    bottom: -1px;
    left: -1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.st-about-frame-mark--br {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

.st-about-title {
    margin: 0;
    font-family: var(--st-font-display);
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.st-about-mission {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.st-about-cta-wrap {
    margin-top: 36px;
}

.st-about-cta {
    display: inline-block;
    padding: 14px 28px;
    background: #fff;
    color: #0a0a0a;
    font-family: var(--st-font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.st-about-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.12);
}

.st-divider--dark {
    background: rgba(255, 255, 255, 0.1);
}

.st-about-page .st-divider-bolt {
    color: rgba(168, 85, 247, 0.55);
}

.st-about-values {
    padding: 72px 0 96px;
    background: #0a0a0a;
}

.st-about-values-title {
    margin: 0 0 40px;
    font-family: var(--st-font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
}

.st-about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.st-about-value {
    position: relative;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.st-about-value-bolt {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    color: rgba(168, 85, 247, 0.5);
}

.st-about-value-bolt svg {
    display: block;
    width: 100%;
    height: 100%;
}

.st-about-value h3 {
    margin: 0 0 10px;
    font-family: var(--st-font-ui);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.st-about-value p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}

.st-about-page .site-footer {
    --st-ink: #121212;
    --st-ink-muted: #5c5c5c;
    --st-ink-faint: #8a8a8a;
    --st-line: rgba(18, 18, 18, 0.08);
    --st-line-strong: rgba(18, 18, 18, 0.14);

    background: #fff;
    color: var(--st-ink-muted);
    border-top: 1px solid rgba(18, 18, 18, 0.14);
}

.st-about-page .site-footer a {
    color: var(--st-ink-muted);
}

@media (max-width: 800px) {
    .st-about-values-grid {
        grid-template-columns: 1fr;
    }

    .st-about-frame {
        padding: 40px 24px;
    }
}

/* ── Careers pages ── */

.st-careers-shell {
    padding-left: clamp(32px, 5vw, 64px);
    padding-right: clamp(32px, 5vw, 64px);
    box-sizing: border-box;
}

.st-careers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.st-career-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--st-line-strong);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.st-career-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.08);
    transform: translateY(-2px);
}

.st-career-card-dept {
    font-family: var(--st-font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--st-accent-deep);
}

.st-career-card-title {
    font-family: var(--st-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--st-ink);
}

.st-career-card-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--st-ink-muted);
}

.st-career-card-meta {
    margin-top: auto;
    padding-top: 8px;
    font-family: var(--st-font-mono);
    font-size: 11px;
    color: var(--st-ink-faint);
}

.st-careers-empty {
    grid-column: 1 / -1;
    font-size: 15px;
    color: var(--st-ink-muted);
}

.st-career-post {
    max-width: 720px;
}

.st-career-back {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--st-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--st-ink-muted);
    text-decoration: none;
}

.st-career-back:hover {
    color: var(--st-accent-deep);
}

.st-career-meta {
    margin: 8px 0 0;
    font-family: var(--st-font-mono);
    font-size: 12px;
    color: var(--st-ink-faint);
}

.st-career-salary {
    color: var(--st-accent-deep);
    font-weight: 600;
}

.st-career-lead {
    margin-top: 20px;
}

.st-career-requirements {
    margin-top: 32px;
}

.st-career-req-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-ink);
}

.st-career-requirements ul {
    margin: 0;
    padding-left: 20px;
    color: var(--st-ink-muted);
    line-height: 1.65;
}

.st-career-requirements li + li {
    margin-top: 8px;
}

.st-career-apply {
    margin-top: 32px;
}

@media (max-width: 720px) {
    .st-careers-grid {
        grid-template-columns: 1fr;
    }
}
