:root {
    â€“primary: #0EA5E9;
    â€“primary-dark: #0284C7;
    â€“secondary: #06B6D4;
    â€“accent: #14B8A6;
    â€“dark: #0F172A;
    â€“dark-light: #1E293B;
    â€“gray: #64748B;
    â€“gray-light: #CBD5E1;
    â€“light: #F8FAFC;
    â€“white: #FFFFFF;
    â€“gradient: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

body {
font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
color: var(â€“dark);
background: var(â€“white);
line-height: 1.6;
overflow-x: hidden;
min-height: 100vh;
display: flex;
flex-direction: column;
}

.auth-forgot-password {
    margin: 14px 0 4px;
    text-align: center;
}

.text-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--accent, #4f46e5);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.forgot-password-form {
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border, #dbe3ef);
}

.forgot-password-form h2 { margin: 0; }

.password-change-form {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.password-code-inputs {
    display: flex;
    gap: 10px;
    margin: 4px 0 8px;
}

.password-code-inputs input {
    width: 48px;
    height: 52px;
    box-sizing: border-box;
    border: 2px solid var(--border, #dbe3ef);
    border-radius: 8px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
}

@media (max-width: 520px) {
    .password-code-inputs { gap: 6px; }
    .password-code-inputs input { width: 42px; height: 48px; }
}

html,
body.account-page {
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body.account-page *,
body.account-page *::before,
body.account-page *::after {
    box-sizing: border-box;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
}

/* Navigation */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(â€“gray-light);
z-index: 1000;
animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
from {
transform: translateY(-100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}

.nav-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 0;
}

.logo {
display: flex;
align-items: center;
gap: 12px;
font-family: 'Syne', sans-serif;
font-size: 24px;
font-weight: 700;
color: var(â€“dark);
}

.nav-links {
display: flex;
list-style: none;
gap: 32px;
}

.nav-links a {
text-decoration: none;
color: var(â€“dark);
font-weight: 500;
transition: color 0.3s ease;
}

.nav-links a:hover {
color: var(â€“primary);
}

.nav-cta {
display: flex;
gap: 12px;
}

/* Buttons */
.btn-primary {
background: var(â€“gradient);
color: var(â€“white);
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 8px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: none;
cursor: pointer;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 12px 24px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
background: transparent;
color: var(â€“dark);
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
border: 2px solid var(â€“gray-light);
display: inline-block;
transition: all 0.3s ease;
}

.btn-secondary:hover {
border-color: var(â€“primary);
color: var(â€“primary);
}

.btn-ghost {
background: transparent;
color: var(â€“dark);
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
display: inline-block;
transition: all 0.3s ease;
}

.btn-ghost:hover {
background: var(â€“light);
}

.btn-outline {
background: transparent;
color: var(â€“dark);
padding: 14px 28px;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
border: 2px solid var(â€“gray-light);
display: inline-block;
transition: all 0.3s ease;
text-align: center;
}

.btn-outline:hover {
border-color: var(â€“primary);
background: var(â€“primary);
color: var(â€“white);
}

.plugin-repository-callout {
    padding: 70px 0;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.plugin-repository-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.plugin-repository-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0284c7;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plugin-repository-card h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
}

.plugin-repository-card p {
    max-width: 680px;
    margin: 0;
    color: #475569;
    font-size: 1.08rem;
}

.plugin-repository-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

body.theme-dark .plugin-repository-callout,
html.theme-dark body .plugin-repository-callout {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 34%),
        linear-gradient(180deg, #0f172a 0%, #111419 100%);
}

body.theme-dark .plugin-repository-card,
html.theme-dark body .plugin-repository-card {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body.theme-dark .plugin-repository-card h2,
html.theme-dark body .plugin-repository-card h2 {
    color: #f8fafc;
}

body.theme-dark .plugin-repository-card p,
html.theme-dark body .plugin-repository-card p {
    color: #cbd5e1;
}

body.theme-dark .plugin-repository-eyebrow,
html.theme-dark body .plugin-repository-eyebrow {
    color: #7dd3fc;
}

@media (max-width: 780px) {
    .plugin-repository-card {
        grid-template-columns: 1fr;
    }

    .plugin-repository-actions {
        justify-content: flex-start;
    }
}

.btn-large {
padding: 16px 32px;
font-size: 18px;
}

/* Hero Section */
.hero {
position: relative;
padding: 160px 0 100px;
overflow: hidden;
background-color: #f8fafc;
background-image:
linear-gradient(180deg, rgba(8, 39, 52, 0.52) 0%, rgba(10, 61, 79, 0.22) 38%, rgba(255, 244, 224, 0.12) 100%),
var(--hero-photo, none),
linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
filter: saturate(1.02) contrast(0.98);
}

.hero-background-video {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
z-index: 0;
pointer-events: none;
}

.homepage-hero.is-video-only {
background-color: #f8fafc;
}

.homepage-hero.is-video-only .hero-background-video {
object-fit: contain;
object-position: center center;
background: transparent;
}

.homepage-hero.is-video-only .homepage-hero-blocks,
.homepage-hero.is-video-only .hero-copy,
.homepage-hero.is-video-only .hero-visual-layer {
display: none;
}

.hero-background {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image:
linear-gradient(180deg, rgba(8, 39, 52, 0.52) 0%, rgba(10, 61, 79, 0.22) 38%, rgba(255, 244, 224, 0.12) 100%),
var(--hero-photo, none);
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
animation: none;
transform: none;
filter: saturate(1.02) contrast(0.98);
}

@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}

.hero-content {
position: relative;
text-align: center;
max-width: 900px;
margin: 0 auto;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(14, 165, 233, 0.1);
color: var(â€“primary);
padding: 8px 20px;
border-radius: 20px;
font-size: 14px;
font-weight: 600;
margin-bottom: 32px;
animation: fadeInUp 0.8s ease-out 0.2s both;
}

.badge-dot {
width: 8px;
height: 8px;
background: var(â€“primary);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
font-family: 'Syne', sans-serif;
font-size: 64px;
font-weight: 800;
line-height: 1.1;
margin-bottom: 24px;
animation: fadeInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
background: var(â€“gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.hero-subtitle {
font-size: 20px;
color: var(â€“gray);
max-width: 700px;
margin: 0 auto 48px;
animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.hero-cta {
display: flex;
gap: 16px;
justify-content: center;
margin-bottom: 64px;
animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 48px;
max-width: 600px;
margin: 0 auto;
animation: fadeInUp 0.8s ease-out 1s both;
}

.stat {
text-align: center;
}

.stat-number {
font-family: 'Syne', sans-serif;
font-size: 48px;
font-weight: 700;
background: var(â€“gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 8px;
}

.stat-label {
color: var(â€“gray);
font-size: 14px;
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-actions a:hover,
.hero-actions a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.68);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.24);
    color: #ffffff;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-outline:hover,
.hero-actions .btn-primary:focus-visible,
.hero-actions .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.68);
}

body.theme-dark .hero-actions a,
html.theme-dark body .hero-actions a {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
}

body.theme-dark .hero-actions a:hover,
body.theme-dark .hero-actions a:focus-visible,
html.theme-dark body .hero-actions a:hover,
html.theme-dark body .hero-actions a:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.56);
    color: #ffffff;
}

/* Calls to action placed on light content sections, outside a hero image. */
.showcase .hero-actions .btn-primary {
    background: #16131d;
    border-color: #16131d;
    color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.showcase .hero-actions .btn-secondary {
    background: #ffffff;
    border-color: rgba(22, 19, 29, 0.2);
    color: #16131d;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.showcase .hero-actions .btn-primary:hover,
.showcase .hero-actions .btn-primary:focus-visible {
    background: #302b39;
    border-color: #302b39;
    color: #ffffff;
}

.showcase .hero-actions .btn-secondary:hover,
.showcase .hero-actions .btn-secondary:focus-visible {
    background: #f3f0ea;
    border-color: #16131d;
    color: #16131d;
}

body.theme-dark .showcase .hero-actions .btn-primary,
html.theme-dark body .showcase .hero-actions .btn-primary {
    background: #f5eee1;
    border-color: #f5eee1;
    color: #16131d;
}

body.theme-dark .showcase .hero-actions .btn-secondary,
html.theme-dark body .showcase .hero-actions .btn-secondary {
    background: transparent;
    border-color: rgba(245, 238, 225, 0.5);
    color: #f5eee1;
}

.build-starter-grid {
    align-items: stretch;
}

.build-download-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.build-file-type {
    color: #5d5569;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.build-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 12px;
}

.build-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    background: #16131d;
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none;
}

.build-download-link:hover,
.build-download-link:focus-visible {
    background: #302b39;
    transform: translateY(-1px);
}

body.theme-dark .build-file-type,
html.theme-dark body .build-file-type {
    color: #c8bece;
}

body.theme-dark .build-download-link,
html.theme-dark body .build-download-link {
    background: #f5eee1;
    color: #16131d !important;
}

/* Editable chat-interface annotations on the Build page. */
.build-anatomy-section {
    padding: 100px 0;
    overflow: hidden;
    background: #f6f3ee;
}

.build-anatomy-container {
    max-width: 1400px;
}

.build-anatomy {
    margin: 48px 0 0;
}

.build-anatomy-canvas {
    position: relative;
    width: 100%;
    aspect-ratio: 1600 / 1100;
}

.build-anatomy-image-stage {
    position: absolute;
    z-index: 1;
    top: 7.273%;
    left: 27.5%;
    width: 44.938%;
    height: 86.182%;
}

.build-anatomy-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid rgba(22, 19, 29, 0.16);
    border-radius: 5px;
    box-shadow: 0 28px 72px rgba(22, 19, 29, 0.18);
}

.build-anatomy-mobile-markers {
    display: none;
}

.build-anatomy-lines {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.build-anatomy-lines path:not([d^="M 9"]):not([d^="M 1"]) {
    fill: none;
    stroke: #1c1b22;
    stroke-width: 2.4;
    stroke-linecap: round;
    marker-start: url(#build-arrow-start);
    marker-end: url(#build-arrow-end);
}

.build-anatomy-lines marker path {
    fill: #1c1b22;
}

.build-callout {
    position: absolute;
    z-index: 3;
    width: 20.625%;
    min-height: 11.364%;
    display: grid;
    grid-template-columns: clamp(34px, 3vw, 46px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 1.25vw, 20px);
    padding: clamp(16px, 1.6vw, 25px) clamp(14px, 1.5vw, 24px);
    border: 1px solid rgba(22, 19, 29, 0.16);
    border-radius: clamp(15px, 1.5vw, 22px);
    background: #ffffff;
    box-shadow: 7px 9px 0 rgba(54, 35, 75, 0.12);
}

.build-callout-number {
    display: grid;
    place-items: center;
    width: clamp(34px, 3vw, 46px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #672dff;
    color: #ffffff;
    font-size: clamp(0.85rem, 1.2vw, 1.1rem);
    font-weight: 800;
}

.build-callout h3 {
    margin: 2px 0 0;
    color: #16131d;
    font-family: 'Syne', sans-serif;
    font-size: clamp(0.82rem, 1.25vw, 1.15rem);
    line-height: 1.16;
}

.build-callout p {
    margin: clamp(12px, 1.7vw, 25px) 0 0;
    color: #672dff;
    font-size: clamp(0.68rem, 0.92vw, 0.9rem);
    line-height: 1.25;
}

.build-callout-1 { left: 1.875%; top: 5.909%; }
.build-callout-2 { left: 77.5%; top: 4.091%; min-height: 13.182%; }
.build-callout-3 { left: 77.5%; top: 22.273%; }
.build-callout-4 { left: 1.875%; top: 24.091%; min-height: 13.182%; }
.build-callout-5 { left: 1.875%; top: 44.091%; }
.build-callout-6 { left: 1.875%; top: 71.818%; }
.build-callout-7 { left: 77.5%; top: 68.636%; min-height: 13.182%; }

.build-anatomy figcaption {
    margin-top: 20px;
    color: #5d5569;
    font-size: 0.92rem;
    text-align: center;
}

body.theme-dark .build-anatomy-section,
html.theme-dark body .build-anatomy-section {
    background: #111419;
}

body.theme-dark .build-callout,
html.theme-dark body .build-callout {
    border-color: rgba(255, 255, 255, 0.12);
    background: #20242a;
    box-shadow: 7px 9px 0 rgba(0, 0, 0, 0.28);
}

body.theme-dark .build-callout h3,
html.theme-dark body .build-callout h3 {
    color: #f5eee1;
}

body.theme-dark .build-callout p,
html.theme-dark body .build-callout p {
    color: #bca2ff;
}

body.theme-dark .build-anatomy-lines path:not([d^="M 9"]):not([d^="M 1"]),
html.theme-dark body .build-anatomy-lines path:not([d^="M 9"]):not([d^="M 1"]) {
    stroke: #f5eee1;
}

body.theme-dark .build-anatomy-lines marker path,
html.theme-dark body .build-anatomy-lines marker path {
    fill: #f5eee1;
}

body.theme-dark .build-anatomy figcaption,
html.theme-dark body .build-anatomy figcaption {
    color: #c8bece;
}

@media (max-width: 850px) {
    .build-anatomy-section {
        padding: 72px 0;
    }

    .build-anatomy-canvas {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        aspect-ratio: auto;
    }

    .build-anatomy-image-stage {
        position: relative;
        grid-column: 1 / -1;
        top: auto;
        left: auto;
        width: min(100%, 520px);
        height: auto;
        margin: 0 auto 14px;
        aspect-ratio: 719 / 948;
    }

    .build-anatomy-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .build-anatomy-lines {
        display: none;
    }

    .build-anatomy-mobile-markers {
        position: absolute;
        z-index: 2;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
        pointer-events: none;
    }

    .build-mobile-marker path {
        fill: none;
        stroke: #16131d;
        stroke-width: 3;
        stroke-linecap: round;
    }

    .build-mobile-marker circle {
        fill: #672dff;
        stroke: #ffffff;
        stroke-width: 3;
        filter: drop-shadow(0 4px 8px rgba(22, 19, 29, 0.3));
    }

    .build-mobile-marker text {
        fill: #ffffff;
        font-family: 'IBM Plex Sans', sans-serif;
        font-size: 19px;
        font-weight: 800;
        text-anchor: middle;
        dominant-baseline: central;
    }

    .build-callout,
    .build-callout-1,
    .build-callout-2,
    .build-callout-3,
    .build-callout-4,
    .build-callout-5,
    .build-callout-6,
    .build-callout-7 {
        position: static;
        width: auto;
        min-height: 132px;
        padding: 18px;
        border-radius: 18px;
    }

    .build-callout h3 {
        font-size: 1rem;
    }

    .build-callout p {
        margin-top: 16px;
        font-size: 0.82rem;
    }

    body.theme-dark .build-mobile-marker path,
    html.theme-dark body .build-mobile-marker path {
        stroke: #ffffff;
    }
}

@media (max-width: 540px) {
    .build-anatomy {
        margin-top: 32px;
    }

    .build-anatomy-canvas {
        grid-template-columns: 1fr;
    }

    .build-callout,
    .build-callout-1,
    .build-callout-2,
    .build-callout-3,
    .build-callout-4,
    .build-callout-5,
    .build-callout-6,
    .build-callout-7 {
        min-height: 0;
    }
}
/* Why Local Section */
.why-local {
padding: 100px 0;
background: var(â€“white);
}

.section-header {
text-align: center;
max-width: 700px;
margin: 0 auto 64px;
}

.section-header h2 {
font-family: 'Syne', sans-serif;
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
}

.section-header p {
font-size: 18px;
color: var(â€“gray);
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}

.benefit-card {
background: var(â€“light);
padding: 40px;
border-radius: 16px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
color: var(â€“primary);
margin-bottom: 24px;
}

.benefit-card h3 {
font-family: 'Syne', sans-serif;
font-size: 24px;
font-weight: 700;
margin-bottom: 12px;
}

.benefit-card p {
color: var(â€“gray);
line-height: 1.8;
margin-bottom: 16px;
}

.benefit-list {
list-style: none;
margin-top: 16px;
}

.benefit-list li {
color: var(â€“gray);
padding: 6px 0;
font-size: 14px;
}

/* Case Studies */
.case-studies {
padding: 100px 0;
background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.case-study-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}

.case-study {
background: var(â€“white);
border: 2px solid var(â€“gray-light);
border-radius: 16px;
padding: 32px;
transition: all 0.3s ease;
}

.case-study:hover {
border-color: var(â€“primary);
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

.case-study-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
}

.company-logo {
font-family: 'Syne', sans-serif;
font-size: 20px;
font-weight: 700;
color: var(â€“primary);
}

.industry {
font-size: 12px;
color: var(â€“gray);
background: var(â€“light);
padding: 4px 12px;
border-radius: 12px;
}

.case-study h3 {
font-family: 'Syne', sans-serif;
font-size: 22px;
font-weight: 700;
margin-bottom: 16px;
line-height: 1.3;
}

.case-study-excerpt {
color: var(â€“gray);
margin-bottom: 24px;
line-height: 1.8;
}

.case-study-metrics {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
padding-top: 24px;
border-top: 1px solid var(â€“gray-light);
}

.metric {
text-align: center;
}

.metric-value {
display: block;
font-family: 'Syne', sans-serif;
font-size: 24px;
font-weight: 700;
color: var(â€“primary);
margin-bottom: 4px;
}

.metric-label {
display: block;
font-size: 12px;
color: var(â€“gray);
}

/* Features Section */
.features {
padding: 100px 0;
background: var(â€“white);
}

.product-showcase {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 64px;
align-items: center;
margin-top: 48px;
}

.showcase-image {
animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}

.showcase-features {
display: flex;
flex-direction: column;
gap: 32px;
}

.showcase-feature {
display: flex;
gap: 20px;
padding: 24px;
background: var(â€“light);
border-radius: 12px;
transition: transform 0.3s ease;
}

.showcase-feature:hover {
transform: translateX(8px);
}

.showcase-icon {
font-size: 48px;
flex-shrink: 0;
}

.showcase-content h4 {
font-family: 'Syne', sans-serif;
font-size: 20px;
font-weight: 700;
margin-bottom: 8px;
}

.showcase-content p {
color: var(â€“gray);
line-height: 1.6;
}

.trusted-by {
margin-top: 64px;
text-align: center;
}

.trusted-label {
color: var(â€“gray);
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 24px;
}

.company-logos {
display: flex;
justify-content: center;
gap: 32px;
flex-wrap: wrap;
}

.company-logo-item {
padding: 12px 24px;
background: rgba(14, 165, 233, 0.1);
color: var(â€“primary);
border-radius: 8px;
font-size: 14px;
font-weight: 600;
}

.features-grid-section {
padding: 0;
background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

/* Features Section (original) */
.features-old {
padding: 100px 0;
background: var(â€“white);
}

.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}

.feature {
text-align: center;
padding: 32px;
}

.feature-icon {
font-size: 48px;
margin-bottom: 20px;
}

.feature h3 {
font-family: 'Syne', sans-serif;
font-size: 20px;
font-weight: 700;
margin-bottom: 12px;
}

.feature p {
color: var(â€“gray);
line-height: 1.8;
}

/* Products Section */
.products {
padding: 100px 0;
background: var(â€“light);
}

.products-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
}

.products-grid.products-grid-single {
display: grid;
grid-template-columns: 920px; 
justify-content: center;
}

.products-grid.products-grid-single .product-card {
width: 920px;
max-width: 920px;
}

.product-card {
background: var(â€“white);
border: 2px solid var(â€“gray-light);
border-radius: 16px;
padding: 40px;
position: relative;
transition: all 0.3s ease;
}

.product-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
border-color: var(â€“primary);
border-width: 3px;
}

.product-card.featured::before {
content: '';
position: absolute;
top: -3px;
left: -3px;
right: -3px;
bottom: -3px;
background: var(â€“gradient);
border-radius: 16px;
z-index: -1;
opacity: 0.1;
}

.product-badge {
display: inline-block;
background: var(â€“gradient);
color: var(â€“white);
padding: 6px 16px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
margin-bottom: 20px;
}

.product-card.personal .product-badge {
background: var(â€“gray);
}

.product-card.pro .product-badge {
background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
}

.product-card h3 {
font-family: 'Syne', sans-serif;
font-size: 28px;
font-weight: 700;
margin-bottom: 20px;
}

.product-price {
margin-bottom: 12px;
}

.price {
font-family: 'Syne', sans-serif;
font-size: 48px;
font-weight: 800;
color: var(â€“dark);
}

.period {
color: var(â€“gray);
font-size: 16px;
margin-left: 8px;
}

.product-optional {
font-size: 14px;
color: var(â€“gray);
margin-bottom: 20px;
}

.product-description {
color: var(â€“gray);
margin-bottom: 32px;
line-height: 1.8;
}

.product-features {
list-style: none;
margin-bottom: 32px;
}

.product-features li {
padding: 12px 0;
border-bottom: 1px solid var(â€“gray-light);
display: flex;
align-items: center;
gap: 12px;
}

.product-features li:last-child {
border-bottom: none;
}

.product-features li.disabled {
opacity: 0.4;
}

.check {
color: var(â€“primary);
font-weight: 700;
}

/* Comparison Table */
.comparison {
padding: 100px 0;
background: var(â€“white);
}

.comparison h2 {
font-family: 'Syne', sans-serif;
font-size: 48px;
font-weight: 700;
text-align: center;
margin-bottom: 64px;
}

.comparison-table-wrapper {
overflow-x: auto;
}

.comparison-table {
width: 100%;
border-collapse: collapse;
background: var(â€“white);
border: 2px solid var(â€“gray-light);
border-radius: 16px;
overflow: hidden;
}

.comparison-table thead {
background: var(â€“light);
}

.comparison-table th {
font-family: 'Syne', sans-serif;
font-weight: 700;
padding: 20px;
text-align: left;
border-bottom: 2px solid var(â€“gray-light);
}

.comparison-table td {
padding: 20px;
border-bottom: 1px solid var(â€“gray-light);
}

.comparison-table tr:last-child td {
border-bottom: none;
}

.comparison-table tr:hover {
background: var(â€“light);
}

.check-green {
color: #10B981;
font-weight: 700;
font-size: 20px;
}

.check-red {
color: #EF4444;
font-weight: 700;
font-size: 20px;
}

/* CTA Section */
.faq-section {
padding: 100px 0;
background: var(â€“light);
}

.faq-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
margin-top: 48px;
}

.faq-item {
background: var(â€“white);
padding: 32px;
border-radius: 12px;
border: 2px solid var(â€“gray-light);
transition: all 0.3s ease;
}

.faq-item:hover {
border-color: var(â€“primary);
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(14, 165, 233, 0.15);
}

.faq-item h3 {
font-family: 'Syne', sans-serif;
font-size: 20px;
font-weight: 700;
margin-bottom: 16px;
color: var(â€“dark);
}

.faq-item p {
color: var(â€“gray);
line-height: 1.8;
}

/* Final CTA Section */
.cta {
padding: 100px 0;
background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
color: var(â€“white);
}

.cta-content {
text-align: center;
max-width: 700px;
margin: 0 auto;
}

.cta h2 {
font-family: 'Syne', sans-serif;
font-size: 48px;
font-weight: 800;
margin-bottom: 16px;
}

.cta p {
font-size: 20px;
margin-bottom: 48px;
opacity: 0.9;
}

.cta-buttons {
display: flex;
gap: 16px;
justify-content: center;
}

.cta .btn-primary {
background: var(â€“white);
color: var(â€“primary);
}

.cta .btn-ghost {
color: var(â€“white);
border: 2px solid var(â€“white);
}

.cta .btn-ghost:hover {
background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
background: #eaf0f7;
color: #0f172a;
padding: 80px 0 32px;
border-top: 1px solid rgba(148, 163, 184, 0.26);
margin-top: auto;
}

.footer-content {

display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 64px;
margin-bottom: 48px;
}

.footer-section h4 {
font-family: 'Syne', sans-serif;
font-weight: 700;
margin-bottom: 20px;
}

.footer-section ul {
list-style: none;
}

.footer-section li {
margin-bottom: 12px;
}

.footer-section a {
color: #334155;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-section a:hover {
color: #0ea5e9;
}

.footer-section p {
color: #475569;
margin-top: 16px;
}

.footer-bottom {
text-align: center;
padding-top: 32px;
border-top: 1px solid rgba(148, 163, 184, 0.26);
color: #64748b;
}

/* Responsive Design */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(22, 19, 29, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: #16131d;
    font: inherit;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-btn[hidden] {
    display: none !important;
}

@media (max-width: 968px) {
.nav-content {
    position: relative;
    flex-wrap: wrap;
    gap: 14px;
}

.nav-content > .logo {
    order: 1;
}

.mobile-menu-btn {
    display: inline-flex;
    margin-left: auto;
    order: 2;
}

.nav-links,
.nav-cta {
    display: none;
}

.nav-content.mobile-nav-open .nav-links {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0 8px;
    order: 3;
}

.nav-content.mobile-nav-open .nav-cta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 10px;
    order: 4;
}

.nav-content.mobile-nav-open .nav-links a,
.nav-content.mobile-nav-open .nav-cta a,
.nav-content.mobile-nav-open .nav-cta button {
    width: 100%;
}

.hero-title {
    font-size: 48px;
}

.benefits-grid,
.case-study-grid,
.features-grid,
.products-grid {
    grid-template-columns: 1fr;
}

.footer-content {
    grid-template-columns: 1fr 1fr;
}

.hero-cta {
    flex-direction: column;
}

}

/* Auth + account pages */
.auth-page {
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.auth-card h1,
.auth-card h2 {
    margin-bottom: 8px;
}

.auth-card p {
    margin-bottom: 24px;
    color: #475569;
}

.auth-form {
    display: grid;
    gap: 12px;
}

.auth-form label {
    font-weight: 600;
}

.auth-form input {
    padding: 12px 14px;
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    font-size: 16px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-row input {
    margin-top: 3px;
}

.link-button {
    border: 0;
    background: transparent;
    color: #2563eb;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: #94a3b8;
    border-color: #94a3b8;
    color: #e2e8f0;
    cursor: not-allowed;
    box-shadow: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 23, 42, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-card {
    width: min(720px, 100%);
    max-height: 86vh;
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    padding: 22px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.legal-text {
    white-space: pre-wrap;
    font: inherit;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.auth-footer {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.status-message {
    margin-top: 12px;
    padding: 10px 12px;
    background: #e0f2fe;
    color: #0f172a;
    border-radius: 8px;
    font-size: 14px;
}

.status-message.error {
    background: #fee2e2;
    color: #991b1b;
}

.auth-card .auth-security-note {
    margin: 16px 0 0;
    padding: 10px 12px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.45;
}

/* Contact page */
.contact-page {
    background: #f5f7fa;
}

.contact-main {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 150px 0 80px;
    flex: 1;
}

.contact-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 42px;
}

.contact-eyebrow,
.contact-profile-label {
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-intro h1 {
    margin: 10px 0 16px;
    color: #0f172a;
    font-family: 'Syne', sans-serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
}

.contact-intro > div > p {
    max-width: 720px;
    color: #475569;
    font-size: 19px;
}

.contact-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #0f172a;
    color: #fff;
    border-radius: 22px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .18);
}

.contact-profile-card img {
    width: 112px;
    height: 112px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.8);
    border-radius: 50%;
}

.contact-profile-card h2 {
    margin: 5px 0 8px;
}

.contact-profile-location {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-profile-card a {
    display: block;
    margin-top: 5px;
    color: #7dd3fc;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    gap: 26px;
    align-items: start;
}

.contact-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #dbe4ee;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.contact-card h2 {
    margin: 0 0 8px;
    color: #0f172a;
}

.contact-form-card > p {
    margin-bottom: 22px;
    color: #64748b;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 600;
}

.contact-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    color: #0f172a;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .14);
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.contact-privacy-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.contact-topics ul {
    display: grid;
    gap: 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.contact-topics li {
    display: grid;
    gap: 4px;
    padding-left: 15px;
    border-left: 3px solid #0ea5e9;
}

.contact-topics span {
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 820px) {
    .contact-main {
        width: min(100% - 32px, 680px);
        padding-top: 120px;
    }

    .contact-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        gap: 28px;
    }
}

@media (max-width: 540px) {
    .contact-main {
        width: min(100% - 24px, 680px);
    }

    .contact-profile-card,
    .contact-field-row {
        grid-template-columns: 1fr;
    }

    .contact-profile-card {
        display: grid;
        justify-items: start;
    }

    .contact-card {
        padding: 22px;
    }

    .contact-form-actions > * {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
    }
}

body.theme-dark.contact-page,
html.theme-dark body.contact-page {
    background: #08111f;
}

body.theme-dark .contact-intro h1,
body.theme-dark .contact-card h2,
html.theme-dark body .contact-intro h1,
html.theme-dark body .contact-card h2 {
    color: #f8fafc;
}

body.theme-dark .contact-intro > div > p,
body.theme-dark .contact-form-card > p,
body.theme-dark .contact-form label,
body.theme-dark .contact-topics span,
body.theme-dark .contact-privacy-note,
html.theme-dark body .contact-intro > div > p,
html.theme-dark body .contact-form-card > p,
html.theme-dark body .contact-form label,
html.theme-dark body .contact-topics span,
html.theme-dark body .contact-privacy-note {
    color: #cbd5e1;
}

body.theme-dark .contact-card,
html.theme-dark body .contact-card {
    background: #111c2e;
    border-color: #334155;
}

body.theme-dark .contact-form input,
body.theme-dark .contact-form textarea,
html.theme-dark body .contact-form input,
html.theme-dark body .contact-form textarea {
    color: #f8fafc;
    background: #0f172a;
    border-color: #475569;
}

.status-list {
    margin: 0;
    padding-left: 18px;
}

.req-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.req-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 14px;
}

.req-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
}

.req-list li[data-ok='1'] {
    color: #166534;
}

.req-list li[data-ok='0'] .req-icon {
    color: #b91c1c;
}

.req-list li[data-ok='1'] .req-icon {
    color: #16a34a;
}

.field-error {
    color: #b91c1c;
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 6px;
    display: none;
}

.account-wrapper {
    max-width: 1100px;
    margin: 120px auto 60px;
    padding: 0 24px;
}

.account-wrapper .container,
#accountLoggedIn {
    width: 100%;
    min-width: 0;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.account-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.danger-zone {
    border: 1px solid #e2e8f0;
    padding: 13px 18px;
    box-shadow: none;
}

.danger-zone[open] {
    border-color: #fecaca;
}

.remove-account-summary {
    color: #64748b;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.danger-zone[open] .remove-account-summary {
    color: #b91c1c;
}

.remove-account-details {
    padding-top: 8px;
}

.remove-account-form {
    display: grid;
    max-width: 520px;
    gap: 9px;
    margin-top: 18px;
}

.remove-account-form label {
    color: #334155;
    font-weight: 600;
}

.remove-account-form input {
    border: 1px solid #d8dee9;
    border-radius: 12px;
    padding: 11px 12px;
    margin-bottom: 5px;
}

.btn-danger {
    width: fit-content;
    border: 0;
    border-radius: 10px;
    padding: 11px 17px;
    background: #b91c1c;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger:hover:not(:disabled) {
    background: #991b1b;
}

.btn-danger:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#accountLoggedIn > .account-card + .account-card {
    margin-top: 24px;
}

.business-info-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.business-info-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #334155;
}

.business-info-form input {
    border: 1px solid #d8dee9;
    border-radius: 12px;
    padding: 11px 12px;
}

.business-info-form .form-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.plan-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 12px;
}

.current-plan-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(20, 184, 166, 0.22);
}

.docker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.docker-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.docker-key-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.docker-key-row > * {
    max-width: 100%;
}

.docker-key-row input,
.docker-key-row select {
    flex: 1;
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5f5;
    font-size: 14px;
}

.docker-key-row select {
    background: #ffffff;
    color: #0f172a;
}

body.theme-dark .docker-key-row select,
html.theme-dark body .docker-key-row select {
    background: #111419;
    color: #ece6dc;
    border-color: rgba(255, 255, 255, 0.16);
}

.docker-steps {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.notebook-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.notebook-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.notebook-tab {
    border: 1px solid transparent;
    background: transparent;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #334155;
    white-space: nowrap;
}

.notebook-tab.active {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    font-weight: 600;
}

.notebook-panels {
    margin-top: 10px;
}

.notebook-panel {
    display: none;
}

.notebook-panel.active {
    display: block;
}

.code-block {
    background: #0f172a;
    color: #e2e8f0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    overflow-x: auto;
}

.embed-snippet-list {
    display: grid;
    gap: 14px;
}

.embed-snippet-card {
    position: relative;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    background: #ffffff;
    min-width: 0;
}

.embed-snippet-card h3 {
    margin: 0 120px 8px 0;
    font-size: 16px;
}

.embed-snippet-meta {
    display: grid;
    gap: 6px;
    margin: 10px 0 12px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}

.embed-snippet-meta p {
    margin: 0;
}

.embed-snippet-meta strong {
    color: #0f172a;
}

.embed-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
}

.embed-mode-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 4px 0 10px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
}

.embed-mode-toggle button {
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: transparent;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
}

.embed-mode-toggle button.active {
    background: #ffffff;
    color: #16131d;
    border: 1px solid #cbd5e1;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.embed-mode-toggle button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.embed-snippet-text {
    width: 100%;
    min-height: 220px;
    resize: vertical;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    background: #0f172a;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.45;
}

.superadmin-chat-launch {
    margin-top: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 14px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.superadmin-chat-launch h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.superadmin-chat-shell {
    margin-top: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    overflow: visible;
    background-image: var(--bg-image, none),
        radial-gradient(circle at 20% 20%, var(--bg-grad-a, #fff9ee) 0%, transparent 55%),
        radial-gradient(circle at 80% 0%, var(--bg-grad-b, #f7e3cc) 0%, transparent 50%),
        linear-gradient(120deg, var(--bg-0, #f4efe6), var(--bg-1, #eadfcd));
    background-size: cover, auto, auto, auto;
    background-position: center center, 0 0, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    position: relative;
}

.superadmin-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.superadmin-chat-mount {
    min-height: 620px;
    height: min(72vh, 760px);
    padding: 12px;
    background-image: var(--bg-image, none),
        radial-gradient(circle at 20% 20%, var(--bg-grad-a, #fff9ee) 0%, transparent 55%),
        radial-gradient(circle at 80% 0%, var(--bg-grad-b, #f7e3cc) 0%, transparent 50%),
        linear-gradient(120deg, var(--bg-0, #f4efe6), var(--bg-1, #eadfcd));
    background-size: cover, auto, auto, auto;
    background-position: center center, 0 0, 0 0, 0 0;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    overflow: visible;
}

.superadmin-chat-shell #llm-chat-js-embed {
    height: 100% !important;
    min-height: 0 !important;
}

.superadmin-chat-shell.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    margin: 0;
    border-radius: 0;
    border: 0;
}

.superadmin-chat-shell.is-expanded .superadmin-chat-header {
    border-radius: 0;
}

.superadmin-chat-shell.is-expanded .superadmin-chat-mount {
    height: calc(100vh - 55px);
    min-height: 0;
    padding: 0;
}

/* GotChat brand refresh */
body {
    --brand-ink: #16131d;
    --brand-ink-soft: #2a2436;
    --brand-cream: #fffaf2;
    --brand-display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --site-link-light: #1f2937;
    --site-link-light-hover: #0f172a;
    --site-link-dark: #f8fafc;
    --site-link-dark-hover: #e2e8f0;
    --hero-ink: #fff5df;
    --hero-ink-soft: rgba(255, 248, 234, 0.92);
    --hero-accent: #ffd590;
    --hero-aqua: #a8f0f3;
    --hero-panel: rgba(255, 248, 236, 0.92);
    --hero-panel-strong: rgba(255, 252, 246, 0.96);
    --hero-panel-ink: #233640;
    --hero-panel-ink-soft: #49636d;
}

.logo-gotchat {
    gap: 14px;
}

.navbar .logo-gotchat,
.footer .logo-gotchat,
.auth-logo.logo-gotchat {
    font-family: var(--brand-display) !important;
    color: var(--brand-ink) !important;
}

.logo-gotchat .logo-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 36px;
    border-radius: 11px;
    background: var(--brand-ink);
    box-shadow: 0 10px 24px rgba(22, 19, 29, 0.16);
    flex: 0 0 auto;
}

.logo-gotchat .logo-mark::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: -10px;
    width: 16px;
    height: 16px;
    background: var(--brand-ink);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.logo-gotchat .logo-mark-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffffff;
    display: block;
}

.logo-gotchat .logo-wordmark {
    font-family: var(--brand-display);
    font-size: clamp(1.6rem, 1.15rem + 1vw, 2.3rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--brand-ink);
    text-shadow: 0 4px 10px rgba(22, 19, 29, 0.08);
    transform: translateY(2px);
}

.navbar .logo-gotchat .logo-mark,
.footer .logo-gotchat .logo-mark,
.auth-logo.logo-gotchat .logo-mark {
    width: 44px;
    height: 33px;
    border-radius: 10px;
}

.navbar .logo-gotchat .logo-mark::after,
.footer .logo-gotchat .logo-mark::after,
.auth-logo.logo-gotchat .logo-mark::after {
    left: 14px;
    bottom: -9px;
    width: 15px;
    height: 15px;
}

.hero-title,
.hero-title-line,
.section-header h2,
.product-card h3,
.case-study-card h3,
.faq-item h3,
.footer-section h4,
.auth-card h1,
#heroTitle,
#heroTitle .hero-title-line {
    font-family: var(--brand-display);
    color: var(--brand-ink);
    letter-spacing: 0.01em;
}

.hero-title,
#heroTitle {
    display: block;
    margin: 6px auto 34px;
    font-size: clamp(2.35rem, 4.7vw, 4.15rem);
    line-height: 1.52;
    text-wrap: balance;
    color: var(--hero-ink);
    text-shadow: 0 14px 28px rgba(9, 24, 31, 0.18);
}

.hero-title-line,
#heroTitle .hero-title-line {
    display: inline;
    padding: 0.03em 0.2em;
    border-radius: 0.28em;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(14, 39, 47, 0.08);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-title .gradient-text,
#heroTitle .gradient-text {
    background: linear-gradient(180deg, var(--hero-accent) 0%, var(--hero-aqua) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-badge {
    background: rgba(8, 48, 60, 0.42);
    border: 1px solid rgba(255, 247, 230, 0.18);
    color: var(--hero-ink);
    box-shadow: 0 10px 24px rgba(6, 28, 36, 0.16);
}

.badge-dot {
    background: var(--hero-accent);
}

.hero-subtitle,
.trusted-label,
.stat-label {
    color: var(--hero-panel-ink-soft);
}

.stat-number {
    background: linear-gradient(180deg, var(--hero-accent) 0%, var(--hero-aqua) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    max-width: 760px;
    padding: 16px 20px;
    border-radius: 20px;
    background: var(--hero-panel);
    color: var(--hero-panel-ink);
    box-shadow: 0 14px 34px rgba(14, 39, 47, 0.14);
    backdrop-filter: blur(3px);
}

.hero-cta {
    align-items: center;
}

.hero-cta .btn-primary,
.hero-cta .btn-ghost {
    box-shadow: 0 14px 28px rgba(12, 36, 44, 0.18);
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #ffbd72 0%, #f29e57 100%);
    color: #1f2428;
}

.hero-cta .btn-primary:hover {
    box-shadow: 0 18px 34px rgba(29, 41, 47, 0.22);
}

.hero-cta .btn-ghost {
    background: var(--hero-panel-strong);
    color: var(--hero-panel-ink);
    border: 1px solid rgba(35, 54, 64, 0.12);
}

.hero-cta .btn-ghost:hover {
    background: #ffffff;
    color: #182931;
}

.hero-stats {
    max-width: 760px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(16, 45, 56, 0.52);
    box-shadow: 0 18px 34px rgba(6, 24, 30, 0.18);
    backdrop-filter: blur(4px);
}

.stat-number {
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.stat-label {
    color: rgba(255, 246, 231, 0.92);
}

.trusted-by {
    max-width: 860px;
    margin: 28px auto 0;
    padding: 18px 20px;
    border-radius: 22px;
    background: var(--hero-panel);
    box-shadow: 0 16px 36px rgba(14, 39, 47, 0.14);
}

.trusted-label {
    color: var(--hero-panel-ink);
    font-weight: 700;
    margin-bottom: 14px;
}

.company-logo-item {
    background: rgba(255, 255, 255, 0.74);
    color: var(--hero-panel-ink);
    border: 1px solid rgba(35, 54, 64, 0.1);
    box-shadow: 0 10px 22px rgba(18, 46, 54, 0.08);
}

.auth-logo {
    justify-content: center;
    margin-bottom: 22px;
}

.auth-card h1 {
    font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
    margin-bottom: 8px;
}

.mono-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #16131d;
}

.mono-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.context-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(22, 19, 29, 0.08);
    box-shadow: 0 10px 22px rgba(22, 19, 29, 0.08);
}

.context-icon-lg {
    width: 60px;
    height: 60px;
    border-radius: 18px;
}

.context-icon-xl {
    width: 56px;
    height: 56px;
    border-radius: 17px;
}

.benefit-icon,
.showcase-icon,
.feature-icon,
.company-logo {
    color: #16131d !important;
}

.benefit-icon,
.showcase-icon,
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.showcase-icon,
.feature-icon {
    font-size: 0;
}

.check {
    width: 18px;
    height: 18px;
    color: #16131d;
    flex: 0 0 auto;
}

.product-features li.disabled .check {
    color: #6b7280;
}

.theme-toggle {
    display: none;
    border: 1px solid rgba(22, 19, 29, 0.14);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.88);
    color: #16131d;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(22, 19, 29, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(22, 19, 29, 0.12);
}

.theme-toggle.compact {
    padding: 8px 12px;
    font-size: 13px;
}

.auth-theme-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

body.theme-dark,
html.theme-dark body {
    background: #0f1114;
    color: #ece6dc;
}

body.theme-dark .navbar,
html.theme-dark body .navbar {
    background: rgba(15, 17, 20, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .nav-links a,
body.theme-dark .logo-gotchat .logo-wordmark,
html.theme-dark body .nav-links a,
html.theme-dark body .logo-gotchat .logo-wordmark {
    color: #f5eee1 !important;
}

body.theme-dark .logo-gotchat .logo-mark,
html.theme-dark body .logo-gotchat .logo-mark {
    background: #f5eee1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

body.theme-dark .logo-gotchat .logo-mark::after,
html.theme-dark body .logo-gotchat .logo-mark::after {
    background: #f5eee1;
}

body.theme-dark .logo-gotchat .logo-mark-dot,
html.theme-dark body .logo-gotchat .logo-mark-dot {
    background: #16131d;
}

body.theme-dark .theme-toggle,
html.theme-dark body .theme-toggle {
    background: rgba(29, 33, 39, 0.94);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f8f3ea;
}

body.theme-dark .mobile-menu-btn,
html.theme-dark body .mobile-menu-btn {
    background: rgba(29, 33, 39, 0.94);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8f3ea;
}

body.theme-dark .why-local,
body.theme-dark .case-studies,
body.theme-dark .features,
body.theme-dark .features-grid-section,
body.theme-dark .products,
body.theme-dark .comparison,
body.theme-dark .faq-section,
body.theme-dark .account-wrapper,
body.theme-dark .auth-page,
html.theme-dark body .why-local,
html.theme-dark body .case-studies,
html.theme-dark body .features,
html.theme-dark body .features-grid-section,
html.theme-dark body .products,
html.theme-dark body .comparison,
html.theme-dark body .faq-section,
html.theme-dark body .account-wrapper,
html.theme-dark body .auth-page {
    background: #0f1114;
}

body.theme-dark .section-header h2,
body.theme-dark .benefit-card h3,
body.theme-dark .case-study h3,
body.theme-dark .showcase-content h4,
body.theme-dark .feature h3,
body.theme-dark .product-card h3,
body.theme-dark .comparison h2,
body.theme-dark .faq-item h3,
body.theme-dark .account-card h2,
body.theme-dark .auth-card h1,
body.theme-dark .auth-card h2,
html.theme-dark body .section-header h2,
html.theme-dark body .benefit-card h3,
html.theme-dark body .case-study h3,
html.theme-dark body .showcase-content h4,
html.theme-dark body .feature h3,
html.theme-dark body .product-card h3,
html.theme-dark body .comparison h2,
html.theme-dark body .faq-item h3,
html.theme-dark body .account-card h2,
html.theme-dark body .auth-card h1,
html.theme-dark body .auth-card h2 {
    color: #f3ecdf;
}

body.theme-dark .section-header p,
body.theme-dark .benefit-card p,
body.theme-dark .benefit-list li,
body.theme-dark .case-study-excerpt,
body.theme-dark .showcase-content p,
body.theme-dark .feature p,
body.theme-dark .product-description,
body.theme-dark .product-optional,
body.theme-dark .metric-label,
body.theme-dark .faq-item p,
body.theme-dark .auth-card p,
body.theme-dark .business-info-form label,
html.theme-dark body .section-header p,
html.theme-dark body .benefit-card p,
html.theme-dark body .benefit-list li,
html.theme-dark body .case-study-excerpt,
html.theme-dark body .showcase-content p,
html.theme-dark body .feature p,
html.theme-dark body .product-description,
html.theme-dark body .product-optional,
html.theme-dark body .metric-label,
html.theme-dark body .faq-item p,
html.theme-dark body .auth-card p,
html.theme-dark body .business-info-form label {
    color: #b9b6b0;
}

body.theme-dark .benefit-card,
body.theme-dark .case-study,
body.theme-dark .showcase-feature,
body.theme-dark .feature,
body.theme-dark .product-card,
body.theme-dark .faq-item,
body.theme-dark .comparison-table,
body.theme-dark .auth-card,
body.theme-dark .account-card,
body.theme-dark .modal-card,
body.theme-dark .req-panel,
html.theme-dark body .benefit-card,
html.theme-dark body .case-study,
html.theme-dark body .showcase-feature,
html.theme-dark body .feature,
html.theme-dark body .product-card,
html.theme-dark body .faq-item,
html.theme-dark body .comparison-table,
html.theme-dark body .auth-card,
html.theme-dark body .account-card,
html.theme-dark body .modal-card,
html.theme-dark body .req-panel {
    background: #171a1f;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

body.theme-dark .industry,
body.theme-dark .company-logo-item,
body.theme-dark .product-badge,
body.theme-dark .hero-cta .btn-ghost,
html.theme-dark body .industry,
html.theme-dark body .company-logo-item,
html.theme-dark body .product-badge,
html.theme-dark body .hero-cta .btn-ghost {
    background: #20242b;
    color: #efe6d8;
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .comparison-table thead,
html.theme-dark body .comparison-table thead {
    background: #111419;
}

body.theme-dark .comparison-table th,
body.theme-dark .comparison-table td,
html.theme-dark body .comparison-table th,
html.theme-dark body .comparison-table td {
    color: #ece6dc;
    border-color: rgba(255, 255, 255, 0.08);
}

body.theme-dark .comparison-table tr:hover,
html.theme-dark body .comparison-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .auth-form input,
body.theme-dark .legal-text,
body.theme-dark .status-message,
html.theme-dark body .auth-form input,
html.theme-dark body .legal-text,
html.theme-dark body .status-message {
    background: #111419;
    color: #ece6dc;
    border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .status-message.error,
html.theme-dark body .status-message.error {
    background: rgba(127, 29, 29, 0.22);
    color: #fecaca;
}

body.theme-dark .footer,
html.theme-dark body .footer {
    background: #0a0c0f;
}

body.theme-dark .account-card,
body.theme-dark .account-card p,
body.theme-dark .account-card span,
body.theme-dark .account-card strong,
body.theme-dark .business-info-form label,
body.theme-dark .docker-box,
body.theme-dark .docker-box p,
body.theme-dark .docker-steps,
body.theme-dark .docker-steps p,
body.theme-dark .notebook-panel,
body.theme-dark .superadmin-chat-launch,
body.theme-dark .superadmin-chat-launch p,
body.theme-dark .superadmin-chat-launch h3,
html.theme-dark body .account-card,
html.theme-dark body .account-card p,
html.theme-dark body .account-card span,
html.theme-dark body .account-card strong,
html.theme-dark body .business-info-form label,
html.theme-dark body .docker-box,
html.theme-dark body .docker-box p,
html.theme-dark body .docker-steps,
html.theme-dark body .docker-steps p,
html.theme-dark body .notebook-panel,
html.theme-dark body .superadmin-chat-launch,
html.theme-dark body .superadmin-chat-launch p,
html.theme-dark body .superadmin-chat-launch h3 {
    color: #ffffff;
}

body.theme-dark .account-wrapper .btn-primary,
body.theme-dark .account-wrapper .btn-secondary,
body.theme-dark .account-wrapper .btn-outline,
body.theme-dark .account-wrapper button.btn-primary,
body.theme-dark .account-wrapper button.btn-secondary,
body.theme-dark .account-wrapper button.btn-outline,
html.theme-dark body .account-wrapper .btn-primary,
html.theme-dark body .account-wrapper .btn-secondary,
html.theme-dark body .account-wrapper .btn-outline,
html.theme-dark body .account-wrapper button.btn-primary,
html.theme-dark body .account-wrapper button.btn-secondary,
html.theme-dark body .account-wrapper button.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-decoration: none;
}

body.theme-dark .account-wrapper .btn-primary,
body.theme-dark .account-wrapper button.btn-primary,
html.theme-dark body .account-wrapper .btn-primary,
html.theme-dark body .account-wrapper button.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e7ecf2 100%);
    color: #16131d;
    border: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

body.theme-dark .account-wrapper .btn-primary:hover,
body.theme-dark .account-wrapper button.btn-primary:hover,
html.theme-dark body .account-wrapper .btn-primary:hover,
html.theme-dark body .account-wrapper button.btn-primary:hover {
    background: #ffffff;
    color: #16131d;
}

body.theme-dark .account-wrapper .btn-secondary,
body.theme-dark .account-wrapper .btn-outline,
body.theme-dark .account-wrapper button.btn-secondary,
body.theme-dark .account-wrapper button.btn-outline,
html.theme-dark body .account-wrapper .btn-secondary,
html.theme-dark body .account-wrapper .btn-outline,
html.theme-dark body .account-wrapper button.btn-secondary,
html.theme-dark body .account-wrapper button.btn-outline {
    background: #20242b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

body.theme-dark .account-wrapper .btn-secondary:hover,
body.theme-dark .account-wrapper .btn-outline:hover,
body.theme-dark .account-wrapper button.btn-secondary:hover,
body.theme-dark .account-wrapper button.btn-outline:hover,
html.theme-dark body .account-wrapper .btn-secondary:hover,
html.theme-dark body .account-wrapper .btn-outline:hover,
html.theme-dark body .account-wrapper button.btn-secondary:hover,
html.theme-dark body .account-wrapper button.btn-outline:hover {
    background: #2a2f37;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .nav-cta .btn-secondary,
body.theme-dark .nav-cta button.btn-secondary,
html.theme-dark body .nav-cta .btn-secondary,
html.theme-dark body .nav-cta button.btn-secondary {
    background: #20242b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

body.theme-dark .nav-cta .btn-secondary:hover,
body.theme-dark .nav-cta button.btn-secondary:hover,
html.theme-dark body .nav-cta .btn-secondary:hover,
html.theme-dark body .nav-cta button.btn-secondary:hover {
    background: #2a2f37;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
}

body.theme-dark .footer-section a,
body.theme-dark .footer-links a,
body.theme-dark .footer-links a:visited,
body.theme-dark .footer-section p,
body.theme-dark .footer-content > div > p,
body.theme-dark .footer-bottom,
body.theme-dark .footer-bottom p,
html.theme-dark body .footer-section a,
html.theme-dark body .footer-links a,
html.theme-dark body .footer-links a:visited,
html.theme-dark body .footer-section p,
html.theme-dark body .footer-content > div > p,
html.theme-dark body .footer-bottom,
html.theme-dark body .footer-bottom p {
    color: #ffffff;
}

body.theme-dark .footer-section a:hover,
body.theme-dark .footer-links a:hover,
body.theme-dark .footer-links a:focus-visible,
html.theme-dark body .footer-section a:hover,
html.theme-dark body .footer-links a:hover,
html.theme-dark body .footer-links a:focus-visible {
    color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .footer-links a,
body.theme-dark .footer-links a:visited,
html.theme-dark body .footer-links a,
html.theme-dark body .footer-links a:visited {
    text-decoration: none;
}

body.theme-dark .footer .logo-gotchat + p,
html.theme-dark body .footer .logo-gotchat + p {
    color: #ffffff;
}

body.theme-dark .hero-subtitle,
body.theme-dark .trusted-by,
html.theme-dark body .hero-subtitle,
html.theme-dark body .trusted-by {
    background: rgba(28, 24, 21, 0.74);
    color: #efe4d2;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
}

body.theme-dark .trusted-label,
body.theme-dark .stat-label,
html.theme-dark body .trusted-label,
html.theme-dark body .stat-label {
    color: #d5c5ae;
}

body.theme-dark .hero-title,
body.theme-dark #heroTitle,
html.theme-dark body .hero-title,
html.theme-dark body #heroTitle {
    color: #171c20;
    text-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

body.theme-dark .hero-title-line,
body.theme-dark #heroTitle .hero-title-line,
html.theme-dark body .hero-title-line,
html.theme-dark body #heroTitle .hero-title-line {
    background: rgba(255, 255, 255, 0.94);
}

body.theme-dark .hero-title .gradient-text,
body.theme-dark #heroTitle .gradient-text,
html.theme-dark body .hero-title .gradient-text,
html.theme-dark body #heroTitle .gradient-text {
    background: linear-gradient(180deg, #f0c98a 0%, #dca768 45%, #d9e5d5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.theme-dark .docker-box,
body.theme-dark .embed-snippet-card,
body.theme-dark .superadmin-chat-launch,
html.theme-dark body .docker-box,
html.theme-dark body .embed-snippet-card,
html.theme-dark body .superadmin-chat-launch {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

body.theme-dark .embed-snippet-meta,
html.theme-dark body .embed-snippet-meta {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
}

body.theme-dark .embed-snippet-meta,
body.theme-dark .embed-snippet-meta p,
body.theme-dark .embed-snippet-meta strong,
html.theme-dark body .embed-snippet-meta,
html.theme-dark body .embed-snippet-meta p,
html.theme-dark body .embed-snippet-meta strong {
    color: #0f172a;
}

body.theme-dark .embed-mode-toggle,
html.theme-dark body .embed-mode-toggle {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .embed-mode-toggle button,
html.theme-dark body .embed-mode-toggle button {
    color: #ffffff;
}

body.theme-dark .embed-mode-toggle button.active,
html.theme-dark body .embed-mode-toggle button.active {
    background: #ffffff;
    color: #16131d;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
}

@media (max-width: 640px) {
.hero-title {
font-size: 36px;
}

.hero-stats {
    grid-template-columns: 1fr;
    gap: 32px;
}

.section-header h2 {
    font-size: 32px;
}

.footer-content {
    grid-template-columns: 1fr;
}

}

.comparison-table.comparison-table-single-plan th:nth-child(3),
.comparison-table.comparison-table-single-plan th:nth-child(4),
.comparison-table.comparison-table-single-plan td:nth-child(3),
.comparison-table.comparison-table-single-plan td:nth-child(4) {
display: none;
}




.releases-section {
    padding: 96px 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.releases-version-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 28px;
}

.releases-search {
    margin: 0 0 22px;
}

.releases-search-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.releases-search-shell {
    position: relative;
}

.releases-search-input {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-size: 15px;
    outline: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.releases-search-input:focus {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.12);
}

.releases-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 45;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.releases-search-result {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #0f172a;
}

.releases-search-result:hover,
.releases-search-result:focus-visible {
    background: rgba(14, 165, 233, 0.12);
    outline: none;
}

.releases-search-result-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.releases-search-result-meta {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #475569;
}


.release-version-pill {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: var(--dark);
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.release-version-pill.active,
.release-version-pill:hover {
    border-color: var(--primary);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.release-entry-hero {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.release-entry-hero h3 {
    margin: 0 0 8px;
    font-size: 32px;
}

.release-entry-meta {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.release-entry-summary {
    margin: 0;
    color: var(--gray-dark, #334155);
    line-height: 1.7;
}

.release-doc-group {
    margin-top: 28px;
}

.release-doc-group h4 {
    margin: 0 0 14px;
    font-size: 22px;
}

.release-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.release-doc-card {
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.release-doc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: #0369A1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release-doc-card h5 {
    margin: 0 0 10px;
    font-size: 18px;
}

.release-doc-body {
    margin: 0 0 12px;
    color: var(--gray-dark, #334155);
    line-height: 1.7;
}

.release-doc-body p {
    margin: 0 0 12px;
}

.release-doc-body p:last-child {
    margin-bottom: 0;
}

.release-doc-list {
    margin: 0;
    padding-left: 18px;
    color: var(--gray-dark, #334155);
    line-height: 1.7;
}

.release-doc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.release-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--site-link-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.release-doc-link:hover {
    color: var(--site-link-light-hover);
    opacity: 0.82;
}

.release-doc-reference {
    display: grid;
    gap: 10px;
}

.release-doc-shortcuts {
    display: block;
}

.release-doc-shortcuts-dropdown {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.release-doc-shortcuts-summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(248, 250, 252, 0.96);
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.release-doc-shortcuts-summary::-webkit-details-marker {
    display: none;
}

.release-doc-shortcuts-summary::after {
    content: '+';
    float: right;
    color: #0f172a;
}

.release-doc-shortcuts-dropdown[open] .release-doc-shortcuts-summary::after {
    content: '-';
}

.release-doc-shortcuts-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    min-width: 280px;
    max-width: min(360px, 80vw);
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.release-doc-shortcut-group {
    padding: 0;
}

.release-doc-shortcut-group + .release-doc-shortcut-group {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    margin-top: 12px;
    padding-top: 12px;
}

.release-doc-shortcut-group-title {
    margin-bottom: 8px;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.release-doc-shortcut-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.release-doc-shortcut {
    display: block;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.12);
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.release-doc-shortcut:hover {
    color: #0369A1;
    background: rgba(14, 165, 233, 0.12);
}
.release-code-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.release-code-example {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #0f172a;
}

.release-code-label {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
}

.release-code-example pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    color: #f8fafc;
    font-size: 13px;
    line-height: 1.6;
}

.release-empty {
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray);
}

body.theme-dark .releases-section,
html.theme-dark body .releases-section {
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%);
}

body.theme-dark .release-version-pill,
html.theme-dark body .release-version-pill,
body.theme-dark .release-entry-hero,
html.theme-dark body .release-entry-hero,
body.theme-dark .release-doc-card,
html.theme-dark body .release-doc-card,
body.theme-dark .release-empty,
html.theme-dark body .release-empty {
    background: rgba(15, 23, 42, 0.88);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.24);
}

body.theme-dark .release-entry-meta,
html.theme-dark body .release-entry-meta,
body.theme-dark .release-entry-summary,
html.theme-dark body .release-entry-summary,
body.theme-dark .release-doc-body,
html.theme-dark body .release-doc-body,
body.theme-dark .release-doc-list,
html.theme-dark body .release-doc-list,
body.theme-dark .release-empty,
html.theme-dark body .release-empty {
    color: #cbd5e1;
}

body.theme-dark .release-doc-kicker,
html.theme-dark body .release-doc-kicker {
    background: rgba(125, 211, 252, 0.18);
    color: #BAE6FD;
}

body.theme-dark .release-doc-link,
html.theme-dark body .release-doc-link {
    color: var(--site-link-dark);
}

body.theme-dark .release-doc-link:hover,
html.theme-dark body .release-doc-link:hover {
    color: var(--site-link-dark-hover);
    opacity: 0.82;
}

body.theme-dark .release-doc-shortcut,
html.theme-dark body .release-doc-shortcut {
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
}

.license-page {
    padding: 72px 0 96px;
    background: #f8fafc;
}

.license-shell {
    max-width: 980px;
    margin: 0 auto;
}

.license-notice {
    margin-bottom: 24px;
    padding: 22px 24px;
    border: 1px solid #bae6fd;
    border-radius: 16px;
    background: #f0f9ff;
    color: #0c4a6e;
    font-size: 17px;
    line-height: 1.6;
}

.license-document {
    margin: 0;
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    font-family: "IBM Plex Mono", Consolas, monospace;
    font-size: 13px;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

body.theme-dark .license-page,
html.theme-dark body .license-page {
    background: #0f1114;
}

body.theme-dark .license-notice,
html.theme-dark body .license-notice {
    border-color: rgba(56, 189, 248, 0.34);
    background: rgba(14, 116, 144, 0.18);
    color: #bae6fd;
}

body.theme-dark .license-document,
html.theme-dark body .license-document {
    border-color: rgba(255, 255, 255, 0.1);
    background: #171a1f;
    color: #e2e8f0;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

@media (max-width: 640px) {
    .license-page {
        padding: 52px 0 72px;
    }

    .license-document {
        padding: 20px 16px;
        font-size: 12px;
    }
}

body.theme-dark .release-doc-shortcut:hover,
html.theme-dark body .release-doc-shortcut:hover {
    background: #E0F2FE;
    color: #075985;
}

body.theme-dark .releases-search-label,
body.theme-dark .release-doc-shortcuts-panel,
body.theme-dark .release-doc-shortcut-group-title,
body.theme-dark .release-doc-shortcuts-summary,
body.theme-dark .release-doc-shortcuts-summary::after,
body.theme-dark .releases-search-result,
body.theme-dark .releases-search-result-title,
body.theme-dark .releases-search-result-meta,
html.theme-dark body .releases-search-label,
html.theme-dark body .release-doc-shortcuts-panel,
html.theme-dark body .release-doc-shortcut-group-title,
html.theme-dark body .release-doc-shortcuts-summary,
html.theme-dark body .release-doc-shortcuts-summary::after,
html.theme-dark body .releases-search-result,
html.theme-dark body .releases-search-result-title,
html.theme-dark body .releases-search-result-meta {
    color: #0f172a;
}

body.theme-dark .release-doc-shortcuts-summary,
body.theme-dark .release-doc-shortcuts-panel,
body.theme-dark .releases-search-input,
body.theme-dark .releases-search-results,
html.theme-dark body .release-doc-shortcuts-summary,
html.theme-dark body .release-doc-shortcuts-panel,
html.theme-dark body .releases-search-input,
html.theme-dark body .releases-search-results {
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
    .releases-section {
        padding: 72px 0;
    }

    .release-entry-hero {
        padding: 22px;
    }

    .release-entry-hero h3 {
        font-size: 26px;
    }
}


.donations-section {
    padding: 88px 0;
    background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.donations-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 244, 224, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.16);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.donations-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.donations-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 42px);
}

.donations-copy p {
    margin: 0;
    max-width: 720px;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.donations-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.donation-page {
    min-height: 100vh;
    padding: 140px 0 88px;
    background:
        radial-gradient(circle at top, rgba(245, 158, 11, 0.12), transparent 34%),
        linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.donation-shell {
    display: grid;
    gap: 28px;
}

.donation-hero,
.donation-card,
.donation-note {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.donation-hero {
    padding: 34px;
}

.donation-hero h1 {
    margin: 14px 0 12px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.04;
}

.donation-hero p {
    margin: 0;
    max-width: 760px;
    color: #475569;
    font-size: 19px;
    line-height: 1.8;
}

.donation-card {
    padding: 30px;
}

.donation-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.donation-card p,
.donation-note p,
.donation-note li {
    color: #475569;
    line-height: 1.75;
}

.donation-amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.donation-amount-btn {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(14, 165, 233, 0.16);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
    color: #0f172a;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.donation-amount-btn:hover,
.donation-amount-btn.is-active {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.34);
    box-shadow: 0 14px 30px rgba(14, 165, 233, 0.14);
}

.donation-custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: 20px;
}

.donation-input-wrap label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.donation-input-wrap input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.36);
    background: #ffffff;
    font: inherit;
    font-size: 17px;
}

.donation-input-wrap input:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.48);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.donation-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.donation-status {
    min-height: 24px;
    margin-top: 14px;
    color: #475569;
    font-size: 14px;
}

.donation-status.is-error {
    color: #b91c1c;
}

.donation-status.is-success {
    color: #0369a1;
}

.donation-note {
    padding: 26px 30px;
}

.donation-note ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

body.theme-dark .donations-section,
html.theme-dark body .donations-section,
body.theme-dark .donation-page,
html.theme-dark body .donation-page {
    background:
        radial-gradient(circle at top, rgba(245, 158, 11, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(2, 6, 23, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

body.theme-dark .donations-panel,
html.theme-dark body .donations-panel,
body.theme-dark .donation-hero,
html.theme-dark body .donation-hero,
body.theme-dark .donation-card,
html.theme-dark body .donation-card,
body.theme-dark .donation-note,
html.theme-dark body .donation-note,
body.theme-dark .donation-amount-btn,
html.theme-dark body .donation-amount-btn,
body.theme-dark .donation-input-wrap input,
html.theme-dark body .donation-input-wrap input {
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-dark .donations-copy p,
html.theme-dark body .donations-copy p,
body.theme-dark .donation-hero p,
html.theme-dark body .donation-hero p,
body.theme-dark .donation-card p,
html.theme-dark body .donation-card p,
body.theme-dark .donation-note p,
html.theme-dark body .donation-note p,
body.theme-dark .donation-note li,
html.theme-dark body .donation-note li,
body.theme-dark .donation-status,
html.theme-dark body .donation-status,
body.theme-dark .donation-input-wrap label,
html.theme-dark body .donation-input-wrap label {
    color: #cbd5e1;
}

body.theme-dark .donations-kicker,
html.theme-dark body .donations-kicker {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

@media (max-width: 880px) {
    .donations-panel,
    .donation-custom-row {
        grid-template-columns: 1fr;
    }

    .donations-actions {
        justify-content: flex-start;
    }
}



#heroSubtitle {
    display: inline-block;
    max-width: 760px;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.release-home-link-section {
    padding: 72px 0 24px;
}

.release-home-link-card {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) auto;
    gap: 28px;
    align-items: center;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(14, 165, 233, 0.16);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.release-home-link-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: #0369A1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.release-home-link-card h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.8vw, 40px);
}

.release-home-link-card p {
    margin: 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.75;
}


.release-home-link-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 26px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.release-home-link-actions a:hover,
.release-home-link-actions a:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.56);
    border-color: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.18);
}

.release-home-link-actions .btn-primary,
.release-home-link-actions .btn-outline {
    background: rgba(255, 255, 255, 0.38);
    color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.release-home-link-actions .btn-primary:hover,
.release-home-link-actions .btn-outline:hover,
.release-home-link-actions .btn-primary:focus-visible,
.release-home-link-actions .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.56);
    color: #0f172a;
    border-color: rgba(255, 255, 255, 0.8);
}
.release-home-link-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.releases-page-shell {
    padding-top: 40px;
}


body.theme-dark #heroSubtitle,
html.theme-dark body #heroSubtitle {
    background: rgba(255, 255, 255, 0.94);
    color: #020617;
}
body.theme-dark .release-home-link-card,
html.theme-dark body .release-home-link-card {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(125, 211, 252, 0.18);
}

body.theme-dark .release-home-link-kicker,
html.theme-dark body .release-home-link-kicker {
    background: rgba(14, 165, 233, 0.18);
    color: #BAE6FD;
}

body.theme-dark .release-home-link-card p,
html.theme-dark body .release-home-link-card p {
    color: #CBD5E1;
}

body.theme-dark .release-home-link-actions a,
html.theme-dark body .release-home-link-actions a,
body.theme-dark .release-home-link-actions .btn-primary,
body.theme-dark .release-home-link-actions .btn-outline,
html.theme-dark body .release-home-link-actions .btn-primary,
html.theme-dark body .release-home-link-actions .btn-outline {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
    color: #f8fafc;
}

body.theme-dark .release-home-link-actions a:hover,
body.theme-dark .release-home-link-actions a:focus-visible,
html.theme-dark body .release-home-link-actions a:hover,
html.theme-dark body .release-home-link-actions a:focus-visible,
body.theme-dark .release-home-link-actions .btn-primary:hover,
body.theme-dark .release-home-link-actions .btn-outline:hover,
html.theme-dark body .release-home-link-actions .btn-primary:hover,
html.theme-dark body .release-home-link-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.52);
    color: #ffffff;
}

@media (max-width: 768px) {
    .release-home-link-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    
.release-home-link-actions {
        justify-content: flex-start;
    }
}






.release-page-hero {
    --hero-photo: none;
    isolation: isolate;
    background-image:
        linear-gradient(180deg, rgba(8, 39, 52, 0.58) 0%, rgba(10, 61, 79, 0.28) 36%, rgba(255, 244, 224, 0.12) 100%),
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(168, 240, 243, 0.24), transparent 24%),
        var(--hero-photo),
        linear-gradient(135deg, #123647 0%, #225972 42%, #f6efe1 100%);
    background-size: cover, auto, auto, cover, cover;
    background-position: center center, left top, right top, center center, center center;
}

.release-page-hero .hero-copy {
    max-width: 820px;
    margin: 0 auto;
}

.documents-hero-blocks {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.documents-hero-blocks svg {
    position: absolute;
    width: min(52vw, 760px);
    height: auto;
}

.documents-hero-blocks-top {
    opacity: 0.34;
}

.documents-hero-blocks-top svg {
    top: 5%;
    right: -4%;
    transform: rotate(-6deg);
}

.documents-hero-blocks-bottom {
    opacity: 0.22;
}

.documents-hero-blocks-bottom svg {
    left: -8%;
    bottom: -4%;
    transform: rotate(9deg);
}

.homepage-hero-blocks {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.homepage-hero-blocks svg {
    position: absolute;
    width: min(56vw, 760px);
    height: auto;
}

.homepage-hero-blocks-top {
    opacity: 0.22;
}

.homepage-hero-blocks-top svg {
    top: 4%;
    left: -4%;
    transform: rotate(7deg);
}

.homepage-hero-blocks-bottom {
    opacity: 0.18;
}

.homepage-hero-blocks-bottom svg {
    right: -4%;
    bottom: -2%;
    transform: rotate(-6deg);
}

.release-page-hero .hero-content,
.release-page-hero .hero-copy {
    position: relative;
    z-index: 2;
}


.donation-custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 28px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.donation-custom-button:hover,
.donation-custom-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(255, 255, 255, 0.96);
    color: #0369a1;
    box-shadow: 0 22px 42px rgba(14, 165, 233, 0.14);
    outline: none;
}

body.theme-dark .donation-custom-button,
html.theme-dark body .donation-custom-button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.34);
}

body.theme-dark .donation-custom-button:hover,
body.theme-dark .donation-custom-button:focus-visible,
html.theme-dark body .donation-custom-button:hover,
html.theme-dark body .donation-custom-button:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(191, 219, 254, 0.42);
    color: #ffffff;
    box-shadow: 0 24px 46px rgba(14, 165, 233, 0.16);
}


/* 2026-07-07 homepage carousel + downloads split */
.hero {
    min-height: 860px;
    padding: 160px 0 132px;
}

.hero-content {
    position: relative;
    max-width: 1220px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-copy {
    pointer-events: none;
    position: relative;
    z-index: 4;
    max-width: 980px;
}

.hero-copy .hero-actions,
.hero-copy .hero-actions *,
.hero-copy a,
.hero-copy button {
    pointer-events: auto;
}

.hero-copy-animate {
    animation: heroCopyFadeIn 0.7s ease both;
}

.hero-visual-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: auto;
}

.hero-overlay-item {
    pointer-events: auto;
    position: absolute;
    width: min(32vw, 360px);
    max-width: 42%;
    opacity: 0;
    overflow: hidden;
    border-radius: clamp(16px, 2vw, 24px);
    transform: translate3d(var(--hero-overlay-translate-x, 0px), var(--hero-overlay-translate-y, 0px), 0) scale(0.96);
    animation: heroOverlaySlideIn 0.85s cubic-bezier(.2,.82,.2,1) forwards, heroOverlayBob 5.8s ease-in-out infinite;
    animation-delay: var(--hero-overlay-delay, 0ms), calc(var(--hero-overlay-delay, 0ms) + 900ms);
    z-index: 2;
    filter: drop-shadow(0 28px 60px rgba(15, 23, 42, 0.28));
    transition: filter 260ms cubic-bezier(.2,.82,.2,1), box-shadow 260ms cubic-bezier(.2,.82,.2,1);
    will-change: transform, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.hero-overlay-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0) scale(1);
    transform-origin: center center;
    transition: transform 280ms cubic-bezier(.2,.82,.2,1), filter 280ms cubic-bezier(.2,.82,.2,1);
    will-change: transform, filter;
}

.hero-overlay-caption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #111827;
    font-size: 0.92rem;
    line-height: 1.35;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 220ms ease, transform 220ms ease;
    pointer-events: none;
}

.hero-overlay-item:hover {
    z-index: 8;
    filter: drop-shadow(0 30px 72px rgba(15, 23, 42, 0.34));
}

.hero-overlay-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.06) brightness(1.05);
}

.hero-overlay-item:hover .hero-overlay-caption {
    opacity: 1;
    transform: translateY(0);
}

@keyframes heroOverlayBob {
    0%, 100% { transform: translate3d(var(--hero-overlay-translate-x, 0px), calc(var(--hero-overlay-translate-y, 0px) - 5px), 0) scale(1); }
    50% { transform: translate3d(var(--hero-overlay-translate-x, 0px), calc(var(--hero-overlay-translate-y, 0px) + 5px), 0) scale(1); }
}

@keyframes heroCopyFadeIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroOverlaySlideIn {
    from { opacity: 0; transform: translate3d(calc(var(--hero-overlay-translate-x, 0px) + 20px), calc(var(--hero-overlay-translate-y, 0px) * 0.4), 0) scale(0.94); }
    to { opacity: 1; transform: translate3d(var(--hero-overlay-translate-x, 0px), var(--hero-overlay-translate-y, 0px), 0) scale(1); }
}

#heroTitle {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.64;
    margin: 10px auto 30px;
    max-width: 15ch;
}

.hero-title-line,
#heroTitle .hero-title-line {
    padding: 0.02em 0.16em;
}

#heroSubtitle {
    display: inline-block;
    margin-top: 18px;
}

.downloads-page-hero {
    min-height: 520px;
}

.downloads-page-hero {
    isolation: isolate;
}

.downloads-hero-blocks {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.38;
    overflow: hidden;
}

.downloads-hero-blocks svg {
    position: absolute;
    right: -5%;
    top: 4%;
    width: min(70vw, 980px);
    height: auto;
    transform: rotate(-7deg);
}

.downloads-page-hero .hero-content,
.downloads-page-hero .hero-copy {
    position: relative;
    z-index: 2;
}

.downloads-shell {
    padding-top: 88px;
}

.app-release-mount {
    margin-top: 18px;
}

.app-release-shell {
    display: grid;
    gap: 22px;
}

.app-release-browser {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.app-release-sidebar {
    position: sticky;
    top: 96px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    padding: 22px 18px;
}

.app-release-sidebar h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.app-release-version-list {
    display: grid;
    gap: 10px;
}

/* Playground platform page */
.playground-page {
    background: #f7f5f0;
}

.playground-hero h1 {
    max-width: 1050px;
}

.playground-hero p {
    max-width: 820px;
}

.playground-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: clamp(34px, 7vw, 92px);
}

.playground-intro-grid .framework-section-heading {
    margin-bottom: 0;
}

.playground-definition {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(77, 38, 111, 0.16);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(42, 23, 64, 0.11);
}

.playground-definition::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    top: -62px;
    right: -50px;
    border-radius: 50%;
    background: rgba(109, 40, 217, 0.12);
}

.playground-definition-label {
    color: #6d28d9;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.playground-definition p {
    position: relative;
    margin: 16px 0 0;
    color: #4e4655;
    font-size: 1.18rem;
    line-height: 1.6;
}

.playground-definition strong {
    color: #22172e;
}

.playground-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 54px;
}

.playground-capability-grid article {
    min-height: 250px;
    padding: 28px 24px;
    border: 1px solid rgba(28, 20, 37, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
}

.playground-capability-grid article > span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: #eee7f8;
    color: #6d28d9;
    font-size: 0.75rem;
    font-weight: 700;
}

.playground-capability-grid h3,
.playground-flow h3,
.playground-ideas h3 {
    margin: 22px 0 10px;
    font-family: 'Syne', sans-serif;
    font-size: 1.22rem;
    letter-spacing: -0.025em;
}

.playground-capability-grid p,
.playground-flow p,
.playground-ideas p {
    margin: 0;
    color: #655d6b;
    line-height: 1.65;
}

.playground-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.playground-flow li {
    position: relative;
    padding: 0 28px 0 0;
}

.playground-flow li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 12px;
    left: 54px;
    height: 1px;
    background: rgba(109, 40, 217, 0.28);
}

.playground-flow li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #6d28d9;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.25);
}

.playground-hook-table code {
    color: #5b21b6;
    font-size: 0.94em;
    font-weight: 700;
}

.playground-sample-section {
    overflow: hidden;
    color: #f5f1f8;
    background:
        radial-gradient(circle at 82% 26%, rgba(168, 85, 247, 0.28), transparent 33%),
        #15111d;
}

.playground-sample-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
    align-items: center;
    gap: clamp(44px, 8vw, 100px);
}

.playground-sample-grid h2 {
    margin: 8px 0 18px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.2rem, 4.8vw, 4.3rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.playground-sample-grid > div > p:not(.tutorial-eyebrow) {
    color: #cfc5d5;
    font-size: 1.05rem;
    line-height: 1.7;
}

.playground-check-list {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.playground-check-list li {
    position: relative;
    padding-left: 28px;
    color: #e4dce8;
}

.playground-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c4a5ff;
    font-weight: 700;
}

.playground-sample-section .framework-actions {
    justify-content: flex-start;
    margin-top: 34px;
}

.playground-sample-section .btn-primary {
    background: #ffffff;
    color: #42148a;
}

.playground-sample-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #ffffff;
}

.playground-code-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    background: #0d0b11;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
    transform: rotate(1deg);
}

.playground-code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: #1c1722;
}

.playground-code-header span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7b6d84;
}

.playground-code-header span:first-child {
    background: #ff7b72;
}

.playground-code-header span:nth-child(2) {
    background: #f6c453;
}

.playground-code-header span:nth-child(3) {
    background: #54c982;
}

.playground-code-header strong {
    margin-left: auto;
    color: #a99cae;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.playground-code-card pre {
    overflow-x: auto;
    margin: 0;
    padding: clamp(24px, 4vw, 42px);
}

.playground-code-card code {
    color: #e8def0;
    font: 500 clamp(0.76rem, 1.3vw, 0.94rem)/1.78 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.playground-ideas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.playground-ideas article {
    min-height: 210px;
    padding: 32px;
    border: 1px solid rgba(28, 20, 37, 0.11);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
}

.playground-ideas h3 {
    margin-top: 0;
    font-size: 1.42rem;
}

.playground-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 54px;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 28px;
    background: #2c1748;
    color: #ffffff;
}

.playground-next span {
    color: #cbb4ed;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.playground-next h2 {
    max-width: 700px;
    margin: 10px 0 0;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.7rem, 3.6vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.playground-next .btn-primary {
    flex: 0 0 auto;
    background: #ffffff;
    color: #42148a;
}

body.theme-dark.playground-page,
html.theme-dark body.playground-page {
    background: #101116;
}

body.theme-dark .playground-definition,
html.theme-dark body .playground-definition,
body.theme-dark .playground-capability-grid article,
html.theme-dark body .playground-capability-grid article,
body.theme-dark .playground-ideas article,
html.theme-dark body .playground-ideas article {
    border-color: rgba(255, 255, 255, 0.11);
    background: #19171e;
    box-shadow: none;
}

body.theme-dark .playground-definition p,
html.theme-dark body .playground-definition p,
body.theme-dark .playground-capability-grid p,
html.theme-dark body .playground-capability-grid p,
body.theme-dark .playground-flow p,
html.theme-dark body .playground-flow p,
body.theme-dark .playground-ideas p,
html.theme-dark body .playground-ideas p {
    color: #c7bfcc;
}

body.theme-dark .playground-definition strong,
html.theme-dark body .playground-definition strong {
    color: #f4f0f8;
}

body.theme-dark .playground-hook-table code,
html.theme-dark body .playground-hook-table code {
    color: #c4b5fd;
}

@media (max-width: 900px) {
    .playground-intro-grid,
    .playground-sample-grid {
        grid-template-columns: 1fr;
    }

    .playground-capability-grid,
    .playground-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .playground-flow {
        gap: 30px 14px;
    }

    .playground-flow li:not(:last-child)::after {
        display: none;
    }

    .playground-code-card {
        transform: none;
    }
}

@media (max-width: 600px) {
    .playground-capability-grid,
    .playground-flow,
    .playground-ideas {
        grid-template-columns: 1fr;
    }

    .playground-capability-grid article,
    .playground-ideas article {
        min-height: 0;
    }

    .playground-next {
        align-items: flex-start;
        flex-direction: column;
    }

    .playground-next .btn-primary {
        width: 100%;
    }
}

.app-release-version-group {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
}

.app-release-version-group-summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.app-release-version-group-summary::-webkit-details-marker {
    display: none;
}

.app-release-version-group-summary::after {
    content: '+';
    float: right;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
}

.app-release-version-group[open] .app-release-version-group-summary::after {
    content: '-';
}

.app-release-version-group-list {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.app-release-version-item {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #f8fafc;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.app-release-version-item:hover,
.app-release-version-item.active {
    border-color: rgba(14, 165, 233, 0.34);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.12);
    transform: translateY(-1px);
}

.app-release-version-title {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.app-release-version-subtitle {
    color: #64748b;
    font-size: 12px;
}

.app-release-main {
    display: grid;
    gap: 22px;
}

.app-release-hero-card,
.app-release-section,
.app-release-faq-card,
.app-release-changelog-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.app-release-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 30px;
    align-items: start;
}

.app-release-hero-main h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
}

.app-release-summary {
    margin: 0 0 18px;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.app-release-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.app-release-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-size: 13px;
    font-weight: 700;
}

.app-release-chip.muted {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.app-release-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.app-release-meta-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.app-release-meta-label {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-release-meta-value {
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.app-release-hero-side {
    display: grid;
    gap: 12px;
    align-content: start;
}

.app-release-version-status {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.app-release-download-btn,
.app-release-secondary-btn,
.app-release-inline-download {
    width: 100%;
    justify-content: center;
}

.app-release-download-btn,
.app-release-inline-download {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.24);
}

.app-release-download-btn:hover,
.app-release-inline-download:hover,
.app-release-download-btn:focus-visible,
.app-release-inline-download:focus-visible {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff !important;
    box-shadow: 0 20px 36px rgba(14, 165, 233, 0.3);
}

.app-release-secondary-btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.app-release-inline-download {
    max-width: 240px;
}


.app-release-hash-block {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fbff;
}

.app-release-hash-label {
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-release-hash-file {
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
}

.app-release-hash-value {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.7;
    word-break: break-all;
}

.app-release-hash-size {
    color: #64748b;
    font-size: 13px;
}

.app-release-section {
    padding: 26px 28px;
}

.app-release-section h3 {
    margin: 0 0 14px;
    font-size: 25px;
}

.app-release-body {
    color: #475569;
    line-height: 1.8;
}

.app-release-pre {
    margin: 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.75;
}

.app-release-faq-grid,
.app-release-changelog {
    display: grid;
    gap: 16px;
}

.app-release-carousel {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 84px;
    gap: 14px;
    align-items: center;
}

.app-release-carousel-frame {
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
}

.app-release-carousel-frame img,
.app-release-carousel-frame video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    background: #f8fafc;
}

.app-release-carousel-frame video {
    aspect-ratio: 16 / 9;
    background: #020617;
}

.app-release-carousel-frame [hidden] {
    display: none;
}

.app-release-carousel-caption {
    padding: 12px 14px;
    color: #475569;
    font-size: 14px;
}

.app-release-carousel-btn {
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.34);
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-release-carousel-btn:hover,
.app-release-carousel-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.36);
    box-shadow: 0 14px 24px rgba(14, 165, 233, 0.14);
}

.app-release-carousel-btn:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.app-release-carousel-counter {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.app-release-faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.app-release-faq-card,
.app-release-changelog-card {
    padding: 18px 20px;
}

.app-release-faq-card h4,
.app-release-changelog-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.app-release-loading,
.app-release-error {
    padding: 24px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.app-release-error {
    color: #b91c1c;
}

.app-release-empty-note {
    color: #64748b;
    line-height: 1.7;
}

.app-release-version-meta {
    margin-bottom: 14px;
    color: #64748b;
    font-size: 14px;
}

.app-release-gitlog-list {
    display: grid;
    gap: 16px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.app-release-gitlog-card {
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    padding: 18px 20px;
}

.app-release-gitlog-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.app-release-gitlog-copy h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.app-release-gitlog-body {
    color: #475569;
    white-space: pre-wrap;
    line-height: 1.7;
}

.app-release-gitlog-meta {
    text-align: right;
    color: #64748b;
    font-size: 12px;
    display: grid;
    gap: 4px;
}

.app-release-gitlog-hash {
    font-family: "IBM Plex Mono", monospace;
}

.app-release-gitlog-files {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    display: grid;
    gap: 6px;
    font-size: 13px;
}

.app-release-gitlog-file {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #334155;
    min-width: 0;
}

.app-release-gitlog-status {
    color: #0369a1;
    font-weight: 700;
    min-width: 28px;
}

.app-release-gitlog-path {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.theme-dark .app-release-hero-card,
html.theme-dark body .app-release-hero-card,
body.theme-dark .app-release-sidebar,
html.theme-dark body .app-release-sidebar,
body.theme-dark .app-release-section,
html.theme-dark body .app-release-section,
body.theme-dark .app-release-faq-card,
html.theme-dark body .app-release-faq-card,
body.theme-dark .app-release-changelog-card,
html.theme-dark body .app-release-changelog-card,
body.theme-dark .app-release-loading,
html.theme-dark body .app-release-loading,
body.theme-dark .app-release-error,
html.theme-dark body .app-release-error {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.18);
    color: #f8fafc;
}

body.theme-dark .app-release-summary,
html.theme-dark body .app-release-summary,
body.theme-dark .app-release-version-status,
html.theme-dark body .app-release-version-status,
body.theme-dark .app-release-body,
html.theme-dark body .app-release-body,
body.theme-dark .app-release-carousel-caption,
html.theme-dark body .app-release-carousel-caption,
body.theme-dark .app-release-meta-label,
html.theme-dark body .app-release-meta-label,
body.theme-dark .app-release-empty-note,
html.theme-dark body .app-release-empty-note,
body.theme-dark .app-release-version-meta,
html.theme-dark body .app-release-version-meta,
body.theme-dark .app-release-gitlog-body,
html.theme-dark body .app-release-gitlog-body,
body.theme-dark .app-release-gitlog-meta,
html.theme-dark body .app-release-gitlog-meta,
body.theme-dark .app-release-version-subtitle,
html.theme-dark body .app-release-version-subtitle {
    color: #cbd5e1;
}

body.theme-dark .app-release-chip.muted,
html.theme-dark body .app-release-chip.muted,
body.theme-dark .app-release-version-group,
html.theme-dark body .app-release-version-group,
body.theme-dark .app-release-version-item,
html.theme-dark body .app-release-version-item,
body.theme-dark .app-release-meta-item,
html.theme-dark body .app-release-meta-item,
body.theme-dark .app-release-pre,
html.theme-dark body .app-release-pre,
body.theme-dark .app-release-carousel-frame,
html.theme-dark body .app-release-carousel-frame,
body.theme-dark .app-release-gitlog-card,
html.theme-dark body .app-release-gitlog-card {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(71, 85, 105, 0.9);
    color: #f8fafc;
}

body.theme-dark .app-release-version-group-summary,
html.theme-dark body .app-release-version-group-summary {
    color: #f8fafc;
}

body.theme-dark .app-release-carousel-btn,
html.theme-dark body .app-release-carousel-btn {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(71, 85, 105, 0.9);
    color: #f8fafc;
}

body.theme-dark .app-release-download-btn,
html.theme-dark body .app-release-download-btn,
body.theme-dark .app-release-inline-download,
html.theme-dark body .app-release-inline-download {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #ffffff !important;
}


body.theme-dark .app-release-hash-block,
html.theme-dark body .app-release-hash-block {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(71, 85, 105, 0.9);
}

body.theme-dark .app-release-hash-label,
html.theme-dark body .app-release-hash-label,
body.theme-dark .app-release-hash-file,
html.theme-dark body .app-release-hash-file,
body.theme-dark .app-release-hash-size,
html.theme-dark body .app-release-hash-size {
    color: #cbd5e1;
}

body.theme-dark .app-release-hash-value,
html.theme-dark body .app-release-hash-value {
    color: #f8fafc;
}

body.theme-dark .app-release-version-title,
html.theme-dark body .app-release-version-title,
body.theme-dark .app-release-meta-value,
html.theme-dark body .app-release-meta-value,
body.theme-dark .app-release-gitlog-file,
html.theme-dark body .app-release-gitlog-file {
    color: #f8fafc;
}

body.theme-dark .app-release-gitlog-files,
html.theme-dark body .app-release-gitlog-files {
    border-top-color: rgba(71, 85, 105, 0.9);
}

@media (max-width: 920px) {
    .app-release-browser,
    .app-release-hero-card {
        grid-template-columns: 1fr;
    }

    .app-release-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .app-release-carousel {
        grid-template-columns: 1fr;
    }

    .app-release-carousel-btn {
        width: 100%;
    }

    .app-release-gitlog-header {
        flex-direction: column;
    }

    .app-release-gitlog-meta {
        text-align: left;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 760px;
        padding: 138px 0 104px;
    }

    .hero-content {
        min-height: 540px;
    }

    .hero-overlay-item {
        width: min(42vw, 280px);
        max-width: 46%;
        filter: drop-shadow(0 18px 38px rgba(15, 23, 42, 0.2));
    }

    #heroTitle {
        max-width: 14ch;
        font-size: clamp(1.86rem, 5.5vw, 3rem);
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .homepage-hero-blocks-top {
        opacity: 0.18;
    }

    .homepage-hero-blocks-top svg {
        top: 10%;
        left: -26%;
        width: 112vw;
    }

    .homepage-hero-blocks-bottom {
        opacity: 0.12;
    }

    .homepage-hero-blocks-bottom svg {
        right: -34%;
        bottom: 1%;
        width: 118vw;
    }

    .documents-hero-blocks-top {
        opacity: 0.24;
    }

    .documents-hero-blocks-top svg {
        top: 11%;
        right: -24%;
        width: 112vw;
    }

    .documents-hero-blocks-bottom {
        opacity: 0.16;
    }

    .documents-hero-blocks-bottom svg {
        left: -34%;
        bottom: 2%;
        width: 120vw;
    }

    .downloads-hero-blocks {
        opacity: 0.28;
    }

    .downloads-hero-blocks svg {
        right: -28%;
        top: 14%;
        width: 118vw;
        transform: rotate(-10deg);
    }

    .hero {
        min-height: 700px;
        padding: 128px 0 88px;
    }

    .hero-content {
        min-height: 500px;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-visual-layer {
        inset: auto 0 0 0;
        height: 42%;
    }

    .hero-overlay-item {
        width: min(44vw, 190px);
        max-width: 48%;
        top: auto !important;
        bottom: 0;
    }

    .app-release-section,
    .app-release-hero-card {
        padding: 22px 20px;
    }

    #heroTitle {
        max-width: 12ch;
        margin-bottom: 22px;
        font-size: clamp(1.7rem, 7vw, 2.5rem);
        line-height: 1.74;
    }

    #heroSubtitle {
        padding: 12px 14px;
        font-size: 15px;
        line-height: 1.6;
    }
}


.hero-overlay-lightbox[hidden] {
    display: none;
}

.hero-overlay-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
}

.hero-overlay-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(8px);
}

.hero-overlay-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    box-shadow: 0 28px 90px rgba(2, 6, 23, 0.42);
}

.hero-overlay-lightbox-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    height: 68vh;
    max-height: 760px;
}

.hero-overlay-lightbox-media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(2, 6, 23, 0.36);
}

.hero-overlay-lightbox-copy {
    display: grid;
    gap: 8px;
}

.hero-overlay-lightbox-copy h3 {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.hero-overlay-lightbox-copy p {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
}

.hero-overlay-lightbox-close,
.hero-overlay-lightbox-nav {
    position: absolute;
    border: none;
    cursor: pointer;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
}

.hero-overlay-lightbox-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    font-size: 30px;
    line-height: 1;
}

.hero-overlay-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 64px;
    border-radius: 16px;
    font-size: 34px;
    line-height: 1;
}

.hero-overlay-lightbox-prev {
    left: 14px;
}

.hero-overlay-lightbox-next {
    right: 14px;
}

body.hero-overlay-lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-overlay-lightbox-dialog {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
        padding: 14px;
    }

    .hero-overlay-lightbox-media {
        height: 52vh;
        max-height: 460px;
    }

    .hero-overlay-lightbox-nav {
        width: 40px;
        height: 56px;
    }
}
body.theme-dark .danger-zone,
html.theme-dark body .danger-zone {
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .danger-zone[open],
html.theme-dark body .danger-zone[open] {
    border-color: rgba(248, 113, 113, 0.45);
}

body.theme-dark .remove-account-summary,
html.theme-dark body .remove-account-summary {
    color: #a8b0bd;
}

body.theme-dark .danger-zone[open] .remove-account-summary,
html.theme-dark body .danger-zone[open] .remove-account-summary {
    color: #fca5a5;
}

body.theme-dark .remove-account-form label,
html.theme-dark body .remove-account-form label {
    color: #ece6dc;
}

body.theme-dark .remove-account-form input,
html.theme-dark body .remove-account-form input {
    background: #111419;
    color: #ece6dc;
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    body.account-page {
        width: 100%;
        touch-action: pan-y;
    }

    body.account-page .account-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 104px 0 40px;
        padding: 0 12px;
    }

    body.account-page .account-wrapper > .container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
    }

    body.account-page .account-grid,
    body.account-page .business-info-form,
    body.account-page .plan-grid,
    body.account-page .docker-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.account-page .account-card {
        padding: 18px;
    }

    body.account-page .notebook-header {
        align-items: stretch;
    }

    body.account-page .notebook-tabs {
        display: flex;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    body.account-page .notebook-tab {
        flex: 1 1 0;
        min-width: 0;
        white-space: normal;
    }

    body.account-page .docker-key-row input,
    body.account-page .docker-key-row select {
        width: 100%;
        min-width: 0;
    }

    body.account-page .docker-key-row span,
    body.account-page .account-card p,
    body.account-page .embed-snippet-meta {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.account-page .code-block,
    body.account-page .embed-snippet-text {
        max-width: 100%;
    }

    body.account-page .embed-snippet-card h3 {
        margin-right: 0;
    }

    body.account-page .embed-copy-btn {
        position: static;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Framework specification page */
.framework-page {
    margin: 0;
    background: #f7f5f0;
}

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

.framework-page .container {
    width: 100%;
}

.framework-hero h1 {
    max-width: 980px;
}

.framework-main {
    color: #17131d;
}

.framework-section {
    padding: 84px 0;
}

.framework-section-tinted {
    border-top: 1px solid rgba(28, 20, 37, 0.08);
    border-bottom: 1px solid rgba(28, 20, 37, 0.08);
    background: #eee9f4;
}

.framework-section-heading {
    max-width: 900px;
    margin-bottom: 34px;
}

.framework-section-heading h2 {
    margin: 7px 0 14px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.framework-section-heading > p:last-child {
    max-width: 780px;
    margin: 0;
    color: #625a69;
    font-size: 1.04rem;
    line-height: 1.7;
}

.framework-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(28, 20, 37, 0.13);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 55px rgba(34, 20, 50, 0.08);
}

.framework-spec-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    text-align: left;
}

.framework-spec-table th,
.framework-spec-table td {
    padding: 18px 20px;
    vertical-align: top;
    border-bottom: 1px solid rgba(28, 20, 37, 0.1);
}

.framework-spec-table th {
    color: #f8f5ff;
    background: #241438;
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.framework-spec-table th:first-child {
    border-radius: 20px 0 0;
}

.framework-spec-table th:last-child {
    border-radius: 0 20px 0 0;
}

.framework-spec-table tbody tr:last-child td {
    border-bottom: 0;
}

.framework-spec-table tbody tr:hover {
    background: #faf7ff;
}

.framework-spec-table td:first-child {
    width: 22%;
    color: #241438;
    font-weight: 700;
}

.framework-spec-table td:nth-child(2) {
    width: 44%;
    color: #4f4855;
}

.framework-spec-table td:last-child {
    color: #4f4855;
}

.framework-tag {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.framework-tag.essential {
    color: #075985;
    background: #e0f2fe;
}

.framework-tag.strength {
    color: #5b21b6;
    background: #ede9fe;
}

.framework-tag.extensible {
    color: #166534;
    background: #dcfce7;
}

.framework-skills-table td:first-child,
.framework-plugin-table td:first-child {
    width: 20%;
}

.framework-plugin-table td:nth-child(2) {
    width: 22%;
}

.framework-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

body.theme-dark.framework-page,
html.theme-dark body.framework-page {
    background: #101116;
    color: #f4f0f8;
}

body.theme-dark .framework-main,
html.theme-dark body .framework-main {
    color: #f4f0f8;
}

body.theme-dark .framework-section-tinted,
html.theme-dark body .framework-section-tinted {
    border-color: rgba(255, 255, 255, 0.1);
    background: #17131e;
}

body.theme-dark .framework-section-heading > p:last-child,
html.theme-dark body .framework-section-heading > p:last-child {
    color: #c7bfcc;
}

body.theme-dark .framework-table-wrap,
html.theme-dark body .framework-table-wrap {
    border-color: rgba(255, 255, 255, 0.12);
    background: #17181e;
    box-shadow: none;
}

body.theme-dark .framework-spec-table th,
html.theme-dark body .framework-spec-table th {
    background: #2a174b;
}

body.theme-dark .framework-spec-table td,
html.theme-dark body .framework-spec-table td {
    border-color: rgba(255, 255, 255, 0.09);
    color: #cbc4d0;
}

body.theme-dark .framework-spec-table td:first-child,
html.theme-dark body .framework-spec-table td:first-child {
    color: #f4f0f8;
}

body.theme-dark .framework-spec-table tbody tr:hover,
html.theme-dark body .framework-spec-table tbody tr:hover {
    background: #211a2c;
}

@media (max-width: 720px) {
    .framework-section {
        padding: 62px 0;
    }

    .framework-table-wrap {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .framework-spec-table {
        min-width: 0;
    }

    .framework-spec-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .framework-spec-table tbody,
    .framework-spec-table tr,
    .framework-spec-table td {
        display: block;
        width: 100% !important;
    }

    .framework-spec-table tr {
        margin-bottom: 14px;
        overflow: hidden;
        border: 1px solid rgba(28, 20, 37, 0.13);
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 32px rgba(34, 20, 50, 0.06);
    }

    .framework-spec-table td {
        padding: 12px 16px;
        border-bottom: 0;
    }

    .framework-spec-table td:first-child {
        padding-top: 17px;
        font-size: 1.05rem;
    }

    .framework-spec-table td:last-child {
        padding-bottom: 17px;
    }

    body.theme-dark .framework-spec-table tr,
    html.theme-dark body .framework-spec-table tr {
        border-color: rgba(255, 255, 255, 0.12);
        background: #17181e;
        box-shadow: none;
    }
}

/* Documents submenu and core plugin tutorial library */
.nav-documents-item {
    position: relative;
}

.nav-documents-submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 1000;
    min-width: 190px;
    margin: 0;
    padding: 8px;
    list-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, -6px);
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-documents-submenu::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 14px;
}

.nav-documents-item:hover .nav-documents-submenu,
.nav-documents-item:focus-within .nav-documents-submenu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.nav-links .nav-documents-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: nowrap;
}

.nav-links .nav-documents-submenu a:hover,
.nav-links .nav-documents-submenu a[aria-current='page'] {
    background: #f1ecff;
    color: #5b22d6;
}

.tutorial-page {
    background: #f7f5f0;
}

.tutorial-hero {
    padding: 156px 0 86px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 28%, rgba(168, 85, 247, 0.5), transparent 32%),
        linear-gradient(130deg, #15111d 0%, #2a174b 48%, #5b21b6 100%);
}

.tutorial-hero .container {
    max-width: 1050px;
}

.tutorial-hero h1 {
    max-width: 850px;
    margin: 20px 0 18px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.tutorial-hero p {
    max-width: 750px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.tutorial-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tutorial-hero-actions .btn-primary {
    background: #ffffff;
    color: #3f167a;
    box-shadow: 0 12px 30px rgba(8, 5, 16, 0.2);
}

.tutorial-hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
}

.tutorial-hero-actions .btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.tutorial-library {
    padding: 78px 0 110px;
}

.tutorial-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
    align-items: end;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.tutorial-toolbar h2 {
    margin: 4px 0 0;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -0.04em;
}

.tutorial-eyebrow {
    margin: 0;
    color: #6d28d9;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tutorial-search-label {
    display: grid;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 700;
}

.tutorial-search-label input {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid rgba(17, 24, 39, 0.18);
    border-radius: 14px;
    background: #fff;
    color: #17131e;
    font: inherit;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tutorial-search-label input:focus {
    outline: 3px solid rgba(109, 40, 217, 0.2);
    border-color: #6d28d9;
}

.tutorial-result-count {
    margin: 18px 0 28px;
    color: #6b6473;
    font-size: 0.93rem;
}

.tutorial-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: clamp(30px, 5vw, 72px);
}

.tutorial-sidebar {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 130px);
    overflow: auto;
    padding: 6px 8px 16px 0;
    min-width: 0;
}

.tutorial-sidebar nav {
    display: grid;
    gap: 4px;
}

.tutorial-nav-link {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #29232f;
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.tutorial-nav-link:hover {
    background: #eee8fa;
    color: #5b22d6;
}

.tutorial-nav-category {
    color: #847c8b;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tutorial-content {
    display: grid;
    gap: 34px;
    min-width: 0;
}

.tutorial-plugin {
    scroll-margin-top: 110px;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, 0.11);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(32, 24, 45, 0.07);
}

.tutorial-plugin-heading {
    padding: clamp(24px, 5vw, 42px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.1);
    background: linear-gradient(135deg, #fcfbff, #f2ecff);
}

.tutorial-plugin-category {
    color: #6d28d9;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.tutorial-plugin-heading h2 {
    margin: 8px 0;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.04em;
}

.tutorial-plugin-heading > p {
    max-width: 760px;
    margin: 0;
    color: #665f6e;
    line-height: 1.65;
}

.tutorial-access {
    margin-top: 14px !important;
    color: #30273b !important;
    font-size: 0.92rem;
}

.tutorial-question + .tutorial-question {
    border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.tutorial-question-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 22px clamp(20px, 4vw, 36px);
    cursor: pointer;
    list-style: none;
}

.tutorial-question-summary::-webkit-details-marker {
    display: none;
}

.tutorial-question-summary::after {
    content: '+';
    color: #6d28d9;
    font-size: 1.7rem;
    font-weight: 400;
}

.tutorial-question[open] > .tutorial-question-summary::after {
    content: '−';
}

.tutorial-question-summary h3 {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.02rem, 2vw, 1.28rem);
    line-height: 1.35;
}

.tutorial-level {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tutorial-level-beginner { background: #dcfce7; color: #166534; }
.tutorial-level-intermediate { background: #fef3c7; color: #92400e; }
.tutorial-level-advanced { background: #ede9fe; color: #5b21b6; }

.tutorial-question-body {
    padding: 0 clamp(20px, 4vw, 36px) 36px;
}

.tutorial-outcome {
    margin: 0 0 24px;
    padding: 15px 18px;
    border-left: 4px solid #7c3aed;
    border-radius: 0 12px 12px 0;
    background: #f7f3ff;
    color: #3c3247;
    line-height: 1.6;
}

.tutorial-question-body h4 {
    margin: 0 0 12px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tutorial-steps {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding-left: 26px;
}

.tutorial-steps li {
    padding-left: 6px;
    color: #4f4857;
    line-height: 1.65;
}

.tutorial-steps li::marker {
    color: #6d28d9;
    font-weight: 800;
}

.tutorial-code-section {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.tutorial-code-card {
    min-width: 0;
}

.tutorial-code-card h4 {
    margin: 0 0 0.55rem;
}

.tutorial-code {
    margin: 0;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 14px;
    background: #111827;
    color: #f8fafc;
    font: 0.86rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: pre;
}

.tutorial-code code {
    font: inherit;
}

.tutorial-figure {
    margin: 0;
}

.tutorial-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tutorial-gallery-single {
    grid-template-columns: minmax(0, 1fr);
}

.tutorial-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 16px;
    background: #eef2f7;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
}

.tutorial-figure figcaption {
    margin-top: 10px;
    color: #7b7481;
    font-size: 0.8rem;
}

.tutorial-empty {
    padding: 56px 30px;
    border: 1px dashed rgba(17, 24, 39, 0.24);
    border-radius: 20px;
    text-align: center;
}

body.theme-dark .nav-documents-submenu,
html.theme-dark body .nav-documents-submenu {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 25, 0.98);
}

body.theme-dark .nav-links .nav-documents-submenu a:hover,
body.theme-dark .nav-links .nav-documents-submenu a[aria-current='page'],
html.theme-dark body .nav-links .nav-documents-submenu a:hover,
html.theme-dark body .nav-links .nav-documents-submenu a[aria-current='page'] {
    background: #2f2441;
    color: #c4b5fd;
}

body.theme-dark.tutorial-page,
html.theme-dark body.tutorial-page {
    background: #101116;
    color: #f4f0f8;
}

body.theme-dark .tutorial-toolbar,
body.theme-dark .tutorial-plugin,
body.theme-dark .tutorial-question + .tutorial-question,
html.theme-dark body .tutorial-toolbar,
html.theme-dark body .tutorial-plugin,
html.theme-dark body .tutorial-question + .tutorial-question {
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .tutorial-search-label input,
body.theme-dark .tutorial-plugin,
html.theme-dark body .tutorial-search-label input,
html.theme-dark body .tutorial-plugin {
    background: #17181e;
    color: #f4f0f8;
}

body.theme-dark .tutorial-plugin-heading,
html.theme-dark body .tutorial-plugin-heading {
    background: linear-gradient(135deg, #1b1821, #251b35);
}

body.theme-dark .tutorial-plugin-heading > p,
body.theme-dark .tutorial-result-count,
body.theme-dark .tutorial-steps li,
html.theme-dark body .tutorial-plugin-heading > p,
html.theme-dark body .tutorial-result-count,
html.theme-dark body .tutorial-steps li {
    color: #c2bac9;
}

body.theme-dark .tutorial-access,
body.theme-dark .tutorial-nav-link,
html.theme-dark body .tutorial-access,
html.theme-dark body .tutorial-nav-link {
    color: #eee8f4 !important;
}

body.theme-dark .tutorial-nav-link:hover,
html.theme-dark body .tutorial-nav-link:hover {
    background: #261e34;
    color: #c4b5fd !important;
}

body.theme-dark .tutorial-outcome,
html.theme-dark body .tutorial-outcome {
    background: #241c31;
    color: #ded6e5;
}

@media (max-width: 968px) {
    .nav-content.mobile-nav-open .nav-documents-submenu {
        position: static;
        display: grid;
        gap: 2px;
        min-width: 0;
        margin: 4px 0 4px 14px;
        padding: 4px 0 4px 12px;
        visibility: visible;
        opacity: 1;
        transform: none;
        border: 0;
        border-left: 2px solid rgba(109, 40, 217, 0.28);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-content.mobile-nav-open .nav-documents-submenu::before {
        display: none;
    }

    .nav-content.mobile-nav-open .nav-links .nav-documents-submenu a {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .tutorial-hero {
        padding: 126px 0 66px;
    }

    .tutorial-toolbar,
    .tutorial-layout {
        grid-template-columns: 1fr;
    }

    .tutorial-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0;
    }

    .tutorial-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .tutorial-library {
        padding: 54px 0 80px;
    }

    .tutorial-sidebar nav {
        display: flex;
        gap: 8px;
        margin-right: -24px;
        padding: 2px 24px 10px 0;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        width: 100%;
        max-width: 100%;
    }

    .tutorial-nav-link {
        flex: 0 0 180px;
        min-height: 68px;
        justify-content: center;
        border: 1px solid rgba(17, 24, 39, 0.1);
        background: #ffffff;
        scroll-snap-align: start;
    }

    body.theme-dark .tutorial-nav-link,
    html.theme-dark body .tutorial-nav-link {
        border-color: rgba(255, 255, 255, 0.12);
        background: #17181e;
    }

    .tutorial-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .tutorial-question-summary {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tutorial-question-summary .tutorial-level {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .tutorial-question-summary h3 {
        grid-column: 1;
    }

    .tutorial-question-summary::after {
        grid-column: 2;
    }
}
